Re: modem manager choose incorrect port for onda mt503hsa



On Tue, 2009-12-01 at 09:58 +0100, Alessandro Bono wrote:
> On Tue, 2009-12-01 at 00:26 -0800, Dan Williams wrote:
> > On Mon, 2009-11-30 at 09:16 +0100, Alessandro Bono wrote:
> > > On Sun, 2009-11-29 at 23:50 -0800, Dan Williams wrote:
> > > > On Fri, 2009-11-27 at 11:56 +0100, Alessandro Bono wrote:
> > > > > Hi all
> > > > > 
> > > > > I have an onda mt503hsa that worked without problem with networkmanager
> > > > > 0.7, after upgrade system to ubuntu karmic and networkmanager 0.8 +
> > > > > modem-manager I have a problem with correct port selection
> > > > > Modem manager sometimes choose incorrect port ttyUSB1 instead of ttyUSB2
> > > > > to open ppp connection, this depends on which port is probed first
> > > > > below a log with correct and incorrect port selection
> > > > 
> > > > What is the 'lsusb' output when the modem is plugged in an modeswitched?
> > > > We need to make sure the device is listed in 77-mm-zte-port-types.rules
> > > > with the correct port.  The port #s there were taken from the ZTE
> > > > windows drivers, so if this is a newer device we may need to just add
> > > > it.
> > > Hi Dan
> > > 
> > > lsusb -v log below
> > > 
> > > Bus 002 Device 008: ID 19d2:0037 ONDA Communication S.p.A. 
> > 
> > That's the value I want :)  I found the correct port tag for your device
> > and pushed to modem-manager.  Can you also do an experiment for me?  I
> > need to determine the aux port #.  I want to find out which ports
> > respond to AT commands.  Most will, one or more won't.
> > 
> > For each of the ones that *do* (use minicom or screen or whatever and
> > send "ATI" to the port), please do the following:
> > 
> > cd -P /sys/class/tty/ttyUSBx  (where of course X is the tty number)
> > pwd
> > 
> > and the 'pwd' will print out something like this:
> > 
> > /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.1/tty/ttyACM0
> > 
> > which is what I'm interested in.
> 
> port ttyUSB1 and ttyUSB2 respond to ATI
> 
> /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.1/ttyUSB1/tty/ttyUSB1
> /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-5/2-5:1.3/ttyUSB2/tty/ttyUSB2

Thanks; 0.7.x and ModemManager have been updated for your device and a
few others that I could find .INF files for.  Can you give those a shot?
In your case, grab this file and put it into /lib/udev/rules.d/:

http://cgit.freedesktop.org/ModemManager/ModemManager/plain/plugins/77-mm-zte-port-types.rules

Then unplug and replug the device and lets see where we get to.

Dan




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