neutrino: fix input device repeat setting for pre 2.6.17 kernels

Origin commit data
------------------
Branch: ni/coolstream
Commit: 146c46da8e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-25 (Sun, 25 Mar 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-03-25 20:08:38 +02:00
parent a27344b5ea
commit 06509a0946
2 changed files with 12 additions and 10 deletions

View File

@@ -155,7 +155,7 @@ void CRCInput::open()
for (int i = 0; i < NUMBER_OF_EVENT_DEVICES; i++)
{
if ((fd_rc[i] = ::open(RC_EVENT_DEVICE[i], O_RDONLY)) == -1)
if ((fd_rc[i] = ::open(RC_EVENT_DEVICE[i], O_RDWR)) == -1)
perror(RC_EVENT_DEVICE[i]);
else
{