oss_audigyls - rear left speaker doesn't work

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

oss_audigyls - rear left speaker doesn't work

Postby phanyx » Sun Feb 14, 2010 10:09 pm

Hello,

I'm running Ubuntu 9.10 with OSS4 compiled from mercurial source code repository and my sound card is SB Audigy SE. My problem is, that my rear left speaker doesn't produce sound - only the right one does (tested with osstest and in the system by playing music). The rear speakers work fine, as they play normally when I attach them as the front speakers.

Furthermore, in ossxmix the "rear" slider doesn't control the volume of rear speakers. It does nothing actually.

For a dirty workaround, I switched the rear speakers jack with center/lfe jack. In that case only the subwoofer plays so I came up with an idea to leave the center jack in a position, that both subwoofer and center speaker play in mono. Although it somehow works, OSS now thinks, that my rear speakers are the center ones, so eventually it's not really a good idea to leave it as it is.

Is there a more elegant way, to make it work?

Regards,
phan

My `ossinfo -v3' dump:
Code: Select all
Version info: OSS 4.2 (b 2002/201002140040) (0x00040100) OSS_HG
Hg revision: changeset: 882:b22444a65d59, tag: tip, date: Sat Jan 30 03:49:51 2010 +0200, summary: Fixed a typo in vmix_output.c
Platform: Linux/i686 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 (phanyx-desktop)

Number of audio devices:   4
Number of audio engines:   8
Number of MIDI devices:      0
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_audigyls0 AudigyLS interrupts=956511 (956511)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: AudigyLS Mixer (Mixer 0 of device object 1)
    Device file /dev/oss/oss_audigyls0/mix0, Legacy device /dev/mixer0
    Priority: 1
    Caps:
    Device handle: PCI100a1102-0000:01:09.0-mx01
    Device priority: 1


Audio devices
AudigyLS front                    /dev/oss/oss_audigyls0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/AudigyLS front
                     Busy (IN/OUT) label 'VMIX'
      Engine      2: 4/AudigyLS front (vmix)
                     Busy (OUT) by PID 5422 / audacious2 label 'audacious2'
      Engine      3: 5/AudigyLS front (vmix)
                     Available for use
      Engine      4: 6/AudigyLS front (vmix)
                     Available for use
      Engine      5: 7/AudigyLS front (vmix)
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI100a1102-0000:01:09.0-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): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

AudigyLS center/lfe               /dev/oss/oss_audigyls0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/AudigyLS center/lfe
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI100a1102-0000:01:09.0-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): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

AudigyLS surround                 /dev/oss/oss_audigyls0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/AudigyLS surround
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI100a1102-0000:01:09.0-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): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

AudigyLS 5.1 output               /dev/oss/oss_audigyls0/pcm3  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/AudigyLS 5.1 output
                     Available for use
    Input formats (0x00000010):
      AFMT_S16_LE   - 16 bit signed little endian
    Output formats (0x00000010):
      AFMT_S16_LE   - 16 bit signed little endian
    Device handle: PCI100a1102-0000:01:09.0-au04
    Related mixer dev: -1
    Sample rate source: 0
    Preferred channel configuration: MULTICH
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_in -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_out -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_audigyls0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_audigyls0/pcm3
phanyx
New Member
 
Posts: 3
Joined: Sun Feb 14, 2010 7:59 pm

Re: oss_audigyls - rear left speaker doesn't work

Postby cesium » Mon Feb 15, 2010 12:01 am

What if "ext.spread" is changed to ON via the oss(x)mix mixer? (See "oss_audigyls" manpage for explanation. It's not all that elegant either IMHO).
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: oss_audigyls - rear left speaker doesn't work

Postby phanyx » Mon Feb 15, 2010 1:44 am

I have the spread option enabled all the time :)

-- edit

Of course I have it disabled while testing with osstest.
phanyx
New Member
 
Posts: 3
Joined: Sun Feb 14, 2010 7:59 pm

Re: oss_audigyls - rear left speaker doesn't work

Postby cesium » Mon Feb 15, 2010 9:53 pm

So I gather the rear doesn't work even when ext.spread is enabled.. When happens if you play via /dev/dsp_multich? (e.g. "ossplay -d3 (file)"?). Also, can you paste 'ossmix' output here?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: oss_audigyls - rear left speaker doesn't work

Postby phanyx » Tue Feb 16, 2010 4:05 pm

Yes, the left rear speaker doesn't work (the right rear works) even with ext.spread enabled.

It's kind of funny thing, when I try "ossplay -d3 file.wav" - it crashes my linux system. I tried it in command prompt at tty1 with xserver (tty7) disabled (service gdm stop). Right after issuing the command, system writes some debug info (something about kernel panic and backtrace) and crashes (I'm unable to do anything but cold restart). Unfortunately, I can't dig out any fail logs. That's interesting, that it only happens with -d3(multich) - d0(front), d1(center), d2(rear) don't cause the system crash. And yes, while doing "ossplay -d2 file.wav", left rear speaker still doesn't play.

Maybe you will find significant my uname: Linux phanyx-desktop 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686 GNU/Linux

Furthermore, I had similar crashes while doing osstest, when it was at the end of testing the rear (stereo) channel (so when it was about to test the multich). I didn't find this relevant, since I can simply kill (ctrl+z) osstest before it hangs the system.

Here's my ossmix output:
Code: Select all
Selected mixer 0/AudigyLS Mixer
Known controls are:
pcm [<leftvol>:<rightvol>] (currently 82:82)
rear [<leftvol>:<rightvol>] (currently 82:82)
center [<leftvol>:<rightvol>] (currently 82:82)
ext.spread ON|OFF (currently ON)
ext.loopback ON|OFF (currently OFF)
ext.recordvol <monovol> (currently 255)
ext.recordsrc <MIC|LINE|AUX> (currently MIC)
ext.monitorvol <monovol> (currently 0)
ext.recmon ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <Fast|High|OFF> (currently High)
vmix0-outvol <monovol> (currently 23.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("audacious2")
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)


So, at this point I have broken rear left and /dev/dsp_multich output, and the rear volume slider in ossxmix. For me it looks like driver problem, since in Windows and in Ubuntu with alsa+pulseaudio all channels are working. But that's only my opinion. If you need more info, please tell me.
phanyx
New Member
 
Posts: 3
Joined: Sun Feb 14, 2010 7:59 pm


Return to Linux

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 1 guest

cron