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 (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO 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
  Battery Life- hardware abstraction layer-GPU VS optomizing app for GPU-openGL biketool 1 263 09-20-2024, 04:04 AM
Last Post: Kevin Kofler
  Microphone on Hardware Model 1.2 is Unusably Noisy In Some Circomstances ASmartSuitedSimpleton 4 4,819 03-23-2024, 10:55 AM
Last Post: Ferriah
  Pine phone main board part Generaltuxenburg 1 1,462 07-31-2023, 07:50 PM
Last Post: tllim
  No calls on Pine Phone Beta convergence edition polypode 1 1,531 03-06-2023, 08:04 PM
Last Post: rocket2nfinity
  Pine phone USB keyboard connection CleanEnergyCleanEnvironment 1 1,498 02-20-2023, 12:14 AM
Last Post: Kevin Kofler
Photo Can no longer take pictures, /dev/video* not recognized as video devices 64_Tesseract 0 806 01-26-2023, 10:19 AM
Last Post: 64_Tesseract
  Is the hardware still being developed and refined? orbital 10 6,770 09-01-2022, 08:05 PM
Last Post: orbital
  How to check hardware revision? jojuma 1 2,054 07-16-2022, 12:28 AM
Last Post: bokomaru
  Modem Hardware bad? Not ready for 5g?? linux76 8 6,098 05-31-2022, 06:41 PM
Last Post: SwordfishII
  Any experiences with hardware mod to improve eMMC speeds? kqlnut 9 7,457 04-19-2022, 02:36 PM
Last Post: kk22

Forum Jump:


Users browsing this thread: 1 Guest(s)