Re: udev doesn't recognize my gsm dongle



Hello Dan,

I took some time to try what you asked me.

Just to sum up.
I use NetworkManager 7 to connect my GSM dongle. When I launch NetworkManager nm-system-settings and modem-manager I got those messages when I plug my device :

** Message: (ttyUSB1) opening serial device...
NetworkManager: <info>  (ttyUSB1): ignoring due to lack of mobile broadband capabilties
** (modem-manager:920): DEBUG: (ttyUSB1): probe requested by plugin 'Generic'
** (modem-manager:920): DEBUG: (ttyUSB1): --> 'AT+GCAP<CR>'
** (modem-manager:920): DEBUG: (ttyUSB1): <-- 'AT+GCAP<CR><LF>^BOOT:35596450,0,0,0,31<CR><LF><CR><CR><LF>+GCAP: +CGSM,+FCLASS,+DS<CR><LF><CR><LF>OK<CR><LF>'
** Message: (ttyUSB1) closing serial device...
** Message: Modem creation best plugin : Generic subsys : tty name : ttyUSB1
** Message: devfile hand made /sys/devices/platform/ehci-omap.0/usb1/1-1/1-1:1.0/tty/ttyUSB0
** Message: sysfs_path /sys/devices/platform/ehci-omap.0/usb1/1-1
** Message: (Generic): GSM modem /sys/devices/platform/ehci-omap.0/usb1/1-1 claimed port ttyUSB1
** (modem-manager:920): DEBUG: Added modem /sys/devices/platform/ehci-omap.0/usb1/1-1
** (modem-manager:920): DEBUG: Exported modem /sys/devices/platform/ehci-omap.0/usb1/1-1 as /org/freedesktop/ModemManager/Modems/0
** Message: (ttyUSB0) opening serial device...
NetworkManager: <info>  (ttyUSB0): found serial port (udev:  hal:GSM)
NetworkManager: <info>  (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties
** (modem-manager:920): DEBUG: (ttyUSB0): probe requested by plugin 'Generic'
** (modem-manager:920): DEBUG: (ttyUSB0): --> 'AT+GCAP<CR>'
** (modem-manager:920): DEBUG: (ttyUSB0): <-- 'AT+GCAP<CR><CR><LF>+GCAP: +CGSM,+FCLASS,+DS<CR><LF><CR><LF>OK<CR><LF>'
** Message: (ttyUSB0) closing serial device...
** Message: Modem creation best plugin : Generic subsys : tty name : ttyUSB0
** Message: devfile hand made /sys/devices/platform/ehci-omap.0/usb1/1-1/1-1:1.0/tty/ttyUSB0
** Message: sysfs_path /sys/devices/platform/ehci-omap.0/usb1/1-1
** Message: (Generic): GSM modem /sys/devices/platform/ehci-omap.0/usb1/1-1 claimed port ttyUSB0



I changed the lines as you asked me too and there are the logs :
root igep:~# cat /tmp/probe.log

**** Started: Sat Jan  1 00:02:17 2000

L: (946684937.825225) main(): (/dev/.tmp-char-188:1): usb-vid 0x12d1  usb-pid 0x1003  usb-intf 1  driver 'option'
L: (946684937.825347) main(): (/dev/.tmp-char-188:1) ignoring Huawei USB interface #1

**** Started: Sat Jan  1 00:02:17 2000

L: (946684937.763397) main(): (/dev/.tmp-char-188:0): usb-vid 0x12d1  usb-pid 0x1003  usb-intf 0  driver 'option'
L: (946684937.763580) main(): waiting 1000 ms before probing
L: (946684938.763946) main(): probing /dev/.tmp-char-188:0
': (946684939.270904) modem_send_command(): Sending: 'AT+GCAP
L: (946684939.278442) modem_wait_reply(): Got: 'AT+GC'
L: (946684939.279968) modem_wait_reply(): Got: 'AT+GCA'
': (946684939.281310) modem_wait_reply(): Got: 'AT+GCAP
L: (946684939.282653) modem_wait_reply(): Got: 'AT+GCAP
+GCAP: +CGSM,+FCLASS,+DS

OK
'
L: (946684939.282745) modem_probe_caps(): GCAP response: +GCAP: +CGSM,+FCLASS,+DS
L: (946684939.285674) main(): /dev/.tmp-char-188:0: caps (0x29) GSM   time: 521ms


I don't see any problem there. When I use the nm-tool command no device is seen.
I got it working modifying the LIB_UDEV flag. But it only works when I plug my device when the board has done all its init.
So if I let it plugged at boot it is not recognized and I can use it.

Thanks for your input !




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