alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* ioctl problem - help please!!
@ 2010-02-02 21:34 Rene E. Henriquez G.
  2010-02-04  9:45 ` Clemens Ladisch
  0 siblings, 1 reply; 4+ messages in thread
From: Rene E. Henriquez G. @ 2010-02-02 21:34 UTC (permalink / raw)
  To: alsa-devel

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é.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ioctl problem - help please!!
  2010-02-02 21:34 ioctl problem - help please!! Rene E. Henriquez G.
@ 2010-02-04  9:45 ` Clemens Ladisch
  2010-02-04 20:31   ` Rene E. Henriquez G.
  2010-02-04 20:33   ` Rene E. Henriquez G.
  0 siblings, 2 replies; 4+ messages in thread
From: Clemens Ladisch @ 2010-02-04  9:45 UTC (permalink / raw)
  To: Rene E. Henriquez G.; +Cc: alsa-devel

Rene E. Henriquez G. wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ioctl problem - help please!!
  2010-02-04  9:45 ` Clemens Ladisch
@ 2010-02-04 20:31   ` Rene E. Henriquez G.
  2010-02-04 20:33   ` Rene E. Henriquez G.
  1 sibling, 0 replies; 4+ messages in thread
From: Rene E. Henriquez G. @ 2010-02-04 20:31 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

Thanks a lot for your reply Clemens.

The driver is Type

On Thu, Feb 4, 2010 at 3:45 AM, Clemens Ladisch <clemens@ladisch.de> wrote:

> Rene E. Henriquez G. wrote:
> > 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
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ioctl problem - help please!!
  2010-02-04  9:45 ` Clemens Ladisch
  2010-02-04 20:31   ` Rene E. Henriquez G.
@ 2010-02-04 20:33   ` Rene E. Henriquez G.
  1 sibling, 0 replies; 4+ messages in thread
From: Rene E. Henriquez G. @ 2010-02-04 20:33 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

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

On Thu, Feb 4, 2010 at 3:45 AM, Clemens Ladisch <clemens@ladisch.de> wrote:

> Rene E. Henriquez G. wrote:
> > 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
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-04 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 21:34 ioctl problem - help please!! Rene E. Henriquez G.
2010-02-04  9:45 ` Clemens Ladisch
2010-02-04 20:31   ` Rene E. Henriquez G.
2010-02-04 20:33   ` Rene E. Henriquez G.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).