can I get the hardware addresses of Pine Phones devices?
#1
can I get the hardware addresses of Pine Phones devices?
I have tried sudo cat /proc/ioports
and some other commands that might work on more standard Ubuntu distros. this isnt a distro specific question, I just want the hardware addresses for the devices such as the motor, rgb LED, gps, acellerometer etc.
#2
Some of them are on the postmarketOS wiki.
Are they software addresses  Rolleyes there is a link to the postmarket wiki from the PinePhone software wiki page!
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.19 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition daily driver, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/Phosh on eMMC
#3
/proc/ioports is empty on the Raspberry Pi too (at least in Raspbian) - I don't know if this is a kernel config thing, and ARM-specific behaviour or what.

When I was poking around /sys and /proc yesterday in pine-pinephone-20200210-phosh.img.xz I found some of the info in the pmOS wiki wasn't quite right, notably the iio devices were numbered differently. I don't know if that's a kernel change, a detection order thing or what. I also couldn't find the flash LED anywhere.

GPS is on the modem, accessed via ttyUSB serial devices. It's controlled by AT commands through /dev/ttyUSB2 (and possibly 3?) while /dev/ttyUSB1 is read-only, sending the NMEA content you've configured via the AT commands. Search for "EC25&EC21 GNSS AT Commands Manual" for the full command set.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Is the hardware still being developed and refined? orbital 10 617 09-01-2022, 08:05 PM
Last Post: orbital
  How to check hardware revision? jojuma 1 319 07-16-2022, 12:28 AM
Last Post: bokomaru
  Modem Hardware bad? Not ready for 5g?? linux76 8 1,849 05-31-2022, 06:41 PM
Last Post: SwordfishII
  Any experiences with hardware mod to improve eMMC speeds? kqlnut 9 2,249 04-19-2022, 02:36 PM
Last Post: kk22
  Hardware switch for mic is not working properly submariner 10 3,537 01-25-2022, 07:01 AM
Last Post: wibble
  Microphone on Hardware Model 1.2 is Unusably Noisy In Some Circomstances ASmartSuitedSimpleton 3 1,027 01-24-2022, 05:28 PM
Last Post: bcnaz
Shocked Pine phone caught on fire after inserting SDcard majikbear 6 1,442 12-01-2021, 01:34 AM
Last Post: ryo
  Case hardware request/idea HobanWashburn 5 2,289 09-15-2021, 04:02 AM
Last Post: biketool
  Pine Satellite Communications biketool 2 1,478 08-30-2021, 11:35 AM
Last Post: biketool
  PinePhone Hardware Critique KABA 2 1,781 08-13-2021, 06:47 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)