Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I/O Error #1

Open
chump-online opened this issue Jan 21, 2014 · 5 comments
Open

I/O Error #1

chump-online opened this issue Jan 21, 2014 · 5 comments

Comments

@chump-online
Copy link

i always get an IO error:
root@raspberrypi:/home/pr# ./readKeyd /dev/input/event0
(null):0 - file I/O error

device is functional, tested with evtest

can anyone help?

@nemiah
Copy link
Owner

nemiah commented Jan 21, 2014

Hi,

the first thing I would check: does /dev/input/event0 exist?

@chump-online
Copy link
Author

Hi, yeah but as written i tested the device with evtest /dev/input/event0
and that works fine.

i have no idea why i always get that I/O error

thanks for your help!

2014/1/21 nemiah notifications@github.com

Hi,

the first thing I would check: does /dev/input/event0 exist?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-32971319
.

Mit freundlichen Grüßen
Philipp Raczek


@nemiah
Copy link
Owner

nemiah commented Jan 22, 2014

Hi, maybe it's a permissions thing.
have you tried running it as root?

@chump-online
Copy link
Author

yes, as root. Thats the point, i have no idea why it does bring the IO
error....

@nemiah
Copy link
Owner

nemiah commented Jan 25, 2014

In that case I'm sorry, but I'm out of ideas, too.
You could try to find which line of code produces the problem.
It should be around line 135: ioctl(fd, EVIOCGRAB, 1);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants