Re: Howto change port used for 3g modem?

2011-07-12 Thread perazim

Dan,

Although the 2.6.37 kernel works as advertised, it doesnn't work on my
Fedora 14 systems. There are a number of side effects introduced having
nothing to do with mm.

I have tried without success to patch the 2.6.35 Fedora 14 kernel with the
patch you wrote for the time-out problem.

Can you add this patch to the 2.6.35 Fedora 14 kernel? As I remember
when we started this discussion months ago you indicated this was possible.

Thanks,

Perazim

On Thu, 2011-05-12 at 21:29 +0100, pera...@portugalmail.pt wrote:

Dan,

Attached are the messages log and the modem-manager log for the Alcatel X220.

Let me know if you need any other info or to test anything.


These logs indicate a kernel bug, with a 30 second hang when closing a
serial port.  I submitted a patch to the kernel to fix this issue which
was accepted for the 2.6.37 kernel:

commit 02303f73373aa1da19dbec510ec5a4e2576f9610
Author: Dan Williams d...@redhat.com
Date:   Fri Nov 19 16:04:00 2010 -0600

usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2)

Some devices (ex ZTE 2726) simply don't respond at all when data is sent
to some of their USB interfaces.  The data gets stuck in the TTYs queue
and sits there until close(2), which them blocks because closing_wait
defaults to 30 seconds (even though the fd is O_NONBLOCK).  This is
rarely desired.  Implement the standard mechanism to adjust closing_wait
and let applications handle it how they want to.

Signed-off-by: Dan Williams d...@redhat.com

and the ModemManager snapshot you have should have the support necessary
here.  What kernel version are you running?

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Howto change port used for 3g modem?

2011-05-23 Thread perazim

Dan,

I need to get the updated mm along with the most recent nm into my  
fedora 14 repositories used to build a custom spin.


I have packaged the mm after applying the patches and this works OK.

When I pulled the most recent nm from fedora 15, it doesn't install  
because of a lot of missing newer packages due to fedora 14 being too  
old.


How do I obtain the most up-to-date nm that will still run on fedora 14?

Thanks

Perazim


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


Re: Howto change port used for 3g modem?

2011-05-19 Thread Dan Williams
On Thu, 2011-05-12 at 21:29 +0100, pera...@portugalmail.pt wrote:
 Dan,
 
 Attached are the messages log and the modem-manager log for the Alcatel X220.
 
 Let me know if you need any other info or to test anything.

These logs indicate a kernel bug, with a 30 second hang when closing a
serial port.  I submitted a patch to the kernel to fix this issue which
was accepted for the 2.6.37 kernel:

commit 02303f73373aa1da19dbec510ec5a4e2576f9610
Author: Dan Williams d...@redhat.com
Date:   Fri Nov 19 16:04:00 2010 -0600

usb-wwan: implement TIOCGSERIAL and TIOCSSERIAL to avoid blocking close(2)

Some devices (ex ZTE 2726) simply don't respond at all when data is sent
to some of their USB interfaces.  The data gets stuck in the TTYs queue
and sits there until close(2), which them blocks because closing_wait
defaults to 30 seconds (even though the fd is O_NONBLOCK).  This is
rarely desired.  Implement the standard mechanism to adjust closing_wait
and let applications handle it how they want to.

Signed-off-by: Dan Williams d...@redhat.com

and the ModemManager snapshot you have should have the support necessary
here.  What kernel version are you running?

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Howto change port used for 3g modem?

2011-05-11 Thread Dan Williams
On Tue, 2011-05-10 at 09:29 +0100, pera...@portugalmail.pt wrote:
 Dan,
 
 mm now detects the Alcatel X220D and uses the X22X plugin and things now work.
 
 I have some follow-up questions:
 
 1) Why does it take 2 minutes 40 seconds from plugin of modem till I  
 get a connection to the service provider?
 Looking at the logs (see below) shows mm cycling through the ports  
 several times.

Detailed modem-manager logs (using --debug) would help figure that out,
since it will include detailed timing information and show exactly
what's going on during the detection process.

 2) Does mm interact in any way with usb_modeswitch or use any of its  
 config files? I notice
 that usb_modeswitch (1.1.17) does not have an entry for this model of  
 Alcatel where it
 explicitly defines the target product as 0x0017.

No, it doesn't interact with usb_modeswitch, but it does require that
usb_modeswitch have already run, otherwise the modem won't have been
flipped to modem mode, and there wont' be any serial ports for
modem-manager to use.

 3) When would this update be pushed to fedora 14 rpm repositories?  
 Would this also include nm as well?
 I ask because I package a customized version of fedora 14 that I  
 compose from rpms. The current mm
 in fedora 14 is ModemManager-0.4-4.git20100720.fc14.i686.

I was thinking of pushing some of the MM 0.5 release candidates to F14,
at least in the updates-testing repository, and certainly the MM 0.5
final release.  That would happen soon.

Dan

 Thanks for the help.
 
 Perazim
 
 
 
 May 10 11:09:39 travelmate kernel: [175074.936847] usb 2-1: new high  
 speed USB device using ehci_hcd and address 20
 May 10 11:09:39 travelmate kernel: [175075.053777] usb 2-1: New USB  
 device found, idVendor=1bbb, idProduct=f000
 May 10 11:09:39 travelmate kernel: [175075.053782] usb 2-1: New USB  
 device strings: Mfr=3, Product=2, SerialNumber=4
 May 10 11:09:39 travelmate kernel: [175075.053785] usb 2-1: Product:  
 HSPA Data Card
 May 10 11:09:39 travelmate kernel: [175075.053788] usb 2-1:  
 Manufacturer: USBModem
 May 10 11:09:39 travelmate kernel: [175075.053790] usb 2-1:  
 SerialNumber: 1234567890ABCDEF
 May 10 11:09:39 travelmate kernel: [175075.056585] scsi21 :  
 usb-storage 2-1:1.0
 May 10 11:09:40 travelmate usb_modeswitch: switching 1bbb:f000  
 (USBModem: HSPA Data Card)
 May 10 11:09:40 travelmate kernel: [175075.830688] usb 2-1: USB  
 disconnect, address 20
 May 10 11:09:40 travelmate kernel: [175076.140041] usb 2-1: new high  
 speed USB device using ehci_hcd and address 21
 May 10 11:09:40 travelmate kernel: [175076.257535] usb 2-1: New USB  
 device found, idVendor=1bbb, idProduct=0017
 May 10 11:09:40 travelmate kernel: [175076.257540] usb 2-1: New USB  
 device strings: Mfr=3, Product=2, SerialNumber=4
 May 10 11:09:40 travelmate kernel: [175076.257543] usb 2-1: Product:  
 HSPA Data Card
 May 10 11:09:40 travelmate kernel: [175076.257546] usb 2-1:  
 Manufacturer: USBModem
 May 10 11:09:40 travelmate kernel: [175076.257548] usb 2-1:  
 SerialNumber: 1234567890ABCDEF
 May 10 11:09:40 travelmate kernel: [175076.259898] option 2-1:1.0: GSM  
 modem (1-port) converter detected
 May 10 11:09:40 travelmate kernel: [175076.260113] usb 2-1: GSM modem  
 (1-port) converter now attached to ttyUSB0
 May 10 11:09:40 travelmate kernel: [175076.260228] option 2-1:1.1: GSM  
 modem (1-port) converter detected
 May 10 11:09:40 travelmate kernel: [175076.260334] usb 2-1: GSM modem  
 (1-port) converter now attached to ttyUSB1
 May 10 11:09:40 travelmate kernel: [175076.260442] option 2-1:1.2: GSM  
 modem (1-port) converter detected
 May 10 11:09:40 travelmate kernel: [175076.260541] usb 2-1: GSM modem  
 (1-port) converter now attached to ttyUSB2
 May 10 11:09:40 travelmate kernel: [175076.260645] option 2-1:1.3: GSM  
 modem (1-port) converter detected
 May 10 11:09:40 travelmate kernel: [175076.260744] usb 2-1: GSM modem  
 (1-port) converter now attached to ttyUSB4
 May 10 11:09:40 travelmate kernel: [175076.271044] scsi22 :  
 usb-storage 2-1:1.4
 May 10 11:09:40 travelmate kernel: [175076.274210] option 2-1:1.5: GSM  
 modem (1-port) converter detected
 May 10 11:09:40 travelmate kernel: [175076.274425] usb 2-1: GSM modem  
 (1-port) converter now attached to ttyUSB5
 May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB2)  
 opening serial port...
 May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB1)  
 opening serial port...
 May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB5)  
 opening serial port...
 May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB4)  
 opening serial port...
 May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB0)  
 opening serial port...
 May 10 11:09:41 travelmate usb_modeswitch: switched to 1bbb:0017  
 (USBModem: HSPA Data Card)
 May 10 11:09:41 travelmate kernel: [175077.294173] scsi 22:0:0:0:  
 Direct-Access ALCATEL  Mass Storage 2.31 PQ: 0 ANSI: 2
 May 10 11:09:41 travelmate kernel: 

Re: Howto change port used for 3g modem?

2011-05-10 Thread perazim

Dan,

mm now detects the Alcatel X220D and uses the X22X plugin and things now work.

I have some follow-up questions:

1) Why does it take 2 minutes 40 seconds from plugin of modem till I  
get a connection to the service provider?
Looking at the logs (see below) shows mm cycling through the ports  
several times.


2) Does mm interact in any way with usb_modeswitch or use any of its  
config files? I notice
that usb_modeswitch (1.1.17) does not have an entry for this model of  
Alcatel where it

explicitly defines the target product as 0x0017.

3) When would this update be pushed to fedora 14 rpm repositories?  
Would this also include nm as well?
I ask because I package a customized version of fedora 14 that I  
compose from rpms. The current mm

in fedora 14 is ModemManager-0.4-4.git20100720.fc14.i686.

Thanks for the help.

Perazim



May 10 11:09:39 travelmate kernel: [175074.936847] usb 2-1: new high  
speed USB device using ehci_hcd and address 20
May 10 11:09:39 travelmate kernel: [175075.053777] usb 2-1: New USB  
device found, idVendor=1bbb, idProduct=f000
May 10 11:09:39 travelmate kernel: [175075.053782] usb 2-1: New USB  
device strings: Mfr=3, Product=2, SerialNumber=4
May 10 11:09:39 travelmate kernel: [175075.053785] usb 2-1: Product:  
HSPA Data Card
May 10 11:09:39 travelmate kernel: [175075.053788] usb 2-1:  
Manufacturer: USBModem
May 10 11:09:39 travelmate kernel: [175075.053790] usb 2-1:  
SerialNumber: 1234567890ABCDEF
May 10 11:09:39 travelmate kernel: [175075.056585] scsi21 :  
usb-storage 2-1:1.0
May 10 11:09:40 travelmate usb_modeswitch: switching 1bbb:f000  
(USBModem: HSPA Data Card)
May 10 11:09:40 travelmate kernel: [175075.830688] usb 2-1: USB  
disconnect, address 20
May 10 11:09:40 travelmate kernel: [175076.140041] usb 2-1: new high  
speed USB device using ehci_hcd and address 21
May 10 11:09:40 travelmate kernel: [175076.257535] usb 2-1: New USB  
device found, idVendor=1bbb, idProduct=0017
May 10 11:09:40 travelmate kernel: [175076.257540] usb 2-1: New USB  
device strings: Mfr=3, Product=2, SerialNumber=4
May 10 11:09:40 travelmate kernel: [175076.257543] usb 2-1: Product:  
HSPA Data Card
May 10 11:09:40 travelmate kernel: [175076.257546] usb 2-1:  
Manufacturer: USBModem
May 10 11:09:40 travelmate kernel: [175076.257548] usb 2-1:  
SerialNumber: 1234567890ABCDEF
May 10 11:09:40 travelmate kernel: [175076.259898] option 2-1:1.0: GSM  
modem (1-port) converter detected
May 10 11:09:40 travelmate kernel: [175076.260113] usb 2-1: GSM modem  
(1-port) converter now attached to ttyUSB0
May 10 11:09:40 travelmate kernel: [175076.260228] option 2-1:1.1: GSM  
modem (1-port) converter detected
May 10 11:09:40 travelmate kernel: [175076.260334] usb 2-1: GSM modem  
(1-port) converter now attached to ttyUSB1
May 10 11:09:40 travelmate kernel: [175076.260442] option 2-1:1.2: GSM  
modem (1-port) converter detected
May 10 11:09:40 travelmate kernel: [175076.260541] usb 2-1: GSM modem  
(1-port) converter now attached to ttyUSB2
May 10 11:09:40 travelmate kernel: [175076.260645] option 2-1:1.3: GSM  
modem (1-port) converter detected
May 10 11:09:40 travelmate kernel: [175076.260744] usb 2-1: GSM modem  
(1-port) converter now attached to ttyUSB4
May 10 11:09:40 travelmate kernel: [175076.271044] scsi22 :  
usb-storage 2-1:1.4
May 10 11:09:40 travelmate kernel: [175076.274210] option 2-1:1.5: GSM  
modem (1-port) converter detected
May 10 11:09:40 travelmate kernel: [175076.274425] usb 2-1: GSM modem  
(1-port) converter now attached to ttyUSB5
May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB2)  
opening serial port...
May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB1)  
opening serial port...
May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB5)  
opening serial port...
May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB4)  
opening serial port...
May 10 11:09:40 travelmate modem-manager[1297]: info  (ttyUSB0)  
opening serial port...
May 10 11:09:41 travelmate usb_modeswitch: switched to 1bbb:0017  
(USBModem: HSPA Data Card)
May 10 11:09:41 travelmate kernel: [175077.294173] scsi 22:0:0:0:  
Direct-Access ALCATEL  Mass Storage 2.31 PQ: 0 ANSI: 2
May 10 11:09:41 travelmate kernel: [175077.297547] sd 22:0:0:0:  
Attached scsi generic sg4 type 0
May 10 11:09:41 travelmate kernel: [175077.315530] sd 22:0:0:0: [sdd]  
Attached SCSI removable disk
May 10 11:09:41 travelmate modem-manager[1297]: info  (ttyUSB5)  
closing serial port...
May 10 11:09:41 travelmate modem-manager[1297]: info  (ttyUSB5)  
serial port closed
May 10 11:09:41 travelmate modem-manager[1297]: info  (ttyUSB4)  
closing serial port...
May 10 11:09:41 travelmate modem-manager[1297]: info  (ttyUSB4)  
serial port closed
May 10 11:09:41 travelmate modem-manager[1297]: info  (ttyUSB5)  
opening serial port...
May 10 11:09:41 travelmate modem-manager[1297]: info  (X22X): GSM  
modem /sys/devices/pci:00/:00:1d.7/usb2/2-1 claimed port ttyUSB5
May 10 

Re: Howto change port used for 3g modem?

2011-05-09 Thread Dan Williams
On Sat, 2011-05-07 at 11:23 +0100, pera...@portugalmail.pt wrote:
 Dan,
 
 When I comment out the following line in  77-mm-longcheer-port-types.rules:
 
 #SUBSYSTEMS==usb, ATTRS{idVendor}==1bbb, GOTO=mm_tamobile_vendorcheck
 
 then I can connect with the Alcatel X220 however it is shown as a  
 Generic modem in the
 logs and not a type X22X as I would expect.

Right, it won't show as an X22X unless you have an updated ModemManager
with the new x22x plugin.

Dan

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Howto change port used for 3g modem?

2011-05-07 Thread perazim

Dan,

When I comment out the following line in  77-mm-longcheer-port-types.rules:

#SUBSYSTEMS==usb, ATTRS{idVendor}==1bbb, GOTO=mm_tamobile_vendorcheck

then I can connect with the Alcatel X220 however it is shown as a  
Generic modem in the

logs and not a type X22X as I would expect.

Perazim


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


Re: Howto change port used for 3g modem?

2011-05-06 Thread perazim

Dan,

FYI, The Fedora-14 ModemManager package is only 0.4.4git20100720.f14.

When we get the Alcatel X220 problems fixed, can you update the  
packages in both Fedora 14  15 which is due to release later this  
month?


How  do I tell when you have updated git for me to test?

Thanks,

Perazim



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



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


Re: Howto change port used for 3g modem?

2011-05-04 Thread Dan Williams
On Tue, 2011-05-03 at 15:21 +0100, pera...@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 

Re: Howto change port used for 3g modem?

2011-05-03 Thread perazim

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


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/pci:00/:00:1d.7/usb2/2-1 claimed port ttyUSB3
May  3 16:58:44 travelmate modem-manager: (Longcheer): GSM modem  
/sys/devices/pci:00/:00:1d.7/usb2/2-1 claimed port ttyUSB4

May  3 16:58:52 travelmate 

Re: Howto change port used for 3g modem?

2011-05-02 Thread Dan Williams
On Sun, 2011-05-01 at 13:52 +0100, pera...@portugalmail.pt wrote:
 I need to change the port detected and used to another port.
 
 Modem is Alcatel X220. Wrong port detected and used is ttyUSB3 and
 should be ttyUSB4.

What are the USB vendor and device IDs for your device?  The alcatel
devices are tagged with the appropriate ports, and we have to extract
those from the Windows driver .INF files to be sure, though your
assertion of port ordering could be used until we have that
confirmation.  See here:

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

for the most current list of devices with port type tags.  Is your
device listed there?  Given that each device exposes quite a few
different ports, I think we'd really want to get the Windows install
file from the fake driver CD of the device before it's mode-switched to
ensure that we get the right port tags.

Dan

 How do I change this?
 
 I have difficulty communicating with mailing list because my ISP's
 domain appears to be blacklisted.
 
 I cannot build from source because something is blocking the applet
 from building.
 
 I have tried to get an update off the fedora site but the 0.8.4
 version there identifies itself as 0.8.3.998 (packaging problem?)
 
 Perazim
 
 
 
 
 Portugalmail - O email preferido dos portugueses!
 http://www.portugalmail.pt
 
 ___
 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