Well, somehow my USB-Port is only usable for charging and the device doesn't recognize it if i connect it to my pc and only starts charging...
It still recognizes the difference beetween USB and AC though... Both times using the same cable...
Please check your dmesg after connecting to your pc and post it here to see the differences... thx :good:
My dmesg output when connecting to AC-Charger:
<6>[ 580.288909] [BATT] M2A_RPC: cable_update: USB at 576624105588 (2012-07-18 15:24:15.213511024 UTC)
<6>[ 580.289916] [BATT] htc_cable_status_update: 0 -> 1
<6>[ 580.290283] [USB] msm_hsusb_set_vbus_state: 1
<6>[ 580.290985] [USB] hsusb: OFFLINE -> ONLINE
<6>[ 580.291503] [USB] lpm exit
<6>[ 580.293701] [USB] hsusb: reset controller
<6>[ 580.330566] msm_hsusb_phy_reset
<6>[ 580.481384] [USB] ulpi: write 0x06 to 0x36
<6>[ 580.481689] [USB] ulpi: write 0x0c to 0x31
<6>[ 580.482238] [USB] ulpi: write 0x31 to 0x32
<6>[ 580.482543] [USB] ulpi: write 0x01 to 0x0d
<6>[ 580.482849] [USB] ulpi: write 0x01 to 0x10
<6>[ 580.483367] [USB] handle_notify_offline: notify offline
<6>[ 580.483673] [USB] msm_hsusb: enable pullup
<6>[ 580.495513] [USB] AC charger
<6>[ 580.516510] [USB] lpm enter
<6>[ 580.516632] [USB] usb_suspend_phy
<6>[ 580.518096] [USB] send connect type 2
<6>[ 580.518310] Touch: cable change to 2
<6>[ 580.519958] [BATT] online=2
<6>[ 580.520080] [BATT] Update SMEM: cable type 2 at 576854910031 (2012-07-18 15:24:15.444681678 UTC)
When connecting to USB:
<6>[ 698.052825] [BATT] M2A_RPC: cable_update: USB at 694388143675 (2012-07-18 15:26:12.977396524 UTC)
<6>[ 698.053985] [BATT] htc_cable_status_update: 0 -> 1
<6>[ 698.054351] [USB] msm_hsusb_set_vbus_state: 1
<6>[ 698.054992] [USB] hsusb: OFFLINE -> ONLINE
<6>[ 698.055328] [USB] lpm exit
<6>[ 698.058166] [USB] hsusb: reset controller
<6>[ 698.100616] msm_hsusb_phy_reset
<6>[ 698.245544] [USB] ulpi: write 0x06 to 0x36
<6>[ 698.245849] [USB] ulpi: write 0x0c to 0x31
<6>[ 698.246429] [USB] ulpi: write 0x31 to 0x32
<6>[ 698.246704] [USB] ulpi: write 0x01 to 0x0d
<6>[ 698.247009] [USB] ulpi: write 0x01 to 0x10
<6>[ 698.247558] [USB] handle_notify_offline: notify offline
<6>[ 698.247863] [USB] msm_hsusb: enable pullup
<6>[ 698.251434] [USB] suspend
<6>[ 698.265594] [USB] not AC charger
<6>[ 698.565582] [USB] send connect type -1
<6>[ 698.565887] Touch: cable change to 1
<6>[ 698.568237] [BATT] online=1
<6>[ 698.568542] [BATT] Update SMEM: cable type 1 at 694903646604 (2012-07-18 15:26:13.493143593 UTC)
Matze5800 said:
Well, somehow my USB-Port is only usable for charging and the device doesn't recognize it if i connect it to my pc and only starts charging...
It still recognizes the difference beetween USB and AC though... Both times using the same cable...
Please check your dmesg after connecting to your pc and post it here to see the differences... thx :good:
Click to expand...
Click to collapse
When I had this happen, changing ROMs didn't help. It also didn't work in recovery. Ended up warranty replacing.
Since then, I've read people saying that a good cleaning with canned air can cure it. Of the port on the phone.
Oh yeah, also rule out bad cable.
If cable and port are good, then it's also possible that the computer isn't providing enough amperage out of it's port in order to trigger on charging. Kind of like how an iPad won't charge off most typical computer USB ports.
Edit: computer shut down before I could type the rest.
If what you are having is the opposite, charges by PC but the PC can't see it then list out:
1) Your Rom/Android Version
2) Your Computer and it's OS
3) If you've installed drivers for your phone.
---------- Post added at 03:24 PM ---------- Previous post was at 03:19 PM ----------
For me:
AC Charger
Code:
<6>[27657.786621] [BATT] M2A_RPC: cable_update: USB at 27654512211799 (2012-07-18 19:20:21.656324155 UTC)
<6>[27657.786956] [BATT] htc_cable_status_update: 0 -> 1
<6>[27657.787048] [USB] msm_hsusb_set_vbus_state: 1
<6>[27657.787261] [USB] hsusb: OFFLINE -> ONLINE
<6>[27657.787353] [USB] lpm exit
<6>[27657.788787] [USB] hsusb: reset controller
<6>[27657.829589] msm_hsusb_phy_reset
<6>[27657.974823] [USB] ulpi: write 0x06 to 0x36
<6>[27657.975372] [USB] ulpi: write 0x0c to 0x31
<6>[27657.976379] [USB] ulpi: write 0x31 to 0x32
<6>[27657.976928] [USB] ulpi: write 0x01 to 0x0d
<6>[27657.977447] [USB] ulpi: write 0x01 to 0x10
<6>[27657.978424] [USB] handle_notify_offline: notify offline
<6>[27657.978973] [USB] msm_hsusb: enable pullup
<6>[27657.994750] [USB] AC charger
<6>[27658.014770] [USB] lpm enter
<6>[27658.015319] [USB] usb_suspend_phy
<6>[27658.017517] [USB] send connect type 2
<6>[27658.018554] Touch: cable change to 2
<6>[27658.021209] [BATT] online=2
<6>[27658.021789] [BATT] Update SMEM: cable type 2 at 27654748661994 (2012-07-18 19:20:21.891462094 UTC)
PC Connection
Code:
<6>[27672.502075] [BATT] M2A_RPC: cable_update: USB at 27669227574348 (2012-07-18 19:20:36.371778257 UTC)
<6>[27672.502410] [BATT] htc_cable_status_update: 0 -> 1
<6>[27672.502532] [USB] msm_hsusb_set_vbus_state: 1
<6>[27672.502746] [USB] hsusb: OFFLINE -> ONLINE
<6>[27672.502838] [USB] lpm exit
<6>[27672.504333] [USB] hsusb: reset controller
<6>[27672.539703] msm_hsusb_phy_reset
<6>[27672.684997] [USB] ulpi: write 0x06 to 0x36
<6>[27672.685577] [USB] ulpi: write 0x0c to 0x31
<6>[27672.686096] [USB] ulpi: write 0x31 to 0x32
<6>[27672.687072] [USB] ulpi: write 0x01 to 0x0d
<6>[27672.687622] [USB] ulpi: write 0x01 to 0x10
<6>[27672.688598] [USB] handle_notify_offline: notify offline
<6>[27672.689147] [USB] msm_hsusb: enable pullup
<6>[27672.692687] [USB] suspend
<6>[27672.704803] [USB] not AC charger
<6>[27672.809844] [USB] reset
<6>[27672.810485] [USB] send connect type 1
<6>[27672.811035] Touch: cable change to 1
<6>[27672.812103] [USB] portchange USB_SPEED_HIGH
<6>[27672.814605] [BATT] online=1
<6>[27672.815551] [BATT] Update SMEM: cable type 1 at 27669542302132 (2012-07-18 19:20:36.685224302 UTC)
Noticed yours didn't seem to set to USB_SPEED_HIGH. Are you using USB 1.1 or a low-speed port?
Well, i actually tried everything already, using different cables, another pc, different roms, even flashed the latest radio, i'm an addicted linux user so there can't be a driver issue
Really seems like an hw issue, i was just curios to see what the dmesg output should look like thx
Gesendet von meinem HTC Vision mit Tapatalk 2
Matze5800 said:
Well, i actually tried everything already, using different cables, another pc, different roms, even flashed the latest radio, i'm an addicted linux user so there can't be a driver issue
Click to expand...
Click to collapse
Have you tried another host (aka PC)?
Matze5800 said:
Well, i actually tried everything already, using different cables, another pc, different roms, even flashed the latest radio, i'm an addicted linux user so there can't be a driver issue
Really seems like an hw issue, i was just curios to see what the dmesg output should look like thx
Gesendet von meinem HTC Vision mit Tapatalk 2
Click to expand...
Click to collapse
GinoAMelone said:
Have you tried another host (aka PC)?
Click to expand...
Click to collapse
Note the bold.
Well, the usb is not that important as long as it keeps charging and wifi works, thanks for your help
Gesendet von meinem HTC Vision mit Tapatalk 2
Related
Now that the 2.6.32 kernel is out. Can we patch the kernel with Sven's patch to enable ush host on the incredible?
Patch Applies...
The patch applies cleanly to the source for the latest HTC 2.6.32 kernel we have on our phones. I have the equipment to test this, but the weather is too nice today to stay inside to configure and compile a kernel. I'll start building later.
This will be my first time modifying a kernel on an Android device. Fastboot sounds like it would be helpful here, but last I checked the Incredible doesn't have fastboot.
Any Incredible kernel hackers out there have links or advice for how to go about testing an updated kernel?
Cheers,
-Slick
Still working on it...
Unfortunately, getting the kernel to compile with EHCI (host controller) instead of USB gadget support is not as easy. HTC's patches to the kernel assume USB gadget support and all the callbacks that it provides (e.g. usb_register_notifier, usb_get_connect_type).
(If these callbacks were required for charging to occur (e.g. in htc_battery.c) when USB is plugged, that would kind of stink.)
Progress
Even after I got the kernel compiling, the new EHCI driver wouldn't load (probe() wasn't being called). Then I realized -- after several hours -- that the USB device was no longer being registered (thanks to more HTC-kernel awesomeness). So, I had to carefully go in and set CONFIG_USB_ANDROID to be Y without enabling any other USB gadget drivers. This allows the USB controller device to be registered with the Linux kernel, but without a driver claiming it yet. That's the EHCI driver's job. And then you see:
Code:
<6>[ 247.267852] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[ 247.268096] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
<7>[ 247.268615] msm_hsusb msm_hsusb: initializing MSM7201/QSD8X50 USB Controller
<6>[ 247.287658] msm_hsusb msm_hsusb: Qualcomm MSM7201/QSD8X50 On-Chip EHCI Host Controller
<7>[ 247.287994] drivers/usb/core/inode.c: creating file 'devices'
<7>[ 247.288391] drivers/usb/core/inode.c: creating file '001'
<6>[ 247.288604] msm_hsusb msm_hsusb: new USB bus registered, assigned bus number 1
<7>[ 247.288970] msm_hsusb msm_hsusb: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
<7>[ 247.289733] msm_hsusb msm_hsusb: park 0
<7>[ 247.289947] msm_hsusb msm_hsusb: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
<6>[ 247.290313] msm_hsusb_phy_reset
<7>[ 247.347717] msm_hsusb msm_hsusb: ...powerdown ports...
<6>[ 247.377807] msm_hsusb msm_hsusb: irq 58, io mem 0xa0800000
<7>[ 247.397918] usb usb1: default language 0x0409
<7>[ 247.398406] usb usb1: udev 1, busnum 1, minor = 0
<6>[ 247.399108] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 247.399505] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 247.400207] usb usb1: Product: Qualcomm MSM7201/QSD8X50 On-Chip EHCI Host Controller
<6>[ 247.400939] usb usb1: Manufacturer: Linux 2.6.32.15-hg000000000000 ehci_hcd
<6>[ 247.401306] usb usb1: SerialNumber: msm_hsusb
<7>[ 247.402893] usb usb1: uevent
<7>[ 247.409057] usb usb1: usb_probe_device
<6>[ 247.409484] usb usb1: configuration #1 chosen from 1 choice
<7>[ 247.410278] usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>[ 247.410980] usb 1-0:1.0: uevent
<7>[ 247.417358] hub 1-0:1.0: usb_probe_interface
<7>[ 247.417938] hub 1-0:1.0: usb_probe_interface - got id
<6>[ 247.418304] hub 1-0:1.0: USB hub found
<6>[ 247.419189] hub 1-0:1.0: 1 port detected
<7>[ 247.419586] hub 1-0:1.0: standalone hub
<7>[ 247.419982] hub 1-0:1.0: individual port power switching
<7>[ 247.420684] hub 1-0:1.0: individual port over-current protection
<7>[ 247.421051] hub 1-0:1.0: Single TT
<7>[ 247.421752] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
<7>[ 247.422149] hub 1-0:1.0: power on to power good time: 20ms
<7>[ 247.422882] hub 1-0:1.0: local power source is good
<7>[ 247.423278] hub 1-0:1.0: enabling power on all ports
<7>[ 247.428955] drivers/usb/core/inode.c: creating file '001'
<4>[ 247.429718] ------------[ cut here ]------------
<4>[ 247.430175] WARNING: at kernel/irq/manage.c:274 enable_irq+0x4c/0xa0()
<4>[ 247.430877] Unbalanced enable for IRQ 58
<4>[ 247.431274] Modules linked in: ehci_hcd(+) usbcore bcm4329
<4>[ 247.433502] [<c002d7f8>] (unwind_backtrace+0x0/0xd8) from [<c0063e34>] (warn_slowpath_common+0x48/0x60)
<4>[ 247.434265] [<c0063e34>] (warn_slowpath_common+0x48/0x60) from [<c0063e84>] (warn_slowpath_fmt+0x24/0x30)
<4>[ 247.434997] [<c0063e84>] (warn_slowpath_fmt+0x24/0x30) from [<c00979f0>] (enable_irq+0x4c/0xa0)
<4>[ 247.435516] [<c00979f0>] (enable_irq+0x4c/0xa0) from [<bf064988>] (usb_hcd_msm7201_probe+0x23c/0x2fc [ehci_hcd])
<4>[ 247.436279] [<bf064988>] (usb_hcd_msm7201_probe+0x23c/0x2fc [ehci_hcd]) from [<c01b2dc4>] (platform_drv_probe+0x18/0x1c)
<4>[ 247.437042] [<c01b2dc4>] (platform_drv_probe+0x18/0x1c) from [<c01b1f84>] (driver_probe_device+0xa0/0x14c)
<4>[ 247.437805] [<c01b1f84>] (driver_probe_device+0xa0/0x14c) from [<c01b2090>] (__driver_attach+0x60/0x84)
<4>[ 247.438568] [<c01b2090>] (__driver_attach+0x60/0x84) from [<c01b17f8>] (bus_for_each_dev+0x48/0x84)
<4>[ 247.439331] [<c01b17f8>] (bus_for_each_dev+0x48/0x84) from [<c01b114c>] (bus_add_driver+0x9c/0x218)
<4>[ 247.440093] [<c01b114c>] (bus_add_driver+0x9c/0x218) from [<c01b235c>] (driver_register+0xa8/0x134)
<4>[ 247.440551] [<c01b235c>] (driver_register+0xa8/0x134) from [<bf0700ac>] (ehci_hcd_init+0xac/0x12c [ehci_hcd])
<4>[ 247.441314] [<bf0700ac>] (ehci_hcd_init+0xac/0x12c [ehci_hcd]) from [<c002836c>] (do_one_initcall+0x5c/0x1b4)
<4>[ 247.442077] [<c002836c>] (do_one_initcall+0x5c/0x1b4) from [<c008d368>] (sys_init_module+0xb0/0x1dc)
<4>[ 247.442840] [<c008d368>] (sys_init_module+0xb0/0x1dc) from [<c0028f00>] (ret_fast_syscall+0x0/0x2c)
<4>[ 247.443542] ---[ end trace 1b75b31a2719ed1f ]---
<7>[ 247.518524] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
A comment in the code seems to indicate that the WARNING from the kernel is normal (?).
So the USB controller is up, but it's not detecting any devices plugged into it. Rather, when I plug a hub in, the Incredible detects it as a start-charging-the-battery event.
(Note: When I removed the callbacks, plugging in the phone to upstream power doesn't necessarily cause it to start charging. But when an attached hub is disconnected and reconnected, it sometimes starts charging. But then I see things like:
Code:
<6>[ 2183.727874] batt: M2A_RPC: set_charging: 1 at 2180262071950 (2010-08-17 06:08:47.707000720 UTC)
<6>[ 2183.742767] batt: M2A_RPC: cable_update: USB at 2180276934011 (2010-08-17 06:08:47.721923817 UTC)
<6>[ 2183.743865] batt: htc_cable_status_update: 1 -> 1
<6>[ 2183.744323] batt: batt:(htc_cable_status_update)power_supply_changed: OverVoltage at 2180278520925 (2010-08-17 06:08:47.723510731 UTC)
<6>[ 2183.749298] batt: SMEM_BATT: get_batt_info: batt_id=2, batt_vol=3966, batt_temp=324, batt_current=417, eval_current=92, level=75, charging_source=1, charging_enabled=1, full_bat=1300000, over_vchg=0 at 2180283892020 (2010-08-17 06:08:47.728454579 UTC)
<6>[ 2183.751159] batt: SMEM_BATT: get_batt_info: batt_id=2, batt_vol=3966, batt_temp=324, batt_current=417, eval_current=92, level=75, charging_source=1, charging_enabled=1, full_bat=1300000, over_vchg=0 at 2180285723074 (2010-08-17 06:08:47.730316152 UTC)
<6>[ 2183.752838] batt: SMEM_BATT: get_batt_info: batt_id=2, batt_vol=3966, batt_temp=324, batt_current=417, eval_current=92, level=75, charging_source=1, charging_enabled=1, full_bat=1300000, over_vchg=0 at 2180287401541 (2010-08-17 06:08:47.731994618 UTC)
OverVoltage? That doesn't sound good -- I hope I'm not killing the poor USB port!
Thanks, for the update. I have another friend of mine, who is taking as shot at this. Can you post the changes you made. Maybe its helpful for other ppl trying to get this to work.
Sent from my ADR6300 using XDA App
I would like to help.
Let me know the steps to get the lastest kernal and what setup you are using.
I got a USB OTG cable, Y cable, Kenington USB HUB. Looking to get Keyboard, Mouse (Could we use the port of the mouse pointer from x86 port in CM6 ROM), USB Drive and I hope USB VGA out.
Sure, here's the "link":
linuxbeast.net/incredible_host
You'll need:
- the "stock" 2.6.32 Incredible kernel from HTC's website (unpack it)
- sonic74's patch (apply it with 'patch -p1' in the kernel directory)
- the config file from the above link as '.config'
Then apply one of the two patches from the above link, again with 'patch -p1'. One of the patches modifies the EHCI driver files to give you more debug output (#define DEBUG -- so you get the same output I did above), while the other does not.
As you can see, it didn't take too many changes to get the kernel to compile. The harder part was figuring out that I still needed to select CONFIG_USB_ANDROID to get the msm_hsusb platform device (i.e. the USB controller hardware interface) defined... and then avoid selecting/compiling the USB gadget driver (msm72k_udc), which would have then claimed that resource (as in stock).
Thanks so much for your interest. I won't have time to work on this for at least several days, so... good luck!
-Slick
P.S. I also included two kernel updater .ZIPs for the impatient. One lets you try the current state of things, and the other reverts back to stock. Use at your own risk!
Will try to load the new kernel and try to debug. If you need help in testing the changes, i am more that happy to risk my incredible. I got an extra one to play with.
It would be nice to at least see confirmation of the behavior I'm seeing; it's painfully close to working. Once you insmod the usbcore and echi-hcd modules, the USB controller appears to initialize and recognize the internal USB (host) port. But it doesn't seem to recognize the presence of any USB devices I plug in (besides, say, beginning to charge once I plug in a hub).
I recompiled the kernel by applying you patch. Here is the dmesg output.
Code:
<6>[ 241.454376] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[ 241.454650] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
<7>[ 241.455200] initializing MSM7201/QSD8X50 USB Controller
<6>[ 241.471252] msm_hsusb msm_hsusb: Qualcomm MSM7201/QSD8X50 On-Chip EHCI Host Controller
<7>[ 241.472045] drivers/usb/core/inode.c: creating file 'devices'
<7>[ 241.472412] drivers/usb/core/inode.c: creating file '001'
<6>[ 241.473083] msm_hsusb msm_hsusb: new USB bus registered, assigned bus number 1
<7>[ 241.473785] msm_hsusb msm_hsusb: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
<7>[ 241.474548] msm_hsusb msm_hsusb: park 0
<7>[ 241.475189] msm_hsusb msm_hsusb: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
<6>[ 241.475555] msm_hsusb_phy_reset
<7>[ 241.531097] msm_hsusb msm_hsusb: ...powerdown ports...
<6>[ 241.561157] msm_hsusb msm_hsusb: irq 58, io mem 0xa0800000
<7>[ 241.581268] usb usb1: default language 0x0409
<7>[ 241.581390] usb usb1: udev 1, busnum 1, minor = 0
<6>[ 241.581512] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 241.581695] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 241.581909] usb usb1: Product: Qualcomm MSM7201/QSD8X50 On-Chip EHCI Host Controller
<6>[ 241.582000] usb usb1: Manufacturer: Linux 2.6.32.15-g7507bb0 ehci_hcd
<6>[ 241.582214] usb usb1: SerialNumber: msm_hsusb
<7>[ 241.582550] usb usb1: uevent
<7>[ 241.584045] usb usb1: usb_probe_device
<6>[ 241.584167] usb usb1: configuration #1 chosen from 1 choice
<7>[ 241.584289] usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>[ 241.584564] usb 1-0:1.0: uevent
<7>[ 241.585845] hub 1-0:1.0: usb_probe_interface
<7>[ 241.586059] hub 1-0:1.0: usb_probe_interface - got id
<6>[ 241.586181] hub 1-0:1.0: USB hub found
<6>[ 241.586364] hub 1-0:1.0: 1 port detected
<7>[ 241.586547] hub 1-0:1.0: standalone hub
<7>[ 241.586639] hub 1-0:1.0: individual port power switching
<7>[ 241.586761] hub 1-0:1.0: individual port over-current protection
<7>[ 241.586944] hub 1-0:1.0: Single TT
<7>[ 241.587066] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
<7>[ 241.587249] hub 1-0:1.0: power on to power good time: 20ms
<7>[ 241.587371] hub 1-0:1.0: local power source is good
<7>[ 241.587585] hub 1-0:1.0: enabling power on all ports
<7>[ 241.588592] drivers/usb/core/inode.c: creating file '001'
<4>[ 241.588897] ------------[ cut here ]------------
<4>[ 241.589019] WARNING: at kernel/irq/manage.c:274 enable_irq+0x4c/0xa0()
<4>[ 241.589202] Unbalanced enable for IRQ 58
<4>[ 241.589324] Modules linked in: ehci_hcd(+) usbcore
<4>[ 241.589782] [<c002d7f8>] (unwind_backtrace+0x0/0xd8) from [<c0063e34>] (warn_slowpath_common+0x48/0x60)
<4>[ 241.589996] [<c0063e34>] (warn_slowpath_common+0x48/0x60) from [<c0063e84>] (warn_slowpath_fmt+0x24/0x30)
<4>[ 241.590209] [<c0063e84>] (warn_slowpath_fmt+0x24/0x30) from [<c00979f0>] (enable_irq+0x4c/0xa0)
<4>[ 241.590423] [<c00979f0>] (enable_irq+0x4c/0xa0) from [<bf021978>] (usb_hcd_msm7201_probe+0x22c/0x2cc [ehci_hcd])
<4>[ 241.590637] [<bf021978>] (usb_hcd_msm7201_probe+0x22c/0x2cc [ehci_hcd]) from [<c01b2dc4>] (platform_drv_probe+0x18/0x1c)
<4>[ 241.590850] [<c01b2dc4>] (platform_drv_probe+0x18/0x1c) from [<c01b1f84>] (driver_probe_device+0xa0/0x14c)
<4>[ 241.591064] [<c01b1f84>] (driver_probe_device+0xa0/0x14c) from [<c01b2090>] (__driver_attach+0x60/0x84)
<4>[ 241.591186] [<c01b2090>] (__driver_attach+0x60/0x84) from [<c01b17f8>] (bus_for_each_dev+0x48/0x84)
<4>[ 241.591400] [<c01b17f8>] (bus_for_each_dev+0x48/0x84) from [<c01b114c>] (bus_add_driver+0x9c/0x218)
<4>[ 241.591613] [<c01b114c>] (bus_add_driver+0x9c/0x218) from [<c01b235c>] (driver_register+0xa8/0x134)
<4>[ 241.591827] [<c01b235c>] (driver_register+0xa8/0x134) from [<bf02d0ac>] (ehci_hcd_init+0xac/0x108 [ehci_hcd])
<4>[ 241.592041] [<bf02d0ac>] (ehci_hcd_init+0xac/0x108 [ehci_hcd]) from [<c002836c>] (do_one_initcall+0x5c/0x1b4)
<4>[ 241.592254] [<c002836c>] (do_one_initcall+0x5c/0x1b4) from [<c008d368>] (sys_init_module+0xb0/0x1dc)
<4>[ 241.592376] [<c008d368>] (sys_init_module+0xb0/0x1dc) from [<c0028f00>] (ret_fast_syscall+0x0/0x2c)
<4>[ 241.592590] ---[ end trace 1b75b31a2719ed1f ]---
<7>[ 241.681396] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
OK good, so you're seeing the same behavior I was.
Do you have the right cables to test plugging anything in? If so, what (if anything) happens when you plug in, say, a hub?
This would let us plug SD card readers externally and read/write to it right?
Sent from my ADR6300 using XDA App
drawde said:
This would let us plug SD card readers externally and read/write to it right?
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Yes, pretty much any USB device (that Linux supports) would work.
No interrupts yet
Check out this line from /proc/interrupts:
Code:
58: 0 msm ehci_hcd:usb1
Yeah, we're not getting any interrupts sent to the driver. That would be one reason why it's not working yet...
sorry, i have not been able to test, was busy. from monday, i can help you test any new changes.
That's assuming that a) I find time to work on this, and b) I figure out why the EHCI driver isn't receiving interrupts
Sent from my ADR6300 using XDA App
Very cool. I am very interested in this. I have an idea for a project in my security class and if I could get usb host working on my incredible it would have much more impact then using a netbook.
I look forward to seeing a how to.
Slick1123 said:
Yes, pretty much any USB device (that Linux supports) would work.
Click to expand...
Click to collapse
i'm assuming that anything that can work in linux but isn't supported by default would have to have a custom compiled kernel with those drivers included right?
i'm very interested in this, i've been trying to find some way to enable rs232-usb communication on a droid device and im pretty sure the ftdi based ones work with linux
Using a USB Keyboard?
what does one have to do to use an HID device with Incredible?
From the HTC support forum, it appears the device has the correct type port
and the hardware support. Would I need special support in the kernal?
I was told Android's std kernal had support for USB-OTG (both device
and Host mode port use).
http://community.htc.com/na/htc-forums/android/f/91/t/2122.aspx
My problem is that the soft keyboards are too small for my fingers
and Incredible doesn't come with a stylus.
Thanks
<Deleted> 1234567890
There have been a high number of USB host failures on the A101, I have had two bad units now. I started trying to troubleshoot, but have almost no linux experience.
I have attached a LogCat file and have run the LS /proc/bus/usb command and have gotten:
001 devices
So two requests:
1)Could someone with a working USB try the same command and see what they get?
2)Start a log cat and insert a USB device and see what they get?
A101IT with working usb results: 001 002 devices
What about this line in a bug report?
Mine:
[ro.board.usb_host_suspend]: [yes]
Moved to general as not android development
hi, why need logcat for usb_host?
what device you plug into your 101?
um..I can use my usb_host to read my card reader and usb stick(thin one), but need to turn the power management into "Overdrive"...
LeoNg628 said:
hi, why need logcat for usb_host?
what device you plug into your 101?
um..I can use my usb_host to read my card reader and usb stick(thin one), but need to turn the power management into "Overdrive"...
Click to expand...
Click to collapse
If you notice in my Log cat you can see the disabled 2nd port. Any USB device I plug in now fails.
Overdrive does nothing for me.
Could someone else with a working USB host run the adb shell test? (also let me know if you are running SDE or not) I have formated and got the same issue, there is no 002 folder where there should be. I am guessing this is the issue. Since the file system is not write-able even in root (non-SDE) and I can not copy 001 and rename it 002.
you cannot just copy or rename 001 to 002. this listing gives you the ability to read the usb tree of your linux device.
if there is no 002 there is no secondary usb host device which means it's not getting recognized for whatever reason (for example when it's broken)
USB host mode driver
check with lsmod from TerminalEmulator is the kernel module musb_hdrc loaded ....
If you have root (su) then you can try (re)loading it from terminal emulator:
Unload it with:
su
rmmod musb_hdrc.ko
Generaly, USB host mode is activated by loading musb_hdrc with param mode_default=1
su
insmod /lib/modules/musb_hdrc.ko mode_default=1
With properly loaded musb_hdrc.ko, ls -l /proc/bus/usb gives:
total 0
dr-xr-xr-x 2 storage root 0 Jan 1 1970 001
dr-xr-xr-x 2 storage root 0 Feb 19 08:35 002
-r--r--r-- 1 storage root 0 Feb 19 08:35 devices
(and in this case my host USB port on A101IT is empty - no devices plugged in)
nenadr said:
check with lsmod from TerminalEmulator is the kernel module musb_hdrc loaded ....
If you have root (su) then you can try (re)loading it from terminal emulator:
Unload it with:
su
rmmod musb_hdrc.ko
Generaly, USB host mode is activated by loading musb_hdrc with param mode_default=1
su
insmod /lib/modules/musb_hdrc.ko mode_default=1
With properly loaded musb_hdrc.ko, ls -l /proc/bus/usb gives:
total 0
dr-xr-xr-x 2 storage root 0 Jan 1 1970 001
dr-xr-xr-x 2 storage root 0 Feb 19 08:35 002
-r--r--r-- 1 storage root 0 Feb 19 08:35 devices
(and in this case my host USB port on A101IT is empty - no devices plugged in)
Click to expand...
Click to collapse
What do you get in dmesg after you do the insmod
Code:
musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
musb_hdrc musb_hdrc: MUSB HDRC host driver
/mnt/flash/releases/G8A/AX08_r2.1.2/arcbuild/linux/drivers/usb/core/inode.c: creating file '002'
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: default language 0x0409
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.29-omap1 musb-hcd
usb usb2: SerialNumber: musb_hdrc
usb usb2: uevent
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: uevent
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: individual port power switching
hub 2-0:1.0: no over-current protection
hub 2-0:1.0: power on to power good time: 10ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: enabling power on all ports
/mnt/flash/releases/G8A/AX08_r2.1.2/arcbuild/linux/drivers/usb/core/inode.c: creating file '001'
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 2-0:1.0: hub_suspend
usb usb2: bus auto-suspend
Thanks WDL this is what I got:
# ls -i /proc/bus/usb
555 001 389674 002 554 devices
#ls -l /proc/bus/usb
dr-xr-xr-x 2 1000 root 0 Jan 1 1970 001
dr-xr-xr-x 2 1000 root 0 Feb 19 13:52 002
-r--r--r-- 1 1000 root 0 Feb 19 13:52 devices
<code>
Code:
von_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
request_suspend_state: wakeup (3->0) at 175100579427151 (2011-02-19 02:21:41.669057246 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
usb 1-2: finish resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: urb c4cae3c0 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: ep0 maxpacket = 16
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
request_suspend_state: sleep (0->3) at 175723751485243 (2011-02-19 02:32:04.841084820 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
usb 1-2: usb suspend
hanvon_early_suspend: taking wake lock
hanvon_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
request_suspend_state: wakeup (3->0) at 176172694447885 (2011-02-19 02:39:33.784077980 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
usb 1-2: finish resume
ohci-omap ohci-omap.0: urb c3cf6540 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
usb 1-2: ep0 maxpacket = 16
request_suspend_state: sleep (0->3) at 176277971089749 (2011-02-19 02:41:19.060719844 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
usb 1-2: usb suspend
hanvon_early_suspend: taking wake lock
hanvon_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
request_suspend_state: wakeup (3->0) at 176483468500015 (2011-02-19 02:44:44.558099607 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
usb 1-2: finish resume
ohci-omap ohci-omap.0: urb ca5904c0 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
usb 1-2: ep0 maxpacket = 16
request_suspend_state: sleep (0->3) at 176510816112781 (2011-02-19 02:45:11.905742876 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
usb 1-2: usb suspend
hanvon_early_suspend: taking wake lock
hanvon_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
request_suspend_state: wakeup (3->0) at 177074474626811 (2011-02-19 02:54:35.564256906 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
usb 1-2: finish resume
ohci-omap ohci-omap.0: urb c5756840 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
usb 1-2: ep0 maxpacket = 16
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
binder: 1315:1488 transaction failed 29189, size1584-12
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
request_suspend_state: sleep (0->3) at 178647702348969 (2011-02-19 03:20:48.791979064 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
usb 1-2: usb suspend
hanvon_early_suspend: taking wake lock
hanvon_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
dcin_read_dc_detect_delayed
request_suspend_state: wakeup (3->0) at 178915982225293 (2011-02-19 03:25:17.071855388 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
usb 1-2: finish resume
ohci-omap ohci-omap.0: urb c74416c0 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: ep0 maxpacket = 16
Enabling CTS wakeup for UART1
kim kim: firmware: requesting TIInit_7.2.31.bts
init: untracked pid 1172 exited
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 200
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 200
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 200
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 200
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 60
mma7660fc_ctrl_ioctl: Set polling delay 200
request_suspend_state: sleep (0->3) at 184534331679729 (2011-02-19 04:58:55.421309824 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
usb 1-2: usb suspend
hanvon_early_suspend: taking wake lock
hanvon_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
request_suspend_state: wakeup (3->0) at 213819761458747 (2011-02-19 13:07:00.851088842 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
usb 1-2: finish resume
ohci-omap ohci-omap.0: urb cde73bc0 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: ep0 maxpacket = 16
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
dcin_read_dc_detect_delayed
init: untracked pid 27684 exited
init: untracked pid 5529 exited
init: untracked pid 5570 exited
init: untracked pid 5569 exited
init: untracked pid 5571 exited
init: untracked pid 5573 exited
init: untracked pid 5527 exited
init: untracked pid 5585 exited
init: untracked pid 5540 exited
init: untracked pid 5564 exited
init: untracked pid 5562 exited
init: untracked pid 5572 exited
musb_hdrc musb_hdrc: remove, state 4
musb_hdrc musb_hdrc: roothub graceful disconnect
usb usb2: USB disconnect, address 1
usb usb2: unregistering device
usb usb2: usb_disable_device nuking all URBs
usb usb2: unregistering interface 2-0:1.0
usb 2-0:1.0: uevent
usb usb2: uevent
musb_hdrc musb_hdrc: USB bus 2 deregistered
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v5 enabled 0
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v8 enabled 0
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb3v1 enabled 0
musb_hdrc: version 6.0, musb-dma, peripheral, debug=0
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb3v1 enabled 1
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v8 enabled 1
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v5 enabled 1
musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
musb_hdrc musb_hdrc: MUSB HDRC host driver
/mnt/flash/releases/G8A/AX08_r2.1.2/arcbuild/linux/drivers/usb/core/inode.c: creating file '002'
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: default language 0x0409
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.29-omap1 musb-hcd
usb usb2: SerialNumber: musb_hdrc
usb usb2: uevent
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: uevent
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: individual port power switching
hub 2-0:1.0: no over-current protection
hub 2-0:1.0: power on to power good time: 10ms
hub 2-0:1.0: local power source is good
hub 2-0:1.0: enabling power on all ports
/mnt/flash/releases/G8A/AX08_r2.1.2/arcbuild/linux/drivers/usb/core/inode.c: creating file '001'
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 2-0:1.0: hub_suspend
usb usb2: bus auto-suspend
request_suspend_state: sleep (0->3) at 216776333465109 (2011-02-19 13:56:17.423095204 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
usb 1-2: usb suspend
hanvon_early_suspend: taking wake lock
hanvon_early_suspend: taking wake lock
hub 1-0:1.0: hub_suspend
usb usb1: bus auto-suspend
ohci-omap ohci-omap.0: suspend root hub
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
hanvon_early_suspend_work
hanvon_early_suspend_work: releasing wake lock
Configure McBSP for 1 phase
Configure McBSP TX FIFO threshold to 1260
request_suspend_state: wakeup (3->0) at 217144598174576 (2011-02-19 14:02:25.687804671 UTC)
omapdss omapdss: regulator_enable omapdss-vdds_dsi enabled 0
panel_enable [lcd]
mma7660fc_ctrl_ioctl: Set polling delay 200
usb usb1: usb auto-resume
ohci-omap ohci-omap.0: resume root hub
hub 1-0:1.0: hub_resume
hub 1-0:1.0: port 2: status 0107 change 0000
usb 1-2: usb resume
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00040103 PSSC PPS PES CCS
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
usb 1-2: finish resume
ohci-omap ohci-omap.0: urb ceb24a40 path 2 ep0in 5ec20000 cc 5 --> status -62
usb 1-2: retry with reset-resume
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: reset full speed USB device using ohci-omap and address 2
hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci-omap ohci-omap.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
usb 1-2: ep0 maxpacket = 16
</code>
Holy moly! The usb host port of my A101IT (fw 2.1.08, downgrading to 2.1.04 made no difference) stopped working today
Reloading the musb_hdrc module hasn't fixed it. I got the same dmesg output as wdl1908 has.
edit: and after some minutes (display off -> standby) dmesg gives me the same output as vertig0730 has.
This is a real bummer because I can't continue developing on my dvb-t project
chulri said:
Holy moly! The usb host port of my A101IT (fw 2.1.08, downgrading to 2.1.04 made no difference) stopped working today
Reloading the musb_hdrc module hasn't fixed it. I got the same dmesg output as wdl1908 has.
edit: and after some minutes (display off -> standby) dmesg gives me the same output as vertig0730 has.
This is a real bummer because I can't continue developing on my dvb-t project
Click to expand...
Click to collapse
Did this happen when you upgraded or downgraded the firmware? or did it just stopped working. At this point this is still not very clear when it happens.
wdl1908 said:
Did this happen when you upgraded or downgraded the firmware? or did it just stopped working. At this point this is still not very clear when it happens.
Click to expand...
Click to collapse
I don't know. I only know it worked earlier this week, maybe pre-2.1.08, maybe after upgrade, I can't remember.
chulri said:
I don't know. I only know it worked earlier this week, maybe pre-2.1.08, maybe after upgrade, I can't remember.
Click to expand...
Click to collapse
A pitty we can't rule out the firmware upgrade process.
Mine is exibiting another thing after the usb host died. It does not go into sleep anymore. The led always stays on. I'v even tried a full reset with no extra apps installed and the led won't go out. Do you have the same thing?
True. I press pwrbutton for less than a second so it should go to standby, right? Led doesnt turn off.
chulri said:
True. I press pwrbutton for less than a second so it should go to standby, right? Led doesnt turn off.
Click to expand...
Click to collapse
I suspect the power control chip that controls the power to the usb port and is in change of the sleep deep-sleep function is damaged. And that is has nothing to do with firmware upgrade at all.
I distinctly remember copying stuff from a usb stick and later on hooking up a non powered usb hub. After that when I tried to hook up a keyboard it did not function anymore. The problem is I don't remember if this was after a firmware upgrade or not.
devices connected to the usb port of my A101IT are served with power. I just tested it with a usb pen drive and my HTC mobile phone. The usb pen drive has an led which lights up when it gets power and my HTC mobile phone started charging
so: power yes, data no.
edit: powered usb hub doesn't make any difference. definitly no data over host usb port
Hey chulri,
its a shame this USB prob stopps you with your great dvb-t project!
FYI: you are not alone with it, in the archosfans forum there are tens of ppl having this problem also. http://forum.archosfans.com/viewtopic.php?f=74&t=43962 (sorry no solutions in that thread also only opinions and theories)
I actually was wondering that yours was working that long since you are for sure someone who is using the USB host a lot more than the average user...
I had mine RMAed for this problem and will pick up my new unit tomorrow. (took forever)
/schaze
@schaze thx, I've already subscribed to the thread on archosfans.com
Hi Guys!
I have a self powered: FTDI(FT232R) - micro USB-A (Nokia OTG CA-157) - Archos 70
with custom kernel. It works like a charm BUT
The driver picks the FT232R only if I connect it in the following sequence:
1. First connect the micro USB-A dongle (FT232 not attached)
2. As second connect FT232R to the USB dongle
Then I got the following dmesg:
1.
Code:
Code:
usb_switch_print_state: 3 ATTACHED_HOST
usb_switch_print_state: 3 ATTACHED_HOST
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v5 enabled 0
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v8 enabled 0
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb3v1 enabled 0
musb_hdrc: version 6.0, musb-dma, peripheral, debug=0
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb3v1 enabled 1
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v8 enabled 1
twl4030_usb twl4030_usb: regulator_enable twl4030_usb-usb1v5 enabled 1
musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
musb_hdrc musb_hdrc: MUSB HDRC host driver
/home/archos/kernel/gen8/gen8-gpl-froyo/linux/drivers/usb/core/inode.c: creating file '002'
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: default language 0x0409
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.29-omap1 musb-hcd
usb usb2: SerialNumber: musb_hdrc
usb usb2: uevent
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: uevent
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: individual port power switching
hub 2-0:1.0: no over-current protection
hub 2-0:1.0: power on to power good time: 10ms
hub 2-0:1.0: 100mA bus power budget for each child
hub 2-0:1.0: local power source is good
hub 2-0:1.0: enabling power on all ports
/home/archos/kernel/gen8/gen8-gpl-froyo/linux/drivers/usb/core/inode.c: creating file '001'
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
hub 2-0:1.0: hub_suspend
usb usb2: bus auto-suspend
2.
Code:
Code:
usb usb2: usb resume
hub 2-0:1.0: hub_resume
hub 2-0:1.0: port 1: status 0101 change 0001
hub 2-0:1.0: state 7 ports 1 chg 0002 evt 0000
hub 2-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
usb 2-1: new full speed USB device using musb_hdrc and address 2
usb 2-1: ep0 maxpacket = 8
usb 2-1: default language 0x0409
usb 2-1: New USB device found, idVendor=0403, idProduct=6001
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: RFID_EM
usb 2-1: Manufacturer: FTDI
usb 2-1: SerialNumber: A9UMG98I
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usbserial_generic 2-1:1.0: usb_probe_interface
usbserial_generic 2-1:1.0: usb_probe_interface - got id
ftdi_sio 2-1:1.0: usb_probe_interface
ftdi_sio 2-1:1.0: usb_probe_interface - got id
ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
usb 2-1: Detected FT232RL
usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
/home/archos/kernel/gen8/gen8-gpl-froyo/linux/drivers/usb/core/inode.c: creating file '002'
hub 2-0:1.0: 100mA power budget left
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002
hub 2-0:1.0: port 1 enable change, status 00000103
This is a very verbose fine dmesg showing ttyUSB0 is created.
My problem is that if I connect the micro-A dongle with FT232R already connected, then just the 1st sequence runs (till bus suspend) the second not. The same thing is with soft reboot, it is not working I need to manually disconnect then connect dongle first then FT232R.
I tried to tune msusb_hdrc config but with no sucess. What is the problem, what causes to stuck at suspend when it is not attached in 2 step??????
I have a pic from the hw look but yet I can't post it (till 8 posts) if needed I can in private.
UPDATE is that I tried to disable auto suspend and it is still not working. The general thing is that the musb_hdrc host driver recognizes the OTG as a hub with one port and if the peripherial (FT232R in this case) is already attached it is not enumarated and picked by the FTDI driver. Furthermore the state switching is not done properly. If the periph. is not attached it goes to a_idle but if yes it stays in b_idle mode (sys/devices/platform/musb_hdrc/mode).
Thanks, cheers
sodjas
Flashed the latest Pure Nexus last night and sideloaded Hangouts today. Both working great, except!
the AOSP base for Pure Nexus says it supports webcams for hangouts. I get no mic or video. If i try to take a picture in the hangouts app and get a "couldn't launch camera" message. a test video call got no audio or video.
I'm using a Logitech Webcam Pro 9000, i ran dmseg with it unplugged and plugged-in and ran diff on the output files and got
> [ 5140.962790] usb 2-1.4: new high-speed USB device number 13 using dwc3-host
> [ 5141.109753] usb 2-1.4: New USB device found, idVendor=046d, idProduct=0990
> [ 5141.109809] usb 2-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=2
> [ 5141.109842] usb 2-1.4: SerialNumber: BC054521
> [ 5141.133395] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
> [ 5141.165663] input: UVC Camera (046d:0990) as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.4/2-1.4:1.0/input/input32
> [ 5141.585485] usb_audio: Warning! Unlikely big volume range (=3072), cval->res is probably wrong.
> [ 5141.585529] usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1<6>[ 5152.100119] atvr_remove: hdev->name = Nexus Remote removed, num 1->0
Click to expand...
Click to collapse
So I know it's seeing the camera. Tried a couple camera apps but nothing comes up.
ideas?
I saw in a different thread that you need to change the camera defaults it uses... now if I could find that thread.
Found: http://forum.xda-developers.com/showpost.php?p=63229199&postcount=2
To fix the webcam in hangouts
edit the build.prop and change:
ro.camera.number=2
ro.camera.0.devname=/dev/video0
ro.camera.0.facing=back
ro.camera.0.orientation=0
ro.camera.1.devname=/dev/video0
ro.camera.1.facing=front
ro.camera.1.orientation=0
in -------------------->
ro.camera.number=1
ro.camera.0.devname=/dev/video0
ro.camera.0.facing=back
ro.camera.0.orientation=0
Is implied that you must start the device with the camera connected to have the webcam working
Asitaka said:
I saw in a different thread that you need to change the camera defaults it uses... now if I could find that thread.
Found: http://forum.xda-developers.com/showpost.php?p=63229199&postcount=2
To fix the webcam in hangouts
edit the build.prop and change:
ro.camera.number=2
ro.camera.0.devname=/dev/video0
ro.camera.0.facing=back
ro.camera.0.orientation=0
ro.camera.1.devname=/dev/video0
ro.camera.1.facing=front
ro.camera.1.orientation=0
in -------------------->
ro.camera.number=1
ro.camera.0.devname=/dev/video0
ro.camera.0.facing=back
ro.camera.0.orientation=0
Is implied that you must start the device with the camera connected to have the webcam working
Click to expand...
Click to collapse
I tried that. no luck. thanks!
Mic works fine, just no video.
skunkfifty said:
I tried that. no luck. thanks!
Mic works fine, just no video.
Click to expand...
Click to collapse
Any progress on this? I'm trying to see if I can get a webcam working on this ROM. So far no luck.
petermg said:
Any progress on this? I'm trying to see if I can get a webcam working on this ROM. So far no luck.
Click to expand...
Click to collapse
Nothing. I haven't had time to poke at it since my last post.
I can get audio but no video. I was able to get low quality video using a webcam app before I started messing with anything but that's it.
skunkfifty said:
Nothing. I haven't had time to poke at it since my last post.
I can get audio but no video. I was able to get low quality video using a webcam app before I started messing with anything but that's it.
Click to expand...
Click to collapse
ro.camera.0.facing=back
Change this line from "back" to "front". Make sure the camera is connected. Reboot.
shdware said:
ro.camera.0.facing=back
Change this line from "back" to "front". Make sure the camera is connected. Reboot.
Click to expand...
Click to collapse
I will try this later today and post back.
petermg said:
I will try this later today and post back.
Click to expand...
Click to collapse
If you're not too attached to this custom rom, you can try the roms developed by Zulu99. His lollipop and marshmallow based roms both support hangouts and skype, with some tweaks in build prop like above and separate camera and mic like you have. But this roms are far from the guidelines imposed by google in android tv
pisicuta said:
If you're not too attached to this custom rom, you can try the roms developed by Zulu99. His lollipop and marshmallow based roms both support hangouts and skype, with some tweaks in build prop like above and separate camera and mic like you have. But this roms are far from the guidelines imposed by google in android tv
Click to expand...
Click to collapse
Yeah I tried his ROM only thing is that the mic on the remote doesn't work so I went to Pure ROM. Getting a webcam to work isn't a high priority to me. It's more important to me for the mic in the remote to work. Thanks for your suggestion though.
---------- Post added at 02:45 AM ---------- Previous post was at 02:44 AM ----------
shdware said:
ro.camera.0.facing=back
Change this line from "back" to "front". Make sure the camera is connected. Reboot.
Click to expand...
Click to collapse
I still got nuthin'. This doesn't do anything for me. Thanks though.
---------- Post added at 02:48 AM ---------- Previous post was at 02:45 AM ----------
Here is the dmesg output for my cameras
Code:
dmesg |grep cam
[ 0.708100] info[ 6]: name = camera_full, gpio = -1
[ 0.708108] info[ 7]: name = camera_half, gpio = -1
[ 0.708133] info[10]: name = cam_capture, gpio = -1
[ 0.708141] info[11]: name = cam_focus, gpio = -1
[ 0.708199] info[18]: name = camera0_sb1, gpio = -1
[ 0.708207] info[19]: name = camera0_sb2, gpio = -1
[ 2.360149] usb 2-1.3: Product: HP Webcam 3110
[ 2.440263] uvcvideo: Found UVC 1.00 device HP Webcam 3110 (03f0:8d07)
[ 2.445466] input: HP Webcam 3110 as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.3/2-1.3:1.0/input/input2
[ 8.170892] usb 2-1.4: Product: HD Pro Webcam C920
[ 8.201974] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d)
[ 8.203654] input: HD Pro Webcam C920 as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.4/2-1.4:1.0/input/input3
Code:
dmesg |grep video
[ 0.112578] Linux video capture interface: v2.00
[ 0.388324] usbcore: registered new interface driver uvcvideo
[ 2.440263] uvcvideo: Found UVC 1.00 device HP Webcam 3110 (03f0:8d07)
[ 8.201974] uvcvideo: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d)
Code:
dmesg |grep usb
[ 0.112235] usbcore: registered new interface driver usbfs
[ 0.112274] usbcore: registered new interface driver hub
[ 0.112415] usbcore: registered new device driver usb
[ 0.347779] usbcore: registered new interface driver kaweth
[ 0.347825] usbcore: registered new interface driver pegasus
[ 0.347859] usbcore: registered new interface driver rtl8150
[ 0.347894] usbcore: registered new interface driver r8152
[ 0.347934] usbcore: registered new interface driver asix
[ 0.347970] usbcore: registered new interface driver ax88179_178a
[ 0.348005] usbcore: registered new interface driver cdc_ether
[ 0.348040] usbcore: registered new interface driver cdc_eem
[ 0.348075] usbcore: registered new interface driver smsc75xx
[ 0.348110] usbcore: registered new interface driver smsc95xx
[ 0.348148] usbcore: registered new interface driver plusb
[ 0.362532] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.362546] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.362556] usb usb1: Product: EHCI Host Controller
[ 0.362566] usb usb1: Manufacturer: Linux 3.10.20-gc298bbc ehci_hcd
[ 0.362576] usb usb1: SerialNumber: 0000:00:10.0
[ 0.386650] usbcore: registered new interface driver usb-storage
[ 0.386756] usbcore: registered new interface driver usbserial
[ 0.386791] usbcore: registered new interface driver ftdi_sio
[ 0.386827] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 0.386886] usbcore: registered new interface driver pl2303
[ 0.386924] usbserial: USB Serial support registered for pl2303
[ 0.386967] usbcore: registered new interface driver usb_tm
[ 0.387312] usbcore: registered new interface driver xpad
[ 0.388324] usbcore: registered new interface driver uvcvideo
[ 0.388384] usbcore: registered new interface driver cx231xx
[ 0.551962] usbcore: registered new interface driver usbhid
[ 0.551971] usbhid: USB HID core driver
[ 0.702251] usbcore: registered new interface driver snd-usb-audio
[ 1.375803] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 1.375821] android_usb gadget: Number of LUNs=1
[ 1.376411] android_usb gadget: android_usb ready
[ 1.669083] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.669108] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.669129] usb usb2: Product: xHCI Host Controller
[ 1.669148] usb usb2: Manufacturer: Linux 3.10.20-gc298bbc dwc-xhci
[ 1.669167] usb usb2: SerialNumber: dwc3-host.2
[ 1.670908] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.670934] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.670955] usb usb3: Product: xHCI Host Controller
[ 1.670974] usb usb3: Manufacturer: Linux 3.10.20-gc298bbc dwc-xhci
[ 1.670993] usb usb3: SerialNumber: dwc3-host.2
[ 2.032714] usb 2-1: new full-speed USB device number 2 using dwc3-host
[ 2.050257] usb 2-1: New USB device found, idVendor=05e3, idProduct=0606
[ 2.050292] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.050313] usb 2-1: Product: USB Hub 2.0
[ 2.050332] usb 2-1: Manufacturer: ALCOR
[ 2.050796] usb 2-1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 2.243090] init: (Parsing /init.usb.rc took 0.00s.)
[ 2.243487] init: (Parsing init.fugu.usb.rc took 0.00s.)
[ 2.243842] init: (Parsing /init.usb.configfs.rc took 0.00s.)
[ 2.328442] usb 2-1.3: new full-speed USB device number 3 using dwc3-host
[ 2.345416] usb 2-1.3: not running at top speed; connect to a high speed hub
[ 2.360131] usb 2-1.3: New USB device found, idVendor=03f0, idProduct=8d07
[ 2.360143] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.360149] usb 2-1.3: Product: HP Webcam 3110
[ 2.360154] usb 2-1.3: Manufacturer: HP
[ 2.445466] input: HP Webcam 3110 as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.3/2-1.3:1.0/input/input2
[ 8.076253] usb_audio: Warning! Unlikely big volume range (=7680), cval->res is probably wrong.
[ 8.076266] usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 512/8192/1<6>[ 8.146364] usb 2-1.4: new full-speed USB device number 4 using dwc3-host
[ 8.162618] usb 2-1.4: not running at top speed; connect to a high speed hub
[ 8.170872] usb 2-1.4: New USB device found, idVendor=046d, idProduct=082d
[ 8.170885] usb 2-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=1
[ 8.170892] usb 2-1.4: Product: HD Pro Webcam C920
[ 8.170897] usb 2-1.4: SerialNumber: D98ED55F
[ 8.203654] input: HD Pro Webcam C920 as /devices/pci0000:00/0000:00:11.0/dwc3-host.2/usb2/2-1/2-1.4/2-1.4:1.0/input/input3
Hello,
I'm trying to get my WiFi stick running @ Wileyfox Storm (Kernel-Version: 3.10.49-cyanogenmod-ge4cc700).
I have a common TL-WN725N WiFi-Stick. This one was running natively under my Nexus 7. But the Storm doesn't recognize it:
Here is my log output:
Code:
# dmesg
[ 273.600313] msm_otg 78d9000.usb: USB exited from low power mode
[ 273.721272] msm_hsusb_host msm_hsusb_host: EHCI Host Controller
[ 273.721867] msm_hsusb_host msm_hsusb_host: new USB bus registered, assigned bus number 1
[ 273.730389] msm_hsusb_host msm_hsusb_host: irq 166, io mem 0x078d9000
[ 273.750879] msm_hsusb_host msm_hsusb_host: USB 2.0 started, EHCI 1.00
[ 273.751001] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 273.751016] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 273.751027] usb usb1: Product: EHCI Host Controller
[ 273.751037] usb usb1: Manufacturer: Linux 3.10.49-cyanogenmod-ge4cc700 ehci_hcd
[ 273.751047] usb usb1: SerialNumber: msm_hsusb_host
[ 273.752350] hub 1-0:1.0: USB hub found
[ 273.752389] hub 1-0:1.0: 1 port detected
[ 274.071367] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
[ 274.226882] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179
[ 274.226900] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 274.226909] usb 1-1: Product: 802.11n NIC
[ 274.226917] usb 1-1: Manufacturer: Realtek
[ 274.226925] usb 1-1: SerialNumber: 00E04C0001
# iwconfig
r_rmnet_data3 no wireless extensions.
rmnet_data7 no wireless extensions.
rmnet_data6 no wireless extensions.
rmnet_data5 no wireless extensions.
rmnet_data4 no wireless extensions.
rmnet_data3 no wireless extensions.
rmnet_data2 no wireless extensions.
rmnet_data1 no wireless extensions.
rmnet_data0 no wireless extensions.
p2p0 Qcom:802.11n ESSID:off/any Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:off
r_rmnet_data8 no wireless extensions.
rmnet0 no wireless extensions.
r_rmnet_data0 no wireless extensions.
r_rmnet_data5 no wireless extensions.
dummy0 no wireless extensions.
r_rmnet_data2 no wireless extensions.
lo no wireless extensions.
r_rmnet_data7 no wireless extensions.
r_rmnet_data4 no wireless extensions.
sit0 no wireless extensions.
wlan0 Qcom:802.11n ESSID:"AVNGR" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: DC:53:7C:CA:B2:E8
Bit Rate=72 Mb/s Tx-Power=16 dBm
RTS thr=2347 B Fragment thr=8000 B
r_rmnet_data1 no wireless extensions.
r_rmnet_data6 no wireless extensions.
# lsusb
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Do you have any idea how to get this stick working and fully recognized by my phone? I already tried to push the compiled driver (8188eu.ko) to /system/lib/modules, but that doesn't work.
Bets regards
Avenger