I can't get adb to work
#1
Hi
I have installed the 32GB Android image on my Quartz64.
I have enable "developer mode".
I have gone into Developer options and enabled "USB debugging".

I am trying to run adb on an Intel laptop running Manjaro.

I tested it with a Motorola phone and I can get adb to work on the phone.

I have connected to the Quartz64 using this cable https://www.amazon.co.uk/gp/product/B01KRO8D20
and I have tried all four USB ports on the Quartz64.

I can't think of anything else to try.

Can anyone help.

thanks
  Reply
#2
Can anyone tell me the correct pinout of the A to A USB cable? Then I can check mine or make one.
  Reply
#3
I have been looking at the schematic.

Pin T38 on the RK3566 is labelled USB_OTG0_VBUSDET.  It goes to capacitor C1400, R2501, through R2500 and to a "blob" labelled TP2202.
R2501 is 15K to ground.

Pin 10 on the USB2.0 HOST2 connector is labelled VBUS on the connector, goes to C2500 and a "blob" labelled VCC5V0_USB_OTG.

VCC5V0_USB_OTG doesn't seem to go anywhere on the schematic but I think that things work when I plug into the port (like my wireless keyboard dongle thing) so I guess it must really be 5V.

There seems no connection from USB_OTG0_VBUSDET on the SoC to VCC5V0_USB_OTG on the USB port.

I need to know whether USB_OTG0_VBUSDET on the SoC needs to be at 0V or at 5V for it to make it act as an OTG port.

R2501 appears to be not fitted on my board.

Is this why it isn't working as an OTG port?
  Reply
#4
(09-28-2021, 07:29 AM)dieselnutjob Wrote: I have been looking at the schematic.

Pin T38 on the RK3566 is labelled USB_OTG0_VBUSDET.  It goes to capacitor C1400, R2501, through R2500 and to a "blob" labelled TP2202.
R2501 is 15K to ground.

Pin 10 on the USB2.0 HOST2 connector is labelled VBUS on the connector, goes to C2500 and a "blob" labelled VCC5V0_USB_OTG.

VCC5V0_USB_OTG doesn't seem to go anywhere on the schematic but I think that things work when I plug into the port (like my wireless keyboard dongle thing) so I guess it must really be 5V.

There seems no connection from USB_OTG0_VBUSDET on the SoC to VCC5V0_USB_OTG on the USB port.

I need to know whether USB_OTG0_VBUSDET on the SoC needs to be at 0V or at 5V for it to make it act as an OTG port.

R2501 appears to be not fitted on my board.

Is this why it isn't working as an OTG port?

TP2202 is at 3.3V.
Normally Android devices detect that they are supposed to be in OTG mode when the extra (5th) USB pin (I think called "ID") is shorted to earth by the OTG cable.
My suspicion is that this is what the USB_OTG0_VBUSDET pin on the SoC is for.
If so then the correct answer would be to short it to ground.
  Reply
#5
I think I might be wrong.
Pin T37 on the SoC is USB_OTG0_ID, which by the name of it is probably the ID pin on a 5 pin Micro B port, so the one that gets shorted when an OTG cable is plugged in?
According to the schematic this pin is not connected to anything on the Quartz64 board.

What is USB_OTG0_VBUSDET for? I haven't clue. The RF3566 datasheet doesn't say.
  Reply
#6
I think I just got it working, and, I think that the answer is to plug the USB A to A cable into a live laptop before powering on the Quartz64
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)