Nokia CS-15 Install how?

Hi,

I have the above device and am trying to get it to run under 11.3.

I plug it in and the log shows it recognised as a “Nokia Datacard”. Then, there are several error messages that seem to emanate from a scsi “probe” (sr1 sense not known type).

The device then seems to be “mounted” as a CDROM.

Needless to say, under windows, the stick is recognised for exactly what it is and it works fine - in fact, I am having to post this from a winbox using the stick.

I’ve tried to get the stick up by seeing if the network devices area gave any joy and then the dsl area but all to no avail.

Have searched the forums here and googled etc but I can’t seem to find a clue.

Thanks in advance.

well it is often said that such devices are seen as virtual CDROM devices; for those more clearly that are only usb modems; (and that thus are usually loaded with MS software as well); later kernels will create an icon on the desktop; by right-clicking on the icon; and selecting “eject” from the menu thus shown; this will “flip” the ID of the device, and “unmask” it as a modem;

so if you do

lsusb
initially with device plugged in

and

lsusb
if you can select “eject”

you may see the device change from

ID 0421: 0610

to

ID 0421: 0612

because, as I write, I see your device has an entry in the programme usb_modeswitch … that … switches … the mode …of the usb device …

http://www.draisberghof.de/usb_modeswitch/usb_modeswitch.setup

but if the above works, you may not need it to install usb_modeswitch

the entry for your device in their config file is

Nokia CS-15

Contributor: Antti Turunen

;DefaultVendor= 0x0421
;DefaultProduct= 0x0610

;TargetVendor= 0x0421
;TargetProduct= 0x0612

only for reference and 0.x versions

MessageEndpoint=0x01

;MessageContent=“5553424312345678000000000000061b000000020000000000000000000000”

the link for usb_modeswitch is

Draisberghof - Software - USB_ModeSwitch

there are debian versions built; for suse, you would seem to need to download version usb-modeswitch-1.1.2.tar.bz2

google will help you install a bz2

let us know if any of this is any help to you

___________________________________________-

I see from this post

http://discussions.europe.nokia.com/t5/Accessories-Car-Phones-and-Other/Nokia-CS-15-and-Ubuntu-9-10/m-p/613750

that they have a udev rule which uses the command “eject” so I hope the “eject” will work for you; it will need to be done each time the computer is turned on but we can surely help with this udev rule to automate

nokia cs-15
BUS==“usb”, SUBSYSTEM==“block”, SYSFS{idVendor}==“0421”, SYSFS{idProduct}==“0610”, ACTION==“add”, RUN+=“/usr/bin/eject -s %N”, OPTIONS+=“last_rule”

Kiitos Antti,

Will follow the advice and report back as soon as I can get to the box in question.

AK.

Moi pdc and thanks for the help.

I have followed all of your advice. The “eject” gave no joy and neither did various attempts at adding a udev rule.

However, it did switch when I executed the command of the udev rule (usb_modeswitch…) manually so I installed the usb_modeswitch software which replaced an earlier, older version that came with the install.

All went well as far as the switching goes. Here is a relevent snippet of the log:

“May 10 20:06:27 AKU kernel: [16715.716097] usb 1-1: new full speed USB device using uhci_hcd and address 7
May 10 20:06:27 AKU kernel: [16715.887127] usb 1-1: New USB device found, idVendor=0421, idProduct=0610
May 10 20:06:27 AKU kernel: [16715.887217] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
May 10 20:06:27 AKU kernel: [16715.887267] usb 1-1: Product: Nokia Datacard
May 10 20:06:27 AKU kernel: [16715.887304] usb 1-1: Manufacturer: Nokia
May 10 20:06:27 AKU kernel: [16715.887338] usb 1-1: SerialNumber: 0.0.1
May 10 20:06:27 AKU kernel: [16715.888110] usb 1-1: configuration #1 chosen from 1 choice
May 10 20:06:27 AKU kernel: [16715.896542] scsi7 : SCSI emulation for USB Mass Storage devices
May 10 20:06:27 AKU kernel: [16715.897951] usb-storage: device found at 7
May 10 20:06:27 AKU kernel: [16715.897971] usb-storage: waiting for device to settle before scanning
May 10 20:06:28 AKU kernel: [16716.901179] scsi 7:0:0:0: CD-ROM Nokia Datacard CD-ROM 0001 PQ: 0 ANSI: 0
May 10 20:06:28 AKU kernel: [16716.920000] sr1: scsi3-mmc drive: 0x/0x caddy
May 10 20:06:28 AKU kernel: [16716.921018] sr 7:0:0:0: Attached scsi CD-ROM sr1
May 10 20:06:28 AKU kernel: [16716.921560] sr 7:0:0:0: Attached scsi generic sg2 type 5
May 10 20:06:28 AKU kernel: [16716.924878] usb-storage: device scan complete
May 10 20:06:29 AKU usb_modeswitch: switching 0421:0610 (Nokia: Nokia Datacard)
May 10 20:06:29 AKU kernel: [16717.072008] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
May 10 20:06:29 AKU kernel: [16717.072252] sr: Sense Key : Hardware Error [current]
May 10 20:06:29 AKU kernel: [16717.072306] sr: Add. Sense: No additional sense information
May 10 20:06:29 AKU kernel: [16717.104198] usb 1-1: USB disconnect, address 7
May 10 20:06:30 AKU usb_id[21332]: unable to access ‘/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host7/target7:0:0/7:0:0:0/block/sr1’
May 10 20:06:33 AKU kernel: [16721.612116] usb 1-1: new full speed USB device using uhci_hcd and address 8
May 10 20:06:33 AKU kernel: [16721.787087] usb 1-1: New USB device found, idVendor=0421, idProduct=0612
May 10 20:06:33 AKU kernel: [16721.787160] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
May 10 20:06:33 AKU kernel: [16721.787210] usb 1-1: Product: Nokia Datacard
May 10 20:06:33 AKU kernel: [16721.787247] usb 1-1: Manufacturer: Nokia
May 10 20:06:33 AKU kernel: [16721.787281] usb 1-1: SerialNumber: 0.0.1
May 10 20:06:33 AKU kernel: [16721.787924] usb 1-1: configuration #1 chosen from 1 choice
May 10 20:06:34 AKU usb_modeswitch: switched to 0421:0612 (Nokia: Nokia Datacard)
May 10 20:06:34 AKU kernel: [16722.328809] cdc_acm 1-1:1.1: ttyACM0: USB ACM device
May 10 20:06:34 AKU kernel: [16722.355119] cdc_acm 1-1:1.3: ttyACM1: USB ACM device
May 10 20:06:34 AKU kernel: [16722.358576] usbcore: registered new interface driver cdc_acm
May 10 20:06:34 AKU kernel: [16722.358660] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters”

The blue light on the stick was then blinking on and off.

Before, it was a red light.

Now, from the winbox experience, this suggests that the stick is waiting for something like being told to connect or similar. I have disabled the asking for pin because I need this thing to be as automatic as an ADSL line and I also need to masquarade the inside networks through this stick connection.

It doesn’t show up as any kind of net interface or ptp link so how do I now get it connected? Is there another tool I need?

Kind Regards - AK

well done; so you look good to go now;

configure as here: RIGHT-CLICK on network manager; the two TV screens!

PHARscape | NetworkManager 0.7.0 and 3G WWAN Modems How-To

halfway down page: create a mobile broadband connection:

suse does not always in each install have a list of countries and networks:

so google on your the apn settings for your provider and see if they specify username and password; often left blank or just use something like user in username and pass in password: that sort of thing

you may well have to enter those yourself on the final page of configuration: country seems like Finland, and an Ubuntu install offers a choice of 5 Finnish providers, with their apn settings already installed and ready;

… for some reason, Suse thinks it is better you look all this up yourself

so: RIGHT-CLICK on network manager; click on mobile broadband tab; follow Suse’s way;

let us know how it goes for you; it should create an entry on the network manager, and you then LEFT-CLICK on that to connect; is usually very fast; and simply disconnect on this button again when you wish …

Moi pdc,

First off, many many thanks for the advice and help. Followed your advice to the letter and it all came up and running beautifully.

You know, it’s guys like you that just reinforce my belief in “the community”. Wonderful.

A twist on the story however.

This was a charity installation at an old folks home run by my daughter’s christian group. Now, there’s nobody there to button-click and I ran out of time to explore ways of trying to totally automate the process. On top of that, there were some folks who wanted a wireless connection since their kids had equipped them.

So, I got hold of a router that gave me an RJ45 connection and a WLAN. I had to undo some of the stuff I did earlier but now the whole installation is running. The communal “wired” boxes are up and running and the wireless folks are online too.

So, thanks again for your help, I have a laptop lying around here that I want to get “3G’d” so your advice will be used again.

Cheers and all the very best - AK

thanks very much; delighted to hear it all worked for you; there are a lot of folks in various companies working to make mobile broadband more accessible so great to hear it all worked for you; best wishes