Messages in this thread | | | Date | Mon, 2 Mar 2009 16:33:42 +0200 | Subject | Re: usb hotplug and hooking | From | Oguz Yarimtepe <> |
| |
I will look at the udev scripting. I don't need a GUI, yet. I will just communicate with the usb device, check its files and if an authorized software is found (will use asymmetric cryptography) will load it. I can write the software that will do the mentioned things. I just don't know the hooking part. But udev is a good start. Thanks.
2009/3/2 Oliver Neukum <oliver@neukum.org> > > Am Montag 02 März 2009 14:39:41 schrieb Oguz Yarimtepe: > > Hi, > > > > I want to run an application when an external usb flash disk is plugged to > > my box machine that has STLinux installed in it. My aim is to check some > > issues on usb disk, whether it has an official software or not. I am not > > sure how will i hook my own application that will check usb device > > when it is plugged. I don't want the application run at the > > background, but run only when a plug is occured. > > Have you looked at writing a udev script? Do you need a GUI? > > Regards > Oliver >
-- Oğuz Yarımtepe www.loopbacking.info -- 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/
| |