PXA270-udc driver with ethernet gadget and rndis

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

 



Hello,
I want to migrate our linux board (XScale PXA270 CPU) from a proprietary
linux distro to emdebian with a standard kernel from kernel.org.

I enabled the usb gadget support with the PXA UDC driver, the Ethernet
gadget driver and RNDIS. When plugging the USB cable to a Windows XP PC
windows is not recognizing the "new hardware". In the old system it did
detect the new hardware. The relevant dmesg snip set looks:

.
.
pxa27x_udc: version 2008-04-18
pxa27x-udc pxa27x-udc: ep0:set_ep0state:
state=WAIT_FOR_SETUP->WAIT_FOR_SETUP, udccsr0=0x000, udcbcr=0
pxa27x-udc pxa27x-udc: pxa_eps_setup: dev=c02a3ea0
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 16:64:11:fa:81:6d
usb0: HOST MAC 9a:c9:3d:ce:fd:5e
g_ether gadget: adding config #2 'RNDIS'/c02a4500
g_ether gadget: adding 'rndis'/c38fca60 to config 'RNDIS'/c02a4500
rndis_register: configNr = 0
rndis_set_param_medium: 0 0
g_ether gadget: RNDIS: full speed IN/ep2in-bulk OUT/ep1out-bulk
NOTIFY/ep5in-int
g_ether gadget: cfg 2/c02a4500 speeds: full/low
g_ether gadget:   interface 0 = rndis/c38fca60
g_ether gadget:   interface 1 = rndis/c38fca60
g_ether gadget: adding config #1 'CDC Subset/SAFE'/c02a448c
g_ether gadget: adding 'cdc_subset'/c38fc9a0 to config 'CDC
Subset/SAFE'/c02a448c
g_ether gadget: CDC Subset: full speed IN/ep2in-bulk OUT/ep1out-bulk
g_ether gadget: cfg 1/c02a448c speeds: full/low
g_ether gadget:   interface 0 = cdc_subset/c38fc9a0
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
pxa27x-udc pxa27x-udc: registered gadget driver 'g_ether'
pxa27x-udc pxa27x-udc: ep0:set_ep0state:
state=WAIT_FOR_SETUP->WAIT_FOR_SETUP, udccsr0=0x000, udcbcr=0
hub 1-0:1.0: port 1: status 0501 change 0001
pxa27x-udc pxa27x-udc: UDC connecting
UDC_conn0 0x0
UDC_conn1 0x0
.
.

Replugging the USB cable leads to:
pxa27x-udc pxa27x-udc: USB reset
pxa27x-udc pxa27x-udc: USB reset start
pxa27x-udc pxa27x-udc: ep0:set_ep0state:
state=WAIT_FOR_SETUP->WAIT_FOR_SETUP, udccsr0=0x000, udcbcr=0

Does anyone have an idea why windows is not recognizing the "new
hardware"?

Thanks,
Marco

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