KB: Using bus powered USB peripherals with the pinephone keyboard mounted
#1
From megi: https://xnux.eu/pinephone-keyboard/faq.html#safety

Quote:Can I plug something to the phone's Type-C port?

No! When the keyboard is connected to the phone, it powers the phone by internally supplying 5V to the VBUS of the phone's Type-C port. So if you connect another USB power supply to the phone's Type-C port, it's like connecting two chargers to the phone by cutting and splicing their cables. (Likely not a good thing, or something you'd consider doing if it was presented to you that way.) If you connect some USB peripheral there that only consumes power from the port (like mouse, unpowered dock, etc.), it may work (in theory), but only if you make *absolutely sure* the phone will not enable its power output to the USB device! No distros ensure that at the moment. When you plug USB periperal it's the same as plugging in two chargers into the same port, without additional software support that doesn't exist, yet.


I'm wondering if anyone knows, or has advice where to ask around, about how to "make *absolutely sure* the phone will not enable its power output to the USB device." Is this something that can be achieved through sysfs? Or a udev rule? Or would it require hacking on the kernel? Has it already been done in any distros?

I've just installed Arch ARM (https://github.com/dreemurrs-embedded/Pine64-Arch) and am hoping to use the pinephone with a teensy 4.1 microcontroller attached via USB along with the keyboard, but I would like to avoid frying either the pinephone, teensy, or keyboard.
  Reply


Messages In This Thread
KB: Using bus powered USB peripherals with the pinephone keyboard mounted - by docsunset - 06-26-2022, 12:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Case for Pinephone totilele 13 7,247 04-11-2024, 11:48 AM
Last Post: gramonyl
  keyboard case charging but not typing new2pinephone 18 5,784 02-19-2024, 07:30 AM
Last Post: theResonant
  Keyboard doesn't charge my phone no matter what, so can I charge my phone directly ragreenburg 3 8,543 01-14-2024, 03:34 PM
Last Post: acid andy
  PinePhone Dock with laptop? Mikey1977Y2J 2 636 12-12-2023, 05:43 PM
Last Post: Mikey1977Y2J
  I've added an I2C connector to the PP keyboard eugenr 0 424 11-26-2023, 07:24 AM
Last Post: eugenr
  Update the PinePhone keyboard driver to support missing characters? Peter Gamma 8 8,170 10-22-2023, 08:43 PM
Last Post: Peter Gamma
  key repeat with pinephone keyboard rotwang 0 451 10-22-2023, 03:39 PM
Last Post: rotwang
Exclamation USB mouse isn't working when a PP keyboard is attached? mikeb 3 1,232 10-21-2023, 08:21 PM
Last Post: Peter Gamma
  Pinephone with mini keyboard, trackpad and large power bank? Peter Gamma 0 515 10-21-2023, 07:50 AM
Last Post: Peter Gamma
  Which mini keyboard and mouse to choose for the PP? Peter Gamma 0 615 10-21-2023, 02:55 AM
Last Post: Peter Gamma

Forum Jump:


Users browsing this thread: 1 Guest(s)