Re: modem manager choose incorrect port for onda mt503hsa



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. 
Device Descriptor:                                         
  bLength                18                                
  bDescriptorType         1                                
  bcdUSB               2.00                                
  bDeviceClass            0 (Defined at Interface level)   
  bDeviceSubClass         0                                
  bDeviceProtocol         0                                
  bMaxPacketSize0        64                                
  idVendor           0x19d2 ONDA Communication S.p.A.      
  idProduct          0x0037                                
  bcdDevice            0.00                                
  iManufacturer           3 ONDA,Incorporated              
  iProduct                2 ONDA CDMA Technologies MSM     
  iSerial                 4 1234567890ABCDEF               
  bNumConfigurations      1                                
  Configuration Descriptor:                                
    bLength                 9                              
    bDescriptorType         2                              
    wTotalLength          138                              
    bNumInterfaces          5                              
    bConfigurationValue     1                              
    iConfiguration          1 ZTE Configuration            
    bmAttributes         0xe0                              
      Self Powered                                         
      Remote Wakeup                                        
    MaxPower              500mA                            
    Interface Descriptor:                                  
      bLength                 9                            
      bDescriptorType         4                            
      bInterfaceNumber        0                            
      bAlternateSetting       0                            
      bNumEndpoints           2                            
      bInterfaceClass       255 Vendor Specific Class      
      bInterfaceSubClass    255 Vendor Specific Subclass   
      bInterfaceProtocol    255 Vendor Specific Protocol   
      iInterface              0                            
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x81  EP 1 IN                 
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval              32                          
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x01  EP 1 OUT                
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval              32                          
    Interface Descriptor:                                  
      bLength                 9                            
      bDescriptorType         4                            
      bInterfaceNumber        1                            
      bAlternateSetting       0                            
      bNumEndpoints           2                            
      bInterfaceClass       255 Vendor Specific Class      
      bInterfaceSubClass    255 Vendor Specific Subclass   
      bInterfaceProtocol    255 Vendor Specific Protocol   
      iInterface              0                            
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x82  EP 2 IN                 
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval              32                          
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x02  EP 2 OUT                
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval              32                          
    Interface Descriptor:                                  
      bLength                 9                            
      bDescriptorType         4                            
      bInterfaceNumber        2                            
      bAlternateSetting       0                            
      bNumEndpoints           2                            
      bInterfaceClass         8 Mass Storage               
      bInterfaceSubClass      6 SCSI                       
      bInterfaceProtocol     80 Bulk (Zip)                 
      iInterface              0                            
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x03  EP 3 OUT                
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval               0                          
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x83  EP 3 IN                 
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval               0                          
    Interface Descriptor:                                  
      bLength                 9                            
      bDescriptorType         4                            
      bInterfaceNumber        3                            
      bAlternateSetting       0                            
      bNumEndpoints           3                            
      bInterfaceClass       255 Vendor Specific Class      
      bInterfaceSubClass    255 Vendor Specific Subclass   
      bInterfaceProtocol    255 Vendor Specific Protocol   
      iInterface              0                            
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x84  EP 4 IN                 
        bmAttributes            3                          
          Transfer Type            Interrupt               
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0040  1x 64 bytes             
        bInterval               5                          
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5                          
        bEndpointAddress     0x85  EP 5 IN                 
        bmAttributes            2                          
          Transfer Type            Bulk                    
          Synch Type               None                    
          Usage Type               Data                    
        wMaxPacketSize     0x0200  1x 512 bytes            
        bInterval              32                          
      Endpoint Descriptor:                                 
        bLength                 7                          
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)




> 
> Dan
> 
> 


-- 
Cordiali Saluti
Alessandro Bono



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