legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Thu Nov 06, 2014 12:57 am Post subject: Atheros AR7240, USB problem |
|
|
hi
i am trying to understand an issue i have with Atheros AR7240 (MIPS SoC)
i am using linux 2.6.39.4 from openWRT trunk r2928*
i have built a pretty ramrootfs and compiled the kernel manually into a gentoo MIPS machine, everything is fine, the Atheros AR7240's kernel is booting and i can get the console, everything is OK except the USB: the kernel seems to have it, it is reporting it has detected the USB-HUB but i can't see any USB device if i physically plug something in the USB connector
dmesg is reporting the following
Code: |
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: reset command 0080002 (park)=0 ithresh=8 period=1024 Reset HALT
ar71xx-ehci ar71xx-ehci: park 0
ar71xx-ehci ar71xx-ehci: ...powerdown ports...
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: reset command 0080002 (park)=0 ithresh=8 period=1024 Reset HALT
ar71xx-ehci ar71xx-ehci: init command 0010005 (park)=0 ithresh=1 period=512 RUN
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: default language 0x0409
usb usb1: udev 1, busnum 1, minor = 0
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Atheros AR91xx built-in EHCI controller
usb usb1: Manufacturer: Linux 2.6.39-Flesh-Eating-Bats-TL-WR703N ehci_hcd
usb usb1: SerialNumber: ar71xx-ehci
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: individual port power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
with this additional information
hub 1-0:1.0: port 1: status 0401 change 0000
hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000
hub 1-0:1.0: port 1, status 0401, change 0000, 480 Mb/s
hub 1-0:1.0: unable to enumerate USB device on port 1
|
the hub seems to be detected properly, so i have plugged an usb pen drive (USB1) and an usb hard drive (USB2) to the USB (both proved to be working on other PCs) and they don't appear in system, there is no device detected via "lsusb" and no dmesg errors of any kind that we can see. It is as if the device is not plugged in.
# lsusb
Code: |
Bus 001 Device 001: ID 1d6b:0002 Unix Foundation 2.0 root hub
|
what could be wrong?
every suggestion is welcome, thank you |
|