While testing the linux ethernet gadget using windows xp SP2, PC does not recognize this mobile handset as the USB device. Unknown device ( expect "Linux USBEthernet/RNDIS gadget") Is this the problem with USB enumerator driver (usbccgp.sys) or the Device side problem? Whether USB Client is responding properly for the requests? Thanks ~Jithendran
-----Original Message----- From: JITHENDRAN A Sent: Thursday, December 29, 2005 11:37 AM To: 'linux-usb-devel@lists.sourceforge.net' Cc: 'linux-usb-devel@lists.sourceforge.net' Subject: RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem Hello, We had tried connectivity with linux hosts test with following linux versions Linux 2.4.20-8 Linux 2.4.20 Linux 2.6.5(Fedora Core 2) But our device is not detected in all above versions (usbnet.c doesnot supports our device) After that we tried in Linux 2.6.10 Kernel and it was SUCCESSFUL. Test Scenario: -------------- Ping continously from Linux PC (PC1) to XP machine (PC2) and vice versa--- successful At the same time, Transferred files between XP machine & Linux PC via FTP Size of file Status ------------------------ 420KB Success 1MB Success 4MB Success 17MB Success 73MB Success (time taken 260secs) 113MB Success (time taken 356secs) Note that no usb reset is observed during file transfer. And we have tested this connection continously for 1Hour 45 Minutes -----Original Message----- From: JITHENDRAN A Sent: Thursday, December 29, 2005 11:12 AM To: 'David Brownell'; linux-usb-devel@lists.sourceforge.net Cc: JITHENDRAN A; 'linux-usb-devel@lists.sourceforge.net' Subject: RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem We tried backporting from 2.6.14.Please find below debug messages on boot up.What could be the reason for this.Please help .. Creating 6 MTD partitions on "passtud flash": 0x00000000-0x00020000 : "RedBoot" 0x00080000-0x01980000 : "rootfs" 0x01a80000-0x01c80000 : "linux" 0x02020000-0x03f20000 : "userfs" 0x03fa0000-0x03fa1000 : "RedBoot config" 0x03fc0000-0x03fe0000 : "FIS directory" sl811: driver sl811-hcd, 06 Dec 2004 Calling sl811 reset function sl811: SL811HS v1.5, irq 25 sl811-hcd sl811-hcd0: new USB bus registered, assigned bus number 1 usb usb1: Product: SL811HS v1.5 usb usb1: Manufacturer: Linux 2.6.10-PASSTUD_1.0.0.7 sl811-hcd usb usb1: SerialNumber: sl811-hcd0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Calling sl811 reset function pxa2xx_udc: version 4-May-2005 Badness in kref_get at lib/kref.c:32 [<c00c4534>] (kref_get+0x0/0x60) from [<c00c38b0>] (kobject_get+0x18/0x20) r4 = C01DFD64 [<c00c3898>] (kobject_get+0x0/0x20) from [<c009ca90>] (sysfs_create_link+0xbc/0x 134) r4 = C3C85600 [<c009c9d4>] (sysfs_create_link+0x0/0x134) from [<c00f9ed0>] (class_device_add+0 x1a8/0x1d8) [<c00f9d28>] (class_device_add+0x0/0x1d8) from [<c0152108>] (netdev_register_sys fs+0x38/0x104) [<c01520d0>] (netdev_register_sysfs+0x0/0x104) from [<c0149cc0>] (netdev_run_tod o+0xc4/0x31c) r8 = C01DF99C r7 = C01DF718 r6 = C01DF6FC r5 = C3C88800 r4 = C3C88800 [<c0149bfc>] (netdev_run_todo+0x0/0x31c) from [<c010a4e8>] (register_netdev+0x70 /0x7c) [<c010a478>] (register_netdev+0x0/0x7c) from [<c001a508>] (eth_bind+0x488/0x694) r5 = C3C88800 r4 = C3C88A20 [<c001a080>] (eth_bind+0x0/0x694) from [<c01332f8>] (usb_gadget_register_driver+ 0xb4/0xfc) [<c0133244>] (usb_gadget_register_driver+0x0/0xfc) from [<c0022260>] (init+0x8c/ 0x1c8) r7 = C001DCE0 r6 = 00000000 r5 = C02F0000 r4 = C001DC90 [<c00221d4>] (init+0x0/0x1c8) from [<c003a9dc>] (do_exit+0x0/0xbc0) r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000 usb0: Ethernet Gadget, version: May Day 2005 usb0: using pxa2xx_udc, OUT ep2out-bulk IN ep1in-bulk STATUS ep6in-bulk usb0: MAC 36:e0:0d:e7:21:88 usb0: HOST MAC 32:fc:cb:cd:29:1d usb0: RNDIS ready WM8750 Module loaded NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) ip_conntrack version 2.1 (512 buckets, 4096 max) - 308 bytes per conntrack usb 1-1: new full speed USB device using sl811-hcd and address 2 usb 1-1: Product: Fingerprint Sensor usb 1-1: Manufacturer: Veridicom, Inc. ip_tables: (C) 2000-2002 Netfilter core team NET: Registered protocol family 1 -----Original Message----- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 11:07 PM To: linux-usb-devel@lists.sourceforge.net Cc: JITHENDRAN A; 'linux-usb-devel@lists.sourceforge.net' Subject: Re: [linux-usb-devel] USB gadget/RNDIS Reset Problem On Tuesday 27 December 2005 12:04 am, JITHENDRAN A wrote: > Hello, > We are developing a VoIP enabled WiFI mobile handset using PXA255 running > Triton Linux 2.6.10.We have enabled the RNDIS gadget in the kernel for the > Ethernet over USB functionality ... > We get the following error when we connect handset to the PC through USB. > > "This device cannot start. (Code 10)" Aren't the diagnostics from Windows just outstanding? And the software robustness ... wow! :( > 4)Is there any patch/workaround for this? > 5)Does back porting from 2.6.14 works? I don't know. Try it and find out. I seem to recall another recent-ish trouble report with RNDIS, but it's not clear what was up since the last times I've tested it, it came up just fine. Maybe there's an issue specific to pxa25x_udc; I don't use that much at all any more. > 7)The same functionality is available for PXA 255 based pda's available > like Zaurus,gumstix,ipaq,yopy .Does thay use the same drivers in Windows XP > distribution and the device side stack. They all use more recent Linux kernels than 2.6.10 as I recall, and yes they all try to use the stock XP drivers. - Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel