Thread
:
Weird USB Host mode issue, bug?
View Single Post
kernelpanic
2008-03-14 , 04:45
Posts: 179 | Thanked: 90 times | Joined on Dec 2007
#
1
Hello All,
I've heard of a few people running into USB host mode issues on the n810, and have run into it myself...
Basically, when using sysfs to change to host mode via-
'echo host>/sys/devices/platform/musb_hdrc/mode'
The command only works if I'm
currently plugged into a PC as a client
. If I'm not plugged in, status is stuck at 'b_idle'. If I'm plugged into the PC, then I'm at a_wait_vrise' and the peripheral works correctly when plugged in.
I've heard of a bunch of people getting stuck in 'b_idle'. When it happened to me, I was excited to find a fix. But it seems like a kernel bug. doing the 'echo...' command
does
disable peripheral mode but
does not
enable host mode.
Worse yet, I must be plugged in but not as a peripheral. So If I plug the n810 into the computer and it mounts the drives, I'm screwed. I have to-
1. switch to host mode.
2. plug into a computer (host)
3. switch to host mode (again)
4. Unplug the n810 from PC and plug into peripheral...
As I said, to me it looks like a kernel bug, either with the usb-otg driver or with sysfs. I'm just looking for someone else who's having this issue before I file a bug report.
So if you gave up on usb host mode because it wouldn't work, try 1->4 above, and post back...
cheers,
kernelpanic
p.s.- I have already reflashed (50.2 and 51.3), have run a stock kernel and the one from fanoush'es site and have done various backflips trying to get this reliable. Just to eliminate some possibilities. I'm just wondering if I'm the only one who's seeing this ;-)
Quote & Reply
|
kernelpanic
View Public Profile
Send a private message to kernelpanic
Find all posts by kernelpanic