[nas] isolate input/output?

Paul Fox pgf at foxharp.boston.ma.us
Mon Mar 12 08:40:39 MDT 2007


erik wrote:
 > > i'm afraid lircd blocks nasd from getting the device, forever:
 > >     openDevice
 > >     openDevice: current sample rate = 8012
 > >     openDevice OUT /dev/dsp mode 2
 > >     openDevice: waiting on output device
 > >     openDevice: waiting on output device
 > >     ...repeats...
 > 
 > nasd tries opening the output device, this is not intended to fail
 > (opening the input device may fail). My patch did not change this, it
 > just added a way to explicitly specify no out- or input device.
 > 
 > This suggests that lircd is either opening the device for output as well
 > or that the hardware/driver is half-duplex.

yes, that's what i was figuring.
 > 
 > > any suggestions on how to check this? is there a way to "ask" the system?
 > 
 > $ grep -i duplex  /proc/asound/oss/sndstat
 > 0: Intel ICH7 (DUPLEX)

pgf(1)>> grep -i duplex  /proc/asound/oss/sndstat
0: VIA 8235 (DUPLEX)

okay, that's a relief.  :-)

i'll try your other suggestions for verifying the fullness of my
duplex tonight.

 > > it's an EPIA-M mini-itx motherboard, with a "VIA
 > > VT1616 6-Channel AC'97 Codec".  it's advertised as capable of
 > > doing surround-sound, but i can't find anything about duplexness. 
 > > (duplicity?  :-).
 > 
 > I would assume that this is full-duplex capable hardware, but I don't
 > know this.
 > 
 > Could it be that the hardware is somehow configured to use the input
 > jacks for output (additional speakers)? Something like this could imply
 > a half-duplex mode since in- and outputs could not be connected at the
 > same time.

unlikely -- but it's a good thought.  i'll keep that in mind.

paul
=---------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 40.1 degrees)



More information about the Nas mailing list