[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711290844.39428.oliver@neukum.org>
Date: Thu, 29 Nov 2007 08:44:38 +0100
From: Oliver Neukum <oliver@...kum.org>
To: Johann Wilhelm <johann.wilhelm@...dent.tugraz.at>
Cc: Pete Zaitcev <zaitcev@...hat.com>, linux-usb@...r.kernel.org,
preining@...ic.at, kristoffer.ericson@...il.com,
drussell@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: Add the infamous Huawei E220 to option.c
Am Donnerstag, 29. November 2007 07:33:03 schrieb Johann Wilhelm:
> But in my opinion the the modul-load-order should be forced by udev...
> this should work and we only have 1 position to keep in mind if we eg.
> get a new E220, support for the E270 or something else...
No, udev cannot help here because any of the two modules may already
be loaded when you plug in your device. You also need to get the kernel space
probing corrected. Basically you have three options.
1. Make both drivers handle the issue. That means code duplication
2. Make the option driver fail gracefully in probe()
3. Make sure usbcore doesn't probe the devices in the wrong mode with the
option driver
Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists