2
This question may be better asked on unix.stackexchange.com, but I'm asking it here because I'm quite sure someone will have an answer.
My keybaord doesn't have a driver for Linux, and I'm thinking about trying to write one as a way to learn C. I have a book but a good project is also helpful. I don't really know how to go about doing that, but thats a question for another place and time. The question I have now is what do the following error messages mean?
I get 54 of these on boot, each with a different leading number in the brackets.
[ 1.543402] hid-generic 0003:05C7:2012.0004: unknown main item tag 0x0
and then I get 1 of these:
[ 1.546827] hid-generic 0003:05C7:2012.0004: unbalanced collection at end of report description
and 1 of these :
[ 1.547479] hid-generic: probe of 0003:05C7:2012.0004 failed with error -22
Can someone tell me what these mean? I know for a fact it's my keyboard. The messages go away when I unplug it.
1
You might find useful information regarding the probe error here: http://stackoverflow.com/questions/7199827/linux-usb-device-driver-not-getting-probed. Depending on your programming experience, learning C by developing a Linux driver is going to be tough. I recommend learning the basics of C in userland, then move to driver development.
– user5071535 – 2015-11-25T18:12:50.690