Did
- Code: Select all
osstest
Strange thing is that when I plug in headphones in the back of the computer (with a mini-jack) there I do have sound.
Is there a mini-soundcard extra for this in every pc or so?
Help appreciated
Moderators: hannu, dev, kodachi, cesium
osstestcesium wrote:Please paste output of 'ossinfo -v3', and contents of /usr/lib/oss/etc/installed_drivers.
%ossinfo -v3
OSS has not detected any supported sound hardware in your system.
%
cesium wrote:Did you install OSS from ports? audio/oss port doesn't include the Lynx driver since the Lynx driver is still closed source (Lynx studios won't let 4front open source it). You need to use the package from OSS website:
http://www.4front-tech.com/release/oss- ... 3-i386.tbz
http://www.4front-tech.com/release/oss- ... -amd64.tbz
(Unfortunately, 4front didn't compile a newer version for FreeBSD 6. You may wish to nag 4front to do this via the support form or via the mailing list).
pkg_add -rv http://www.4front-tech.com/release/oss-freebsd7-v4.0-1016-i386.tbzcesium wrote:Does /dev/dsp exist? Run "ossdevlinks -v -r" as root. Also paste "ossinfo -v3".
/dev/dsp: Permission denied.Version info: OSS 4.0 (b1013/200802020510) (0x00040003)
Platform: FreeBSD/i386 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #7: Thu Apr 17 11:21:34 EDT 2008 root@pcbsd:/usr/obj/usr/src/sys/PCBSD (pcbsd)
Number of audio devices: 4
Number of audio engines: 4
Number of mixer devices: 1
Device objects
0: lynxone0 LynxONE
1: vmix0 OSS transparent virtual support
Mixer devices
0: LynxONE Control Panel (Mixer 0 of device object 0)
Device file /dev/oss/lynxone0/mix0, Legacy device /dev/mixer0
Priority: -1
Caps:
Device handle: OSS-PCI-mx01
Device priority: -1
Audio devices
LynxONE analog output /dev/oss/lynxone0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 0/LynxONE analog output
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: OSS-PCI-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 96000
HW Type: Not indicated.
Minimum latency: Not indicated
LynxONE analog input /dev/oss/lynxone0/pcmin0 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 1/LynxONE analog input
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: OSS-PCI-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 96000
HW Type: Not indicated.
Minimum latency: Not indicated
LynxONE digital output /dev/oss/lynxone0/pcm1 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/LynxONE digital output
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: OSS-PCI-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 96000
HW Type: Not indicated.
Minimum latency: Not indicated
LynxONE digital input /dev/oss/lynxone0/pcmin1 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 3/LynxONE digital input
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: OSS-PCI-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 96000
HW Type: Not indicated.
Minimum latency: Not indicatedpcbsd# ossdevlinks -v -r
4 audio devices
/dev/dsp0 is the next free legacy device
/dev/dsp0: No such file or directory
Created new legacy device /dev/dsp0 -> /dev/oss/lynxone0/pcm0
/dev/dsp1: No such file or directory
Created new legacy device /dev/dsp1 -> /dev/oss/lynxone0/pcmin0
/dev/dsp2: No such file or directory
Created new legacy device /dev/dsp2 -> /dev/oss/lynxone0/pcm1
/dev/dsp3: No such file or directory
Created new legacy device /dev/dsp3 -> /dev/oss/lynxone0/pcmin1
0 legacy dsp device files
/dev/oss/lynxone0/pcm0 is the default mmap output device
1 mixer devices
/dev/mixer1 is the next free legacy device
/dev/mixer0: No such file or directory
Created new legacy device /dev/mixer0 -> /dev/oss/lynxone0/mix0
1 legacy mixer device files
??? That's after ls, right? This is very odd. Erase /dev/dsp and do 'ln -sf /dev/oss/lynxone0/pcm0 /dev/dsp'.Lazy wrote:
- Code: Select all
/dev/dsp: Permission denied.
cesium wrote:??? That's after ls, right? This is very odd. Erase /dev/dsp and do 'ln -sf /dev/oss/lynxone0/pcm0 /dev/dsp'.Lazy wrote:
- Code: Select all
/dev/dsp: Permission denied.
EDIT: Are you using the digital output per chance? In that case use pcm1 instead of pcm0.
pcbsd# ls /dev/dsp
ls: /dev/dsp: No such file or directoryln -sf /dev/oss/lynxone0/pcm0 /dev/dspIt isn't supposed to reply to console. Check now if programs like ossplay work.Lazy wrote:and your other suggestion:
- Code: Select all
ln -sf /dev/oss/lynxone0/pcm0 /dev/dsp
gave nothing (blank).
Run "osstest 0" and "osstest 2". Which one of these outputs?ehm... digital output? pcm1 pcm0? lost me there...
Usage: ossplay [options...] filename...
Options: -v Verbose output
-q No informative printouts
-d<devname> Change output device.
-s<rate> Change playback rate of unrecognized files.
-b<bits> Change number of bits for unrecognized files.
-c<channels> Change number of channels for unrecognized files.pcbsd# ossplay -v -d/dev/mixer0 -s48000 /home/Ludo/tada.wav
Playing .WAV file /home/Ludo/tada.wav, 16 bits/stereo/44100 Hz
/dev/mixer0: Device not configured
Failed to select bits/sampleUsers browsing this forum: No registered users and 3 guests