Hi All,
I used to have this dongle working and used it for 2 years. Then somebody stole my laptop along with the CS-15 and a heap of other stuff. I now have a new Ultrabook (Tuxedo with intel i5 processor, 16GB RAM, 250 GB SSD Hard Drive). I Installed Ubuntu 12.04 LTS again, because it struck me a pretty reliable.
I originally tried using a new UMTS dongle but that didn't work (at least not yet). So I paid a horrendous price for another Nokia CS-15. They are supposedly Linux-friendly. I've saved the relevant information from
/var/log/syslog and from
lsusb.
Firstly
lsusb:
Code:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 008: ID 0421:0610 Nokia Mobile Phones CS-15 (Internet Stick 3G modem)
Bus 002 Device 003: ID 062a:0000 Creative Labs Optical mouse
Tat seemed promising, so I was disturbed that there was no indication on the device itself, that anything had happened. So I checked in
/var/log/syslog:
Code:
Jan 13 05:48:55 achim-W840SU-Series kernel: [ 720.135652] usb 2-1: new high-speed USB device number 5 using xhci_hcd
Jan 13 05:48:55 achim-W840SU-Series kernel: [ 720.153340] scsi5 : usb-storage 2-1:1.0
Jan 13 05:48:55 achim-W840SU-Series mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Jan 13 05:48:55 achim-W840SU-Series mtp-probe: bus: 2, device: 5 was not an MTP device
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.151876] scsi 5:0:0:0: CD-ROM Nokia Datacard CD-ROM 0001 PQ: 0 ANSI: 0
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.154384] sr0: scsi3-mmc drive: 0x/0x caddy
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.154755] sr 5:0:0:0: Attached scsi CD-ROM sr0
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.155341] sr 5:0:0:0: Attached scsi generic sg1 type 5
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.211480] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.211494] sr: Sense Key : Hardware Error [current]
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.211499] sr: Add. Sense: No additional sense information
Jan 13 05:48:56 achim-W840SU-Series usb_modeswitch: switching device 0421:0610 on 002/005
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.383449] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.383476] sr: Sense Key : Hardware Error [current]
Jan 13 05:48:56 achim-W840SU-Series kernel: [ 721.383484] sr: Add. Sense: No additional sense information
The
usb_modeswitch had been attempted, but obviously failed.
I next tried to get some stuff from some old backups and found the file
/etc/udev/rules.d/25-mokulat.rules. It looks like this:
Code:
# udev-rules for switching modems from storage mode to modem mode - anttu - v.091216
# a-link 3gu turbo
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="1e0e", SYSFS{idProduct}=="f000", ACTION=="add", RUN+="/usr/bin/eject -s %N", OPTIONS+="last_rule"
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="1e0e", SYSFS{idProduct}=="9200", ACTION=="add", RUN+="/sbin/modprobe -r option", RUN+="/sbin/modprobe -r usbserial", RUN+="/sbin/modprobe usbserial vendor=0x1e0e product=0x9200", RUN+="/sbin/modprobe option", OPTIONS+="last_rule"
# nokia cs-15
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="0610", ACTION=="add", RUN+="/usr/bin/eject -s %N", OPTIONS+="last_rule"
# huawei e1762
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="12d1", SYSFS{idProduct}=="1446", ACTION=="add", RUN+="/usr/sbin/usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x1003 -m 0x01 -M '55534243123456780000000000000011060000000000000000000000000000'", OPTIONS+="last_rule"
# siptune lm-75
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="05c6", SYSFS{idProduct}=="f000", ACTION=="add", RUN+="/usr/bin/eject -s %N", OPTIONS+="last_rule"
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="05c6", SYSFS{idProduct}=="9000", ACTION=="add", RUN+="/sbin/modprobe -r option", RUN+="/sbin/modprobe -r usbserial", RUN+="/sbin/modprobe usbserial vendor=0x05c6 product=0x9000", RUN+="/sbin/modprobe option", OPTIONS+="last_rule"
# zte mf-636+
BUS=="usb", SUBSYSTEM=="block", SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000", ACTION=="add", RUN+="/usr/bin/eject -s %N", OPTIONS+="last_rule"
I copied that onto my new machine and got the following error messages in
/var/log/syslog:
Code:
-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:4
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:4'
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:5
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:5'
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:8
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:8'
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:11
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:11'
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:14
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:14'
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:15
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:15'
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: unknown key 'BUS' in /etc/udev/rules.d/25-mokkulat.rules:18
Jan 13 06:13:41 achim-W840SU-Series udevd[365]: invalid rule '/etc/udev/rules.d/25-mokkulat.rules:18'
However, the messages relating to the CS-15 had now changed:
Code:
-W840SU-Series kernel: [ 24.015312] usb 2-5: Device not responding to set address.
Jan 13 06:15:45 achim-W840SU-Series usb_modeswitch: switching device 0421:0610 on 002/002
Jan 13 06:15:45 achim-W840SU-Series kernel: [ 24.219022] usb 2-5: device not accepting address 7, error -71
Jan 13 06:15:45 achim-W840SU-Series kernel: [ 24.219063] hub 2-0:1.0: unable to enumerate USB device on port 5
Jan 13 06:15:45 achim-W840SU-Series kernel: [ 24.243595] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Jan 13 06:15:45 achim-W840SU-Series kernel: [ 24.243620] sr: Sense Key : Hardware Error [current]
Jan 13 06:15:45 achim-W840SU-Series kernel: [ 24.243628] sr: Add. Sense: No additional sense information
In the past on my trusty T43 (the stolen laptop) I sometimes had to insert the CS15 more than once, so I gave that a go. The result in
/var/log/syslog:
Code:
-W840SU-Series kernel: [ 499.796830] usb 2-1: USB disconnect, device number 2
Jan 13 06:23:46 achim-W840SU-Series kernel: [ 505.339486] usb 2-1: new high-speed USB device number 8 using xhci_hcd
Jan 13 06:23:46 achim-W840SU-Series kernel: [ 505.357220] scsi5 : usb-storage 2-1:1.0
Jan 13 06:23:46 achim-W840SU-Series mtp-probe: checking bus 2, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Jan 13 06:23:46 achim-W840SU-Series mtp-probe: bus: 2, device: 8 was not an MTP device
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.355724] scsi 5:0:0:0: CD-ROM Nokia Datacard CD-ROM 0001 PQ: 0 ANSI: 0
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.357565] sr0: scsi3-mmc drive: 0x/0x caddy
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.357915] sr 5:0:0:0: Attached scsi CD-ROM sr0
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.358480] sr 5:0:0:0: Attached scsi generic sg1 type 5
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.403391] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.403416] sr: Sense Key : Hardware Error [current]
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.403424] sr: Add. Sense: No additional sense information
Jan 13 06:23:47 achim-W840SU-Series usb_modeswitch: switching device 0421:0610 on 002/008
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.523362] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.523387] sr: Sense Key : Hardware Error [current]
Jan 13 06:23:47 achim-W840SU-Series kernel: [ 506.523395] sr: Add. Sense: No additional sense information
A reboot and a further attempt yielded the following error in
/var/log/syslog:
Code:
-W840SU-Series kernel: [ 589.732701] usb 2-1: USB disconnect, device number 8
Jan 13 06:25:14 achim-W840SU-Series kernel: [ 593.166638] usb 2-1: new high-speed USB device number 9 using xhci_hcd
Jan 13 06:25:14 achim-W840SU-Series kernel: [ 593.184318] scsi6 : usb-storage 2-1:1.0
Jan 13 06:25:14 achim-W840SU-Series mtp-probe: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Jan 13 06:25:14 achim-W840SU-Series mtp-probe: bus: 2, device: 9 was not an MTP device
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.182810] scsi 6:0:0:0: CD-ROM Nokia Datacard CD-ROM 0001 PQ: 0 ANSI: 0
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.185071] sr0: scsi3-mmc drive: 0x/0x caddy
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.185464] sr 6:0:0:0: Attached scsi CD-ROM sr0
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.185679] sr 6:0:0:0: Attached scsi generic sg1 type 5
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.254574] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.254599] sr: Sense Key : Hardware Error [current]
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.254608] sr: Add. Sense: No additional sense information
Jan 13 06:25:15 achim-W840SU-Series usb_modeswitch: switching device 0421:0610 on 002/009
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.313911] scsi 6:0:0:0: rejecting I/O to offline device
Jan 13 06:25:15 achim-W840SU-Series kernel: [ 594.313924] scsi 6:0:0:0: killing request
One last thing I recall from 2 and a bit years ago ist htat there was some mention of an incorrect device ID. I even saved the page and this is what it says:
Quote:
When you run lsusb you should see something like this:
Bus 001 Device 004: ID 0421:0610 Nokia Mobile Phones
Now you have to run usb_modeswitch command with these parameters:
usb_modeswitch -v 0x0421 -p 0x0610 -m 0x01 -M "5553424312345678000000000000061b000000020000000000000000000000"
This will change that 0610 to 0612 and after that command we can run lsusb again and see if that worked and you should see
something like this:
Bus 001 Device 005: ID 0421:0612 Nokia Mobile Phones
|
I haven't yet had any success with the usb_modeswitch command and I don't think I should have to run it every time. I cannot remember what exactly happened last time. Somehow I just fiddled with scripts for a few months and eventually it worked. I don't want to have to do that again.
Questions:
Is the device perhaps defective? That seems to be the gist of most of those log messages.
Is the device number wrong and is that causing all the trouble?
Are there any other diagnostics I can run to find out what is happening?
Unfortunately I don't have any private internet access apart from weekends when I'm at home. I'm doing this after hours at work, so I cannot respond promptly to any replies. However, I would be grateful for some help.
Thanks in advance.
Achim