udev usb0 control

Joel Newkirk freerunner at newkirk.us
Sat Oct 18 20:49:38 CEST 2008

I'm sorry, I don't follow.  Sensing ethernet/RNDIS link /should/ be a
better idea, but doesn't work AFAICS with g_ether.

The question is if someone knows of a better way to detect that the USB
plug has been inserted/removed: when in USB device mode (standard state for
Freerunner, at least under 2007.x/2008.x/FDOM/Raster/FSO) udev appears
unable to sense the loss of link on usb0, so we need a reliable means of
automatically bringing up/down usb0 when plugged/unplugged.


On 18 Oct 2008 14:59:03 +0200, TeXitoi <texitoi at texitoi.homelinux.org>
> Joel Newkirk <freerunner at newkirk.us> writes:
>> Does anyone have a better idea?
> ethernet link should be a better idea.
> --
> Guillaume Pinot                  http://www.irccyn.ec-nantes.fr/~pinot/
> ``Computers are good at following instructions, but not at reading your
> mind.'' -- Donald E. Knuth, the TeXbook
> ()  ASCII ribbon campaign      -- Against HTML e-mail
> /\  http://www.asciiribbon.org -- Against proprietary attachments
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

More information about the community mailing list