2002-12-31 18:12:04

by Robert P. J. Day

[permalink] [raw]
Subject: networking for linux PDAs


from some recent postings on a sharp zaurus related list
(and some experimentation on my part with my zaurus 5500),
there's a small problem with networking via USB hotplug
to a Z in its cradle.

when one plugs in the Z to the USB port, here's what i
get in /var/log/messages

Dec 31 12:39:19 dell kernel: hub.c: new USB device 00:1f.2-1, assigned address 6
Dec 31 12:39:19 dell kernel: CDCEther.c: eth1: Sharp SL Series
Dec 31 12:39:19 dell /etc/hotplug/net.agent: invoke ifup eth1
Dec 31 12:39:22 dell /etc/hotplug/usb.agent: Setup acm CDCEther usbnet for USB product 4dd/8004/0

this is not correct, since this is activating the net interface
eth1, rather than usb0, the correct interface.

apparently, the problem is that the CDCEther module is, as
someone pointed out to me, getting in the way. one proposed
solution is to add CDCEther to /etc/hotplug/blacklist.

in any case, what is the preferred way around this? clearly,
there seems to be conflict between CDCEther.o and usbnet.o,
at least in this case.

thoughts?

rday


2002-12-31 18:29:26

by David Brownell

[permalink] [raw]
Subject: Re: networking for linux PDAs

The deal is that the 'CDCEther' (2.4) or 'cdc-ether' (2.5) driver
needs to blacklist the various devices using Lineo's "gadget side"
driver code, and it doesn't yet. Presumably Brad would take a
patch for this.

The workaround I like best is adding it to /etc/hotplug/blacklist,
but I can imagine that not working for some folk (cable modems?).

- Dave


http://marc.theaimsgroup.com/?l=linux-kernel&m=104135894614196&w=2

2003-01-01 05:52:15

by Brad Hards

[permalink] [raw]
Subject: Re: networking for linux PDAs

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

On Wed, 1 Jan 2003 05:44, David Brownell wrote:
> The deal is that the 'CDCEther' (2.4) or 'cdc-ether' (2.5) driver
> needs to blacklist the various devices using Lineo's "gadget side"
> driver code, and it doesn't yet. Presumably Brad would take a
> patch for this.
I'm going to blacklist it in the next patch, expect in a few days.

Brad

- --
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+EoD4W6pHgIdAuOMRAvvjAKCAFsd9fxMKiLUwjR/WXwsuT7hV6wCfcZcP
T/rTUibyyT+Ajj35+TrZt3I=
=06Ob
-----END PGP SIGNATURE-----