hidclient icon indicating copy to clipboard operation
hidclient copied to clipboard

Non-working on Ubuntu 16.04 LTS

Open Wachobc opened this issue 8 years ago • 4 comments
trafficstars

Hello,

I've been looking at this code for a while now and trying to get it to work on Ubuntu 16.04 LTS. I've gotten to the point where the program will build and run. It prompts me to tell me that it is prepared to make a connection with an external device. Then that's it.

I am able to connect my device to the PC with the regular OS tools, but there's no indication of a connection with the program.

I've tried adding in some fprintf statements to see if I can tell where the program is hung up, but so far there's no output other than that of the program.

I've got the 5.37 version of bluetoothd and I'm using gcc version 5.4.0.

Has anyone out there had success with this code in this environment? If so, could you please offer suggestions as to how to get this program up and running?

Thank you in advance for your time,

Wachobc avatar Feb 07 '17 15:02 Wachobc

Sorry for replying this late, I forked the project trying to get it working on a raspberry/raspbian but it never did, I'm afraid it was developed for an older version of the bluez stack.

xenogenesi avatar Jul 05 '18 08:07 xenogenesi

@Wachobc Did you ever get this working or find any alternatives? I'm currently stuck in the same situation and haven't found any solutions

davansin avatar Nov 10 '18 01:11 davansin

Same. No matter the device class I set, it doen't work (on the "host") as input (e.g. Windows says "connected music" next to a kb or mouse icon) hidclient itself appears to be working fine.

I suppose we could try downgrading BlueZ? Which is the latest version that still works?

mamert avatar Aug 10 '19 16:08 mamert

@mamert The changelog of the sources hidclient.c mention Lubuntu 11.10 and Ubuntu 12.04 LTS, maybe you can check which ones work and which version of bluez they install.

xenogenesi avatar Aug 10 '19 18:08 xenogenesi