Re: Alcatel x060s - incorrect port



Dan,

I use NM version 0.8 that comes with kubuntu lucid.

ATTRS{idProduct}=="0000", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_LONGCHEER_PORT_TYPE_MODEM}="1"

is presented in 77-mm-longcheer-port-types.rules, but NM still tries to use ttyUSB1 and fails with 'Did not receive a reply' error.

Thanks.

Dan Williams wrote:
On Tue, 2010-04-27 at 19:41 +0400, Andrey Alakozov wrote:
Hello,

I have just the same problem as described here - http://www.mail-archive.com/networkmanager-list gnome org/msg14493.html
with Alcatel x060s: three devices (ttyUSB[0-2]), only ttyUSB2 works OK

If I do link -f ttyUSB2 ttyUSB0 ; link -f ttyUSB2 ttyUSB0 - everything works fine.

# lsusb
...
Bus 001 Device 014: ID 1bbb:0000 T & A Mobile Phones
...

# cd -P /sys/class/tty/ttyUSB2
# pwd
/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.3/1-1.3:1.3/ttyUSB2/tty/ttyUSB2

How to update 77-mm-zte-port-types.rules ?

You don't want ZTE rules, you want 77-mm-longcheer-port-types.rules.
And I'm pretty sure your device is already listed there.  What version
of ModemManager are you running?

http://cgit.freedesktop.org/ModemManager/ModemManager/tree/plugins/77-mm-longcheer-port-types.rules

See the bottom of that file for your device:

ATTRS{idProduct}=="0000", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_LONGCHEER_PORT_TYPE_MODEM}="1"

Dan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]