See inline please...

At 02:25 AM 5/17/2002 +0530, Avinash natarajan wrote:
hi...
    i am asking this question in the wrong group..bear with me..
    i am writing a driver for USB device in linux.i need to get the usb interface up from the
probe(this is because i cant assume that the usb device is attached when the driver is installed
and also for plug 'n' play).
   
is there anyway by which i can invoke a script from a module in kernel space!!!

You could implement a userspace module that would get triggered by events in the kernel
module, and one such trigger can configure the interface for you.  I can think of ioctl or
sockopts as some abstracts.  May be you are looking for this.

whenever i plug out the device and plug it in again i dont want to explicitly bring the device up
using 'ifconfig' which is what i am doin now and is painful...is there anyway out,,,
thanx in advance
regards
avinash
 

 
"Because i live in a large tin can and i work in an egg carton Flirting is the only joy i have:)"

Best regards
Ravikanth Samprathi

Reply via email to