Add udev rules for Sony MD300 GSM modem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-modeswitch-data (Ubuntu) |
Fix Released
|
Medium
|
Didier Raboud | ||
Bug Description
Binary package hint: udev
The device only mount itself as storage device and not modem as showed below:
Aug 31 17:43:57 karnak kernel: [15172.628046] usb 3-1: new full speed USB device using uhci_hcd and address 9
Aug 31 17:43:58 karnak kernel: [15172.857193] usb 3-1: configuration #1 chosen from 3 choices
Aug 31 17:43:58 karnak kernel: [15172.866266] scsi8 : SCSI emulation for USB Mass Storage devices
Aug 31 17:44:03 karnak kernel: [15177.868953] scsi 8:0:0:0: Direct-Access SEMC MMC Flash Card 0 PQ: 0 ANSI: 0
Aug 31 17:44:03 karnak kernel: [15177.869428] sd 8:0:0:0: Attached scsi generic sg2 type 0
Aug 31 17:44:03 karnak kernel: [15177.875914] sd 8:0:0:0: [sdb] 348161 512-byte logical blocks: (178 MB/170 MiB)
Aug 31 17:44:03 karnak kernel: [15177.883917] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled
Aug 31 17:44:03 karnak kernel: [15177.899906] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled
Aug 31 17:44:03 karnak kernel: [15177.899915] sdb: sdb1
Aug 31 17:44:03 karnak kernel: [15177.907935] sdb: p1 size 348161 exceeds device capacity, limited to end of disk
Aug 31 17:44:03 karnak kernel: [15177.923542] sd 8:0:0:0: [sdb] Test WP failed, assume Write Enabled
Aug 31 17:44:03 karnak kernel: [15177.923554] sd 8:0:0:0: [sdb] Attached SCSI removable disk
Aug 31 17:44:34 karnak kernel: [15209.112063] usb 3-1: reset full speed USB device using uhci_hcd and address 9
Aug 31 17:45:05 karnak kernel: [15240.112061] usb 3-1: reset full speed USB device using uhci_hcd and address 9
Using a custom udev rule the GSM modem is mounted instead of the storage device
ACTION!="add", GOTO="3G_End"
SUBSYSTEMS=="usb", ATTRS{idVendor}
LABEL="3G_End"
When plugged angain:
Oct 14 21:31:28 karnak kernel: [10198.824770] usb 2-1: new full speed USB device using uhci_hcd and address 2
Oct 14 21:31:28 karnak kernel: [10199.064173] usb 2-1: configuration #1 chosen from 3 choices
Oct 14 21:31:28 karnak kernel: [10199.191085] Initializing USB Mass Storage driver...
Oct 14 21:31:28 karnak kernel: [10199.191192] usbcore: registered new interface driver usb-storage
Oct 14 21:31:28 karnak kernel: [10199.191195] USB Mass Storage support registered.
Oct 14 21:31:28 karnak kernel: [10199.194829] cdc_wdm 2-1:3.5: cdc-wdm0: USB WDM device
Oct 14 21:31:28 karnak kernel: [10199.194866] cdc_wdm 2-1:3.6: cdc-wdm1: USB WDM device
Oct 14 21:31:28 karnak kernel: [10199.194903] cdc_wdm 2-1:3.7: cdc-wdm2: USB WDM device
Oct 14 21:31:28 karnak kernel: [10199.194938] cdc_wdm 2-1:3.8: cdc-wdm3: USB WDM device
Oct 14 21:31:28 karnak kernel: [10199.194956] usbcore: registered new interface driver cdc_wdm
Oct 14 21:31:28 karnak kernel: [10199.200590] cdc_acm 2-1:3.1: ttyACM0: USB ACM device
Oct 14 21:31:28 karnak kernel: [10199.235028] cdc_acm 2-1:3.3: ttyACM1: USB ACM device
Oct 14 21:31:28 karnak kernel: [10199.238170] usbcore: registered new interface driver cdc_acm
Oct 14 21:31:28 karnak kernel: [10199.238176] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Oct 14 21:31:28 karnak kernel: [10199.268928] usb0: register 'cdc_ether' at usb-0000:00:1d.0-1, CDC Ethernet Device, 02:80:37:05:03:00
Oct 14 21:31:28 karnak kernel: [10199.268963] usbcore: registered new interface driver cdc_ether
Futher info:
pretto@karnak:~$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10
pretto@karnak:~$ apt-cache policy udev
udev:
Installed: 147~-5
Candidate: 147~-5
Version table:
*** 147~-5 0
500 http://
100 /var/lib/
Changed in udev (Ubuntu): | |
status: | New → Confirmed |
affects: | udev (Ubuntu) → usb-modeswitch (Ubuntu) |
affects: | usb-modeswitch (Ubuntu) → usb-modeswitch-data (Ubuntu) |
Changed in usb-modeswitch-data (Ubuntu): | |
status: | Fix Committed → Fix Released |
i got reports from a few sides that the udev modemswitcher seems to be not working so great atm. same for bug 450237 ... though the dmesg looks different - which means it might be completely unrelated. unless martin has some idea i will probably look whats going on with our udev rules.