Re: UHID Device Reports Do Not Generate OS Activity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is hard to say what is wrong. I would start with reading the uhid /
hid code and see where you are getting stuck (and double check uhid
docs). Even for others we would need to do that as it is not easy to
see what is wrong.

I'm not sure what your goal is obvious you want to simulate a keyboard
for some purpose, but do you really need to operate at the HID layer?
If not it is much more convenient to use uinput, which will create a
evdev device for you.

Thanks,
Roderick

On Sat, Feb 10, 2018 at 1:33 AM, R0b0t1 <r030t1@xxxxxxxxx> wrote:
> Hello,
>
> I am trying to simulate a keyboard using the uhid interface. The fake
> device shows up in dmesg, but attempting to press the "a" key does
> nothing I can see. No input appears in the active terminal, nor in an
> xev window.
>
> The program receives UHID_OPEN, UHID_START, and UHID_CLOSE.
>
> Many different report descriptors were tried. The one currently
> uncommented is the one distributed with the USB implementor forum's
> HID report descriptor tool. The other is one found in a description of
> a boot device compatible keyboard.
>
> Thanks in advance,
>      R0b0t1
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux