![]() |
Re: [Announce] USB hostmode beta release
yes that works , but the phone will most probably be losing more power than it's actually charging and will eventually power off , this is due current limit in autonomous mode .
|
Re: [Announce] USB hostmode beta release
but
1) external source will sustain whatever usb device 2) instead of powering external usb device the charger chip will sustain N900 power consumption, even at 100 mA finally battery's voltage will fall slower than normal mode and joerg created a charging script http://talk.maemo.org/showpost.php?p...&postcount=861 |
Re: [Announce] USB hostmode beta release
my battery is fully charged now , I will wait a while till it discharges a bit then try the script while running host mode and verify current with a multimeter .
hopefully host mode would be sustained and phone charges at currents > 100mA . I have doubts that using that script would interfere with host mode session . |
Re: [Announce] USB hostmode beta release
This is just a post to prepare devs if anyone wants to base their application on h-e-n's GUI.
The application will now have a status menu plugin to unmount partitions. http://i55.tinypic.com/15s4oq8.jpg The application will also send dbus signals (on the system bus), the following signals are sent (if you don't know what this means, you probably don't need it): Code:
QDBusMessage message = QDBusMessage::createSignal("/org/maemo/hen", "org.maemo.hen", "applicationExiting"); http://i54.tinypic.com/qzy0.jpg |
Re: [Announce] USB hostmode beta release
Quote:
if vbus is off in h-e-n then nothing happen on i2c bus from h-e-n perspective (internals) so you can do on bus whatever you want |
Re: [Announce] USB hostmode beta release
I have tried the script , it doesn't interfere with host mode , however , if I do lsusb or device gets reset, host mode is lost whether I am using the charging script or charging in autonomous mode ..
|
Re: [Announce] USB hostmode beta release
Quote:
|
Re: [Announce] USB hostmode beta release
i don't loose host if i do lsusb only if i disconnect the device ( as expected ? )
because vbus is on, state machine should remain in host mode. i have an idea and I will test it tomorrow Quote:
i don't remember a os with a gui for host, unmount button is like "safely remove ..." in case you need to flush cache on flash device |
Re: [Announce] USB hostmode beta release
for now, even while it's not explicitly noted somewhere, h-e-n GUI is supposed to end hostmode and disable VBUS boost mode, on closing it.
I'm not a fan of this concept, but as long as we are following it, it's actually necessary to keep it open during hostmode, and also I don't see any better way to enable hostmode than via some kind of GUI. "safely remove" has already been suggested to Mohammad by me. Nevertheless AgogData's point is valid. Unless we change that concept of tearing down hostmode on closing GUI. cheers jOERG |
Re: [Announce] USB hostmode beta release
Hmm, maybe I could add a hold the status bar applet to hide the UI sort of thing?
|
All times are GMT. The time now is 04:19. |
vBulletin® Version 3.8.8