Open adokitkat opened 2 years ago
(1) when you switch back to 2.16 does it stop constantly rebooting when you connect to a 5v device like your laptop/pc or android phone? (2) does constant reboot mean pinecil is rebooting over and over many times and does not stop rebooting when 2.17 is loaded and you are connected the the laptop? (3) are you able to test 2.17 on other PD 5V devices to confirm such as Android phone with PD usb-c or another laptop/PC ?
Hello, You have not provided exact details about what device you are using for the power, PD is controlled by the OS and the hardware, so both can change how this works out.
There are lots of variations of PD on desktop and a lot of them cause issues because they keep trying to power cycle the device because "it isnt working" because we actively reject USB, we also reject power swap and a bunch of others.
I can not reproduce this on the 3 computers I have with USB-C, so suspect this may be down to differences with your device.
Hi again @Ralim and @River-b.
So I've tested it and here's what I've found.
Pinecil with IronOS 2.17 flashed via Pine64 updater, 3 different USB-C cables and 1 USB-A to C cable used:
I didn't try to downgrade to 2.16 yet, however before on 2.16 Pinecil connected to Dell G5's Thunderbolt port on Windows 10 worked well.
A video of the bad Pinecil behavior (try to download it and play it locally if it doesn't play in browser):
https://user-images.githubusercontent.com/1345895/156896135-28a3a254-a308-4014-a046-a5400c4dbc9d.mp4
Hi, So I use a Lenovo T14 laptop for a fair bit of the development and I've never run into this issue. I suspect this may be to do with TB as I use only AMD machines. Screen flashing like that is the upstream port forcefully power cycling the device as a hard reset.
Can you confirm (a) this is reproducible on the English build (not multilingual) of 2.17, (b) test on 2.16 to check it doesnt occur.
Would be good to try and make a guess as to the issue, as I dont have any thunderbolt capable devices to test on available at the moment.
Hello. I have the same issue with Lenovo E14 (Intel Core) and plugin into type C socket. I use a Ubuntu 20.04 on my laptop. Looks like a boot loop. I found it on 2.17 Also have it on 2.18, 2.16 RC2, 2.15 RC1. Check the cable and socket on my phone - quick charge works correctly. Connect to another power supply (or USB port of this laptop) - all working fine.
UPD: I check it on 2.15 - all working fine
UPD. All working fine on 2.15
Any update on this please?
I have not been able to reproduce the issue. Further diagnostics would require a pd trace of what the laptop is rejecting.
Most likely cause is the laptop is trying to get the Pinecil to negotiate something that it's refusing to.
@Ralim I can provide my laptop via Anydesk to investigate this issue for example.
It requires hardware to capture the USB PD transaction that your device is rejecting.
I am seeing same reboot behavior on a 2018 MacBook Air USB-C. It wouldn't reboot when hooked to laptop when using stock Pinecil firmware but started rebooting after upgrade to 2.18.
Similar behavior as videos but I do not get the double blink of first video and just a reboot every 1s. Voltage toggles between 5.0V and 5.1V. If I hold + button, I see it print PD State 6 just long enough to read and then switches to state 11. That print lasts about about 0.5 second and then reboots.
I upgraded my firmware because the stock firmware would constantly reboot when using my 30W MacBook Air power adapter and that was much more importable issue for me to solve; and it did solve it btw.
Solving compatibility to the macbook chargers is what happened before these issues with thunderbolt usb-c ports showed up. I haven't been able to borrow a macbook to test this with so I dont have any further information on this at the moment.
It requires hardware to capture the USB PD transaction that your device is rejecting.
what hardware is needed for that and what are we looking for? could 'usb tester' like https://www.chargerlab.com/power-z-kt001-usb-power-tester-with-pd-qc-trigger-and-mfi-identification/ suffice? or we need something else? (I will need to get something compact and obtainable from Aliexpress)
Pinecil v1 updated to 2.19. Constantly reboot itself after 10s in qc or simple usb 5v modes. Work in qc mode if I enable tip heating, until heating stops . Work normally with pd or barrel jack.
Looks like Power pulse 0.2w or higher can partially fix the problem.
@BF3000 That sounds more like a power supply issue. What power adapter are you using?
Baseus GaN 65w One of the best available. And the problem is, it work the same way if connected to PC. Looks like my PInecil constantly wakes itself with that option.
My Lenovo Legion 5P laptop, both of the USB-C ports cause pinecil to reboot continuously so I can not use them to do firmware updates. Solution: I have to use the USB-A ports on the laptop to update Pinecil V2. Another Pine64 member reported the same behavior on the exact same laptop.
@River-Mochi
Can you capture the USB PD traffic please for a failed negotiation?
Can you capture the USB PD traffic please for a failed negotiation?
Only need the raw PD messages; which show in the PD analyzer tab.
I'm getting the same issue with my M1 Macbook Pro's USB C connection, sometimes (but not always) when plugging it in. For me I didn't see this issue when first plugging it in ((with firmware 2.20 preinstalled), but that may have just been the randomness since it doesn't always happen). I tried both updating to 2.21 and to 2.22 RC2, the issue was the same on both of them.
Plugging it in while holding -
to do the update seems to consistently work, at least (and after reinstalling the firmware update the interface is usable). The USB C cable I'm using is 6 feet long, but the pinecil (with "detailed idle screen" enabled) reports 5.2 volts so it doesn't seem to be a voltage drop issue.
Describe the bug Pinecil (2.17 European firmware) reboots constantly when plugged into USB-C (Thunderbolt 3) port on a laptop. This didn't happen before the last update. I know the power from the USB port is not enough for soldering, but it was nice to be able to change settings at least.
To Reproduce
Expected behavior Pinecil should boot up normally as it did before. Pinecil was displaying 5V input when connected to a laptop's USB port.
Details of your device: