multiple entries for mobile phone



Hi,

I own a Sony Ericsson W890i and want to use it for broadband with NM. As long as
bluetooth support is not integrated in NM (BTW: is there a roadmap?) I'm using
the USB data cable. The USB mode can be set to

- show menu
- phone mode
- media transfer
- printing
- mass storage (reboots into special mode)

With phone mode as my default NM recognizes the phone immediately and tries to
acquire an address from usb0 - this is dangerous and should be disabled by
default! If my phone's connections would be set to auto-connect, every time I
plug in the phone, it would make a costly connection to the internet and it is
not possible to set a policy in NM until the device exists. I would wish to be
prompted for something like

"
  new device 'Sony Ericcsson ...' detected. Please set connection policy
   [ ] auto connect by default
   [ ] connect now
"

Main problem is, that there are 2 cdc_acm devices and NM shows the broadband
options twice. How to fix this?

version used: 0.7~~svn20081018t105859-0ubuntu1 (official repo)

Thank you


[ 9098.056179] usb 4-2: new high speed USB device using ehci_hcd and address 5
[ 9098.215371] usb 4-2: configuration #3 chosen from 1 choice
[ 9099.257753] cdc_acm 4-2:3.1: ttyACM0: USB ACM device
[ 9099.263453] cdc_acm 4-2:3.3: ttyACM1: USB ACM device
[ 9099.265719] usbcore: registered new interface driver cdc_acm
[ 9099.266691] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems
		and ISDN adapters
[ 9099.300527] cdc_wdm 4-2:3.7: cdc-wdm0: USB WDM device
[ 9099.301908] usbcore: registered new interface driver cdc_wdm
[ 9099.349959] usb0: register 'cdc_ether' at usb-0000:00:1d.7-2, CDC Ethernet
		Device, 02:80:37:fe:02:00
[ 9099.351561] usbcore: registered new interface driver cdc_ether
[ 9100.045710] ttyS2: LSR safety check engaged!
[ 9100.757328] ttyS2: LSR safety check engaged!
[ 9115.600037] usb0: no IPv6 routers present

lshal -m
10:03:57.123: usb_device_fce_d0b3_3523820281403050 added
10:03:57.146: usb_device_fce_d0b3_3523820281403050 property info.linux.driver =
'usb' (new)
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if0 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if1 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if2 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if3 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if4 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if5 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if6 added
10:03:58.442: usb_device_fce_d0b3_3523820281403050_if7 added
10:03:58.443: usb_device_fce_d0b3_3523820281403050_if8 added
10:03:58.443: usb_device_fce_d0b3_3523820281403050_if9 added
10:03:58.570: usb_device_fce_d0b3_3523820281403050_if0_0 added
10:03:58.573: usb_device_fce_d0b3_3523820281403050_if2 property
info.linux.driver = 'cdc_acm' (new)
10:03:58.620: usb_device_fce_d0b3_3523820281403050_if1 property
info.linux.driver = 'cdc_acm' (new)
10:03:58.628: usb_device_fce_d0b3_3523820281403050_if1_serial_unknown_0 added
10:03:58.628: usb_device_fce_d0b3_3523820281403050_if3_serial_unknown_1 added
10:03:58.628: usb_device_ffffffff_ffffffff_noserial added
10:03:58.629: net_02_80_37_fe_02_00 added

Bus 004 Device 005: ID 0fce:d0b3 Sony Ericsson Mobile Communications AB 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0fce Sony Ericsson Mobile Communications AB
  idProduct          0xd0b3 
  bcdDevice            0.00
  iManufacturer           1 Sony Ericsson
  iProduct                2 Sony Ericsson W890
  iSerial                 3 3523820281403050
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          366
    bNumInterfaces         11
    bConfigurationValue     3
    iConfiguration          8 WMC Device
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass      8 Wireless Handset Control
      bInterfaceProtocol      0 
      iInterface              9 S_WHCM
      CDC Header:
        bcdCDC               1.10
      CDC WHCM:
        bcdVersion           1.00
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 2 3 4 5 6 7 8 9 10 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface             10 Sony Ericsson Device 0B3 USB WMC Modem
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        1
        bSlaveInterface         2 
      CDC Call Management:
        bmCapabilities       0x03
          call management
          use DataInterface
        bDataInterface          2
      CDC ACM:
        bmCapabilities       0x07
          sends break
          line coding and serial state
          get/set/clear comm features
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x8a  EP 10 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             11 Sony Ericsson Device 0B3 USB WMC Modem bulk data
      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               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               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface             12 Sony Ericsson Device 0B3 USB WMC Modem
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        3
        bSlaveInterface         4 
      CDC Call Management:
        bmCapabilities       0x03
          call management
          use DataInterface
        bDataInterface          4
      CDC ACM:
        bmCapabilities       0x07
          sends break
          line coding and serial state
          get/set/clear comm features
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x89  EP 9 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             13 Sony Ericsson Device 0B3 USB WMC Modem bulk data
      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        5
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass     11 OBEX
      bInterfaceProtocol      0 
      iInterface             14 Sony Ericsson Device 0B3 USB WMC OBEX Interface
      CDC Header:
        bcdCDC               1.10
      CDC OBEX:
        bcdVersion           1.00
      CDC Union:
        bMasterInterface        5
        bSlaveInterface         6 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        6
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             15 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        6
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             16 Sony Ericsson Device 0B3 USB WMC OBEX Interface bulk data
      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               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               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      9 Device Management
      bInterfaceProtocol      1 
      iInterface             17 Sony Ericsson Device 0B3 USB WMC Device Management
      CDC Header:
        bcdCDC               1.10
      CDC Device Management:
        bcdVersion           1.00
        wMaxCommand          2048
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        8
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      6 Ethernet Networking
      bInterfaceProtocol      0 
      iInterface             18 Sony Ericsson WMC ETH Comm interface
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        8
        bSlaveInterface         9 
      CDC Ethernet:
        iMacAddress                     19 028037FE0200
        bmEthernetStatistics    0x00000000
        wMaxSegmentSize               1514
        wNumberMCFilters            0x8040
        bNumberPowerFilters              1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               7
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        9
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             20 Sony Ericsson WMC ETH Data interface
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        9
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface             21 Sony Ericsson WMC ETH Bulk Data
      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               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 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        9
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol    255 Vendor specific
      iInterface             22 Sony Ericsson WMC ETH Bulk Data Wrapper
      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               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 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       10
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         6 Imaging
      bInterfaceSubClass      1 Still Image Capture
      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)
      iInterface             23 Sony Ericsson W890i
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 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     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               8
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      4
Device Status:     0x0000
  (Bus Powered)

PNG image



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