[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

airprime module compilation



When I plug my umts usb modem, lsusb produces the following output:

$ lsusb
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 004: ID 05c6:3100 Qualcomm, Inc. CDMA Wireless Modem/Phone
Bus 001 Device 001: ID 0000:0000  

.  Now, I want the device to be driven my the aiprime module.  To do so, I
edited `/usr/src/linux-source-2.6.18/drivers/usb/serial/airprime.c' so that
there are the following lines in it:

static struct usb_device_id id_table [] = {
	{ USB_DEVICE(0x0c88, 0x17da) }, /* Kyocera Wireless KPC650/Passport */
	{ USB_DEVICE(0xf3d, 0x0112) },  /* AirPrime CDMA Wireless PC Card */
	{ USB_DEVICE(0x1410, 0x1110) }, /* Novatel Wireless Merlin CDMA */
	{ USB_DEVICE(0x1199, 0x0112) }, /* Sierra Wireless Aircard 580 */
	{ USB_DEVICE(0x1199, 0x0218) }, /* Sierra Wireless MC5720 */
	{ USB_DEVICE(0x05c6, 0x3100) }, /* CDMA Wireless Modem/Phone */
	{ },
};

, then compiled the module with:

 # make -C /lib/modules/`uname -r`/build M=`pwd`
 # cp airprime.ko /lib/modules/`uname -r`/kernel/drivers/usb/serial/

, but the device does not work.  Did I miss any thing important?

Thanks indeed for any help
Rodolfo


Reply to: