/dev/dsp and maestro-2e

Taku YAMAMOTO taku at cent.saitama-u.ac.jp
Tue Aug 19 00:41:13 PDT 2003


Greetings,


On Mon, 18 Aug 2003 21:15:37 -0400
epilogue at attcanada.ca wrote:
> hello all,
> 
(snip)
> to access /dev/dsp (for input and output), however, when they do, they all return
> error messages like 'device busy' or 'invalid playback device'.

This is because the maestro driver in the tree doesn't provide recording
capability yet.

> 
> i have hunted all over (handbook, LINT, google, and relevant mailing lists) trying to
> find a solution for this, but to no avail.   i have already tried many different tweaks like:
> 
> + kernel options				 PCI_ENABLE_IO_MODES
> + /boot/loader.conf				snd_maestro_load="YES"
> + setting various sysctl options per handbook
> 
> none of these have brought the desired result or produced any noticeable
> change.  All have since been removed.

Those settings are not necessary as far as playback-only programs such as
mpg123 / ogg123 / xmms / etc. working.

> 
> uname -a
> <snip> 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #9: <snip> i386
> 
> relevant lines from kernel config:
> device          pcm
> device          sbc		<--- i added this line per 'man pcm'.  

Maestro doesn't require device sbc because it is driven in native mode.

(snip)
> cat /dev/sndstat 
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <ESS Technology Maestro-2E> at I/O port 0x1400 irq 5 (4p/0r/0v channels duplex)
(snip)
> several weeks now and am willing to try out any suggestions.  finally fixing this would really
> make my week.

In fact, I have added the recording stuff to the driver locally. But the
modification involves not only massive changes (which makes the patch
bloat) but some stability issues too, that makes me hesitant a bit to
publish the work.


> thank you so much,
> epilogue

cheers,
Taku

-- 
-|-_    YAMAMOTO, Taku  <taku at cent.saitama-u.ac.jp>
 | _ <

Member of Advanced Computer and Communication Studies Society
   (ACCESS for short), Information Processing Center, Saitama University


More information about the freebsd-mobile mailing list