OSS 4.2 with ensoniq 5880B pci

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

OSS 4.2 with ensoniq 5880B pci

Postby TheDaveM » Tue Sep 14, 2010 11:26 am

Hi all.

I've never managed to get the sound to function on my ubuntu system, but everything seems to be 'in order'

here is some info for you.

My hardware details...

Code: Select all
$ lshw -C multimedia
WARNING: you should run this program as super-user.
  *-multimedia           
       description: Multimedia audio controller
       product: 5880B [AudioPCI]
       vendor: Ensoniq
       physical id: e
       bus info: pci@0000:00:0e.0
       version: 04
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=oss_sbpci latency=32 maxlatency=128 mingnt=12
       resources: irq:18 ioport:b400(size=64)


and results of some tests...

Code: Select all
ossmix
Selected mixer 0/AC97 Mixer (Unknown)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 0:0)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 100:100)
speaker <monovol> (currently 100)
line [<leftvol>:<rightvol>] (currently 70:70)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 100)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 100:100)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 100:100)
aux1 [<leftvol>:<rightvol>] (currently 49:49)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 100)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
mixext.spkmode <FRONT|SPREAD> (currently FRONT)
mixext.dualdac ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 11.6:11.6 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
davem@WachabeServer:~/soundOSS$


As you can see the volumes are set a 70%, this was because i read somewhere that on some occasions the mixer gets things around the wrong way (i've been searching for a solution for a while), so I set at this level in the hopes that i would at least hear something :?

so I then did the 'test' of the ouput...

Code: Select all
$ osstest
Sound subsystem and version: OSS 4.2 (b 2003/201009131832) (0x00040100)
Platform: Linux/i686 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_sbpci0/pcm0 (audio engine 0): Sound Blaster PCI128 (rev 4)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47980.00 Hz (-0.04%)>
/dev/oss/oss_sbpci0/pcm1 (audio engine 5): Sound Blaster PCI128 (playback only)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47980.00 Hz (-0.04%)>

*** All tests completed OK ***


note I have also tested creating sym links from the /dev/oss/oss_sbpci0/pcm0 to /dev/dsp (again as suggested on the main OSS page) - again no sound.

I also performed the
Code: Select all
sudo ossdevlinks -r -v
    sudo ossdetect -d -v


but again no change?

which is untrue, as I don't hear anything via my speakers, they are plugged in, I have moved them between the various output jacks and still nothing.

the card is on the mother board, I do get a 'beep' from the mother board when I boot up, I believe that I have now dissabled this in the bios (again advice i read somewhere), should I 'undisable it' ?? not that it was working when the beep was on.... although I will do a quick test.

I followed these instruction on the ubuntu wiki https://help.ubuntu.com/community/OpenSound.

ALSA has also failed to work on this card?

I have contemplated trying to have ALSA and OSS installed simultaneously, so as I can trouble shoot by switching between them.

is there any method to determine if the sound chip on the card is actually working (or the output jacks)? I have no issues to open up the box.

I read on the main oss page about soundoff and sound on, here is the result of these

Code: Select all
$ soundoff
bash: /usr/sbin/soundoff: Permission denied
davem@WachabeServer:~/soundOSS$ sudo soundoff
[sudo] password for davem:
$ sudo soundon
WARNING: All config files need .conf: /etc/modprobe.d/ralink, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ralink, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/ralink, it will be ignored in a future release.


what is it with this warning about an ralink config file? why should sound require a 'network' config? or is this somehow related to a very old problem of a usb wifi card I used to use, and just a red herring?

to confirm the loaded modules...
Code: Select all
$ lsmod
Module                  Size  Used by
oss_usb               105996  0
oss_sbpci              14864  0
osscore               566612  2 oss_usb,oss_sbpci
binfmt_misc             8356  1
iptable_filter          3100  0
ip_tables              11692  1 iptable_filter
nvidia               4704212  22
x_tables               16544  1 ip_tables
via686a                12744  0
i2c_viapro              7344  0
sbp2                   22888  0
ppdev                   6688  0
shpchp                 32272  0
lp                      8964  0
parport_pc             31940  1
parport                35340  3 ppdev,lp,parport_pc
8139too                22620  0
ohci1394               29900  0
ieee1394               86596  2 sbp2,ohci1394
8139cp                 19260  0
mii                     5212  2 8139too,8139cp
floppy                 54916  0
amd_k7_agp              6728  1
agpgart                34988  2 nvidia,amd_k7_agp
usbhid                 38208  0


are there any that are missing??

I'm fairly happy to 'play' with this, but I don't know what other info you may require.... so just ask, and you shall receive.

My intention is to use this pc to retrieve radio and TV over the web, and output the sound via my stereo, but without any working sound the whole things is a bit pointless!

for info is the the full result of the lshw, in case there is some other strange things interfering.

Code: Select all
$ lshw
WARNING: you should run this program as super-user.
wachabeserver             
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 255MiB
     *-cpu
          product: AMD Athlon(tm) XP 1800+
          vendor: Advanced Micro Devices [AMD]
          physical id: 1
          bus info: cpu@0
          version: 6.6.2
          size: 1550MHz
          width: 32 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
        *-cache:0
             description: L1 cache
             physical id: 0
             size: 128KiB
        *-cache:1
             description: L2 cache
             physical id: 1
             size: 256KiB
     *-pci
          description: Host bridge
          product: AMD-760 [IGD4-1P] System Controller
          vendor: Advanced Micro Devices [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 14
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-amdk7 latency=32
          resources: irq:0 memory:e0000000-e3ffffff(prefetchable) memory:ee009000-ee009fff(prefetchable) ioport:9000(size=4)
        *-pci
             description: PCI bridge
             product: AMD-760 [IGD4-1P] AGP Bridge
             vendor: Advanced Micro Devices [AMD]
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci bus_master
             resources: memory:ec000000-edffffff memory:e4000000-ebffffff(prefetchable)
           *-display
                description: VGA compatible controller
                product: NV20 [GeForce3 Ti 200]
                vendor: nVidia Corporation
                physical id: 5
                bus info: pci@0000:01:05.0
                version: a3
                width: 32 bits
                clock: 66MHz
                capabilities: bus_master cap_list rom
                configuration: driver=nvidia latency=248 maxlatency=1 mingnt=5
                resources: irq:16 memory:ec000000-ecffffff memory:e4000000-e7ffffff(prefetchable) memory:e8000000-e807ffff(prefetchable) memory:e8080000-e808ffff(prefetchable)
        *-isa
             description: ISA bridge
             product: VT82C686 [Apollo Super South]
             vendor: VIA Technologies, Inc.
             physical id: 7
             bus info: pci@0000:00:07.0
             version: 40
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=parport_pc latency=0
             resources: irq:0
        *-ide
             description: IDE interface
             product: VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE
             vendor: VIA Technologies, Inc.
             physical id: 7.1
             bus info: pci@0000:00:07.1
             version: 06
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master cap_list
             configuration: driver=pata_via latency=32
             resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:9400(size=16)
        *-usb:0
             description: USB Controller
             product: VT82xxxxx UHCI USB 1.1 Controller
             vendor: VIA Technologies, Inc.
             physical id: 7.2
             bus info: pci@0000:00:07.2
             version: 1a
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=uhci_hcd latency=32
             resources: irq:11 ioport:9800(size=32)
        *-usb:1
             description: USB Controller
             product: VT82xxxxx UHCI USB 1.1 Controller
             vendor: VIA Technologies, Inc.
             physical id: 7.3
             bus info: pci@0000:00:07.3
             version: 1a
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=uhci_hcd latency=32
             resources: irq:11 ioport:9c00(size=32)
        *-serial UNCLAIMED
             description: SMBus
             product: VT82C686 [Apollo Super ACPI]
             vendor: VIA Technologies, Inc.
             physical id: 7.4
             bus info: pci@0000:00:07.4
             version: 40
             width: 32 bits
             clock: 33MHz
             capabilities: cap_list
             configuration: latency=0
        *-network
             description: Ethernet interface
             product: RTL-8139/8139C/8139C+
             vendor: Realtek Semiconductor Co., Ltd.
             physical id: 9
             bus info: pci@0000:00:09.0
             logical name: eth0
             version: 10
             serial: 00:40:f4:a3:8b:25
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list ethernet physical
             configuration: broadcast=yes driver=8139too driverversion=0.9.28 ip=192.168.1.6 latency=32 maxlatency=64 mingnt=32 multicast=yes
             resources: irq:17 ioport:b000(size=256) memory:ee00a000-ee00a0ff
        *-firewire
             description: FireWire (IEEE 1394)
             product: TSB12LV23 IEEE-1394 Controller
             vendor: Texas Instruments
             physical id: a
             bus info: pci@0000:00:0a.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=ohci1394 latency=32 maxlatency=4 mingnt=3
             resources: irq:18 memory:ee008000-ee0087ff memory:ee000000-ee003fff
        *-multimedia
             description: Multimedia audio controller
             product: 5880B [AudioPCI]
             vendor: Ensoniq
             physical id: e
             bus info: pci@0000:00:0e.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=oss_sbpci latency=32 maxlatency=128 mingnt=12
             resources: irq:18 ioport:b400(size=64)
        *-storage
             description: RAID bus controller
             product: PDC20276 (MBFastTrak133 Lite)
             vendor: Promise Technology, Inc.
             physical id: 10
             bus info: pci@0000:00:10.0
             version: 01
             width: 32 bits
             clock: 66MHz
             capabilities: storage bus_master cap_list
             configuration: driver=pata_pdc2027x latency=32 maxlatency=18 mingnt=4
             resources: irq:19 ioport:b800(size=8) ioport:bc00(size=4) ioport:c000(size=8) ioport:c400(size=4) ioport:c800(size=16) memory:ee004000-ee007fff
        *-usb:2
             description: USB Controller
             product: USB
             vendor: NEC Corporation
             physical id: 11
             bus info: pci@0000:00:11.0
             version: 41
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=ohci_hcd latency=32 maxlatency=42 mingnt=1
             resources: irq:16 memory:ee00b000-ee00bfff
        *-usb:3
             description: USB Controller
             product: USB
             vendor: NEC Corporation
             physical id: 11.1
             bus info: pci@0000:00:11.1
             version: 41
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=ohci_hcd latency=32 maxlatency=42 mingnt=1
             resources: irq:17 memory:ee00c000-ee00cfff
        *-usb:4
             description: USB Controller
             product: USB 2.0
             vendor: NEC Corporation
             physical id: 11.2
             bus info: pci@0000:00:11.2
             version: 02
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=ehci_hcd latency=32 maxlatency=34 mingnt=16
             resources: irq:18 memory:ee00d000-ee00d0ff


thanks in advance for any advice you can give

David
TheDaveM
New Member
 
Posts: 2
Joined: Tue Sep 14, 2010 10:21 am

Re: OSS 4.2 with ensoniq 5880B pci

Postby cesium » Tue Sep 14, 2010 11:48 am

A) In the mixer, 'vol' should be set to a high value - it's volume of main output in AC97... See whether 'osstest' plays when mixext.spkmode is set to 'SPREAD'.

B) Can you paste output of 'lspci -vnn' for the card?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: OSS 4.2 with ensoniq 5880B pci

Postby TheDaveM » Tue Sep 14, 2010 6:54 pm

thanks for the quick reply,

I'm not sure I understand how I should set ensure the " mixext.spkmode is set to 'SPREAD' " is there a command line method to ensure that this is correct? - I do remember seeing something in the GUI about different sets of speakers to use, but I'm not sure where it was :oops:

Anyway, will get back onto this particular system again in a while and will then report back.

David
TheDaveM
New Member
 
Posts: 2
Joined: Tue Sep 14, 2010 10:21 am

Re: OSS 4.2 with ensoniq 5880B pci

Postby cesium » Wed Sep 15, 2010 1:12 am

"ossmix mixext.spkmode SPREAD" is obvious. Also can be done in ossxmix graphical mixer GUI. I suggest also "ossmix vol 70" while you're at it.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am


Return to Linux

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 1 guest