"Larry O'Neill (H.S.A.)" <[EMAIL PROTECTED]> wrote: > Hi, > I'm haveing some trouble with trying to get audio input to work on > my Ultra60 machine. Audio playback is working no problem, but when I try > to take any input from /dev/audio: > > mymachine$ dd if=/dev/audio of=recorded.raw > dd: /dev/audio: Device not configured > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.002 secs (0 bytes/sec) > > Also, what reutrns form audioctl: > > mymachine$ audioctl -a | head > name=SUNW,CS4231 > version=b > config=onboard1 > encodings=mulaw:8,alaw:8,slinear_le:16,ulinear:8,slinear_be:16,slinear:8*,uli > near_le:16*,ulinear_be:16*,adpcm:8 properties=full_duplex > full_duplex=0 > fullduplex=0 > blocksize=400 > hiwat=163 > lowat=1 > > > which suggests an audiocs interface, but my dmesg tells me that it's not > audiocs, but audioce: > > mymachine$ dmesg | grep audio > audioce0 at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f, > 722000-722003 ipl 35 ipl 36: nvaddrs 0 > audio0 at audioce0 > > I have been playing about with all of the parameters in mixerctl and > audioctl, but it doesnt seem to be making any difference, or it complains. > mixerctl only complains when I try to edit any of the record parameters: > > mymachine$ mixerctl -av > inputs.dac=8,8 volume > inputs.dac.mute=off [ on off ] > inputs.line=8,8 volume > inputs.line.mute=off [ on off ] > inputs.mic=0 volume > inputs.mic.mute=on [ on off ] > inputs.cd=8,8 volume > inputs.cd.mute=on [ on off ] > monitor.monitor=7 volume > outputs.monitor.mute=on [ on off ] > outputs.output=200,200 volume > outputs.output.mute=on [ on off ] > record.record=0,0 volume > record.record.source=mic [ cd mic dac ] > monitor.output=headphones [ speaker line headphones ] > mymachine$ mixerctl monitor.monitor=8 > monitor.monitor: 7 -> 8 > mymachine$ mixerctl record.record.source=dac > mixerctl: AUDIO_MIXER_WRITE: Invalid argument > mymachine$ > > whereas for anything I try to change in audioctl, I get: > > audioctl: set failed: Invalid argument > > > I find it very strange that the audio output is ok, but the input not.... > > > any suggestions? > thanks > Larry
audioce(4) is the ebus attached variant of the sbus attached audiocs(4). As the manpage says, recording is currently not supported in audioce(4). Martin