All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
       [not found] <E1HvlNq-0004pN-I1@linuxtogo.org>
@ 2007-06-06 11:03 ` Paul Sokolovsky
  2007-06-06 11:18   ` Koen Kooi
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Sokolovsky @ 2007-06-06 11:03 UTC (permalink / raw)
  To: Matthias Hentges; +Cc: openembedded-devel

Hello coredump2,

Wednesday, June 6, 2007, 5:36:26 AM, you wrote:

> usb-gadget-mode: Add usb-gadget mode: An initscript to load the
> configured USB gadget module on boot

[]

> +
> +CONF_FILE="/etc/usb-gadget.conf"
> +

[]

        This is nice, but can config go to /etc/default/ to not horde
/etc top-level? Thanks.


[]

-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
  2007-06-06 11:03 ` [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot Paul Sokolovsky
@ 2007-06-06 11:18   ` Koen Kooi
  2007-06-06 11:30     ` Marcin Juszkiewicz
  2007-06-06 12:25     ` Paul Sokolovsky
  0 siblings, 2 replies; 7+ messages in thread
From: Koen Kooi @ 2007-06-06 11:18 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Sokolovsky schreef:
> Hello coredump2,
> 
> Wednesday, June 6, 2007, 5:36:26 AM, you wrote:
> 
>> usb-gadget-mode: Add usb-gadget mode: An initscript to load the
>> configured USB gadget module on boot
> 
> []
> 
>> +
>> +CONF_FILE="/etc/usb-gadget.conf"
>> +
> 
> []
> 
>         This is nice, but can config go to /etc/default/ to not horde
> /etc top-level? Thanks.

What about using o-hands usbinit[1]?

regards,

Koen


[1] http://svn.o-hand.com/view/poky/trunk/meta/packages/oh/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGZpfyMkyGM64RGpERAszlAKCL1F2i5ikB+iDD1VOaldsPMlB03gCfQnx4
Ir5Vn+O6fIJnDNDo/F1KbmE=
=7+Gb
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
  2007-06-06 11:18   ` Koen Kooi
@ 2007-06-06 11:30     ` Marcin Juszkiewicz
  2007-06-06 12:02       ` Matthias Hentges
  2007-06-06 12:25     ` Paul Sokolovsky
  1 sibling, 1 reply; 7+ messages in thread
From: Marcin Juszkiewicz @ 2007-06-06 11:30 UTC (permalink / raw)
  To: openembedded-devel

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.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

           Q:      What's a light-year?
           A:      One-third less calories than a regular year.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
  2007-06-06 11:30     ` Marcin Juszkiewicz
@ 2007-06-06 12:02       ` Matthias Hentges
  2007-06-06 22:13         ` Matthias Hentges
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias Hentges @ 2007-06-06 12:02 UTC (permalink / raw)
  To: openembedded-devel

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 ;)
-- 
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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
  2007-06-06 11:18   ` Koen Kooi
  2007-06-06 11:30     ` Marcin Juszkiewicz
@ 2007-06-06 12:25     ` Paul Sokolovsky
  1 sibling, 0 replies; 7+ messages in thread
From: Paul Sokolovsky @ 2007-06-06 12:25 UTC (permalink / raw)
  To: openembedded-devel

Hello Koen,

Wednesday, June 6, 2007, 2:18:10 PM, you wrote:

[]

> What about using o-hands usbinit[1]?

> regards,

> Koen


> [1] http://svn.o-hand.com/view/poky/trunk/meta/packages/oh/

        Well, it appears to be simple script dealing only with g_ether
(it also fiddles with network interface, even though that rather be
left for proper service).



-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
  2007-06-06 12:02       ` Matthias Hentges
@ 2007-06-06 22:13         ` Matthias Hentges
  2007-06-06 22:22           ` Paul Sokolovsky
  0 siblings, 1 reply; 7+ messages in thread
From: Matthias Hentges @ 2007-06-06 22:13 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]

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



[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
  2007-06-06 22:13         ` Matthias Hentges
@ 2007-06-06 22:22           ` Paul Sokolovsky
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Sokolovsky @ 2007-06-06 22:22 UTC (permalink / raw)
  To: Matthias Hentges; +Cc: openembedded-devel

Hello Matthias,

Thursday, June 7, 2007, 1:13:08 AM, you wrote:

> 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 sroda, 6 czerwca 2007, Koen Kooi napisal:
>> > > > 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?

        ... Please move /etc/usb-gadget.conf to
/etc/default/usb-gadget and continue hacking GPE's USB config applet to
use this infrastructure ;-).


-- 
Best regards,
 Paul                            mailto:pmiscml@gmail.com




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-06-06 22:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1HvlNq-0004pN-I1@linuxtogo.org>
2007-06-06 11:03 ` [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot Paul Sokolovsky
2007-06-06 11:18   ` Koen Kooi
2007-06-06 11:30     ` Marcin Juszkiewicz
2007-06-06 12:02       ` Matthias Hentges
2007-06-06 22:13         ` Matthias Hentges
2007-06-06 22:22           ` Paul Sokolovsky
2007-06-06 12:25     ` Paul Sokolovsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.