Re: USB Port Auto Notification to BitPim
"Joe Pham" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
Yet another approach: 1. Using dnotify, BitPim monitors '/var/bitpim'. 2. Hotplug script updates '/var/bitpim/dnotify.log' 3. After being signaled, BitPim reads '/var/bitpim/dnotify.log' and processes the data (add/del what port) accordingly. This works well, though there's some lag between when a phone is connected and when BitPim is notified. I'll also look into DBUS and see if that'd work any better. Thoughts or comments? -Joe Pham _____________________________________________________________________ PrivatePhone - FREE telephone number & voicemail. A number so private, you can make it public. http://www.privatephone.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642