How can i detect presence of USB keyboard from user space program ?
From: pweichel (runtime_at_mail.dk)
Date: 11/08/05
- Next message: emb in linux: "need a sample code"
- Previous message: Grant Edwards: "Re: Simple serial question..."
- Next in thread: Marco Cavallini: "Re: How can i detect presence of USB keyboard from user space program ?"
- Reply: Marco Cavallini: "Re: How can i detect presence of USB keyboard from user space program ?"
- Reply: Sven Geggus: "Re: How can i detect presence of USB keyboard from user space program ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 8 Nov 2005 02:37:37 -0800
Hi all,
I have written a user space program which traps keyboard input from
several input sources using select() function on the /dev/input/eventX
files.
It works nicely, but how can i detect from that same program if user
decides to pull-out a USB connected keyboard or insert another in the
USB port of the embedded Linux system ?
B.Rgds.
Peter
Denmark
- Next message: emb in linux: "need a sample code"
- Previous message: Grant Edwards: "Re: Simple serial question..."
- Next in thread: Marco Cavallini: "Re: How can i detect presence of USB keyboard from user space program ?"
- Reply: Marco Cavallini: "Re: How can i detect presence of USB keyboard from user space program ?"
- Reply: Sven Geggus: "Re: How can i detect presence of USB keyboard from user space program ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]