You are not logged in.

#1 2009-11-10 11:49:42

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,923
Website

[solved] Problems with USB modem (ZTE MF636)

I've got a 3G modem identified by lsusb:

Bus 001 Device 004: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636

The stick is also acting like a storage, holding the win/mac install programs.

My problem is that at system start, the kernel recognizes it only as storage but not as modem:

root@HomeC /h/frank# ls -l /dev/sr*                                                                                   
brw-rw----+ 1 root optical 11, 0 2009-11-10 12:17 /dev/sr0                                                           
brw-rw----+ 1 root optical 11, 1 2009-11-10 12:17 /dev/sr1                                                           

But when I click on the unmount arrow in KDE4 Device Notifier plasmoid, the system immediately recognizes the stick as modem, making it perfectly usable by wvdial:

root@HomeC /h/frank# ls -l /dev/sr*
brw-rw----+ 1 root optical 11, 0 2009-11-10 12:17 /dev/sr0

root@HomeC /h/frank# ls -l /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0 2009-11-10 12:27 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1 2009-11-10 12:27 /dev/ttyUSB1
crw-rw---- 1 root uucp 188, 2 2009-11-10 12:28 /dev/ttyUSB2

The sr1 entry disappears, and the ttyUSB* entries appear.

I am looking for a method to automatically prevent the sr1 to appear, as it seems to be the solution. Udev rules don't help here IMO, as the device is already recognized by the kernel.
Or how can I emulate the behaviour of the device notifier plasmoid in a script? umount doesnt help, as the device is not mounted.
Any help much appreciated.

Last edited by SanskritFritz (2010-05-18 12:15:57)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#2 2009-11-10 15:52:32

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,923
Website

Re: [solved] Problems with USB modem (ZTE MF636)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB