Package Details: hidclient 20120728-3

Git Clone URL: https://aur.archlinux.org/hidclient.git (read-only, click to copy)
Package Base: hidclient
Description: Client program to transmit local keyboard events over bluetooth.
Upstream URL: https://github.com/kcolford/hidclient
Keywords: bluetooth keyboard laptop
Licenses: GPL
Submitter: kcolford
Maintainer: kcolford
Last Packager: kcolford
Votes: 0
Popularity: 0.000000
First Submitted: 2016-11-09 04:50 (UTC)
Last Updated: 2018-07-25 20:04 (UTC)

Latest Comments

Cryen commented on 2024-09-22 11:21 (UTC)

After patching it, it compiles successfully.
I was able to check for devices but after selecting one (my keyboard) I encounter an error.

 ❯ sudo hidclient -l
sh: line 1: xinput: command not found
    x11-mutable information not available.
List of available input devices:
num Vendor/Product, Name, -x compatible (x/-)
 0  [0000:0005.0000] 'Lid Switch' (-)
 1  [0000:0001.0000] 'Power Button' (-)
 2  [0000:0003.0000] 'Sleep Button' (-)
 3  [0000:0001.0000] 'Power Button' (-)
 4  [06cb:76ae.0100] 'DLL0704:01 06CB:76AE Mouse' (-)
 5  [06cb:76ae.0100] 'DLL0704:01 06CB:76AE Touchpad' (-)
 6  [0001:0001.ab83] 'AT Translated Set 2 keyboard' (-)
 7  [0000:0000.0000] 'Intel HID events' (-)
 8  [001f:0001.0100] 'PC Speaker' (-)
 9  [0000:0000.0000] 'Dell WMI hotkeys' (-)
10  [0000:0006.0000] 'Video Bus' (-)
11  [0000:0000.0000] 'HDA Intel PCH Headphone Mic' (-)
12  [0000:0000.0000] 'HDA Intel PCH HDMI/DP,pcm=3' (-)
13  [0000:0000.0000] 'HDA Intel PCH HDMI/DP,pcm=7' (-)
14  [0000:0000.0000] 'HDA Intel PCH HDMI/DP,pcm=8' (-)

I'm using wayland so I guess this is why none of them are "x compatible"
But I still should be able to use the program, right?
The problem I'm currently having:

 ❯ sudo hidclient -e6
Failed to connect to SDP server: No such file or directory
Failed to register with SDP server

ipaqmaster commented on 2024-01-06 07:14 (UTC) (edited on 2024-01-06 07:15 (UTC) by ipaqmaster)

Wanted to give this one a try myself. Funny to see another comment on the same day after years of inactivity.

According to other projects with this problem it seems stropts.h were replaced with sys/ioctl.h. This can probably be patched into this package if there's no newer version (The tarball has a date of 2012...) and hopefully that may be all it needs.

mniak commented on 2024-01-05 14:35 (UTC)

Build is broken

==> Starting build()...
gcc -o hidclient hidclient.c -O2 -lbluetooth -Wall
hidclient.c:105:10: fatal error: stropts.h: No such file or directory
  105 | #include <stropts.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: hidclient] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: hidclient-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
hidclient - exit status 4

applebloom commented on 2020-01-04 17:15 (UTC)

Build now fails, because glibc removed stropts.h header. But it seems not needed, removing the include from hidclient.c fixes the issue.

kcolford commented on 2018-10-17 18:26 (UTC)

There is a bunch of information recorded in the hidclient.c file, that's the main source of instructions/documentation. Unfortunately I know very little about how it really works, I just know how I got it to work on my laptop at one point but I haven't used it in a while

matnix commented on 2018-10-15 14:15 (UTC)

It shows up on my android device as input, when I try to switch on the slider switch it stalls for sometime and does nothing. The switch remains in the off position. Any idea? Is there a video tutorial to see the exact steps or a written one? There is no post mentioning the details and the sequential order of steps to be taken. What am I doing wrong?

XeCycle commented on 2017-02-22 03:03 (UTC)

Oops, seems to be temporary. Okay now.

XeCycle commented on 2017-02-22 02:36 (UTC)

The source URL 404 here.

kcolford commented on 2016-12-30 14:43 (UTC)

Yes I did, although it requires some tweaking to additional configuration files like adding the --compat flag to the bluetoothd daemon command line and making some other changes as listed in the source file. I didn't include those in this package because I don't think other people will appreciate such invasive packaging. Although I should probably mention it on the wiki.

z3ntu commented on 2016-12-30 14:38 (UTC)

Did you actually get it working? I created a package myself and tried it back in September but wasn't successful (and so I didn't push it to the AUR).