When the modem is plugged into the serial port joker@jokersPc:~$ sudo udevadm info --query=property --name=/dev/ttyS0 UDEV_LOG=3 DEVPATH=/devices/pnp0/00:0b/tty/ttyS0 MAJOR=4 MINOR=64 DEVNAME=/dev/ttyS0 SUBSYSTEM=tty DEVLINKS=/dev/char/4:64
For reference this is what I see running the same command when the modem is plugged into the USB port joker@jokersPc:~$ sudo udevadm info --query=property --name=/dev/ttyUSB1 UDEV_LOG=3 DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/ttyUSB1/tty/ttyUSB1 MAJOR=188 MINOR=1 DEVNAME=/dev/ttyUSB1 SUBSYSTEM=tty ID_PORT=0 ID_PATH=pci-0000:00:1d.2-usb-0:2:1.0 ID_VENDOR=Telit_Wireless_Solutions ID_VENDOR_ENC=Telit\x20Wireless\x20Solutions ID_VENDOR_ID=1bc7 ID_MODEL=Telit_HSDPA_Wireless_Modem ID_MODEL_ENC=Telit\x20HSDPA\x20Wireless\x20Modem\x20\x20\x20\x20 ID_MODEL_ID=1003 ID_REVISION=0000 ID_SERIAL=Telit_Wireless_Solutions_Telit_HSDPA_Wireless_Modem_000000000002 ID_SERIAL_SHORT=000000000002 ID_TYPE=generic ID_BUS=usb ID_USB_INTERFACES=:ffffff: ID_USB_INTERFACE_NUM=00 ID_USB_DRIVER=option ID_IFACE=00 DEVLINKS=/dev/gsmmodem /dev/char/188:1 /dev/serial/by-path/pci-0000:00:1d.2-usb-0:2:1.0-port0 /dev/serial/by-id/usb-Telit_Wireless_Solutions_Telit_HSDPA_Wireless_Modem_000000000002-if00-port0 -----Original Message----- From: Dan Williams [mailto:d...@redhat.com] Sent: 06 April 2011 23:09 To: Andy Maginnis Cc: networkmanager-list@gnome.org Subject: RE: serial 3G modem connection On Tue, 2011-04-05 at 23:15 +0100, Andy Maginnis wrote: > Dan, thanks for the info, > > I am using 2 systems, one is Ubuntu running on a desktop PC and the other > a gumstix running an Angstrom distribution. Can you run this for me, as root? udevadm info --query=property --name=/dev/ttyS0 Dan > Is the whitelist something I can add to? > > My standard Ubuntu Machine > > Linux jokersPc 2.6.35-28-generic-pae #49-Ubuntu SMP Tue Mar 1 14:58:06 UTC > 2011 i686 GNU/Linux > Module Size Used by > ppp_deflate 3726 0 > zlib_deflate 19266 1 ppp_deflate > ppp_async 6778 1 > crc_ccitt 1351 1 ppp_async > binfmt_misc 6599 1 > parport_pc 26378 0 > ppdev 5556 0 > snd_hda_codec_via 51755 1 > snd_hda_intel 22299 2 > snd_hda_codec 87552 2 snd_hda_codec_via,snd_hda_intel > snd_hwdep 5040 1 snd_hda_codec > snd_pcm 71603 2 snd_hda_intel,snd_hda_codec > snd_seq_midi 4588 0 > snd_rawmidi 17783 1 snd_seq_midi > snd_seq_midi_event 6047 1 snd_seq_midi > snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event > snd_timer 19067 2 snd_pcm,snd_seq > snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq > snd 49038 13 > snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device > i915 296139 3 > option 13453 0 > usb_wwan 9953 1 option > drm_kms_helper 30200 1 i915 > drm 168732 3 i915,drm_kms_helper > i2c_algo_bit 5168 1 i915 > lp 7342 0 > video 18712 1 i915 > soundcore 880 1 snd > snd_page_alloc 7216 2 snd_hda_intel,snd_pcm > ftdi_sio 30070 1 > led_class 2633 0 > asus_atk0110 11423 0 > parport 31492 3 parport_pc,ppdev,lp > usbserial 33357 5 option,usb_wwan,ftdi_sio > output 1883 1 video > joydev 8767 0 > intel_agp 26926 2 i915 > agpgart 32075 2 drm,intel_agp > psmouse 59033 0 > serio_raw 4022 0 > usbhid 36978 0 > hid 67742 1 usbhid > r8169 36777 0 > mii 4425 1 r8169 > > The Gumstix > > Linux overo 2.6.32 #1 Sun Nov 21 16:22:56 GMT 2010 armv7l unknown > root@overo:~# lsmod > Module Size Used by > ppp_deflate 4044 0 > bsd_comp 5013 0 > sha1_generic 1861 0 > ppp_mppe 6104 0 > ppp_async 6731 0 > ppp_generic 17037 4 ppp_deflate,bsd_comp,ppp_mppe,ppp_async > slhc 5381 1 ppp_generic > dsplinkk 129945 4 > ipv6 225222 10 > option 15175 1 > usbserial 31694 3 option > ads7846 8695 0 > > > > > -----Original Message----- > From: Dan Williams [mailto:d...@redhat.com] > Sent: 05 April 2011 03:45 > To: Andy Maginnis > Cc: networkmanager-list@gnome.org > Subject: Re: serial 3G modem connection > > On Thu, 2011-03-31 at 22:37 +0100, Andy Maginnis wrote: > > I have a 3G Telit modem with a USB and Serial connection. The usb > > connection > > works fine with network manager, but when I try and use the serial > > connection > > I see the following in the modem manager debug output > > > > ** (modem-manager:7380): DEBUG: (tty/ttyS0): could not get port's parent > > device > > ModemManager will ignore most platform serial ports since most modems > these days are USB, and we can't really autodetect platform serial > devices. So there's a whitelist for platform serial ports. What kind > of system do you have? Can you reply with the output of "lsmod" which > might give us the kernel module that we can whitelist? > > Dan > > > The modem is attached to /dev/ttyS0 and I can get an internet connection > > using > > a manual pppd connection. It seems that my modem setting in NM are not > > valid for > > the modem when connected through the serial port. > > > > How can I get this under networkManager control? > > > > When I do run it manually I see the following output appear in the > > network/modem manager > > debug trace. > > > > NetworkManager[7393]: SCPlugin-Ifupdown: devices added (path: > > /sys/devices/virtual/net/ppp0, iface: ppp0) > > NetworkManager[7393]: SCPlugin-Ifupdown: device added (path: > > /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration > > found. > > ** (modem-manager:7380): DEBUG: (net/ppp0): could not get port's parent > > device > > NetworkManager[7393]: SCPlugin-Ifupdown: devices removed (path: > > /sys/devices/virtual/net/ppp0, iface: ppp0) > > _______________________________________________ > > networkmanager-list mailing list > > networkmanager-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/networkmanager-list > > _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list