![]() |
Re: [Announce] USB hostmode beta release
i ordered the female to female connectors way back when, and really never used OTG. I just got an E6 with the factory usb otg cable, im assuming this would work jsut as well with N900?
Edit: well, scratch that, i guess the factory usb otg cable (CA-157) isnt a standard micro usb. its lacking the standard taper dimension and doesnt fit the N900 |
Re: [Announce] USB hostmode beta release
Quote:
N900 isn't meant to do USB hostmode so it got a micro-B receptacle, not a micro-AB /j |
Re: [Announce] USB hostmode beta release
Quote:
N900 wasn't meant to do USB hostmode so it got a micro-B receptacle, not a micro-AB ... ... thanks to Your, and of course all other participants, tremendous and honorable work! Sorry for OT. ;) |
Re: [Announce] USB hostmode beta release
This is amazing! Maybe it will be more amazing if I could charge my battery in host mode.
I followed the instructions that @joerg_rw posted, but the script says "STANDBY". I tried to start and kill it several times with no result. My N900 is connected to a self powered USB HUB. I tried to test if the hub gives any power to the N900. For this purpose I connected the hub to N900 while the N900 was switched off. The result was: screen flash, vibrating and led flashing. This should mean that the HUB gives power, right? |
Re: [Announce] USB hostmode beta release
Hello,
A version with Enhanced Linux kernel for power users v2.6.28-maemo42, you will go USB? Or should kernel to version 47!? |
Re: [Announce] USB hostmode beta release
I bought the N8 USB OTG Cable BUT it's not plugging into the N900 :((
whyyyyyyyyyy isn't all micro USB ports the same sizes ?? |
Re: [Announce] USB hostmode beta release
There are 6 types od USB ports:
USB A USB B USB mini A USB mini B USB micro A USB micro B So you need know which port has your USB cable. |
Re: [Announce] USB hostmode beta release
Quote:
--- As for USB plug problems, just remember, that CA-157 may be easily re-shaped to work on N900 perfectly fine. Even useless (now) ID pin is recognized properly, then. |
Re: [Announce] USB hostmode beta release
great application.i really love this app.but i face a problem.i install power kernel and update it.than i install H-E-N.but when i connect a usb mouse,pen drive and others than my n900 show me " unable to connect,no file system available''.and some times show ''mount /dev/sda1 not found''.plz sir help me in details.as soon possible.
thanks |
Re: [Announce] USB hostmode beta release
As last time, I'm not demanding anything, but could H-E-N team, consider some status-update info here?
Even if (which I doubt) there was no much activity in the project, it would be good to know about that. There are some joerg_rw patches (like new booston/off) things, that are still not included in -devel version, and up to date no one described what is holding "new version time" for so long. Again, just to be sure that everyone understand it correctly - I'm not whining here "where will be next version available". It would be just great to know at least what is going on inside the project. And i know that possibly there are IRC channels/mailing lists or whatever, but info on forum for us - regular Joey's the users/testers/feedbackers would be really appreciated. |
Re: [Announce] USB hostmode beta release
Quote:
great application.i really love this app.but i face a problem.i install power kernel and update it.than i install H-E-N.but when i connect a usb mouse,pen drive and others than my n900 show me " unable to connect,no file system available''.and some times show ''mount /dev/sda1 not found''.plz sir help me in details.as soon possible. thanks |
Re: [Announce] USB hostmode beta release
Friends please help me....please
|
Re: [Announce] USB hostmode beta release
On my N900, after closing h-e-n, idle current draw is significantly higher than it was before using hostmode.
As per discussion here --> http://mg.pov.lt/maemo-irclog/%23mae...09-01T23:45:48 it was found that briefly connecting the device to a charger fixes the issue. Another fix that works is to execute /usr/sbin/booston while bme is running, then after about 5 seconds, you kill it and run /usr/sbin/boostoff. EDIT: it doesn't matter whether bme is running or not. I found that out through updated booston script (see joerg_rw's post below), which stops bme automatically. |
Re: [Announce] USB hostmode beta release
I've been wondering that if i could use this function with external touch screen? is there any way to charge phone when it is in hostmode? It would be nice extend to life of my n900 after n9 comes along. I would be installing n900 and touchscreen to car. is there any idea or am i crazy? :D
|
Re: [Announce] USB hostmode beta release
as for charging while in hostmode, answer is yes. see http://talk.maemo.org/showthread.php...203#post921203
and external touchscreen, i believe it would be recognized as an input device. only issue would be how to calibrate it, etc |
Re: [Announce] USB hostmode beta release
Quote:
Code:
/usr/sbin/booston: line 25: dbus-send=/usr/bin/run-standalone.sh /usr/bin/dbus-send: not foundAlso, what may cause this, and, is a chance that this prevent booston for working at all = may prevent hostmode from working correctly? I don't want to assume too early - I got problems with connecting devices (that i know worked flawlessly) with new booston script, but i'm not sure if it's generic hostmode error (i.e. I need to try again few more times), or something with booston. // Edit Led pattern is correctly created, ho ever, it doesn't work when I use new booston (even when phone locked or screen off). I suspect it's related to dbus-send fail, ho ever, I still don't know if it prevent booston from working as whole. Sub-edit: It seems to me, that due to aforementioned error, new booston doesn't want to work at all on my device. I've tried multiple times to connect device, but even kernel-messages doesn't seem to show any activity on booston, no matter if called from GUI or terminal. Resurrecting old booston fixed this, and every device, that failed with new booston, works fine now. // Edit 2 Slightly different topic - I *may* have found something related to "generic hostmode error" (i.e. it doesn't work, and we don't know why), people are experiencing sometimes. I've checked kernel messages in different situations, when I try to attach my (working flawlessly with HEN, normally) pendrive. Usually, when it does not want to work, it says: Code:
Forced hostmode error: a full/low-speed device attached but high-speed mode selectedEven restarting HEN totally doesn't make difference. If it get "stuck" like that, I've to try again and again, and, it *should* "unstuck" on n attempt. There was no situations, on which I was not able to connect my device at all (but, keep in mind, that I'm somehow stubborn one), it got to work, sooner or later. Still, I got no idea what may cause this type of error. Of course, trying to use full-speed or low-speed also doesn't solve the problem. It just have to "unstuck". I feel that device may assume something wrong is connected, even before actual device is connected, but I may be wrong. // Edit 3 sorry for providing so much info/text in one post, but I think it's worth mentioning without delay. Is there any "forced wait" before enabling/disabling booston, and enabling it again? I'm asking, because, another "scenario" when hostmode reject to work properly, is when I try few devices "in a row". Initially it works, but after few device switches, it stop working, giving constant: Code:
device descriptor read/64, error -71Code:
twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80: link 1I think it may be also responsible for high ammount of user-case fails with hostmode - if people constantly try to connect device, booston doesn't get "unstuck". |
Re: [Announce] USB hostmode beta release
please get a fixed version of augmented booston from http://maemo.cloud-7.de/maemo5/usr/sbin/booston
sorry for the glitches that sneaked in [edit] (yet untested) commands for your convenience: Code:
root/j |
Re: [Announce] USB hostmode beta release
Huge thanks joerg_rw, but could You tell me - it was related to my device, or every "generic" user should get this problem? I.E, it was not reported, cause no one dared to test it before, or it's just fault of my configuration?
// Edit with updated booston, hostmode works like a charm. Ho ever, for some reasons LED indicator doesn't show that device is in vboost mode - no matter if it's locked, unlocked but screen off etc. I got correct (otherwise working, tested with LED Patterns editor) PatternVboost. It seems that it's just not used. Anyway, here is my pattern, in case someone may find any error I wasn't able to spot: Code:
PatternVboost=35;4;0;Rb;9d8040004817e0044807431e7e007e0042000000;9d804000e080421e431e0000 |
Re: [Announce] USB hostmode beta release
Quote:
|
Re: [Announce] USB hostmode beta release
Quote:
So no, nobody noticed that before you did :-( /j |
Re: [Announce] USB hostmode beta release
Quote:
[2011-09-13 10:19:02] <psycho_oreos> yes, I have sandisk 32GB flash drive attached to my other N900 and it is working.. the flash drive is mounted and I could see the contents /j |
Re: [Announce] USB hostmode beta release
Joerg,
First thanks for the work both here and on openmoko. So new booston linked upthread is all that is required to get H-E-N working on KP48? |
Re: [Announce] USB hostmode beta release
haha I actually made an epic typo.. I meant extras-devel _not_extras-kernel. There's no such repository as extras-kernel and I'm sure t.m.o. regulars will pick that up in no time :)
|
Re: [Announce] USB hostmode beta release
Quote:
/j |
Re: [Announce] USB hostmode beta release
So this is what I am getting now, I downgraded to Nokia kernel reboot and installed KP48 reboot, reinstalled HEN. I have two host cables and the flash drive works on my laptop. Previously H-E-N worked great, I use it quite a bit when cycling to upload pics form my camera SD card.
I am sure it is something simple but I don't know much about USB below the surface. Code:
[ 125.193084] usb usb1: usb resume |
Re: [Announce] USB hostmode beta release
H-E-N works for me on KP48 with or without new booston (latest one). What You've experiencing seems to me as thing that I called unoficially "generic hostmode error", few posts ago.
Also, this may be "false alarm", but I don't see any indication of vboost on in Your log (tw4030_usb thing). |
Re: [Announce] USB hostmode beta release
Quote:
and stop and restart mce |
Re: [Announce] USB hostmode beta release
You're perfectly right blue_led, and it was my user fault (i've discovered it just few minutes ago, thanks to little talk with Pali on irc, about charging while hostmode is on ;) ) I've just forget to add ;PatternVboost to LEDPatterns=
After fixing that, LEDPattern works great, so thanks for that feature joerg_rw, and sorry for false alarm about this. |
Re: [Announce] USB hostmode beta release
Quote:
|
Re: [Announce] USB hostmode beta release
I like to recommend a tool: http://maemo.org/packages/view/mceledpattern/ :-D
Code:
IroN900:~# mceledpattern --help |
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 15:34. |
vBulletin® Version 3.8.8