How to probe the usb port whether it is connected by usb mass storage device or not?

Status
Not open for further replies.

ubuntu_amateur

Member level 4
Joined
Sep 24, 2006
Messages
71
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,665
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!
 

usb probe problem

why does the USB mass storage device act as SCSI device?
 

Re: usb probe problem

What OS You use?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…