Sound comes in only one speaker for AudigyLS

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, kodachi, cesium

Sound comes in only one speaker for AudigyLS

Postby phirince » Sat Apr 12, 2008 1:53 pm

Hi,
I have a sound card named Creative SoundBlaster Audigy Value, It is detected by FreeBSD as
sudo ossdetect -v
Detected Sound Blaster Audigy LS / Live7.1
Detected OSS Transparent Virtual Mixing Architecture

But sound comes only in one speaker (Front left)

Here's the output from ossinfo -a -v1
Audio devices
AudigyLS front /dev/oss/audigyls0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Engine 1: Busy (IN/OUT) label 'VMIX'
Engine 2: Busy (IN/OUT) by PID 1286 / artsd label 'artsd'
Engine 3: Available for use
Engine 4: Available for use
Engine 5: Available for use
Engine 6: Available for use
Engine 7: Available for use
Engine 8: Available for use
Engine 9: Available for use
Engine 10: Available for use
AudigyLS (shadow) /dev/oss/audigyls0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: DUPLEX TRIGGER MMAP SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
AudigyLS center/lfe /dev/oss/audigyls0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: Available for use
AudigyLS surround /dev/oss/audigyls0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: Available for use
AudigyLS 5.1 output /dev/oss/audigyls0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm0 (device index 5)
Legacy device /dev/dsp5
Caps: DUPLEX TRIGGER MMAP VIRTUAL
Modes: IN/OUT
Engine 1: Busy (IN/OUT) by PID 1286 / artsd label 'artsd'
Engine 2: Available for use
Engine 3: Available for use
Engine 4: Available for use
Engine 5: Available for use
Engine 6: Available for use
Engine 7: Available for use
Engine 8: Available for use
Engine 9: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm1 (device index 6)
Legacy device /dev/dsp6
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use
Engine 3: Available for use
Engine 4: Available for use
Engine 5: Available for use
Engine 6: Available for use
Engine 7: Available for use
Engine 8: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm2 (device index 7)
Legacy device /dev/dsp7
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use
Engine 3: Available for use
Engine 4: Available for use
Engine 5: Available for use
Engine 6: Available for use
Engine 7: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm3 (device index 8)
Legacy device /dev/dsp8
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use
Engine 3: Available for use
Engine 4: Available for use
Engine 5: Available for use
Engine 6: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm4 (device index 9)
Legacy device /dev/dsp9
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use
Engine 3: Available for use
Engine 4: Available for use
Engine 5: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm5 (device index 10)
Legacy device /dev/dsp10
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use
Engine 3: Available for use
Engine 4: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm6 (device index 11)
Legacy device /dev/dsp11
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use
Engine 3: Available for use
AudigyLS front (VMIX0) /dev/oss/vmix0/pcm7 (device index 12)
Legacy device /dev/dsp12
Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
Modes: IN/OUT
Engine 1: Available for use
Engine 2: Available for use

uname -a
FreeBSD hackerphir 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 01:43:02 UTC 2008 root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64
I have compiled and installd OSS v4.0-build1015

Here's the output of osstest
Sound subsystem and version: OSS 4.0 (b1015/200804121250) (0x00040003)
Platform: FreeBSD/amd64 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 01:43:02 UTC 2008 root@palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP

*** Scanning sound adapter #-1 ***
/dev/oss/audigyls0/pcm0 (audio engine 0): AudigyLS front
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/audigyls0/pcm1 (audio engine 1): AudigyLS (shadow)
- Skipping device (card already tested)
/dev/oss/audigyls0/pcm2 (audio engine 2): AudigyLS center/lfe
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/audigyls0/pcm3 (audio engine 3): AudigyLS surround
- Performing audio playback test...
<left> Device returned error: Input/output error
/dev/oss/audigyls0/pcm4 (audio engine 4): AudigyLS 5.1 output
- Skipping multi channel device

*** Scanning sound adapter #0 ***
/dev/oss/vmix0/pcm0 (audio engine 5): AudigyLS front (VMIX0)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/vmix0/pcm1 (audio engine 6): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)
/dev/oss/vmix0/pcm2 (audio engine 7): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)
/dev/oss/vmix0/pcm3 (audio engine 8): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)
/dev/oss/vmix0/pcm4 (audio engine 9): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)
/dev/oss/vmix0/pcm5 (audio engine 10): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)
/dev/oss/vmix0/pcm6 (audio engine 11): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)
/dev/oss/vmix0/pcm7 (audio engine 12): AudigyLS front (VMIX0)
- Skipping virtual device (use -V to force test)

*** Some errors were detected during the tests ***


Sound comes during the <left> OK stage and <stereo> OK stage during the osstest (during the sterio stage also, sound comes in one speaker only

Here's the dmesg output while doing the osstest
osscore: Output timed out on audio engine 0/'AudigyLS front' (count=0)
osscore: Output timed out on audio engine 2/'AudigyLS center/lfe' (count=0)
osscore: Output timed out on audio engine 3/'AudigyLS surround' (count=0)


The sound card works perfectly on Windows

Please help
-Phirince
phirince
 
Posts: 2
Joined: Sat Apr 12, 2008 1:38 pm

Postby cesium » Sat Apr 12, 2008 2:00 pm

Some ideas:

A. Try without vmix (I think it doesn't work that well on FreeBSD anyway). Edit /usr/lib/oss/etc/installed_drivers and remove vmix. Reload OSS.

B. Set sblive_digital_din=1 in /usr/lib/oss/conf/sblive.conf. Reload OSS. Undo if failed to help. [edit: I was wrong about the driver used. It's the audigyls one, so this idea is useless]
Last edited by cesium on Sat Apr 12, 2008 3:01 pm, edited 1 time in total.
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

Postby phirince » Sat Apr 12, 2008 2:53 pm

cesium wrote:Some ideas:

A. Try without vmix (I think it doesn't work that well on FreeBSD anyway). Edit /usr/lib/oss/etc/installed_drivers and remove vmix. Reload OSS.

That didn't help. now there is no sound during osstest, but sound comes to one speaker when playing audio and KDE sounds.

B. Set sblive_digital_din=1 in /usr/lib/oss/conf/sblive.conf. Reload OSS. Undo if failed to help.


There is no conf dir under oss directory :(
[phirince@hackerphir /usr/local/lib/oss]$ ls
etc logs modules sysfiles.list version.dat


Thanks for the response anyway
-Phirince
phirince
 
Posts: 2
Joined: Sat Apr 12, 2008 1:38 pm

Postby dev » Sat Apr 12, 2008 5:56 pm

type ossxmix and fiddle with the volume controls. I think that one of the regs isn't set correctly.


regards
Dev Mazumdar
dev
 
Posts: 576
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA


Return to BSD

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests

cron