Re: [ANNOUNCE] RNDIS Gadget Driver

From: Robert Schwebel (robert_at_schwebel.de)
Date: 03/26/04

  • Next message: Martin Schwidefsky: "[PATCH] s390 (6/7): system call speedup part 1."
    Date:	Fri, 26 Mar 2004 19:41:42 +0100
    To: David Brownell <david-b@pacbell.net>
    
    

    On Fri, Mar 26, 2004 at 09:45:15AM -0800, David Brownell wrote:
    > >We have tried that, Windows does not like it. The only constellation
    > >where it worked was setting the device descriptor's bConfigClass=0x02.
    >
    > Sorry, I meant "device" descriptors. Yes, I noticed their "spec"
    > had strange things to say. Is there some reason you're not including
    > the CDC header and union descriptors? That spec does talk about those,
    > and the erratum I found also talks about better CDC ACM conformance.

    USB_CLASS_COM is surely ok. The descriptors may be a relict from the
    time where the CDC equivalents where not in the driver...

    The problem is that, as it is now, it works. The whole RNDIS stuff is
    extremely time intensive to debug: when you have one odd value in some
    place, Windows just says "Error 10" and you have to guess what you did
    wrong. No further information available. So the best way to be
    successful may be to check it in as it is, maybe add some FIXMEs, and
    let the masses test the code. Then cleanup the remaining issues step by
    step and wait until nobody crys any more :-)

    > Different topic: I noticed that on PXA you were using "ep5-int".
    > That's documented as always using DATA0 -- data toggle not working.
    > Was that making any trouble for you? I've never actually tried
    > using those endpoints, because of that functional limitation.

    Well, there is no other interrupt endpoint on the PXA, and it somehow
    works :-)

    > Also it looks like you've only tested this on PXA hardware.

    It was hard enough :-)

    > Most of the patch is the (R)NDIS support code, which is easy
    > to merge, but the "g_ether" updates will take longer.

    Ok. We have tried to make the design as minimal-invasive as possible...

    Robert

    -- 
     Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
     Pengutronix - Linux Solutions for Science and Industry
       Handelsregister:  Amtsgericht Hildesheim, HRA 2686
         Hornemannstraße 12,  31137 Hildesheim, Germany
        Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Martin Schwidefsky: "[PATCH] s390 (6/7): system call speedup part 1."

    Relevant Pages

    • Re: [ANNOUNCE] RNDIS Gadget Driver
      ... You need such an .inf file on the windows side; ... which results in Windows getting ... Handelsregister: Amtsgericht Hildesheim, HRA 2686 ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ANNOUNCE] RNDIS Gadget Driver
      ... Windows does not like it. ... the driver, we saw it when the driver was half way finished and we will ... Handelsregister: Amtsgericht Hildesheim, HRA 2686 ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [some sanity for a change] possible design issues for hybrids
      ... but at least in other OS (Windows is the one I know about) ... named streams/attributes. ... Linux NTFS maintainer / IRC: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Driver Model 2 Proposal - Linux Kernel Performance v Usability
      ... I agree that it is an extra interface ... > Windows has many faults but drivers are often compatible across ... common users in the Windows world can't handle installing a driver any better than they would be able to in Linux. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [OT] Sco
      ... that would be against my religion. ... In my religion, windows is ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)

    Loading