[oe] [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
Matthias Hentges
oe at hentges.net
Wed Jun 6 22:13:08 UTC 2007
Am Mittwoch, den 06.06.2007, 14:02 +0200 schrieb Matthias Hentges:
> Am Mittwoch, den 06.06.2007, 13:30 +0200 schrieb Marcin Juszkiewicz:
> > Dnia środa, 6 czerwca 2007, Koen Kooi napisał:
> > > > Hello coredump2,
> >
> > > >> usb-gadget-mode: Add usb-gadget mode: An initscript to load the
> > > >> configured USB gadget module on boot
> >
> > > What about using o-hands usbinit[1]?
> >
> > I had same idea when saw that commit. OpenedHand usbinit is in use on few
> > machines and do that work done properly. But it supports only 2.6
> > machines which use g-ether kernel module.
>
> This package was previously unknown to me :\
>
> The idea behind usb-gadget-mode was that - eventually - the user can
> select the "mode" via a shiny GUI app and does not need to mess
> w/ /etc/modutils manually.
>
> If usbinit matches that description I'll happily remove gadget-mode.
>
> With >4600 .bb files one can lose the overview easily, thanks for the
> headsup ;)
I've checked the script and found it to be less than stellar. If
Angstrom indeed wants a hard-wired modprobe of g_ether on every boot
( w/o an easy way for 3rd-party apps to change that behavior) then it
should be implemented properly via /etc/modutils/ or ( when encountering
timing problems ) via a "pre-up" statement in /etc/network/interfaces as
demonstrated by a user on one of the angstrom lists.
Using a dedicated initscript for a simple modprobe is overkill and
ignores existing OS functions that were designed to do this job.
Comments? Suggestions?
--
Matthias 'CoreDump' Hentges
Cologne / Germany
Webmaster of Hentges.net & Embedded Linux Developer
GPG -> gpg --keyserver gpg-keyserver.de --recv-keys 0xAF3030D9
My OS: Debian SID: Geek by Nature, Linux by Choice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20070607/b7bbe095/attachment-0002.sig>
More information about the Openembedded-devel
mailing list