Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 16:41:00 +0900
From:      Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
To:        freebsd-mobile@freebsd.org
Subject:   Re: /dev/dsp and maestro-2e
Message-ID:  <20030819164100.71e5fe07.taku@cent.saitama-u.ac.jp>
In-Reply-To: <20030818211537.71664bb1.epilogue@attcanada.ca>
References:  <20030818211537.71664bb1.epilogue@attcanada.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Greetings,


On Mon, 18 Aug 2003 21:15:37 -0400
epilogue@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@cent.saitama-u.ac.jp>
 | _ <

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030819164100.71e5fe07.taku>