Novatel MC950D UMTS USB stick not dealt with by udev rule
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-modeswitch-data (Ubuntu) |
Fix Released
|
Wishlist
|
Didier Raboud |
Bug Description
Binary package hint: udev
Hello
please add the line
ATTRS{idVendor}
to /lib/udev/
Reason: There is no rule for the Novatel MC950D UMTS USB stick in that file,
in the default Ubuntu 9.10 AMD64 Desktop installation.
nazgul@rivendell:~$ lsusb
Bus 002 Device 003: ID 1410:4400 Novatel Wireless
When the modem is plugged in, it gets mounted as an USB mass storage drive. It contains drivers, but not for Linux.
Above rule unmounts the mass storage, and the modem acutally turns into a modem autmagically
syslog with modification:
Dec 12 21:42:09 rivendell kernel: [10428.070077] usb 4-2: new full speed USB device using ohci_hcd and address 4
Dec 12 21:42:09 rivendell kernel: [10428.282909] usb 4-2: configuration #1 chosen from 1 choice
Dec 12 21:42:09 rivendell kernel: [10428.290254] scsi8 : SCSI emulation for USB Mass Storage devices
Dec 12 21:42:14 rivendell kernel: [10433.297395] scsi 8:0:0:0: CD-ROM Novatel Mass Storage 1.00 PQ: 0 ANSI: 2
Dec 12 21:42:14 rivendell kernel: [10433.353225] sr1: scsi-1 drive
Dec 12 21:42:14 rivendell kernel: [10433.353593] sr 8:0:0:0: Attached scsi generic sg2 type 5
Dec 12 21:42:15 rivendell kernel: [10433.775122] sr: Sense Key : No Sense [current]
Dec 12 21:42:15 rivendell kernel: [10433.775130] sr: Add. Sense: No additional sense information
Dec 12 21:42:15 rivendell kernel: [10434.500181] sr: Sense Key : No Sense [current]
Dec 12 21:42:15 rivendell kernel: [10434.500189] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.665772] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.665780] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.683739] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.683747] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.701690] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.701697] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.747570] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.747577] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.765519] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.765526] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.783471] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.783478] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.829352] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.829358] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10434.935068] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10434.935075] sr: Add. Sense: No additional sense information
Dec 12 21:42:16 rivendell kernel: [10435.012837] UDF-fs: Partition marked readonly; forcing readonly mount
Dec 12 21:42:16 rivendell kernel: [10435.020746] UDF-fs INFO UDF: Mounting volume 'NVTL', timestamp 2007/10/23 17:46 (103c)
Dec 12 21:42:16 rivendell kernel: [10435.074681] sr: Sense Key : No Sense [current]
Dec 12 21:42:16 rivendell kernel: [10435.074689] sr: Add. Sense: No additional sense information
Dec 12 21:44:02 rivendell kernel: [10541.191324] usb 4-2: USB disconnect, address 4
Dec 12 21:44:10 rivendell kernel: [10548.581022] udev: starting version 147
Dec 12 21:44:20 rivendell kernel: [10558.820075] usb 4-2: new full speed USB device using ohci_hcd and address 5
Dec 12 21:44:20 rivendell kernel: [10559.012955] usb 4-2: configuration #1 chosen from 1 choice
Dec 12 21:44:20 rivendell kernel: [10559.018928] scsi9 : SCSI emulation for USB Mass Storage devices
Dec 12 21:44:22 rivendell kernel: [10560.633062] usbcore: registered new interface driver usbserial
Dec 12 21:44:22 rivendell kernel: [10560.633094] USB Serial support registered for generic
Dec 12 21:44:22 rivendell kernel: [10560.633148] usbcore: registered new interface driver usbserial_generic
Dec 12 21:44:22 rivendell kernel: [10560.633153] usbserial: USB Serial Driver core
Dec 12 21:44:22 rivendell kernel: [10560.647781] USB Serial support registered for GSM modem (1-port)
Dec 12 21:44:22 rivendell kernel: [10560.647865] option 4-2:1.0: GSM modem (1-port) converter detected
Dec 12 21:44:22 rivendell kernel: [10560.647990] usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
Dec 12 21:44:22 rivendell kernel: [10560.648015] usbcore: registered new interface driver option
Dec 12 21:44:22 rivendell kernel: [10560.648020] option: v0.7.2:USB Driver for GSM modems
without the patch:
Dec 12 19:51:29 rivendell kernel: [ 3787.680102] usb 4-2: new full speed USB device using ohci_hcd and address 3
Dec 12 19:51:29 rivendell kernel: [ 3787.882942] usb 4-2: configuration #1 chosen from 1 choice
Dec 12 19:51:29 rivendell kernel: [ 3787.894850] scsi7 : SCSI emulation for USB Mass Storage devices
Dec 12 19:51:34 rivendell kernel: [ 3792.897421] scsi 7:0:0:0: CD-ROM Novatel Mass Storage 1.00 PQ: 0 ANSI: 2
Dec 12 19:51:34 rivendell kernel: [ 3792.954249] sr1: scsi-1 drive
Dec 12 19:51:34 rivendell kernel: [ 3792.954601] sr 7:0:0:0: Attached scsi generic sg2 type 5
Dec 12 19:51:34 rivendell kernel: [ 3793.335290] sr: Sense Key : No Sense [current]
Dec 12 19:51:34 rivendell kernel: [ 3793.335299] sr: Add. Sense: No additional sense information
Dec 12 19:51:34 rivendell kernel: [ 3793.444994] sr: Sense Key : No Sense [current]
Dec 12 19:51:34 rivendell kernel: [ 3793.445001] sr: Add. Sense: No additional sense information
Dec 12 19:51:34 rivendell kernel: [ 3793.455165] sr 7:0:0:0: [sr1] unaligned transfer
Dec 12 19:51:34 rivendell kernel: [ 3793.472889] sr 7:0:0:0: [sr1] unaligned transfer
Dec 12 19:52:08 rivendell kernel: [ 3826.770181] usb 4-2: USB disconnect, address 3
Dec 12 19:52:08 rivendell kernel: [ 3826.770230] sr 7:0:0:0: [sr1] Unhandled error code
Dec 12 19:52:08 rivendell kernel: [ 3826.770239] sr 7:0:0:0: [sr1] Result: hostbyte=DID_ERROR driverbyte=
Changed in udev (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in usb-modeswitch-data (Ubuntu): | |
status: | Fix Committed → Fix Released |
Actually above was only half the solution, but almost there.
In fact, the zero_cd trick does not work reliably. Now, with some testing I am confident to say that www.draisbergho f.de/usb_ modeswitch/ #hardware
the virtual cd-rom device needs to get ejected for the GSM modem to become active.
http://
also says that in fact an SCSI eject is needed.
Adding the udev rule line
# Novatel MCD950D =="1410" , ATTRS{idProduct }=="5010" , RUN+="/ usr/bin/ eject %k"
ATTRS{idVendor}
to 61-option- modem-modeswitc h.rules did the trick for me.
Note that I had to put this line before the GOTO-branch for some reason,
altough the Novatel bDeviceClass and bDeviceSubClass are both zero, it is an usb device, so I have no idea why.
Attaching the 61-option- modem-modeswitc h.rules that does work for me.