A dir watcher with QFileInfo exists() and refresh() together with a QTimer? or setitimer and an ifstream? or maybe there is something in /proc which even tells you that a pilot thing has connected:) Leon Adriaan de Groot wrote: > > On Wed, 7 Feb 2001, Navindra Umanee wrote: > > Does KDE2 still have problems running with Linux 2.4? According to > > this article, this seems to be the case: > > Well, this isn't a KDE2-as-a-whole problem but my personal corner of KDE2 > - KPilot - has serious issues with kernel 2.4. And since you've brought it > up I'll describe my problem here and solicit solutions from kde-devel as a > whole: > > Kernel 2.4 makes USB device nodes (in /dev/udb/ I think) on-the-fly. One > part of KPilot is a daemon process that sits and waits for input on a > device. Up til now you could set it to wait on /dev/usb0 and all would be > fine. Except under kernel 2.4, there *is* no /dev/usb/0 until the input is > there, so KPilot can't possibly wait on /dev/usb/0 before it exists. > > Are there any ideas about what to do about this? [I suppose some kind of > Dir-Watcher might work...] > > -- > +------------------------------+--------------------------------------------+ > + Adriaan de Groot + Project: FRESCoS + > + adridg@cs.kun.nl + Private: adridg@sci.kun.nl + > + Kamer A6020 tel. 024 3652272 + http://www.cs.kun.nl/~adridg/frescos/ + > > > >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << -- ========================================================== Undefined behaviour: It works in the debug phase, it works during testing, and it blows up in your customers' face. Inspired by: Scott Meyers, Effective C++ >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<