![]() |
USB-C Charging on the PBP? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112) +--- Thread: USB-C Charging on the PBP? (/showthread.php?tid=11623) |
RE: USB-C Charging on the PBP? - xyzzy - 12-07-2020 (12-04-2020, 02:39 PM)wrzomar Wrote: Is there a simple way to debug USB-C PD on the Pinebook Pro?Simple. Doubt that... It uses a FUSB302 to control the USB PD bus. There is a datasheet for it and it can be accessed over I2C. So you could see what is going on if you can read a datasheet and use i2cset and i2cget to inspect the device. You can also look around in /sys/bus/i2c/devices/4-0022/typec RE: USB-C Charging on the PBP? - wrzomar - 12-11-2020 (12-07-2020, 05:08 AM)xyzzy Wrote:Simple enough, thanks. I've written a simple C++ program to read some text files from the location, you've mentioned, to add to my already bloated conkyrc to conveniently monitor what's going on with USB-C.(12-04-2020, 02:39 PM)wrzomar Wrote: Is there a simple way to debug USB-C PD on the Pinebook Pro?Simple. Doubt that... Code: #include <iostream> For a few days everything worked fine and I didn't have to reboot, but today I had to reboot twice. When it's charging using USB 3.0 but other USB-C functions aren't working (including charging using USB-C port on the powebank with Power Delivery), the 'orientation' file contains 'unknown'. If everything is fine, the 'orientation' file contains 'unknown' only when unplugged and 'normal' or 'reverse' when plugged. I didn't read the datasheet yet. I didn't check if FUSB302 is working at all when this happens. RE: USB-C Charging on the PBP? - xyzzy - 12-11-2020 (12-11-2020, 01:06 PM)wrzomar Wrote: When it's charging using USB 3.0 but other USB-C functions aren't working What do you mean by that exactly? USB 3.0 aka SuperSpeed USB normally refers to the data bus type and doesn't involve charging. The USB-C connector has a USB 2.0 interface, USB 3.0 interface, Display Port interface, as well as the ability to source or sink power. The USB 3.0 type A connector, on the left, also has a USB 2.0 interface and USB 3.0 interface. I think it can only source power, but I'm not sure about that. When you say "charging using USB 3.0", do you mean using the USB 3.0 type A connector? Or are you charging using the USB type C connector? If the latter, then you must have a dock of some kind, since with a charger directly connected to the USB-C connector there'd be no way to use it for anything else. RE: USB-C Charging on the PBP? - wrzomar - 12-12-2020 (12-11-2020, 02:41 PM)xyzzy Wrote:By the USB 3.0 I've meant USB type A on this model of powerbank with USB-C, it's can use some kind of fast charging, but it isn't Power Delivery used with the USB-C port on the same powerbank. When the chip responsible for power delivery is not responding the PBP is not charging from the C type port of the powerbank (when connected directly) and it cannot power the dock I'm using, so I don't know if anything else is working because powered devices work better. I didn't tried connecting any power supply to the USB-C port on the dock and then connecting the dock to the PBP when the damn chip isn't working, yet. But I can try it now, because it is happening again.(12-11-2020, 01:06 PM)wrzomar Wrote: When it's charging using USB 3.0 but other USB-C functions aren't working The dock works somehow, there is Ethernet working, I will try HDMI next. The odd thing is the USB-C power meter I'm using connected between PBP and the dock didn't turn on the display, but the powerbank is connected to the dock with USB-C - USB-C cable and it turned on instantly before plugging it to the PBP. HDMI isn't working. The flash drive plugged to the dock is blinking, but didn't appear in the devices. So, only Ethernet is working somehow. I'll reboot now and also will check if power delivery charging works with powered down PBP. PS. PD-PD charging works when the PBP is turned off. PPS. I've another powerbank with USB-C port, but it is not described as PD port, it works as power input or output, sometimes it tries to charge another device that is simultaneously connected to the multi-port charger (when it's not plugged to AC). The chip in PBP says (in port_type) that it is 'dual' but preferred_role is 'sink'. You can put here Risitas's laugh meme, because the PBP acts as a source to this powerbank when connected with USB-C - USB-C cable ![]() |