On Sun, 18 Mar 2007, Allen Curtis wrote:

> Hello Everyone,
> 
> Is there a standard mechanism in usb-storage to enable the polling of 
> media presence? I have search the archives and have not found an answer 
> to the question.

There is not.

> Base problem:
> We have a USB card reader chip which does not emulate the USB insertion 
> events on the bus based on card insertion events. Instead you need to 
> poll the controller for media information, via a SCSI CDB, or else 
> continually try to mount the device.
> 
> Desirable solution would be to poll for media and generate hotplug 
> events so this device can be handled like the other USB interface in 
> the system. We have registered this an an "unusual device" and created 
> a custom initialization function. What is the next step?

Why have you created your unusual_devs entry?  Is it at all connected with 
this media-detection problem?

Anyway, your next step is to do nothing at all.  HAL does this polling for 
you automatically.  Just make sure you run HAL and you'll be all set.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to