ubuntu_amateur
Member level 4
How to probe the usb port whether it is connected by usb mass storage device or not?
When I added EXPORT_SYMBOL(storage_probe()) in usb/storage/usb.c, and involked storage_prove() in another program, it can be compiled pass, but fails at running process and indicates "Segmentation fault".
how to probe usb mass storage device to sent a signal to the event handler of another program?
anyone help me??
thanks a lot!
When I added EXPORT_SYMBOL(storage_probe()) in usb/storage/usb.c, and involked storage_prove() in another program, it can be compiled pass, but fails at running process and indicates "Segmentation fault".
how to probe usb mass storage device to sent a signal to the event handler of another program?
anyone help me??
thanks a lot!