Re: Fwd: Re: HTC as USB gprs/edge modem on linux
bizu <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi oliver, i tryed the patch, but now i got a CDC descriptor error: usb usb1: wakeup_rh hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0000 uhci_hcd 0000:00:1d.0: port 1 portsc 1093,00 hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 usb 1-1: new full speed USB device using uhci_hcd and address 14 usb 1-1: skipped 3 descriptors after interface usb 1-1: default language 0x0409 usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: Generic RNDIS usb 1-1: Manufacturer: HTC usb 1-1: SerialNumber: fb511207-593d-1103-a800-0050bf3f5173 usb 1-1: uevent usb 1-1: usb_probe_device usb 1-1: configuration #1 chosen from 1 choice usb 1-1: adding 1-1:1.0 (config #1, interface 0) usb 1-1:1.0: uevent usb 1-1:1.0: uevent rndis_host 1-1:1.0: usb_probe_interface rndis_host 1-1:1.0: usb_probe_interface - got id rndis_host 1-1:1.0: interface: 1 or 01 rndis_host 1-1:1.0: interface: 2 or 02 rndis_host 1-1:1.0: interface: 2 or 02 rndis_host 1-1:1.0: missing cdc header union ether descriptor usb 1-1: bad CDC descriptors usb 1-1: adding 1-1:1.1 (config #1, interface 1) usb 1-1:1.1: uevent usb 1-1:1.1: uevent drivers/usb/core/inode.c: creating file '014' hub 1-0:1.0: state 7 ports 2 chg 0000 evt 0002 usb 1-1: usb auto-suspend hub 1-0:1.0: hub_suspend usb usb1: suspend_rh usb usb1: usb auto-suspend i tryed to hack the cdc_ether module but i'm quite limited, i just add to the code a debug information dev_info(&intf->dev, "interface: %d\n",buf[2]); juste before line 114 (http://synce.svn.sourceforge.net/viewvc/synce/trunk/usb-rndis-lite/cdc_ether.c?view=markup&pathrev=2717) that say that my CDC type is USB_CDC_CALL_MANAGEMENT_TYPE and USB_CDC_ACM_TYPE what's don't make sense for me... and for you? thx in advance bizu On Thu, 16 Aug 2007 11:18:14 +0200, Oliver Neukum <[email protected]> wrote: > Hi bizu, > > could you try this patch? Your device has class specific descriptors, > which suggests that it might work for you. > > Regards > Oliver > > ------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel