| View previous topic :: View next topic |
| Author |
Message |
abahaba
Joined: 19 Apr 2010 Posts: 5
|
Posted: Wed May 04, 2011 8:45 am Post subject: NOKIA Internet stick CS-19 |
|
|
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 |
|
 |
abahaba
Joined: 19 Apr 2010 Posts: 5
|
Posted: Thu May 05, 2011 2:32 pm Post subject: NOKIA Internet stick CS-19 |
|
|
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  |
|
| Back to top |
|
 |
abahaba
Joined: 19 Apr 2010 Posts: 5
|
Posted: Sat May 07, 2011 11:47 am Post subject: Bug fix on startup |
|
|
It is better all these scripts place in Post Boot.
So on startup all will be perfect. |
|
| Back to top |
|
 |
|
|
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
|