Re: polling mechanism for media presence

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Mon, 19 Mar 2007, Allen Curtis wrote:

> >> 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,
> 
> I am sorry. HAL? Where do I get this daemon?

It's part of the hal package, which is included in Fedora and presumably
other distributions as well.  See

	http://www.freedesktop.org/Software/hal

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
_______________________________________________
[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.