KB: Using bus powered USB peripherals with the pinephone keyboard mounted
#8
(06-26-2022, 12:50 PM)docsunset Wrote: 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.

Something could be a usb bus. The manual for the keyboard says it is okay to do that. But it don't work...
  Reply


Messages In This Thread
RE: KB: Using bus powered USB peripherals with the pinephone keyboard mounted - by undata - 05-02-2023, 07:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Searching for a PinePhone Keyboard Case RubiksCube 1 1,124 10-07-2024, 11:08 PM
Last Post: tllim
  Seeking your experiences: PinePhone in snug cases of other phones mycycles 9 5,693 08-16-2024, 06:19 AM
Last Post: 67man
  So which keyboard you suggest for the Pinephone? Peter Gamma 21 5,876 07-19-2024, 08:05 AM
Last Post: Peter Gamma
  Rii mini 4 keyboard and touchpad work over Bluetooth Peter Gamma 0 556 07-19-2024, 08:02 AM
Last Post: Peter Gamma
  Keyboards for the PinePhone? Peter Gamma 1 1,542 07-04-2024, 10:22 PM
Last Post: Peter Gamma
  Bring the Pinephone keyboard back, it is worth it! Peter Gamma 1 1,000 07-04-2024, 07:32 AM
Last Post: Kevin Kofler
Heart The Pinephone keyboard offers alternative layouts Peter Gamma 0 382 07-04-2024, 05:40 AM
Last Post: Peter Gamma
  Keyboard & 2.4G usb dongle for the Pinephone? Peter Gamma 2 1,077 06-29-2024, 09:36 PM
Last Post: Peter Gamma
  Bluetooth keyboard with trackpad Zebulon Walton 11 11,887 06-29-2024, 04:09 AM
Last Post: Peter Gamma
  Was someone able to use the Pinephone keyboard & an usb mouse at the same? Peter Gamma 4 3,677 06-26-2024, 07:11 AM
Last Post: dachalife

Forum Jump:


Users browsing this thread: 3 Guest(s)