View Single Post
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#121
Originally Posted by jaeezzy View Post
PSSwitcher uses HAL to see any device added via UDI that gets registered and like mentioned earlier HAL is not registering any UDI for the connected device in some bt headset cases and I don't know how I can detect the connected device. Hopefully someone here can suggest something for this. I'm using S9 motorolla bt headset and UDI "/org/freedesktop/Hal/devices/computer_logicaldev_input_1" is registered when connected and this' how I'm getting it to work.
The easiest would be to write "dmesg" in terminal. You could test it with open and close the keyboard. Am not sure if bt will show upp there though. Another way would be to use "lshal |grep <device>". Am not sure what the device name would be. But if you try computer_logicaldev it will show a 0 or 1 if it is connected or not.