maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] USB hostmode beta release (https://talk.maemo.org/showthread.php?t=65232)

Régis Amaral 2012-01-02 14:47

Re: [Announce] USB hostmode beta release
 
Hello
I'm trying to use an external webcam on my n900
I need help because I am not able to enumerate the device.
Is not showing up for me / dev/video2
How should I do to make it appear? What are the steps?

If I need to install a driver, as I do that?


(sorry if wrong in English, I used google translate)

blue_led 2012-01-03 18:09

Re: [Announce] USB hostmode beta release
 
here, you are offtopic
maybe you get more considreration on dedicated thread
http://talk.maemo.org/showthread.php?t=65570

pali 2012-01-13 20:00

Re: [Announce] USB hostmode beta release
 
patched ke-recv now can automount usb devices (like sd card), see: http://talk.maemo.org/showpost.php?p...&postcount=152

joerg_rw 2012-01-13 22:45

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by pali (Post 1150253)
patched ke-recv now can automount usb devices (like sd card), see: http://talk.maemo.org/showpost.php?p...&postcount=152

You're awesome, I appoint you for honored member of hostmode freemasons :-)

cheers
jOERG

fffffred 2012-01-14 02:14

Re: [Announce] USB hostmode beta release
 
you my friend, are a legend :) is hen going to update automatically? or do we have to manually install?

Estel 2012-01-14 02:15

Re: [Announce] USB hostmode beta release
 
HEN isn't going to update anytime soon, because package maintainer is unreachable. If I'm wrong, fix me.

/Estel

joerg_rw 2012-01-14 16:21

Re: [Announce] USB hostmode beta release
 
H-E-N is the family name of three pieces working together:
a) a set of nasty patches to kernel, to make USB hostmode work. Done by me and Paul, then eventually integrated into powerkernel.
b) some tiny but nifty scripts to handle VBUS 5V. Developed by me.
c) some lean GUI app that allows user to talk to a) and b) to start and stop hostmode. Done by MohammadAG.

New developments like above are mostly kernel or kernel related, and thus will not result in a new version of c):H-E-N GUI. So any update will come with either new powerkernel version, or with new version of CSSU if we get ke-recv into it.
Updates to b) though might/should result in a new updated package of c), as they ship with package c) anyway. Of course you as well can simply copy the better scripts to device, as suggested in http://talk.maemo.org/showthread.php...02#post1023402

I hope this clarifies some confusion about H-E-N :-)

cheers
jOERG

blue_led 2012-01-16 16:38

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by pali (Post 1150253)
patched ke-recv now can automount usb devices (like sd card), see: http://talk.maemo.org/showpost.php?p...&postcount=152

i don't know what is "the best, RightWay,.." ke-recv or udev rules.
now, i use for myself an udev rule for automount. because i am lazy* the rule point to a custom variant of original h-e-n mount routine and my actual host script ( v2, not public yet ) don't have any mount call.
for same ( * ) reason cdrom rule ( sr* ) is missing
it look like
Code:

KERNEL=="sd*[1-9]",ACTION=="add",RUN+="/opt/host/mount.sh -M %k"
saved in /etc/udev/rules.d directory as 94-automount.rules
"run" section can be modified to point mmount program and above rule is a start point for what the rule should be.
i prefer this because it's easy to be modified

I propose that the ke-recv to handle battery charging, usb type detection is there and boost check also can be, to trigger charging mode.

pali 2012-01-16 16:51

Re: [Announce] USB hostmode beta release
 
ke-recv is responsible only for mounting devices. it listen to hal events. in fremantle was mounting usb devices disabled (no reason why). I created patch which enable this feature (and fixed some problems)... Why to not use daemon designed for maemo which can do that?

handling battery charging will be done in bq2415x_charger kernel driver, onece I will write it. it will use power_supply interface (so hal and udev will see it)

usb type detection is done in isp.._charger kernel driver (in upstream, not in 2.6.28) which use standard power_supply interface (and hal listen for events)...
I can try to backport it to kernel-power (and test if it is working...)

ivgalvez 2012-01-16 19:14

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by Estel (Post 1150365)
HEN isn't going to update anytime soon, because package maintainer is unreachable. If I'm wrong, fix me.

/Estel

Actually, there is no need to be the maintainer to patch HEN and push a new package to Extras-Devel and, let's face it everyone is using Extras-Devel, the repository system is completely broken.

At least that would be better than having some scripts floating around the thread. There is now a big amount of applications and packages not uploaded to repositories and we shouldn't contribute to that situation.


All times are GMT. The time now is 01:28.

vBulletin® Version 3.8.8