[Interest] QFileSystemWatch on /sys/bus/usb/devices (Linux)

Thiago Macieira thiago.macieira at intel.com
Wed Dec 19 16:51:13 CET 2012


On quarta-feira, 19 de dezembro de 2012 10.12.17, Lucas.Betschart at crypto.ch 
wrote:
> Hello
> 
> Inotify doesn't work on /sys/bus/usb/devices/ (at least not on my kernel
> version) Can I use QFileSystemWatcher on that directory or is it just a
> Qt-Wrapper for inotify?

You can't use QFileSystemWatcher since it will not fall back to the polling 
engine. If inotify doesn't work, you need to do your own watching manually.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121219/08edb600/attachment.sig>


More information about the Interest mailing list