Hi friends, I use option driver as the usb class driver for one WCDMA/HSPA module (use Qualcomm MSM6290 chipset), and add the vendor/product id in the table. however, each time when my target ARM board reboot, 4 serial ports generated, in fact, the 3rd interface is sd card type. however, if I manually insmod the option driver or handle it in my Linux PC, it's OK. Thanks for help. kernel: Linux localhost 2.6.27-default #4 PREEMPT Wed Jul 22 17:27:18 CST 2009 armv6l unknown following are the log: [ 18.247186] bus: 'usb-serial': registered [ 18.247400] bus: 'usb': add driver usbserial [ 18.269424] usbcore: registered new interface driver usbserial [ 18.273121] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the open usb serial operation with the generic one. [ 18.273156] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the write usb serial operation with the generic one. [ 18.273184] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the close usb serial operation with the generic one. [ 18.273212] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the write_room usb serial operation with the generic one. [ 18.273240] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the chars_in_buffer usb serial operation with the generic one. [ 18.273270] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the read_bulk_callback usb serial operation with the generic one. [ 18.273299] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb serial operation with the generic one. [ 18.273335] bus: 'usb-serial': add driver generic [ 18.327001] usbserial: USB Serial support registered for generic [ 18.330205] bus: 'usb': add driver usbserial_generic [ 18.330321] bus: 'usb': driver_probe_device: matched device 1-1:1.0 with driver usbserial_generic [ 18.330347] bus: 'usb': really_probe: probing driver usbserial_generic with device 1-1:1.0 [ 18.330461] bus: 'usb': driver_probe_device: matched device 1-1:1.1 with driver usbserial_generic [ 18.330484] bus: 'usb': really_probe: probing driver usbserial_generic with device 1-1:1.1 [ 18.330562] bus: 'usb': driver_probe_device: matched device 1-1:1.2 with driver usbserial_generic [ 18.330585] bus: 'usb': really_probe: probing driver usbserial_generic with device 1-1:1.2 [ 18.330663] bus: 'usb': driver_probe_device: matched device 1-1:1.3 with driver usbserial_generic [ 18.330685] bus: 'usb': really_probe: probing driver usbserial_generic with device 1-1:1.3 [ 18.365451] usbcore: registered new interface driver usbserial_generic [ 18.369158] usbserial: USB Serial Driver core [ 18.796277] device class 'scsi_host': registering [ 18.894844] bus: 'scsi': registered [ 18.894890] device class 'scsi_device': registering [ 18.919684] SCSI subsystem initialized [ 18.974299] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the read_bulk_callback usb serial operation with the generic one. [ 18.974355] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb serial operation with the generic one. [ 18.974385] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: Had to override the resume usb serial operation with the generic one. [ 18.974422] bus: 'usb-serial': add driver option1 [ 19.044308] usbserial: USB Serial support registered for GSM modem (1-port) [ 19.048459] bus: 'usb': add driver option [ 19.048605] bus: 'usb': driver_probe_device: matched device 1-1:1.0 with driver option [ 19.048628] bus: 'usb': really_probe: probing driver option with device 1-1:1.0 [ 19.048722] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: static descriptor matches [ 19.048760] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0 [ 19.048784] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1 [ 19.048807] option 1-1:1.0: GSM modem (1-port) converter detected [ 19.054625] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures for this device [ 19.054722] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_startup [ 19.054781] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_setup_urbs [ 19.054835] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial 1 [ 19.054858] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 0 [ 19.054884] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0 [ 19.054910] device: 'ttyUSB0': device_add [ 19.054999] bus: 'usb-serial': add device ttyUSB0 [ 19.055100] PM: Adding info for usb-serial:ttyUSB0 [ 19.089376] bus: 'usb-serial': driver_probe_device: matched device ttyUSB0 with driver option1 [ 19.089423] bus: 'usb-serial': really_probe: probing driver option1 with device ttyUSB0 [ 19.089570] device: 'ttyUSB0': device_add [ 19.089936] PM: Adding info for No Bus:ttyUSB0 [ 19.102434] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 [ 19.106673] driver: 'ttyUSB0': driver_bound: bound to device 'option1' [ 19.106703] bus: 'usb-serial': really_probe: bound device ttyUSB0 to driver option1 [ 19.106751] driver: '1-1:1.0': driver_bound: bound to device 'option' [ 19.106772] bus: 'usb': really_probe: bound device 1-1:1.0 to driver option [ 19.106839] bus: 'usb': driver_probe_device: matched device 1-1:1.1 with driver option [ 19.106858] bus: 'usb': really_probe: probing driver option with device 1-1:1.1 [ 19.106988] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: static descriptor matches [ 19.107027] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0 [ 19.107051] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1 [ 19.107073] option 1-1:1.1: GSM modem (1-port) converter detected [ 19.112485] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures for this device [ 19.112576] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_startup [ 19.112622] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_setup_urbs [ 19.112727] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial 1 [ 19.112752] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 1 [ 19.112778] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB1 [ 19.112805] device: 'ttyUSB1': device_add [ 19.112880] bus: 'usb-serial': add device ttyUSB1 [ 19.112968] PM: Adding info for usb-serial:ttyUSB1 [ 19.135856] bus: 'usb-serial': driver_probe_device: matched device ttyUSB1 with driver option1 [ 19.135905] bus: 'usb-serial': really_probe: probing driver option1 with device ttyUSB1 [ 19.136147] device: 'ttyUSB1': device_add [ 19.136564] PM: Adding info for No Bus:ttyUSB1 [ 19.155525] pvrmved: Unknown symbol mutex_lock_nested [ 19.178789] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 19.182752] driver: 'ttyUSB1': driver_bound: bound to device 'option1' [ 19.182774] bus: 'usb-serial': really_probe: bound device ttyUSB1 to driver option1 [ 19.182808] driver: '1-1:1.1': driver_bound: bound to device 'option' [ 19.182828] bus: 'usb': really_probe: bound device 1-1:1.1 to driver option [ 19.182885] bus: 'usb': driver_probe_device: matched device 1-1:1.2 with driver option [ 19.182905] bus: 'usb': really_probe: probing driver option with device 1-1:1.2 [ 19.183035] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: static descriptor matches [ 19.183072] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk out on endpoint 0 [ 19.183095] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk in on endpoint 1 [ 19.183117] option 1-1:1.2: GSM modem (1-port) converter detected [ 19.254249] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures for this device [ 19.254424] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_startup [ 19.254479] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_setup_urbs [ 19.254532] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial 1 [ 19.254555] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 2 [ 19.254581] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB2 [ 19.254609] device: 'ttyUSB2': device_add [ 19.254714] bus: 'usb-serial': add device ttyUSB2 [ 19.254807] PM: Adding info for usb-serial:ttyUSB2 [ 19.324932] device class 'scsi_generic': registering [ 19.376237] bus: 'usb-serial': driver_probe_device: matched device ttyUSB2 with driver option1 [ 19.376277] bus: 'usb-serial': really_probe: probing driver option1 with device ttyUSB2 [ 19.376406] device: 'ttyUSB2': device_add [ 19.376768] PM: Adding info for No Bus:ttyUSB2 [ 19.584239] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 [ 19.588204] driver: 'ttyUSB2': driver_bound: bound to device 'option1' [ 19.588227] bus: 'usb-serial': really_probe: bound device ttyUSB2 to driver option1 [ 19.588265] driver: '1-1:1.2': driver_bound: bound to device 'option' [ 19.588285] bus: 'usb': really_probe: bound device 1-1:1.2 to driver option [ 19.588367] bus: 'usb': driver_probe_device: matched device 1-1:1.3 with driver option [ 19.588386] bus: 'usb': really_probe: probing driver option with device 1-1:1.3 [ 19.588547] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: static descriptor matches [ 19.588587] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found interrupt in on endpoint 0 [ 19.588612] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk in on endpoint 1 [ 19.588634] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: found bulk out on endpoint 2 [ 19.588657] option 1-1:1.3: GSM modem (1-port) converter detected [ 19.594457] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures for this device [ 19.594613] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_startup [ 19.594991] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_setup_urbs [ 19.595049] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial 1 [ 19.595072] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 3 [ 19.595098] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB3 [ 19.595125] device: 'ttyUSB3': device_add [ 19.595262] bus: 'usb-serial': add device ttyUSB3 [ 19.595423] PM: Adding info for usb-serial:ttyUSB3 [ 19.595784] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_instat_callback [ 19.595816] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_instat_callback: urb c7ae4da0 port c60680a0 has data c606b7d0 [ 19.595845] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_instat_callback: signal x1 [ 19.596748] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_instat_callback [ 19.596785] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_instat_callback: urb c7ae4da0 port c60680a0 has data c606b7d0 [ 19.596813] /home/ypluo/ws/L27EVB/Main/kernel/drivers/usb/serial/option.c: option_instat_callback: signal x3 [ 19.724234] bus: 'usb-serial': driver_probe_device: matched device ttyUSB3 with driver option1 [ 19.724280] bus: 'usb-serial': really_probe: probing driver option1 with device ttyUSB3 [ 19.724428] device: 'ttyUSB3': device_add [ 19.724849] PM: Adding info for No Bus:ttyUSB3 [ 19.944224] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 [ 19.948191] driver: 'ttyUSB3': driver_bound: bound to device 'option1' [ 19.948214] bus: 'usb-serial': really_probe: bound device ttyUSB3 to driver option1 [ 19.948251] driver: '1-1:1.3': driver_bound: bound to device 'option' [ 19.948270] bus: 'usb': really_probe: bound device 1-1:1.3 to driver option [ 20.086527] usbcore: registered new interface driver option [ 20.089282] option: USB Driver for GSM modems: v0.7.2 [ 20.319689] device class 'scsi_disk': registering [ 20.364233] Driver 'sd' needs updating - please use bus_type methods [ 20.367772] bus: 'scsi': add driver sd [ 21.134241] Initializing USB Mass Storage driver... [ 21.136337] bus: 'usb': add driver usb-storage [ 21.364461] usbcore: registered new interface driver usb-storage [ 21.367695] USB Mass Storage support registered. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ