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
  Keyboard drawing only 0.1A from charger qwazix 7 1,880 09-26-2022, 01:00 PM
Last Post: ClairelyClaire
  Faulty Pinephone add on Keyboard. Support Ticket: Id #12442 Kawayuppie 5 1,126 09-26-2022, 12:45 PM
Last Post: ClairelyClaire
  Pinephone (Pro) Keyboard Case for sale manubert 0 89 09-17-2022, 11:51 AM
Last Post: manubert
  Should I just never use the PP keyboard? Subsentient 9 1,047 09-08-2022, 12:53 AM
Last Post: drh
  Sales & shipping issues for PinePhone keyboard gsteenss 4 869 08-21-2022, 01:24 AM
Last Post: kat22
  Case for Pinephone totilele 11 993 08-14-2022, 08:25 AM
Last Post: cool
  PinePhone Wallet Case Shane 4 2,104 08-14-2022, 08:23 AM
Last Post: cool
Bug PinePhone keyboard case renders itself brick failing to charge(?), help/input wanted e1337 1 364 08-12-2022, 09:12 AM
Last Post: e1337
  Convert Pinephone Keyboard into Powerbank magdesign 4 874 07-31-2022, 03:56 AM
Last Post: magdesign
  PP Keyboard question drh 3 551 07-24-2022, 02:15 AM
Last Post: grump_fiddle_reinstall

Forum Jump:


Users browsing this thread: 1 Guest(s)