![]() |
Re: [Announce] USB hostmode beta release
1 Attachment(s)
here an intermediate version of booston, that replaces original file and has some small goodies - a direct uncleaned copy of what's on my hostmode devel device. You might want to edit /etc/mce/mce.ini to define a new pattern "PatternVboost" signalling device is in boostmode (attached my mce.ini for an example).
Of course you may want to keep permissions and owner of original booston, and maybe you need to change the hardcoded path to ic2set in this script (the line "i2cset=/usr/local/sbin/i2cset") to your result of `which i2cset` This is no official update but just a teaser, as I'm feeling sad with all of you while this is collecting dust on my t900. Bear with me, a better version is about to include charging and slowly matures here... /j Code:
#replaced - due to having some typos - by an improved version, see http://talk.maemo.org/showpost.php?p=1086598&postcount=857 |
Re: [Announce] USB hostmode beta release
@joerg_rw:
Why not to implement charging into kernel (using standard power_supply interface) instead user space daemon? |
Re: [Announce] USB hostmode beta release
Quote:
A working such concept had to take care about quite a bit more than Just Replacing BME :-S - otherwise no more battery applet, no proper charging from PC, no correct battery-low warnings and shutdown, etc etc On http://maemo.cloud-7.de/bq24150-sysnode.spec.txt you find a half done spec for such a kernel charging API, I stopped finishing it when it came apparent nobody is interested in implementing it due to the reasons mentioned above. /j |
Re: [Announce] USB hostmode beta release
Maybe this is trivial and obvious, but i don't get one thing.
When i use hostmode (without new boston that joerg_rw provided, doesn't have time yet to integrate it) and i want to charge my N900 in the same time, the only thing i need to do is use charge.sh. No messing with booston/boostoff - i must tell that one time i just forget to do other steps, but still, everything is working fine. So, I enable hostmode, setting speed, enumerating etc... Check if my USB device is happy and running, then execute charge.sh and everything is still working like charm + N900 charging (checked by current - it is huge "-" value, and battery voltage is really higher with time, so it's definitely charging. Also charger.sh output is correct). I'm doing something wrong, that may cause bad consequences for me, or it's just supposed to work like that now and i missed something? |
Re: [Announce] USB hostmode beta release
Quote:
As you wrote, problem will be battery applet, charging from PC, battery-low warnings... 1. In CSSU git repository is initial code for open source battery applet (so this problem is maybe solved): http://gitorious.org/community-ssu/s...applet-battery 2. What do you mean with charging from PC? 3. Warnings/Notification (as battery low, battery charging, ...) is in open source applet too, see: http://gitorious.org/community-ssu/s...tery.c#line147 4. And shutdown when battery is empty may be done too in battery applet (call dsme functions for it) or can be added new dsme plugin for battery... I found that something for battery charger is implemented in android n900 kernel: http://gitorious.org/android-n900/ke...8f6d248929d26c |
Re: [Announce] USB hostmode beta release
Quote:
|
Re: [Announce] USB hostmode beta release
i cant connect mouse..i installed hen and bt hid scripts 2..but doesnt connect mouse.i also installed mouse cursor.i followed youtube but the mouse is not moving..plz need help
|
Re: [Announce] USB hostmode beta release
First of all, this is not correct topic for such a question. Please use appropriate second topic for discussing problems with hostmode not directly related to HEN package.
Anyway, it would be much better to provide more technical info about output errors - but, again, do it in correct topic please. Joerg_rw mentioned what should and what shouldn't be discussed here in his first post (first post on this topic). |
Re: [Announce] USB hostmode beta release
Hi,
something funny happened today: it seemed as if the N900 tried to connect "to itself" as a device. I did the following: 1.) Connect the N900 to the upstream port of a hub and usb mouse and keyboard to the downstream side of the hub. The hub is a powered hub, but I forgot to plug it into the wall socket, so it was NOT POWERED 2.) Start h-e-n 3.) High Speed hostmode 4.) VBUS boost on Then it happend, I got the popup that asked me about mass-storage mode or pc-suite mode. Just as if you connect the device to a PC. However, this happened only one time, I could not reproduce this behaviour. Did this happen to anybody else? |
Re: [Announce] USB hostmode beta release
Quote:
You don't - by any chance - have my augmented vboost script installed? It possibly might have shown you a warning about VBUS overload and powering down VBUS now. Anyway thanks for reporting, please keep an eye on it, shouldn't usually happen cheers jOERG |
All times are GMT. The time now is 16:37. |
vBulletin® Version 3.8.8