Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Matthias Hentges <oe@hentges.net>
To: 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, 07 Jun 2007 00:13:08 +0200	[thread overview]
Message-ID: <1181167988.4914.19.camel@localhost.localdomain> (raw)
In-Reply-To: <1181131371.4914.13.camel@localhost.localdomain>

[-- 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 --]

  reply	other threads:[~2007-06-06 22:15 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 [this message]
2007-06-06 22:22           ` Paul Sokolovsky
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=1181167988.4914.19.camel@localhost.localdomain \
    --to=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