Re: /dev/dsp and maestro-2e

Taku YAMAMOTO <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Organization Advanced Computer and Communication Studies Society
Message-ID <[email protected]>
Greetings,


On Mon, 18 Aug 2003 21:15:37 -0400
[email protected] 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  <[email protected]>
 | _ <

Member of Advanced Computer and Communication Studies Society
   (ACCESS for short), Information Processing Center, Saitama University
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.