From: Nerd C. <ner...@ya...> - 2012-09-07 17:32:27
|
I have a Gumstix Overo Fire with a Linux 3.0.0 kernel and the mass storage gadget module installed. It is set up to run as an On-The-Go device. I would like to have a script run on the Gumstix every time I plug it in to a host. Is there a way to do that automatically without having the Gumstix connected to a console like minicom? Thanks! |
From: Florian V. <flo...@ep...> - 2012-09-10 09:13:47
|
Hello Nerd, Le 07/09/2012 19:32, Nerd Cube a écrit : > I have a Gumstix Overo Fire with a Linux 3.0.0 kernel and the mass > storage gadget module installed. It is set up to run as an On-The-Go > device. > > I would like to have a script run on the Gumstix every time I plug it > in to a host. Is there a way to do that automatically without having > the Gumstix connected to a console like minicom? Look at udev, it was designed with this goal in mind. You can start with a "man udev" on any good distro. Cheers, Florian |