Re: Equivalent of /dev/input/mice for keyboards

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

 



Dmitry Torokhov wrote:

> I would take /dev/input/evdev.c as a base but instead of creating a new
> character device in connect() method I would route all events into a
> single device created upon module load (also see
> drivers/input/mousedev.c). That should be really it.

Hi, I've spent a few hours trying to get it right. I am able to
"connect" the devices correclty but when it's time to open the devices I
get a file "No such device" error. The code is at:

http://pastebin.ca/1308960

and I think the problem is around evall_open (line 129). Probably just a
look of an experienced developer can give me some small indication what
to do to solve the issue.

Thank you
Alessio

--
To unsubscribe from this list: send the line "unsubscribe linux-input" 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 Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux