Skip to contentSkip to conversation

ioctl problem - help please!!

DISCUSSION Rene E. Henriquez G. 2 participants 4 messages Feb 2, 2010 – Feb 4, 2010

lore
Share & tools
lore
#0 lore raw

Good day to everyone.

I'm developing a system in which I need to gather some entropy from /dev/random. In order to increase the entropy, I'm using a daemon called audio-entropyd from Folkert van Heusden, but it has some problems that maybe you guys can help me with this.

Does anybody know what might cause this:

2925 open("/dev/snd/pcmC0D0c", O_RDWR|O_NONBLOCK) = 5
2925 ioctl(5, 0x80184151, 0x7ffff3351890) = -1 EIO (Input/output error)

to give EIO?

The daemon just stops with the KILL signal.

Thanks for reading this, I really need your assistance for this please.

Regards,

René.

#1 lore raw
Quoted 6 lines · Rene E. Henriquez G.

Does anybody know what might cause this:

2925 open("/dev/snd/pcmC0D0c", O_RDWR|O_NONBLOCK) = 5
2925 ioctl(5, 0x80184151, 0x7ffff3351890) = -1 EIO (Input/output error)

to give EIO?

Some error detected by the driver. Which driver?
Does normal recording work?

Regards,
Clemens

#2 lore raw

Thanks a lot for your reply Clemens.

The driver is Type

Quoted 15 lines · Clemens Ladisch
Quoted 6 lines · Rene E. Henriquez G.

Does anybody know what might cause this:

2925 open("/dev/snd/pcmC0D0c", O_RDWR|O_NONBLOCK) = 5
2925 ioctl(5, 0x80184151, 0x7ffff3351890) = -1 EIO (Input/output error)

to give EIO?

Some error detected by the driver. Which driver?
Does normal recording work?

Regards,
Clemens

#3 lore raw
In reply to Clemens Ladisch

Thanks a lot for your reply Clemens.

The driver is Type 10 ALSA emulation.

Yes, normal recording just works fine with the following command:

arecord -f dat -d 2800 audioDAT.wav

I'll wait for your comments, and thanks again.

René.

PS: Sorry for the uncompleted mail before... wrong keystroke

Quoted 15 lines · Clemens Ladisch
Quoted 6 lines · Rene E. Henriquez G.

Does anybody know what might cause this:

2925 open("/dev/snd/pcmC0D0c", O_RDWR|O_NONBLOCK) = 5
2925 ioctl(5, 0x80184151, 0x7ffff3351890) = -1 EIO (Input/output error)

to give EIO?

Some error detected by the driver. Which driver?
Does normal recording work?

Regards,
Clemens