[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200809241326.30167.david-b@pacbell.net>
Date: Wed, 24 Sep 2008 13:26:29 -0700
From: David Brownell <david-b@...bell.net>
To: "Li Yang-R58472" <LeoLi@...escale.com>
Cc: joakim.tjernlund@...nsmode.se, avorontsov@...mvista.com,
greg@...ah.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org
Subject: Re: [PATCH] usb: add Freescale QE/CPM USB peripheral controllerdriver
On Tuesday 02 September 2008, Li Yang-R58472 wrote:
>
> > Does RNDIS work too? If not, is it possible to add or doesn't
> > the HW support it?
>
> RNDIS is a gadget(protocol) level thing. I believe it can work with
> this driver although not tested myself.
It should, so long as the QE hardware doesn't try to manage
too many USB protocol details. Examples would be caring
at all about "config change events" -- SET_CONFIGURATION
picking between one of N configurations, and SET_INTERFACE
picking between altsettings of a given interface.
> Noted: AFAIK, RNDIS gadget in Linux doesn't interoperate with windows
> well enough to be production level. Use at your own risk.
Something in the past few releases broke so it may not be
operating much at all, for that matter...
However, it's a fair point that the interoperation requirements
for RNDIS are so badly defined that non-Microsoft code has a
very hard time being robust.
Somewhere in the linux-usb archives is someone's fairly careful
summary of a dozen extremely rude ways the MSFT RNDIS stack
misbehaves. It'll do things like deciding to stop forwarding
packets to certain applications for a while ... then continuing
after a few minutes as if nothing was wrong. Blue screens are
a possibility. Best to wait a few minutes between plugging
and unplugging, while the races between the USB and NET stacks
sort themselves out.
- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists