Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/AM3517: Unable to access g_ether gadget driver using am35x as USB Device.

$
0
0

Part Number:AM3517

Tool/software: Linux

Hi , 

I am working on  am3517 sitara target board and  using "drivers/usb/musb/am35x.c"  driver of 4.9 kernel which support both  host and peripheral devices. I am using g_ether gadget device but unable to access on linux host. On target I can see both musb and  g_ether drivers are initialized  fine and I can find usb0 ethernet port on target.  But same  usb0 is not enumerating on host machine. I am getting below mentioned error on host machine.  
hub 1-1:1.0: unable to enumerate USB device on port 2
usb 1-1.2: new high-speed USB device number 6 using ehci-pci
usb 1-1.2: device descriptor read/64, error -71
 usb 1-1.2: device descriptor read/64, error -71
 usb 1-1.2: new high-speed USB device number 7 using ehci-pci
 usb 1-1.2: device descriptor read/64, error -71
usb 1-1.2: device descriptor read/64, error -71
 
Any pointer, what could be the reason for this failure ? Anything need to update in dts file "arch/arm/boot/dts/am3517.dtsi" ?  TIA !!
For reference please find below dts entry of am35x usb driver. 

am35x_otg_hs: am35x_otg_hs@5c040000 {
compatible = "ti,am35x-musb";
ti,hwmods = "am35x_otg_hs";
multipoint = <1>;
clocks = <&hsotgusb_ick_am35xx>, <&hsotgusb_fck_am35xx>;
clock-names = "ick", "fck";
reg = <0x5c040000 0x8000>;
interrupts = <71>;
interrupt-names = "mc";
mode = <2>;
interface-type = <1>;
num-eps = <16>;
ram-bits = <12>;
power = <500>;
};

Regards,
Pankaj Pandey

Viewing all articles
Browse latest Browse all 262198