From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Fri, 02 May 2003 05:09:05 +0000 Subject: Re: Hotplug in device with Linux Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Greg KH wrote: > On Fri, May 02, 2003 at 11:10:12AM +0800, ??? wrote: > >>It's not too hard to do that in Linux host by hotplug manners, but I donot >>know how to do that in Linux device. >>It seems that hotplug doesn't support this manners in device side. Does it? > > > If you are using the Lineo code, then no, I do not think it supports it. I'm not sure where "Lineo code" stops, but Zaurus does seem to load USB drivers based on hotplug events. I certainly needed to modify Sharp's hacked /etc/hotplug/net.agent to set a unique Ethernet address, since the Zaurus ROMs don't. The hacks done for the Zaurus included removal of BASH-isms (it doesn't need those capabilities anyway) and a bunch of stuff I never bothered to figure out. (Looked strange to me, as if someone never finished some modifications they were working on.) > Actually I don't think any USB gadget code supports this yet, but am not > really sure, as there is no USB gadget code in the main kernel tree yet. That's in the works ... I need to see if 2.5.68 is still as broken as it was when I first tried it! :) - Dave ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel