M-audio delta 66 & FreeBSD v7

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

M-audio delta 66 & FreeBSD v7

Postby richard-g8jvm » Mon May 05, 2008 10:05 pm

Hi all

After 7 years plus of linux I've moved to FreeBSD, at the moment it feels like a masochistic leap back to the dark ages.
I've got to the state of the OSS drivers are I think working, osstest produces some sound:-

osstest
Sound subsystem and version: OSS 4.0 (b1015/200803240216) (0x00040003)
Platform: FreeBSD/amd64 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC

*** Scanning sound adapter #-1 ***
/dev/oss/envy240/pcm0 (audio engine 0): M Audio Delta 66 out1/2
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/envy240/pcm1 (audio engine 1): M Audio Delta 66 out3/4
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/envy240/spdout (audio engine 2): M Audio Delta 66 S/PDIF out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/envy240/pcmin0 (audio engine 3): M Audio Delta 66 in1/2
- Skipping input only device
/dev/oss/envy240/pcmin1 (audio engine 4): M Audio Delta 66 in3/4
- Skipping input only device
/dev/oss/envy240/spdin (audio engine 5): M Audio Delta 66 S/PDIF in
- Skipping input only device
/dev/oss/envy240/mon (audio engine 6): M Audio Delta 66 input from mon. mixer
- Skipping input only device
/dev/oss/envy240/multich_out (audio engine 7): M Audio Delta 66 (all outputs)
- Skipping multi channel device
/dev/oss/envy240/multich_in (audio engine 8): M Audio Delta 66 (all inputs)
- Skipping input only device

*** All tests completed OK ***


I've only got that as I've manually loaded /usr/lib/oss/modules/envy24.ko
& osscore.ko

Apps like Amarok and Kaffeine cant find the devices,
ossinfo -v is very verbose, its all listed, but ossxmix seems to be CLI only
The DM is Gnome 2.20 and the volume control and mixer applets are none functional.

I really need to have a mixer GUI for the apps I'll be using, the linux nannification was getting in the way, hence the move to FreeBSD(amd64).

Can you please advise where I need to list the drivers to be loaded at boot, and how to get
the audio apps to see something on /dev/dsp or whatever.

I have looked at similar threads, but couldn't get enough info.

TIA
BR
RICHARD
richard-g8jvm
New Member
 
Posts: 2
Joined: Mon May 05, 2008 9:50 pm

Postby cesium » Mon May 05, 2008 11:22 pm

A. I suspect the /dev/dsp* symlinks aren't setup, because the install wasn't done correctly. Shut down OSS, erase all existing /dev/dsp* and /dev/mixer* symlinks, run "ossdetect -v" and start OSS again using "soundon". Run "ossdevlinks -v" afterwards just to be certain.

B. There is a GTK based mixer application, it's called ossxmix. ossmix is the CLI based one. If you insist on the Gnome mixer, see this thread on how to get it to work. You'll have to manually compile, since all supplied binaries are for Linux.

C. OSS only supports multiple clients to the same audio node under Linux and Solaris, but not under FreeBSD.
You could set up apps to use a separate node each (a bit messy, I think). The better option is to run a sound server like arts, esound, nas or PulseAudio (you probably have esound already installed, since you're using Gnome 2.20), and set it to use a dsp which is different from the one linked to /dev/dsp (That way, applications ignorant of the sound server are likely to have the dsp available). Then set up programs to use the sound server (most media players have plugins for esd or arts. PA supports esd input).
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Postby richard-g8jvm » Tue May 06, 2008 8:05 am

Thanks for the info.
I don't whos mixer I use as long as its graphical.
I've tried running ossxmix, and one time it produced the same output as ossmix, thereafter nothing.
I installed by untarring in / , made install.sh executable then ran install.sh., Ill try to do as you say and post the results.

many thanks
BR
RICHARD
richard-g8jvm
New Member
 
Posts: 2
Joined: Mon May 05, 2008 9:50 pm


Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest