> >> > > > > make M=drivers/usb/serial/ > > will build only that one directory. > > > > Or: > > make drivers/usb/serial/option.ko > > should build only that module. > > > > You might have to do a 'make oldconfig' and 'make prepare' first though. > > > > Hope this helps, > >
Ok, I think I did it. I had to modify the patch a little since it does not apply cleanly on 2.6.22 and I had to manually mkdir .tmp_versions in my kernel tree, but compiling the two modules only worked nice and _fast_. Now I have a minor problem in that my system still tries to load the sierra driver when I put in the card. Dmesg says: [ 131.612000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem (1 port) [ 131.612000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem (3 port) [ 131.612000] usbcore: registered new interface driver sierra [ 131.612000] drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.0.6 so I have to manually unload sierra an manually load option. Then I get /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port) [ 154.136000] option 7-1:1.0: GSM modem (1-port) converter detected [ 154.136000] usb 7-1: GSM modem (1-port) converter now attached to ttyUSB0 [ 154.136000] option 7-1:1.1: GSM modem (1-port) converter detected [ 154.136000] usb 7-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 154.136000] option 7-1:1.2: GSM modem (1-port) converter detected [ 154.136000] usb 7-1: GSM modem (1-port) converter now attached to ttyUSB2 [ 154.136000] usbcore: registered new interface driver option [ 154.136000] drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1 Any clue at where the automatic loading of the sierra module is triggered? Now I am on UMTS _with_ the option module. So far so good. As soon as I need to upload some bigger file, I'll let you know how it goes. (won't do it now, because I have 500MB per month and I need to be carefull about it). Sergio - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html