www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

NOKIA Internet stick CS-19

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Linux and Networking
View previous topic :: View next topic  
Author Message
abahaba



Joined: 19 Apr 2010
Posts: 5

PostPosted: Wed May 04, 2011 8:45 am    Post subject: NOKIA Internet stick CS-19 Reply with quote

Kernel unable to determine CS-19.
i.e.: When I plug nokia n73 mobile - udev creates ttyACM0, but when cs-19 is plugged in - nothing happens. Probably due to kernel version ?
For example if i use modprobe, where I write down vendor as 0x0421 and product as 0x062C (in windows 7 ent. it is 062F) - comgt can't open device.

I tried to edit over vi two files (usb_modeswitch.conf and usb_modeswitch.conf.1) in /etc adding there such lines:

# Nokia CS-19

;DefaultVendor= 0x0421
;DefaultProduct=0x062c

;TargetVendor= 0x0421
;TargetProduct= 0x0612

;CheckSuccess=20

;MessageEndpoint=0x04
;MessageContent="5553424312345678000000000000061b00 0000020000000000000000000000"


But after reboot no luck. Files were replaced/overwritten.
What else can I do to make that nokia working ?

I also found over the web, that it is possible to edit /lib/udev/rules.d/40-usb_modeswitch.rules

To add such thing:
# Nokia CS-19
ATTRS{idVendor}=="0421", ATTRS{idProduct}=="062c", RUN+="usb_modeswitch '%b/%k'"

But in ZS by this way (/lib/udev/rules.d/) no such file.

The similar I found was /etc/udev/rules.d/50-udev.rules. But probably it was wrong file.

Respectfully,
abahaba
Back to top
View user's profile Send private message
abahaba



Joined: 19 Apr 2010
Posts: 5

PostPosted: Thu May 05, 2011 2:32 pm    Post subject: NOKIA Internet stick CS-19 Reply with quote

Sucseed,

Nokia is working - dialing and connecting ...

Thanks to [b]ppalias[/b] advises in some forum posts here (for example: http://www.zeroshell.net/eng/forum/viewtopic.php?t=2579)

all I did can be described in two steps (Of course ZS was installed before):

1) I wrote in STARTUP/CRON in PRE BOOT:
usb_modeswitch -v 0421 -p 062c -V 0421 -P 0612 -m 01 -M 5553424312345678000000000000061b000000020000000000000000000000

A test result was such:

* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.4 (C) Josua Dietze 2008
* Works with libusb 0.1.12 and probably other versions

Looking for target devices
No target device found
Looking for default devices
Found default devices (1)
Prepare switching, accessing latest device
Looking for active default driver to detach it
OK, driver found ("usb-storage")
OK, Driver "usb-storage" successfully detached
Setting up communication with device
Trying to send the message
OK, message successfully sent.
-> See /proc/bus/usb/devices (or call lsusb) for changes. Bye

[Pre Boot]: SUCCESS


2) I wrote in STARTUP/CRON in POST BOOT:

comgt -d /udev/ttyACM1

A test result was such:

SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "XXXXXX",0
Signal Quality: 14,0

[Post Boot]: SUCCESS



Now I'm testing the speed with a such signal quality Wink
Back to top
View user's profile Send private message
abahaba



Joined: 19 Apr 2010
Posts: 5

PostPosted: Sat May 07, 2011 11:47 am    Post subject: Bug fix on startup Reply with quote

It is better all these scripts place in Post Boot.

So on startup all will be perfect.
Back to top
View user's profile Send private message
smart



Joined: 03 Jul 2013
Posts: 5

PostPosted: Wed Jul 03, 2013 10:09 am    Post subject: Re: Bug fix on startup Reply with quote

abahaba wrote:
It is better all these scripts place in Post Boot.

So on startup all will be perfect.


Yeah! Its true
Back to top
View user's profile Send private message
monteeman



Joined: 01 Jan 2014
Posts: 2

PostPosted: Wed Jan 01, 2014 9:20 am    Post subject: Reply with quote

I have bookmarked this and will return soon more about it thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Linux and Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group