Re: CDC Ether & RNDIS

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

 



On 05/04/11 11:11, Oliver Neukum wrote:
> rndis_host should bind. Try compiling usbnet with DEBUG enabled.
> Then look for debugging option of rndis support.
> 

Hi Oliver,

Thanks for your advice - I have enabled the "#define DEBUG" in usbnet.c
and reconnected the device to the newly booted kernel.

'lsmod' shows that the correct modules are being loaded:
Module                  Size  Used by
rndis_host              4523  0
cdc_ether               3394  1 rndis_host
usbnet                 14611  2 rndis_host,cdc_ether

But the output from the kernel remains the same, and no additional
ethernet interfaces are present.

Have I enabled debugging correctly?

Kernel output follows:

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

Many thanks,

Charlie
--
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