Re: pxa27x_udc, linux host rndis/cdc problems

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

 



On Wednesday 27 May 2009, Aric D. Blumer wrote:
> I was finally able to take the time to try this out, and you are correct
> about the versioning.  If I use 'USB_DEVICE(0x0525, 0xa4a2)' in
> cdc_subset.c, the proper driver is loaded, and it works.

Great, I'll send in the patch for this later tonight and give
you another Tested-by: credit.  :)


> Below is the 
> dmesg output.  The fact that the zaurus driver is still being loaded is
> a bit strange to me, but perhaps that's expected.

Probably this bit in the ID table for it:

 /* At least some of the newest PXA units have very different lies about
  * their standards support:  they claim to be cell phones offering
  * direct access to their radios!  (No, they don't conform to CDC MDLM.)
  */
 {
         USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_MDLM,
                         USB_CDC_PROTO_NONE),
         .driver_info = (unsigned long) &bogus_mdlm_info,
 },

See the top of drivers/usb/gadget/f_subset.c where it explains that
it now sticks in some extra descriptors so that it can talk to a
commercial driver from MCCI ... Microsoft's RNDIS drivers are not
robust enough for many people, go figure!

So the remaining puzzle is:  why was the "zaurus" driver rejecting
this?  I'm guessing it's because the zaurus code is insisting on
CDC-conformant framing (append CRC to packet).

- Dave



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