wrw28 / bdremote-ng

Automatically exported from code.google.com/p/bdremote-ng
GNU General Public License v2.0
0 stars 0 forks source link

Not working when another HID (such as a keyboard) is also to be used #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have two devices I need to connect via Bluetooth: A Logitech diNovo Edge 
keyboard and the PS3 remote -- it currently appears impossible with 
bdremoteng, it seems.

I'm on a Mythbuntu 9.04 install (AMD64) on an Asrock ION 330 box.

If I stop bluetooth (sudo /etc/init.d/bluetooth stop) and run bdremoteng, I 
can get it to attach to my remote (sudo ./bdremoteng -a 00:23:06:E6:B9:54 -
n -d  0) and send the keys correctly to lirc on port 8888.

But when I start bluetooth again, it fails to connect to the HID control 
channel or some such, and consequently cannot connect to my keyboard...

In the logfile (daemon.log) it says this:

Oct 17 19:37:22 asrock bluetoothd[11981]: Failed to listen on control 
channel
Oct 17 19:37:22 asrock bluetoothd[11981]: input-server: Operation not 
permitted (1)

If I start bdremoteng while bluetooth is already running (I know, not 
supposed to...) it says this:

Using BT address: 00:0A:3A:7B:B5:AE.
bind: Address already in use
Can't listen on HID control channel: Address already in use
bdremoteng.c:166 -> 19:51:46:
InitcaptureLoop failed.

So apparently bdremoteng monopolize the HID "control channel" somehow and 
cannot coexist with other HID devices?

I'm using the latest 0.4 RC.

Pls advice -- appears like a nasty bug to me?

-- Per (baekgaard@b4net.dk)

Original issue reported on code.google.com by baekga...@gmail.com on 17 Oct 2009 at 5:55

GoogleCodeExporter commented 8 years ago
Since I added the changes in r74 and answered your questions per e-mail, I 
assume
this bug can be closed.

Original comment by wo...@wojci.dk on 24 Oct 2009 at 9:45