Re: HTC as USB gprs/edge modem on linux

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wednesday 15 August 2007, Healy, Patrick William wrote:
> Trying to stick my way into this thread. I have an HTC Hermes
> (Cingular 8525) and I'm also trying this. I've tried patching 
> rndis_host.c with the following:  

What makes you believe that this device supports RNDIS?
It should help if you posted the "lsusb -v" output for this.


> {
>         /* RNDIS for HTC tethering */
>         USB_INTERFACE_INFO(USB_CLASS_WIRELESS_CONTROLLER, 1, 3),
>         .driver_info = (unsigned long) &rndis_info,
> },
> 
> in the usb_device_id struct. This causes it to recognize my device in
> tethering mode and load the driver for it.

Well, load "a" driver.  At this point it's not clear that's the
right one to use here.  ;)


> However, when I plug in my 
> device in tethering mode, I get the following in dmesg  
> 
> usb 1-1: new full speed USB device using uhci_hcd and address 2
> usb 1-1: configuration #1 chosen from 1 choice
> usbcore: registered new interface driver cdc_ether
> rndis_host 1-1:1.0: missing cdc header union ether descriptor
> usb 1-1: bad CDC descriptors

Well, it doesn't conform to the RNDIS spec then.  Microsoft seems
to be more than a bit fast'n'loose with RNDIS though, so maybe it
could yet be made to work.  The WM5 "ActiveSync" is sort-of-RNDIS,
and there are reports that "rndis_host" can be made to work with
that (highly EXPERIMENTAL) driver ...


> usbcore: registered new interface driver rndis_host
> 
> I'm quite willing to test patches and help out, since I really want
> this to work. Any tips? 

Start by circulating more info ... the descriptors, and just why
you think that driver should handle this device.

Then maybe someone with some Microsoftoid skillz can start helping.  :)

- Dave


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.