Joe Pham
2006-08-31 03:13:16 UTC
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
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