Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HOWTO: OSS4 on Debian (squeeze/sid only)

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Message
Author
vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#21 Post by vbrummond »

Well, building and installing this way worked, but I still get no sound. What puzzles me is everything checks out, the module loads the mixers work (and show that sound should be being played) but all I get is silence. Any ideas?

Edit I ran osstest and though they all say "OK" I get no sound. I can make the mixers show sound playing a wav file with ossplay but I hear no output.

Here is my ossinfo
Version info: OSS 4.2 (b 2005/201109271840) (0x00040100) GPL
Platform: Linux/x86_64 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 (debian-ghibli)

Number of audio devices: 6
Number of audio engines: 10
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=2951 (2951)
HD Audio controller Intel HD Audio
Vendor ID 0x8086293e
Subvendor ID 0x11111043
Codec 0: Unknown (0x11060397/0x10431111)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x1106039 (Mixer 0 of device object 1)

Audio devices
HD Audio play pcm1 /dev/oss/oss_hdaudio0/pcm0 (device index 0)
HD Audio play pcm2 /dev/oss/oss_hdaudio0/pcm1 (device index 1)
HD Audio play pcm3 /dev/oss/oss_hdaudio0/pcm2 (device index 2)
HD Audio play pcm4 /dev/oss/oss_hdaudio0/pcm3 (device index 3)
HD Audio rec select1 /dev/oss/oss_hdaudio0/pcmin0 (device index 4)
HD Audio rec jack6 /dev/oss/oss_hdaudio0/pcmin1 (device index 5)

Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
Here are some snips from soundon.log. I will bold what look like errors.
*** Loading OSS kernel modules ***

osscore module loaded OK
oss_hdaudio module loaded OK
oss_usb module loaded OK

*** Finished loading OSS kernel modules ***

opendir: No such file or directory
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=284 (284)
HD Audio controller Intel HD Audio
Vendor ID 0x8086293e
Subvendor ID 0x11111043
Codec 0: Unknown (0x11060397/0x10431111)
2: oss_usb0 USB audio core services
I guess my chip is just not supported for real?
Always on Debian Testing

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#22 Post by kedaha »

How about # ossdetect -v?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#23 Post by vbrummond »

Here is the output, but I do not have a usb device.

Code: Select all

sudo ossdetect -v
Detected Intel High Definition Audio (P35)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)
Always on Debian Testing

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#24 Post by kedaha »

How about trying the "Mercurial" OSS?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#25 Post by vbrummond »

kedaha wrote:How about trying the "Mercurial" OSS?
I will give it a go and get back to you.
Always on Debian Testing

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#26 Post by vbrummond »

Same deal, must just be no support for this card. Thanks for trying to help. :)
Always on Debian Testing

Ibidem
Posts: 160
Joined: 2010-12-24 18:28

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#27 Post by Ibidem »

@vbrummond:
Run ossxmix, and check whether changing the selection for "int-speaker" (just under the top row) gets sound working.
This is how you switch between internal speaker and headphones.
Thinkpad X100e/Debian Squeeze (All reposiories enabled)/Linux 3.4.11:
1GB RAM/1.6GHz Neo X2/ATI HD 3200/RTL8191SEVA2 wlan0, RTL8169 eth0

vbrummond
Posts: 4432
Joined: 2010-03-02 01:42

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#28 Post by vbrummond »

Thanks for the tip; However I didnt have any options, just a few switches for the virtual mixers and a bunch for jack. None of them change anything.
Always on Debian Testing

belnac
Posts: 7
Joined: 2011-10-12 17:00

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#29 Post by belnac »

Hadret wrote:Secondly, if you are using 64-bit like I am, you can use provided, precompiled 64-bit library but before you will make install -s commands, you must change the name of file from libflashsupport_64.so to libflashsupport.so. Simple as that. From now one, flash videos will have working audio once again (:
Confirming I also had to rename libflashsupport_64.so to libflashsupport.so before installing it; Invaluable tip there, Hadret - thanks! Flash now works on OSS without ALSA/PulseAudio!

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#30 Post by kedaha »

I've installed OSS4 on wheezy/sid, kernel 3.1.0-1-amd64 following the method described here for Stable

Code: Select all

# apt-cache policy oss4-dkms
oss4-dkms:
  Installed: 4.2-build2005-2
  Candidate: 4.2-build2005-2
  Version table:
 *** 4.2-build2005-2 0
        500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status
The sound card is:
Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
Subsystem: Creative Labs SB1040

I did not remove pulseaudio for the time being but modified /etc/pulse/default.pa as described in the opensound wiki here.
Applications like. flash, totem movie player minitube etc are working perfectly but not 5.1 surround sound (available using the default alsa+pulseaudio), only get stereo, albeit of a superior quality, with OSS4.
I'm able to control output volume in Sound Preferences but, oddly, the device is not detected under the Hardware tab "Choose a device to configure."
To be continued...
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Runaway1956
Posts: 1
Joined: 2012-12-25 00:55

Re: HOWTO: OSS4 on Debian (squeeze/sid only)

#31 Post by Runaway1956 »

Many thanks for this thread. I've performed this little task on Ubuntu and Ubuntu derivatives, but this is my first time on Debian. Or, more accurately, Linux Mint Debian. ;)

The guide worked like a charm, the only glitch being that I had to put myself into the audio group. And, I've got my OSS4 back again!!

Post Reply