Re: Linux Hotplug Question
"Navin Anand" <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi All I thought I was sending it to the group. Sorry that I missed out the group. Kindly look at the email for more explanation of what I am trying to do. Thanks Regards Navin On Nov 19, 2007 8:56 AM, Navin Anand <[email protected]> wrote: > Hi Greg > Thanks for the reply. What we are trying to do is that intercept mouse > and keyboard input > at the kernel level, pass it to user space for some processing and > then send it over to another > box. On the other box we use this input. > > Since we are dealing with HID devices we need to use hotplug and make > sure that the input > is sent over to the other box. At the same time when the device is > removed we should > remove the device from the chain and inform the client box the device > has been removed. > > I am not sure if polling was the correct approach to bind and unbind > the drivers, but since > this was my first iteration wanted to try if this would work. I also > found that the udev rules > can create input nodes as well. > > I hope this makes things clear to you as to what I have been trying to achive. > > Thanks a lot > Regards > Navin > > > On Nov 18, 2007 1:32 AM, Greg KH <[email protected]> wrote: > > On Tue, Nov 06, 2007 at 03:09:17PM +0000, Navin Anand wrote: > > > Hi all > > > Any ideas on how to start using hotplug in user space driver. > > > I do see a lot of information about /sbin/hotplug and creating agents, but > > > nothing clear on the way it could be done. Any help would with links or > > > some kind of docs would be helpful. > > > > What are you trying to do in your userspace code with hotplug? > > > > Based on a quick glance at your example code, I'm not quite sure of what > > you are attempting to do here. > > > > thanks, > > > > greg k-h > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel