Re: How to verify the existence of USB device

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, Apr 24, 2007 at 04:42:49PM +0530, Babu, Narendra (GE Healthcare) wrote:
> Hi Samuel,
> 
> Thanks for the reply.
> You are right. We are getting the hotplug event when the device is
> removed.
> But the problem is, when this event is triggered I am not getting the
> device node info (like /dev/sda1).
> Any idea how to get this device node information at script level during
> device removal ??

For the 2.4 kernel, you can not get this information without modifying
the kernel, sorry.

For 2.6, you should automatically get it.

good luck,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.