Re: Howto change port used for 3g modem?



On Tue, 2011-05-03 at 15:21 +0100, perazim portugalmail pt wrote:
> Dan,
> 
> Seems as though I was trying to build from very old source. I checked  
> out current git and built it. I had a package dependency problem with  
> the applet wanting gtk3 2.91.4 or better whereas fedora 14 has 2.90.5.  
> So I used gtk3 from fedora15 which allowed be to build it but this  
> update and all its dependencies messed up the rest of my fedora 14  
> system. Attached is the system log messages I receive now when  
> plugging the modem in.
> 
> The modem is from Orange with brand Alcatel. Inside back cover it  
> says: TCT mobile   X220D-2DRGIL1

Ok, so it really is an X220.  There's a plugin for that already, the
"x22x" plugin, which was added on Wed Sep 22 2010.  I think what's going
on here though is that the Longcheer plugin (which supports the Alcatel
X030s and X060s) needs to be more careful about what modems it tries to
grab.  I'll fix that up in git, and then I'd expect your device to be
handled by the "x22x" plugin.

Dan

> You will see the Product and Vendor IDs in the log before and after  
> modeswitch.
> 
> I notice now that there are two lines in the log tagged with  
> "Longcheer" which I think is another type of modem - it is listed in  
> the plugins. At this point I am not sure it is being correctly  
> detected but I can connect using wvdial on ttyUSB4.
> 
> I will now try and get you the windows driver files.
> 
> Thanks for help.
> 
> Perazim
> 
> May  3 16:58:23 travelmate kernel: [114816.488048] usb 2-1: new high  
> speed USB device using ehci_hcd and address 17
> May  3 16:58:24 travelmate kernel: [114816.604820] usb 2-1: New USB  
> device found, idVendor=1bbb, idProduct=f000
> May  3 16:58:24 travelmate kernel: [114816.604826] usb 2-1: New USB  
> device strings: Mfr=3, Product=2, SerialNumber=4
> May  3 16:58:24 travelmate kernel: [114816.604829] usb 2-1: Product:  
> HSPA Data Card
> May  3 16:58:24 travelmate kernel: [114816.604831] usb 2-1:  
> Manufacturer: USBModem
> May  3 16:58:24 travelmate kernel: [114816.604834] usb 2-1:  
> SerialNumber: 1234567890ABCDEF
> May  3 16:58:24 travelmate kernel: [114816.633179] scsi13 :  
> usb-storage 2-1:1.0
> May  3 16:58:24 travelmate usb_modeswitch: switching 1bbb:f000  
> (USBModem: HSPA Data Card)
> May  3 16:58:24 travelmate kernel: [114817.531273] usb 2-1: USB  
> disconnect, address 17
> May  3 16:58:25 travelmate kernel: [114817.842053] usb 2-1: new high  
> speed USB device using ehci_hcd and address 18
> May  3 16:58:25 travelmate kernel: [114817.959065] usb 2-1: New USB  
> device found, idVendor=1bbb, idProduct=0017
> May  3 16:58:25 travelmate kernel: [114817.959070] usb 2-1: New USB  
> device strings: Mfr=3, Product=2, SerialNumber=4
> May  3 16:58:25 travelmate kernel: [114817.959073] usb 2-1: Product:  
> HSPA Data Card
> May  3 16:58:25 travelmate kernel: [114817.959076] usb 2-1:  
> Manufacturer: USBModem
> May  3 16:58:25 travelmate kernel: [114817.959078] usb 2-1:  
> SerialNumber: 1234567890ABCDEF
> May  3 16:58:25 travelmate kernel: [114817.962067] option 2-1:1.0: GSM  
> modem (1-port) converter detected
> May  3 16:58:25 travelmate kernel: [114817.962235] usb 2-1: GSM modem  
> (1-port) converter now attached to ttyUSB0
> May  3 16:58:25 travelmate kernel: [114817.962344] option 2-1:1.1: GSM  
> modem (1-port) converter detected
> May  3 16:58:25 travelmate kernel: [114817.962456] usb 2-1: GSM modem  
> (1-port) converter now attached to ttyUSB1
> May  3 16:58:25 travelmate kernel: [114817.962562] option 2-1:1.2: GSM  
> modem (1-port) converter detected
> May  3 16:58:25 travelmate kernel: [114817.962668] usb 2-1: GSM modem  
> (1-port) converter now attached to ttyUSB2
> May  3 16:58:25 travelmate kernel: [114817.962774] option 2-1:1.3: GSM  
> modem (1-port) converter detected
> May  3 16:58:25 travelmate kernel: [114817.962873] usb 2-1: GSM modem  
> (1-port) converter now attached to ttyUSB3
> May  3 16:58:25 travelmate kernel: [114817.965974] scsi14 :  
> usb-storage 2-1:1.4
> May  3 16:58:25 travelmate kernel: [114817.966484] option 2-1:1.5: GSM  
> modem (1-port) converter detected
> May  3 16:58:25 travelmate kernel: [114817.966693] usb 2-1: GSM modem  
> (1-port) converter now attached to ttyUSB4
> May  3 16:58:25 travelmate modem-manager: (ttyUSB1) opening serial device...
> May  3 16:58:25 travelmate modem-manager: (ttyUSB3) opening serial device...
> May  3 16:58:25 travelmate modem-manager: (ttyUSB2) opening serial device...
> May  3 16:58:25 travelmate modem-manager: (ttyUSB4) opening serial device...
> May  3 16:58:25 travelmate modem-manager: (ttyUSB0) opening serial device...
> May  3 16:58:26 travelmate usb_modeswitch: switched to 1bbb:0017  
> (USBModem: HSPA Data Card)
> May  3 16:58:26 travelmate kernel: [114818.984732] scsi 14:0:0:0:  
> Direct-Access     ALCATEL  Mass Storage     2.31 PQ: 0 ANSI: 2
> May  3 16:58:26 travelmate kernel: [114818.988811] sd 14:0:0:0:  
> Attached scsi generic sg4 type 0
> May  3 16:58:26 travelmate kernel: [114819.006841] sd 14:0:0:0: [sdd]  
> Attached SCSI removable disk
> May  3 16:58:41 travelmate modem-manager: (ttyUSB3) closing serial device...
> May  3 16:58:41 travelmate modem-manager: (ttyUSB4) closing serial device...
> May  3 16:58:44 travelmate modem-manager: (ttyUSB3) opening serial device...
> May  3 16:58:44 travelmate modem-manager: (Longcheer): GSM modem  
> /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1 claimed port ttyUSB3
> May  3 16:58:44 travelmate modem-manager: (Longcheer): GSM modem  
> /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1 claimed port ttyUSB4
> May  3 16:58:52 travelmate modem-manager: (ttyUSB1) closing serial device...
> May  3 16:59:22 travelmate modem-manager: (ttyUSB1) opening serial device...
> May  3 16:59:25 travelmate modem-manager: (ttyUSB3) closing serial device...
> May  3 16:59:25 travelmate modem-manager: (ttyUSB2) closing serial device...
> May  3 16:59:25 travelmate modem-manager: (ttyUSB2) opening serial device...
> May  3 16:59:28 travelmate modem-manager: (ttyUSB0) closing serial device...
> May  3 17:00:02 travelmate modem-manager: (ttyUSB1) closing serial device...
> May  3 17:00:32 travelmate modem-manager: (ttyUSB2) closing serial device...
> May  3 17:00:32 travelmate NetworkManager[1627]: <warn> (ttyUSB3):  
> failed to look up interface index
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3): new  
> GSM/UMTS device (driver: 'option1' ifindex: -1)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> exported as /org/freedesktop/NetworkManager/Devices/2
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3): now managed
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 10 -> 20 (reason 2)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> deactivating device (reason: 2).
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 20 -> 30 (reason 0)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) starting connection 'Orange 3G Internet 1'
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 30 -> 40 (reason 0)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) scheduled...
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) started...
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) complete.
> May  3 17:00:32 travelmate modem-manager: (ttyUSB3) opening serial device...
> May  3 17:00:32 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (disabled ->  
> enabling)
> May  3 17:00:32 travelmate modem-manager: (ttyUSB4) opening serial device...
> May  3 17:00:32 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (enabling ->  
> enabled)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> WWAN now  
> enabled by management service
> May  3 17:00:32 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (enabled ->  
> registered)
> May  3 17:00:32 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (registered ->  
> connecting)
> May  3 17:00:32 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (connecting ->  
> connected)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 2 of 5 (Device Configure) scheduled...
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 2 of 5 (Device Configure) starting...
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 40 -> 50 (reason 0)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 2 of 5 (Device Configure) successful.
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 3 of 5 (IP Configure Start) scheduled.
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 2 of 5 (Device Configure) complete.
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 3 of 5 (IP Configure Start) started...
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 50 -> 70 (reason 0)
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> starting PPP  
> connection
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> pppd started  
> with pid 1818
> May  3 17:00:32 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 3 of 5 (IP Configure Start) complete.
> May  3 17:00:32 travelmate pppd[1818]: Plugin  
> /usr/lib/pppd/2.4.5/nm-pppd-plugin.so loaded.
> May  3 17:00:32 travelmate pppd[1818]: pppd 2.4.5 started by yossi, uid 0
> May  3 17:00:32 travelmate pppd[1818]: Removed stale lock on ttyUSB3  
> (pid 24337)
> May  3 17:00:32 travelmate pppd[1818]: Using interface ppp0
> May  3 17:00:32 travelmate pppd[1818]: Connect: ppp0 <--> /dev/ttyUSB3
> May  3 17:00:32 travelmate NetworkManager[1627]: <warn>  
> /sys/devices/virtual/net/ppp0: couldn't determine device driver;  
> ignoring...
> May  3 17:00:53 travelmate NetworkManager[1627]: <warn> pppd timed out  
> or didn't initialize our dbus module
> May  3 17:00:53 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 70 -> 120 (reason 5)
> May  3 17:00:53 travelmate NetworkManager[1627]: <warn> Activation  
> (ttyUSB3) failed.
> May  3 17:00:53 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 120 -> 30 (reason 0)
> May  3 17:00:53 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> deactivating device (reason: 0).
> May  3 17:00:53 travelmate pppd[1818]: Terminating on signal 15
> May  3 17:00:53 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (connected ->  
> disconnecting)
> May  3 17:00:53 travelmate NetworkManager[1627]: <info> Policy set  
> 'System eth0' (eth0) as default for IPv4 routing and DNS.
> May  3 17:00:53 travelmate NetworkManager[1627]: <info> Policy set  
> 'System eth0' (eth0) as default for IPv4 routing and DNS.
> May  3 17:00:53 travelmate dbus: [system] Rejected send message, 1  
> matched rules; type="error", sender=":1.223" (uid=0 pid=1627  
> comm="NetworkManager) interface="(unset)" member="(unset)" error  
> name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0  
> destination=":1.238" (uid=0 pid=1818 comm="/usr/sbin/pppd))
> May  3 17:00:54 travelmate modem-manager: Modem  
> /org/freedesktop/ModemManager/Modems/2: state changed (disconnecting  
> -> registered)
> May  3 17:00:55 travelmate avahi-daemon[9139]: Withdrawing workstation  
> service for ppp0.
> May  3 17:00:56 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) starting connection 'Orange 3G Internet 1'
> May  3 17:00:56 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 30 -> 40 (reason 0)
> May  3 17:00:56 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) scheduled...
> May  3 17:00:56 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) started...
> May  3 17:00:56 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) complete.
> May  3 17:01:02 travelmate NetworkManager[1627]: <warn> GSM connection  
> failed: (32) Sending command failed: 'Resource temporarily unavailable'
> May  3 17:01:02 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 40 -> 120 (reason 1)
> May  3 17:01:02 travelmate NetworkManager[1627]: <warn> Activation  
> (ttyUSB3) failed.
> May  3 17:01:02 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 120 -> 30 (reason 0)
> May  3 17:01:02 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> deactivating device (reason: 0).
> May  3 17:01:02 travelmate NetworkManager[1627]: <info> Policy set  
> 'System eth0' (eth0) as default for IPv4 routing and DNS.
> May  3 17:01:02 travelmate NetworkManager[1627]: <info> Policy set  
> 'System eth0' (eth0) as default for IPv4 routing and DNS.
> May  3 17:01:06 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) starting connection 'Orange 3G Internet 1'
> May  3 17:01:06 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 30 -> 40 (reason 0)
> May  3 17:01:06 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) scheduled...
> May  3 17:01:06 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) started...
> May  3 17:01:06 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) Stage 1 of 5 (Device Prepare) complete.
> May  3 17:01:16 travelmate NetworkManager[1627]: <warn> GSM connection  
> failed: (32) Sending command failed: 'Resource temporarily unavailable'
> May  3 17:01:16 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 40 -> 120 (reason 1)
> May  3 17:01:16 travelmate NetworkManager[1627]: <warn> Activation  
> (ttyUSB3) failed.
> May  3 17:01:16 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 120 -> 30 (reason 0)
> May  3 17:01:16 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> deactivating device (reason: 0).
> May  3 17:01:16 travelmate NetworkManager[1627]: <info> Policy set  
> 'System eth0' (eth0) as default for IPv4 routing and DNS.
> May  3 17:01:16 travelmate NetworkManager[1627]: <info> Policy set  
> 'System eth0' (eth0) as default for IPv4 routing and DNS.
> May  3 17:01:19 travelmate NetworkManager[1627]: <info> Activation  
> (ttyUSB3) starting connection 'Orange 3G Internet 1'
> May  3 17:01:19 travelmate NetworkManager[1627]: <info> (ttyUSB3):  
> device state change: 30 -> 40 (reason 0)
> 
> 
> 
> ________________________________________________________________________________
> O email é um dos seus instrumentos de trabalho?
> http://www.portugalmail.net/profissional
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




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