Hi,

I own a Motorola A768i GSM mobile that has USB net capabilities.
Unfortunately to the best of my knowledge it only works with the
USBDNET driver for kernel 2.4 from Belcarra.com.  Even with that
driver, there are issues with accessing the phone over USB:

Kernel 2.4.30

Belcarra driver version usblan-1.0.0-7 with Prasad patches from
http://tud.at/programm/usblan-1.0.0-7--linux-2.4.x.tar.gz (tried
without the patch too).

IBM T41p laptop

Looking for (preferably) a way to use more current free drivers for
usbdnet for 2.6, or, failing that, a fix for the problem with the 2.4
drivers.

Here's the sequence of events (with logs):

**************** modprobe uhci ****************

May  6 07:09:53 raju kernel: usb.c: registered new driver usbdevfs
May  6 07:09:53 raju kernel: usb.c: registered new driver hub
May  6 07:09:53 raju kernel: uhci.c: USB Universal Host Controller Interface dri
May  6 07:09:53 raju kernel: PCI: Found IRQ 11 for device 00:1d.0
May  6 07:09:53 raju kernel: PCI: Sharing IRQ 11 with 01:00.0
May  6 07:09:53 raju kernel: PCI: Sharing IRQ 11 with 02:00.0
May  6 07:09:53 raju kernel: PCI: Sharing IRQ 11 with 02:01.0
May  6 07:09:53 raju kernel: uhci.c: USB UHCI at I/O 0x1800, IRQ 11
May  6 07:09:53 raju kernel: usb.c: new USB bus registered, assigned bus number
May  6 07:09:53 raju kernel: uhci.c: detected 2 ports
May  6 07:09:53 raju kernel: Product: USB UHCI-alt Root Hub
May  6 07:09:53 raju kernel: SerialNumber: 1800
May  6 07:09:53 raju kernel: hub.c: USB hub found
May  6 07:09:53 raju kernel: hub.c: 2 ports detected
May  6 07:09:53 raju kernel: PCI: Found IRQ 11 for device 00:1d.1
May  6 07:09:53 raju kernel: uhci.c: USB UHCI at I/O 0x1820, IRQ 11
May  6 07:09:53 raju default.hotplug[1557]: arguments (usb) env 
(DEVFS=/proc/busplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/001/001 PRODUCT=0/0/0 
TYPE=9/0/0 DEBUG=
May  6 07:09:53 raju default.hotplug[1557]: invoke /etc/hotplug/usb.agent ()
May  6 07:09:53 raju kernel: usb.c: new USB bus registered, assigned bus number
May  6 07:09:53 raju kernel: uhci.c: detected 2 ports
May  6 07:09:53 raju kernel: Product: USB UHCI-alt Root Hub
May  6 07:09:53 raju kernel: SerialNumber: 1820
May  6 07:09:53 raju kernel: hub.c: USB hub found
May  6 07:09:53 raju kernel: hub.c: 2 ports detected
May  6 07:09:53 raju kernel: PCI: Found IRQ 11 for device 00:1d.2
May  6 07:09:53 raju kernel: PCI: Sharing IRQ 11 with 00:1f.1
May  6 07:09:53 raju kernel: PCI: Sharing IRQ 11 with 02:02.0
May  6 07:09:53 raju kernel: uhci.c: USB UHCI at I/O 0x1840, IRQ 11
May  6 07:09:53 raju default.hotplug[1572]: arguments (usb) env 
(DEVFS=/proc/busplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/002/001 PRODUCT=0/0/0 
TYPE=9/0/0 DEBUG=
May  6 07:09:53 raju default.hotplug[1572]: invoke /etc/hotplug/usb.agent ()
May  6 07:09:53 raju kernel: usb.c: new USB bus registered, assigned bus number
May  6 07:09:53 raju kernel: uhci.c: detected 2 ports
May  6 07:09:53 raju kernel: Product: USB UHCI-alt Root Hub
May  6 07:09:53 raju kernel: SerialNumber: 1840
May  6 07:09:53 raju kernel: hub.c: USB hub found
May  6 07:09:53 raju kernel: hub.c: 2 ports detected
May  6 07:09:53 raju default.hotplug[1587]: arguments (usb) env 
(DEVFS=/proc/busplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/003/001 PRODUCT=0/0/0 
TYPE=9/0/0 DEBUG=
May  6 07:09:53 raju default.hotplug[1587]: invoke /etc/hotplug/usb.agent ()
May  6 07:09:59 raju usb.agent[1587]: Setup 0x00 0x00 for USB
May  6 07:09:59 raju usb.agent[1557]: Setup 0x00 0x00 for USB product 0/0/0
May  6 07:09:59 raju usb.agent[1572]: Setup 0x00 0x00 for USB product 0/0/0

**************** modprobe usblan vendor_id=0x22b8 product_id=0x600c 
****************

May  6 07:10:09 raju kernel: 1.0.0 [EMAIL PROTECTED], [EMAIL PROTECTED]
May  6 07:10:09 raju kernel: usblan.c: 1.0.0 [EMAIL PROTECTED], [EMAIL 
PROTECTED]
May  6 07:10:09 raju kernel: usblan.c: Linux USBLAN driver
May  6 07:10:09 raju kernel: usbdnet_modinit: vendor_id: 22b8 product_id: 600c
May  6 07:10:09 raju kernel: usbdnet_modinit: vendor_id: 22b8 product_id: 600c i
May  6 07:10:09 raju kernel: usb.c: registered new driver usbdnet

**************** Connect phone to USB port ****************

May  6 07:10:22 raju kernel: hub.c: new USB device 00:1d.1-2,
May  6 07:10:22 raju kernel: Manufacturer: Motorola
May  6 07:10:22 raju kernel: Product: Motorola
May  6 07:10:22 raju kernel: probe: probe
May  6 07:10:22 raju kernel: idp_search: look for idVendor: 22b8 idProduct: 600c
May  6 07:10:22 raju kernel: idp_search: looking at idVendor: 12b9 idProduct: f0
May  6 07:10:22 raju kernel: idp_search: looking at idVendor: 22b8 idProduct: 60
May  6 07:10:22 raju kernel: idp_search: MATCH
May  6 07:10:22 raju kernel: verify_no_claimed_interfaces:
May  6 07:10:22 raju kernel: verify_no_claimed_interfaces: bNumInterfaces: 1
May  6 07:10:22 raju kernel: verify_no_claimed_interfaces: ok
May  6 07:10:22 raju kernel: find_valid_configuration[0] bConfigurationValue: 0
May  6 07:10:22 raju kernel: find_valid_configuration: interface(s) 1
May  6 07:10:22 raju kernel: find_interface_mdlm: class: 2 subclass: 10 endpoint
May  6 07:10:22 raju kernel: find_interface_mdlm: da411320 extralen: 35 bLength:
May  6 07:10:22 raju kernel: find_interface_mdlm: CS bDescriptorSubType: 00
May  6 07:10:22 raju kernel: find_interface_mdlm: da411325 extralen: 30 bLength:
May  6 07:10:22 raju kernel: find_interface_mdlm: CS bDescriptorSubType: 12
May  6 07:10:22 raju kernel: find_interface_mdlm: FUNCTIONAL bGUID 74 f0 3d bd 1
May  6 07:10:22 raju kernel: find_interface_mdlm: FUNCTIONAL bGUID a3 67 71 34 c
May  6 07:10:22 raju kernel: find_interface_mdlm: da41133a extralen: 1b bLength:
May  6 07:10:22 raju kernel: find_interface_mdlm: CS bDescriptorSubType: 13
May  6 07:10:22 raju kernel: find_interface_mdlm: DETAIL bGuidDescriptorType
May  6 07:10:22 raju kernel: find_interface_mdlm: BLAN bmDataCapabilities: 01
May  6 07:10:22 raju kernel: find_interface_mdlm: da411341 extralen: 14 bLength:
May  6 07:10:22 raju kernel: find_interface_mdlm: CS bDescriptorSubType: 0f
May  6 07:10:22 raju kernel: find_interface_mdlm: da41134e extralen: 07 bLength:
May  6 07:10:22 raju kernel: find_interface_mdlm: CS bDescriptorSubType: 0a
May  6 07:10:22 raju kernel: find_interface_mdlm: found 0 0
May  6 07:10:22 raju kernel: verify_blan_interface: found bmDataCapabilities: 01
May  6 07:10:22 raju kernel: find_valid_configuration: mdlm
May  6 07:10:22 raju kernel: probe: configuration_number: 0 bConfigurationValue:
May  6 07:10:22 raju kernel: probe: setting configuration bConfigurationValue: 1
May  6 07:10:22 raju kernel: probe: BLAN
May  6 07:10:22 raju kernel: probe: claiming data interface: configuration: 0 in
May  6 07:10:22 raju kernel: probe: tx_size:  64 rx_size:  64
May  6 07:10:22 raju kernel: probe: tx_ep  :   2 rx_ep  :   1
May  6 07:10:22 raju default.hotplug[1678]: arguments (usb) env 
(DEVFS=/proc/busplug HOME=/ SHLVL=2 DEVICE=/proc/bus/usb/002/002 
PRODUCT=22b8/600c/100 TYPE=2/0/
May  6 07:10:22 raju kernel: probe: success 1.0.0
May  6 07:10:22 raju default.hotplug[1678]: invoke /etc/hotplug/usb.agent ()
May  6 07:10:22 raju kernel: probe: return deb19400
May  6 07:10:26 raju usb.agent[1678]: Setup acm for USB product 22b8/600c/100
May  6 07:10:26 raju kernel: usb.c: registered new driver acm
May  6 07:10:26 raju kernel: acm.c: v0.21:USB Abstract Control Model driver for
May  6 07:10:26 raju usb.agent[1678]: Setup 0x00 0x00 for USB product 22b8/600c/

[ifconfig usb0 192.168.1.2]

**************** smbclient -L //phone/ipc$ -I 192.168.1.1 ****************

May  6 07:11:01 raju kernel: urb_tx_complete: urb: de7a87c0 status: -104
May  6 07:11:01 raju kernel: bh: urb: de7a8340 skb: da905760 status: -104
May  6 07:11:01 raju kernel: bh: urb: de7a87c0 skb: da9059a0 status: -104
May  6 07:11:04 raju kernel: urb_tx_complete: urb: de7a81c0 status: -104
May  6 07:11:04 raju kernel: bh: urb: de7a81c0 skb: da7bfb40 status: -104
May  6 07:11:10 raju kernel: urb_tx_complete: urb: de7a80c0 status: -104
May  6 07:11:10 raju kernel: bh: urb: de7a80c0 skb: da814540 status: -104
May  6 07:11:11 raju kernel: urb_tx_complete: urb: de18d1e0 status: -104
May  6 07:11:11 raju kernel: urb_tx_complete: urb: dee66aa0 status: -104
May  6 07:11:11 raju kernel: bh: urb: de18d1e0 skb: da905220 status: -104
May  6 07:11:11 raju kernel: bh: urb: dee66aa0 skb: da7aa7a0 status: -104
May  6 07:11:12 raju kernel: urb_tx_complete: urb: de18d160 status: -104
May  6 07:11:12 raju kernel: urb_tx_complete: urb: de18d960 status: -104
May  6 07:11:12 raju kernel: bh: urb: de18d160 skb: da7bf540 status: -104
May  6 07:11:12 raju kernel: bh: urb: de18d960 skb: da7e9500 status: -104
May  6 07:11:12 raju kernel: urb_tx_complete: urb: de7a86c0 status: -104
May  6 07:11:12 raju kernel: bh: urb: de7a86c0 skb: da7bfe40 status: -104
May  6 07:11:12 raju kernel: urb_tx_complete: urb: de18d8e0 status: -104
May  6 07:11:12 raju kernel: bh: urb: de18d8e0 skb: da9669a0 status: -104
May  6 07:11:13 raju kernel: urb_tx_complete: urb: de18d7e0 status: -104
May  6 07:11:13 raju kernel: urb_tx_complete: urb: de18d5e0 status: -104
May  6 07:11:13 raju kernel: bh: urb: de18d7e0 skb: da7e9980 status: -104
May  6 07:11:13 raju kernel: bh: urb: de18d5e0 skb: da853560 status: -104
May  6 07:11:14 raju kernel: urb_tx_complete: urb: de18d4e0 status: -104
May  6 07:11:14 raju kernel: urb_tx_complete: urb: de18d6e0 status: -104
May  6 07:11:14 raju kernel: bh: urb: de18d4e0 skb: da9666a0 status: -104
May  6 07:11:14 raju kernel: bh: urb: de18d6e0 skb: da829820 status: -104
May  6 07:11:14 raju kernel: urb_tx_complete: urb: de18d660 status: -104
May  6 07:11:14 raju kernel: bh: urb: de18d660 skb: da83eb00 status: -104
May  6 07:11:14 raju kernel: urb_tx_complete: urb: de18dce0 status: -104
May  6 07:11:14 raju kernel: urb_tx_complete: urb: de18d360 status: -104
May  6 07:11:14 raju kernel: bh: urb: de18dce0 skb: da966d60 status: -104
May  6 07:11:14 raju kernel: bh: urb: de18d360 skb: da7d49a0 status: -104
May  6 07:11:15 raju kernel: urb_tx_complete: urb: de18d3e0 status: -104
May  6 07:11:15 raju kernel: urb_tx_complete: urb: de18dbe0 status: -104
May  6 07:11:15 raju kernel: bh: urb: de18d3e0 skb: da829220 status: -104
May  6 07:11:15 raju kernel: bh: urb: de18dbe0 skb: da966ee0 status: -104
May  6 07:11:15 raju kernel: urb_tx_complete: urb: de18d560 status: -104
May  6 07:11:15 raju kernel: bh: urb: de18d560 skb: da83e140 status: -104
May  6 07:11:15 raju kernel: urb_tx_complete: urb: de18dc60 status: -104
May  6 07:11:15 raju kernel: urb_tx_complete: urb: de18d460 status: -104
May  6 07:11:15 raju kernel: bh: urb: de18dc60 skb: da966b20 status: -104
May  6 07:11:15 raju kernel: bh: urb: de18d460 skb: da2d2180 status: -104
May  6 07:11:16 raju kernel: urb_tx_complete: urb: de18dd60 status: -104
May  6 07:11:16 raju kernel: urb_tx_complete: urb: de18d860 status: -104
May  6 07:11:16 raju kernel: bh: urb: de18dd60 skb: da83e080 status: -104
May  6 07:11:16 raju kernel: bh: urb: de18d860 skb: da9660a0 status: -104
May  6 07:11:16 raju kernel: urb_tx_complete: urb: de18d0e0 status: -104
May  6 07:11:16 raju kernel: bh: urb: de18d0e0 skb: da7e9bc0 status: -104

**************** lsusb -v ****************

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            0.00
  iManufacturer           0
  iProduct                2 USB UHCI-alt Root Hub
  iSerial                 1 1840
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0008  bytes 8 once
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x08
  PortPwrCtrlMask    0x11
  Language IDs: (length=4)
     0000 (null)((null))

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            0.00
  iManufacturer           0
  iProduct                2 USB UHCI-alt Root Hub
  iSerial                 1 1820
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0008  bytes 8 once
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x40
  PortPwrCtrlMask    0x58
  Language IDs: (length=4)
     0000 (null)((null))

Bus 002 Device 002: ID 22b8:600c Motorola PCS
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        16
  idVendor           0x22b8 Motorola PCS
  idProduct          0x600c
  bcdDevice            1.00
  iManufacturer           3 Motorola
  iProduct                3 Motorola
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           92
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 BLAN Net Cfg
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         2 Communications
      bInterfaceSubClass     10 Mobile Direct Line
      bInterfaceProtocol      0
      iInterface              5 Comm/Data Intf
        CDC Header:
          bcdCDC               1.10
  unsupported comm descriptor: 15 24 12 00 01 74 f0 3d bd 1e c1 44 70 a3 67 71 3
  unsupported comm descriptor: 07 24 13 01 00 01 00
        CDC Ethernet:
          iMacAddress             1 96aca22da081
          bmEthernetStatistics    0x00000000
          wMaxSegmentSize         1514
          wNumberMCFilters        0x0000
          bNumberPowerFilters     0
  unsupported comm descriptor: 07 24 0a 00 02 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0040  bytes 64 once
        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     0x0040  bytes 64 once
        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     0x0008  bytes 8 once
        bInterval              10
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            0.00
  iManufacturer           0
  iProduct                2 USB UHCI-alt Root Hub
  iSerial                 1 1800
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x40
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
          Usage Type               Data
        wMaxPacketSize     0x0008  bytes 8 once
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x0000
    Ganged power switching
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x40
  PortPwrCtrlMask    0x58
  Language IDs: (length=4)

Regards,

-- Raju
-- 
Raj Mathur                [EMAIL PROTECTED]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to