![]() |
Re: [Announce] USB hostmode beta release
I also posted results of using a full speed keyboard with hub chip and USB port. My flash drive worked plugged into the keyboard plugged into the N900 host cable but not plugged in direct.
http://talk.maemo.org/showthread.php?t=65570&page=32 I hope there is something useful in hostmode.txt Code:
98.761718] hub 1-0:1.0: hub_resume |
Re: [Announce] USB hostmode beta release
[2011-09-14 12:43:24] <Sicelo> to disturb a little: i am using h-e-n with the latest booston script. connecting an externally powered hub (not for charging) i always get VBUS OVERVOLTAGE - You just fried your N900. at least the port is still fine :) any ideas?
[2011-09-14 12:48:56] <Sicelo> i am connecting the hub to N900 soon after i turn VBoost On [2011-09-14 12:52:40] <DocScrutinizer> Sicelo: this indicates your externally powered hub feeds back a somewhat too high voltage to the N900 USB port [2011-09-14 12:53:57] <DocScrutinizer> Sicelo: I had to look up in bq24150 datasheet what exactly VBUS overvoltage means, I guess it gets triggered on >6V or sth [2011-09-14 13:04:06] <DocScrutinizer> VBUS ABS MAX -0.3 .. 20 V [2011-09-14 13:04:39] <DocScrutinizer> (3) The bq24150/1 family can withstand up to 10.6 V continuously and 20 V for a maximum of 432 hours. [2011-09-14 13:05:18] <DocScrutinizer> ABS MAX for other chips' pins connected to VBUS is way lower though [2011-09-14 13:06:39] <DocScrutinizer> recomended operating conditins: VBUS Supply voltage, VBUS min:4 max:6 Volt [2011-09-14 13:07:26] <DocScrutinizer> (1) The inherent switching noise voltage spikes should not exceed the absolute maximum rating on either the BOOST or SW pins. A tight layout minimizes switching noise. [2011-09-14 13:11:18] <DocScrutinizer> VBUS(OVP) Overvoltage protection threshold for boost (VBUS pin) Threshold over VBUS to turn off converter during boost min:5.8 nominal:6 max:6.2 V The "you just fried your N900" part is a bit of tongue-in-cheek, but honestly you shouldn't gamble with it. Anyway I don't give any warranty on N900 actually being fried when this error notification pops up ;-D |
Re: [Announce] USB hostmode beta release
Code:
[ 126.167541] usb 1-1: device descriptor read/64, error -71http://ubuntuforums.org/showthread.php?t=797789&page=2 and http://www.guyrutenberg.com/2008/06/...ad64-error-71/ and http://www.linux-usb.org/FAQ.html#ts10 for the above problem: usb 1-1: device descriptor read/64, error -71 they say to... sudo su so it all runs as root and then... echo Y > /sys/module/usbcore/parameters/old_scheme_first I do know that HEN is a hack of regular USB due to Nokia closed hardware/driver maybe a nonfunctional microUSB port pin too. I have no idea if this will work or just totally break HEN so I await the advice of someone who really knows. |
Re: [Announce] USB hostmode beta release
Quote:
Code:
IroN900:~# ll /sys/module/usbcore/parameters/old_scheme_firstPlease test and report if it changes things to the better for you Many thanks biketool for this very useful comment cheers jOERG ps: I'd use "root" rather than "sudo su" |
Re: [Announce] USB hostmode beta release
Quote:
echo Y > /sys/module/usbcore/parameters/old_scheme_first as root, same error codes. I am no USB guru and that was as far as I got with Google. It could be I have an unusual USB drive, although it was not a problem a few weeks ago making me suspect the kernel upgrade might be involved. Do new drivers get compiled for eack power user kernel, it has been 15 years since I had to worry about things like this and I am VERY rusty. If I can find my wifes lost MP3 player I will try that too. Thanks for testing Joerg, I wasn't sure what that was supposed to do and don't like running commands that I don't fully understand and cant undo in my everyday phone. |
Re: [Announce] USB hostmode beta release
Q: Why doesn't USB work at all? I get "device not accepting address".
A: This can be one of several problems: High speed devices sometimes have problems with cables used to connect them. They're more sensitive to signal quality issues than older usb 1.1 full or low speed devices. If the device works OK at full speed on the same system, after you "rmmod ehci-hcd" [[comment: "on using low speed or full speed setting"]], this is likely the problem you're seeing. There are a lot of things you can do to change signal quality. Use a different cable. Some are even marketed specifically for use with high speed devices. Most USB 1.1 cables work just fine at high speed, but the one you're using might be an exception (maybe it's been damaged). Switch to a different USB connector on your computer. Back panel connectors are often right on the motherboard, with much care taken to preserve signal quality. A front panel connector probably doesn't use cabling designed with USB in mind; and its cable could be damaged by bending, baking or something else even when it's not routed through the power supply. Use an external high speed hub. Those hubs have signal conditioning circuitry that may cover up certain flaws. Make sure your device is using its own external power supply, or that its battery is fully charged. You might be able to get the same device to work at high speed on a different machine. from http://www.linux-usb.org/FAQ.html#ts6 /j |
Re: [Announce] USB hostmode beta release
I have two host mode cables, both show the same error, both worked well with HEN 3-4 weeks ago. Formatting the flash drive doesn't fix the problem, no does old_scheme_first. My cheap Davidcom wired NIC which Pali added drivers for in PK48 is acting no differently now, no driver loads. Is it having a hub circuit or a full speed hub chip in the middle? Is it the cables both going bad? I have ordered another cable just in case.
Joerg and others, off topic a bit. Did anyone ever get USB host working on your Openmoko phones? I have one laying around but it was terrible as a phone missing calls all the time so I didn't really work too hard with it. |
Re: [Announce] USB hostmode beta release
Quote:
/j |
Re: [Announce] USB hostmode beta release
I sometimes still use my neo1973 as a secondary GPS for a cycling partner. Did you document the host mode setup?
|
Re: [Announce] USB hostmode beta release
The problem I always had is that I never mounted devices.
Where are the scripts to check and see if I can improve or at least run on my N900? If I manually mount I have no problems. |
| All times are GMT. The time now is 04:59. |
vBulletin® Version 3.8.8