Suspending and resuming the machine seems to disable recording operations.
To get around this problem, try unloading the oss modules (with soundoff)
and loading them again (using soundon). Recording from the microphone
should work at this time, as long as you have the microphone set to be the
recording source as opposed to Line_in/CD/FM....etc
DS
On Sat, 12 Dec 1998, Jont Allen wrote:
> [EMAIL PROTECTED] wrote:
> >
> > Hi there,
> > does someone else using a toshiba notebook to
> > record sound with the microphon? I had no
> > succsess :-(
> >
> > --
> >
> > |Michael Renner E-mail: [EMAIL PROTECTED] |
> > |D-72072 Tuebingen Germany |
> > |Germany http://stargate.natur.cuni.cz/~renner |
>
> I have spent some hours looking at this same problem, on my IBM560.
>
> I can play, but not record. I am able to open the /dev/dsp for
> reading, and set it up, but when I try to read the data, it gets
> an IO error (error 5). I used ddd (gdb) to single step the source
> code of a recording program I have.
>
> The command
> cat /dev/dsp >/tmp/junk.dat
> gets an error (even as root):
>
> cat /dev/dsp >/tmp/junk.dat
> cat: /dev/dsp: Input/output error
>
> I am using OSS.
>
> SOme time ago recording used to work, in a much earlier version of linux.
>
> Here is the output of my lsmod:
>
> lsmod
> Module Pages Used by
> wavelan_cs 5 1
> opl3 4 0
> cs4232 1 0
> uart401 2 [cs4232] 0
> ad1848 11 [cs4232] 0
> midi 7 [opl3 uart401 ad1848] 0
> soundbase 116 [opl3 cs4232 uart401 ad1848 midi] 0
> sndshield 1 [opl3 cs4232 uart401 ad1848 midi soundbase] 0
> autofs 2 1 (autoclean)
> ds 2 [wavelan_cs] 5
> i82365 4 2
> pcmcia_core 7 [wavelan_cs ds i82365] 4
> nls_cp437 1 1 (autoclean)
> msdos 2 1 (autoclean)
> fat 6 [msdos] 1 (autoclean)
>
> And here is /dev/sndstat
>
> cat /dev/sndstat
> OSS/Linux 3.9.1e (C) 4Front Technologies 1996-1998
>
> License serial number: N02637563
> Options:
> This copy of OSS is licensed to jont allen
>
> Kernel: Linux pcjba 2.0.34 #12 Fri Oct 9 11:41:53 EDT 1998 i586
> Build: 2.0.34
>
> Card config:
> CS4232 MIDI at 0x330 irq 9
> CS423X at 0x530 irq 5 drq 1,0
> OPL-2/OPL-3 FM at 0x388
>
> Audio devices:
> 0: Crystal audio controller (CS4236) (DUPLEX)
> 1: Shadow of audio device #0 (DUPLEX)
>
> Synth devices:
> 0: Yamaha OPL-3
>
> Midi devices:
>
> Timers:
> 0: System clock
> 1: Crystal audio controller (CS4236)
>
> Mixers:
> 0: Crystal audio controller (CS4236)
>
> Ideas anyone?
>
> Jont
> --
> Jont B. Allen (Technology Leader)
> AT&T Labs-Research, Shannon Laboratory
> 180 Park Ave., Room E161
> Florham Park NJ 07932-0971
> 973/360-8545voice, x7111fax, http://www.research.att.com/info/jba
>
> An expert is one who has made all the mistakes in a subfield.
> Good judgment comes from experience, which comes from bad judgment.
> Experience is what you get when you dont get what you want. -rlg
>