CDC Ether & RNDIS

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

 



Hi,

I wonder if you could shed any light on an issue I'm having trying to
connect an RNDIS-based device to my Linux (2.6.38) machine.

The device is a digital PMR handheld radio, for which I am trying to
develop a control application. The manufacturer, Hytera of China have
supplied Windows drivers, told me it's RNDIS based and "feel free to
make it work on Linux" but will provide no further information.

Under Windows, the device presents itself as an ethernet controller.

When connected to a Linux machine, the kernel automatically loads
usbnet, cdc_ether and rndis_host but no ethernet devices are created, so
it looks like the kernel has *almost* configured the device correctly.

I've attached the relevant output of 'lsusb -v' and 'dmesg'.

If you have any suggestion as to what I might try next, I'd be very
grateful.

Many thanks,


Charlie





hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0002
ehci_hcd 0000:00:1d.7: GetStatus port:1 status 001803 0  ACK POWER sig=j CSC CONNECT
hub 2-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:1d.7: port 1 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port:1 status 003801 0  ACK POWER OWNER sig=j CONNECT
hub 2-0:1.0: port 1 not reset yet, waiting 50ms
usb usb6: wakeup_rh (auto-start)
ehci_hcd 0000:00:1d.7: GetStatus port:1 status 003002 0  ACK POWER OWNER sig=se0 CSC
hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
hub 6-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 6-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 6-1: new full speed USB device using uhci_hcd and address 2
usb 6-1: ep0 maxpacket = 8
usb 6-1: skipped 1 descriptor after configuration
usb 6-1: skipped 4 descriptors after interface
usb 6-1: default language 0x0409
usb 6-1: udev 2, busnum 6, minor = 641
usb 6-1: New USB device found, idVendor=238b, idProduct=0a11
usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 6-1: Product: DMR Radio
usb 6-1: Manufacturer: Hytera Communications
usb 6-1: usb_probe_device
usb 6-1: configuration #1 chosen from 1 choice
usb 6-1: adding 6-1:1.0 (config #1, interface 0)
usb 6-1: adding 6-1:1.1 (config #1, interface 1)
usb 6-1: adding 6-1:1.2 (config #1, interface 2)
hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0002
hub 6-0:1.0: state 7 ports 2 chg 0000 evt 0002

Bus 007 Device 005: ID 238b:0a11  
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass          255 Vendor Specific Class
 bDeviceSubClass       254 
 bDeviceProtocol       254 
 bMaxPacketSize0         8
 idVendor           0x238b 
 idProduct          0x0a11 
 bcdDevice            0.00
 iManufacturer           1 Hytera Communications
 iProduct                2 DMR Radio
 iSerial                 0 
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength          105
   bNumInterfaces          3
   bConfigurationValue     1
   iConfiguration          0 
   bmAttributes         0xc0
     Self Powered
   MaxPower                4mA
   Interface Association:
     bLength                 8
     bDescriptorType        11
     bFirstInterface         0
     bInterfaceCount         2
     bFunctionClass          0 (Defined at Interface level)
     bFunctionSubClass       0 
     bFunctionProtocol      10 
     iFunction               7 USB-RNDIS Device

   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           1
     bInterfaceClass         2 Communications
     bInterfaceSubClass      2 Abstract (modem)
     bInterfaceProtocol    255 Vendor Specific (MSFT RNDIS?)
     iInterface              0 
     CDC Header:
       bcdCDC               1.10
     CDC Call Management:
       bmCapabilities       0x00
       bDataInterface          0
     CDC ACM:
       bmCapabilities       0x00
     CDC Union:
       bMasterInterface        0
       bSlaveInterface         1 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0008  1x 8 bytes
       bInterval               1

   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        1
     bAlternateSetting       0
     bNumEndpoints           2
     bInterfaceClass        10 CDC Data
     bInterfaceSubClass      0 Unused
     bInterfaceProtocol      0 
     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     0x0040  1x 64 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     0x0040  1x 64 bytes
       bInterval               0

   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        2
     bAlternateSetting       0
     bNumEndpoints           3
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass    255 Vendor Specific Subclass
     bInterfaceProtocol    255 Vendor Specific Protocol
     iInterface              5 USB Serial Device
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval             255
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x83  EP 3 IN
       bmAttributes            3
         Transfer Type            Interrupt
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0008  1x 8 bytes
       bInterval               1
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x04  EP 4 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0040  1x 64 bytes
       bInterval             255
Device Status:     0x0001
 Self Powered--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux