On Wed, 2002-09-18 at 15:16, Todd Lyons wrote:

> Brad Felmey wrote on Wed, Sep 18, 2002 at 02:48:39PM -0500 :
> > 
> > It works fine in 8.2 if you hack the /lib/modules/`uname
> > -r`/modules.usbmap. Of course, this will be overwritten at each boot, so
> > I copied the modified modules.usbmap for my 8.2 kernel to
> > /etc/rc.d/rc.zaurus, and put this at the bottom of rc.local:
> 
> That one line, eh?  Does it make a difference if you're running the
> 2.4.18-6mdk or 2.4.18.8.1mdk kernel?

Yes, and it really is an ugly hack. A more elegant solution is to put a
sed line at the bottom of rc.local that searches for the usbdnet line to
modify and changes it. That way even if the kernel is updated it still
works properly without any possible collateral breakage.

Of course, that's just for 8.2. In 9.0 I think Juan added the IDs and it
works out-of-the-box, so I wouldn't put just a huge amount of effort
into 8.2.

> That's interesting--that one line fixing it.  I would assume that I can
> make this work on 8.2 without having to resort to that hack.  If I am
> wrong, well, then I am wrong :)  If I knew a little more about hotplug,
> it seems like it would be possible to add a command that would fix this.
> As I understand the original document that I based mine on, the issue is
> that the acm module conflicts with the usbdnet module.  So if I can
> forcibly unload acm, that should solve the problem for 8.2.  In 9.0, it
> doesn't matter if the acm module is loaded or not.  It works just fine
> either way.

I don't have any conflict at all. I just hack the ID into modules.usbmap
(overwriting something-or-another) and it "Just Works"TM.

I luv my Z.
-- 
Brad Felmey


Reply via email to