PINE64
USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off (/showthread.php?tid=10255)

Pages: 1 2 3 4 5


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - jyc88 - 07-16-2020

(07-16-2020, 05:14 AM)oaklarch Wrote: My apologies if already answered, but:

1) Is the hardware fix applicable to BH phones?
2) If yes, what are the necessary steps to enable OTG on the software side?  After removing the regulators I tried bott the nightly Mobian and PMOS ANX image and only get stuff along the lines of "anx7688 0-0028: read failed (-6)".

I did the hardware mod on my CE Pinephone a few days ago. I haven't fully tested all OTG functions since I don't have a USB-C dock right now, but I was able to get a USB keyboard and mouse working in Mobian after I:
1) Installed the updated anx7688 firmware (for me, this got rid of the anx7688 error message I saw when watching dmesg -w). The process for this is described on the xnux.eu page about the Pinephone hardware bug.
2) Installed pinephone-devtools (I'm not 100% sure if this is required, but I'm pretty sure I was having issues with peripherals still not working until I had installed this)


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - vatolsk - 07-17-2020

On a side note related to this thread, the new postmarket release is coming with a usb-c dock, does that meant they fixed the hardware bug with the new release? I'd like to know if they'll be selling that main board on the store and if I can swap it out with my ubports version.


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - fsflover - 07-17-2020

(07-17-2020, 08:50 AM)vatolsk Wrote: On a side note related to this thread, the new postmarket release is coming with a usb-c dock, does that meant they fixed the hardware bug with the new release? I'd like to know if they'll be selling that main board on the store and if I can swap it out with my ubports version.

Yes, the hardware bug  has been fixed in version 1.2a, see https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-orders-and-new-pinephone-version/. They also promised to establish repair shops and help everyone to fix it for their phone.


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - vatolsk - 07-17-2020

(07-17-2020, 09:58 AM)fsflover Wrote:
(07-17-2020, 08:50 AM)vatolsk Wrote: On a side note related to this thread, the new postmarket release is coming with a usb-c dock, does that meant they fixed the hardware bug with the new release? I'd like to know if they'll be selling that main board on the store and if I can swap it out with my ubports version.

Yes, the hardware bug  has been fixed in version 1.2a, see https://www.pine64.org/2020/07/15/july-updatepmos-ce-pre-orders-and-new-pinephone-version/. They also promised to establish repair shops and help everyone to fix it for their phone.
Oh nice


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - oaklarch - 07-17-2020

Can you elaborate on this? I tried doing what was written on xnux (setting a variable in sysfs) but /sys/class/typec is empty. Used Megi's 5.8 kernel and remade the uboot image as per instructions.


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - jyc88 - 07-18-2020

(07-17-2020, 03:11 PM)oaklarch Wrote: Can you elaborate on this? I tried doing what was written on xnux (setting a variable in sysfs) but /sys/class/typec is empty. Used Megi's 5.8 kernel and remade the uboot image as per instructions.

Try using one of the recent pre-built Mobian images. I just compared fresh installs of a recent nightly build (20200715) I had against an older one (20200707). The older one didn't have anything in /sys/class/typec, but the more recent one did. I was able to use the more recent pre-built image to update the firmware. It looks like the current images should now include the anx7688 driver, so there should be fewer hoops to jump through to get USB peripherals working.

I also double checked whether pinephone-devtools was needed for it, and it looks like it isn't, so scratch that.


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - oaklarch - 07-18-2020

(07-18-2020, 04:43 AM)jyc88 Wrote: Try using one of the recent pre-built Mobian images. I just compared fresh installs of a recent nightly build (20200715) I had against an older one (20200707). The older one didn't have anything in /sys/class/typec, but the more recent one did. I was able to use the more recent pre-built image to update the firmware. It looks like the current images should now include the anx7688 driver, so there should be fewer hoops to jump through to get USB peripherals working.

I also double checked whether pinephone-devtools was needed for it, and it looks like it isn't, so scratch that.

Tried the mobian images and still get "i2c read failed" and empty /sys/class/typec. I suspect I borked something while desoldering after all.

Thanks for help anywa.


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - Ersatz - 07-19-2020

Did you install the latest nightly and "apt get update"? For me Mobian just started showing folders in /sys/class/typec "recently" maybe 4 days ago.

Nightly
https://images.mobian-project.org/pinephone/nightly/


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - oaklarch - 07-23-2020

(07-19-2020, 11:57 PM)Ersatz Wrote: Did you install the latest nightly and "apt get update"? For me Mobian just started showing folders in /sys/class/typec "recently" maybe 4 days ago.

Nightly
https://images.mobian-project.org/pinephone/nightly/

Thanks, didn't do the system update before. Still nothing though.


RE: USB-C CC pins are pulled to the GND by AW3512 (VCONN switches) when VCONN is off - nas - 09-24-2020

I'd like to plug-in a usb keyboard so thinking about attempting the stupid fix on my braveheart - unless the local workshops idea has become a bit more concrete?