Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Paul Sokolovsky <pmiscml@gmail.com>
To: Matthias Hentges <oe@hentges.net>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe-commits] org.oe.dev usb-gadget-mode: Add usb-gadget mode: An initscript to load the configured USB gadget module on boot
Date: Thu, 7 Jun 2007 01:22:06 +0300	[thread overview]
Message-ID: <10210715478.20070607012206@gmail.com> (raw)
In-Reply-To: <1181167988.4914.19.camel@localhost.localdomain>

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




  reply	other threads:[~2007-06-06 22:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2007-06-06 12:25     ` Paul Sokolovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10210715478.20070607012206@gmail.com \
    --to=pmiscml@gmail.com \
    --cc=oe@hentges.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox