oss crashed after install?

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Wed Jan 15, 2014 6:54 pm

cwpjr wrote:I think I'll install Mint Mate 16 as a second boot and try OSS.


ALSA may work well, if PulseAudo is removed. It might be interesting to test it too.

OSS4 may produce better sound quality with "production quality" or Petrov's plugin.

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Wed Jan 15, 2014 10:32 pm

Hi Igor,

I'm at step 3 but wanted your opinion on step 5....

MINT 16 Installation
No Audio after install

1) Remove PulseAudio:
sudo killall pulseaudio
sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio paman pavumeter pavucontrol
sudo apt-get install libcanberra-gstreamer

2) Install OSS4 Prerequisites:
sudo apt-get install -y binutils libgtk2.0-0 sed gcc libc6
sudo apt-get install -y build-essential linux-headers-`uname -r` gawk libtool libgtk2.0-dev
sudo apt-get install -y libesd0 libsdl1.2debian

3) Reboot and see if Alsa is fixed

4) Disable Volume control applet

5) Install OSS4

?Igor's or the current download?

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Wed Jan 15, 2014 11:04 pm

Also after reboot volume control in ~system tray is gone (pulseaudio i presume)
but in control panel there is a Mate Volme Control which I don't see how to disable.

It says it's using my intel sound but no sound still -
I tried youtube and banshee mp3 playback and also set system sound theme and enabled system beeps etc.

So I am ready for OSS4 - just want verification of steps above and current status from you.

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Wed Jan 15, 2014 11:22 pm

cwpjr wrote:Also after reboot volume control in ~system tray is gone (pulseaudio i presume)
but in control panel there is a Mate Volume Control which I don't see how to disable.

It says it's using my intel sound but no sound still -
I tried youtube and banshee mp3 playback and also set system sound theme and enabled system beeps etc.

So I am ready for OSS4 - just want verification of steps above and current status from you.


Right mouse click on the "Mate Volume Control" and select "remove from panel".

1. Try the 4front package http://www.opensound.com/download.cgi
2. You may also try my package.

WARNING: Mint 16 (=Ubunty 13.10) has Linux kernel 3.11 and gcc-4.8
You may need to perform special "magic rituals" to install OSS4 on Mint 16

Code: Select all

$ uname -a


Code: Select all

$ ls -al /usr/bin/gcc


The ALSA manual is here: https://wiki.archlinux.org/index.php/Alsa
We do not discuss ALSA problems on this forum.

____________________
Check this:

Code: Select all

$ sudo apt-get install mate-settings-daemon-gstreamer
$ sudo apt-get remove mate-settings-daemon-pulse

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Wed Jan 15, 2014 11:41 pm

The Mate Volume Control is not on a panel. It is in the Control Center.
No right click action for it in control center or as the launched window.

This may be new (?) in Mate 16.

Is this panel you speak of like the sidebar in Ubuntu?

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Wed Jan 15, 2014 11:44 pm

Code: Select all

cwpjr@cwpjrmint16 ~ $ sudo apt-get install mate-settings-daemon-gstreamer
[sudo] password for cwpjr:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mate-settings-daemon-gstreamer is already the newest version.
mate-settings-daemon-gstreamer set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.


Code: Select all

cwpjr@cwpjrmint16 ~ $ sudo apt-get remove mate-settings-daemon-pulse
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'mate-settings-daemon-pulse' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
cwpjr@cwpjrmint16 ~ $

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Wed Jan 15, 2014 11:54 pm

cwpjr wrote:The Mate Volume Control is not on a panel. It is in the Control Center.
No right click action for it in control center or as the launched window.

This may be new (?) in Mate 16.

Is this panel you speak of like the sidebar in Ubuntu?


The Mate Volume Control inside the Control Center is not a problem.
However, if you click on it, it will start and become a problem. Simply close it. IT SHOULD NOT RUN.

The volume applet is the speaker icon on the panel (see screenshot in the attachment)
The Applet manual is here: _https://help.ubuntu.com/community/Applets
Attachments
Volume Control Applet.png.tar.gz
The volume applet on the panel
(46.04 KiB) Downloaded 781 times
Last edited by igorzwx on Thu Jan 16, 2014 12:12 am, edited 1 time in total.

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 12:08 am

OK the volume control in the panel is gone.
And I'm not runninh the Mate volume control.

I believe it's time to install OSS4.

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 12:11 am

cwpjr wrote:OK the volume control in the panel is gone.
And I'm not runninh the Mate volume control.

I believe it's time to install OSS4.


Good luck!

Type on terminal:

Code: Select all

$ uname -a
$ ls -al /usr/bin/gcc


and post the output here.

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 12:23 am

Thanks for the wishes but I'm getting the same results with the downloaded .deb packag....

Code: Select all

cwpjr@cwpjrmint16 ~ $ uname -a
Linux cwpjrmint16 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux

Code: Select all

cwpjr@cwpjrmint16 ~ $ ls -al /usr/bin/gcc
lrwxrwxrwx 1 root root 7 Jan 15 15:57 /usr/bin/gcc -> gcc-4.8
cwpjr@cwpjrmint16 ~ $


So should I just get Mint 13 or 14 and install your build? The current build errs follow:

Code: Select all

cwpjr@cwpjrmint16 ~/Downloads $ sudo dpkg -i oss-linux-4.2-2008_i386.deb
[sudo] password for cwpjr:
Selecting previously unselected package oss-linux.
(Reading database ... 166192 files and directories currently installed.)
Unpacking oss-linux (from oss-linux-4.2-2008_i386.deb) ...
Setting up oss-linux (4.2-2008) ...
Building OSS Modules for Linux-i686 3.11.0-12-generic

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/3.11.0-12-generic/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-12-generic'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘init_proc_fs’:
/usr/lib/oss/build/osscore.c:287:8: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
        create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
        ^
/usr/lib/oss/build/osscore.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_root =
                      ^
/usr/lib/oss/build/osscore.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_devfiles =
                          ^
/usr/lib/oss/build/osscore.c:300:20: error: dereferencing pointer to incomplete type
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
                    ^
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:956:6: error: ‘struct file_operations’ has no member named ‘readdir’
   fop->readdir = NULL;  /* tmp_readdir; */
      ^
/usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default]
   fop->fsync = oss_no_fsync;
              ^
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1638:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
   return dev_name(&dip->pcidev->dev);
   ^
cc1: some warnings being treated as errors
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [default] Error 2
Forcing re-detection of installed soundcards
Starting Open Sound System
Relinking OSS kernel modules for ""
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/3.11.0-12-generic/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-12-generic'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘init_proc_fs’:
/usr/lib/oss/build/osscore.c:287:8: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
        create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
        ^
/usr/lib/oss/build/osscore.c:286:22: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_root =
                      ^
/usr/lib/oss/build/osscore.c:293:26: warning: assignment makes pointer from integer without a cast [enabled by default]
   if ((oss_proc_devfiles =
                          ^
/usr/lib/oss/build/osscore.c:300:20: error: dereferencing pointer to incomplete type
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
                    ^
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:956:6: error: ‘struct file_operations’ has no member named ‘readdir’
   fop->readdir = NULL;  /* tmp_readdir; */
      ^
/usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default]
   fop->fsync = oss_no_fsync;
              ^
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1638:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
   return dev_name(&dip->pcidev->dev);
   ^
cc1: some warnings being treated as errors
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [default] Error 2

Relinking the OSS kernel modules failed
Processing triggers for man-db ...

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 12:35 am

cwpjr wrote:Thanks for the wishes but I'm getting the same results with the downloaded .deb packag....

Code: Select all

cwpjr@cwpjrmint16 ~ $ uname -a
Linux cwpjrmint16 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux

Code: Select all

cwpjr@cwpjrmint16 ~ $ ls -al /usr/bin/gcc
lrwxrwxrwx 1 root root 7 Jan 15 15:57 /usr/bin/gcc -> gcc-4.8
cwpjr@cwpjrmint16 ~ $


So should I just get Mint 13 or 14 and install your build?


Linux Mint 13 is LTS, it is supported till April 2017. And it is better supported now.
Linux Mint 14 is supported till April 2014.

I would suggest Linux Mint MATE 13 LTS.

_____________________________________
The OSS4 manual is here: _https://wiki.archlinux.org/index.php/OSS

Test OSS by running:

Code: Select all

$ osstest


OSS Mixer GUI:

Code: Select all

$ ossxmix


Start oss:

Code: Select all

$ sudo soundon


Unload oss:

Code: Select all

$ sudo soundoff


TEST:

Code: Select all

$ ossinfo
$ ossmix


Configuring Applications for OSS4 _http://www.4front-tech.com/wiki/index.php/Configuring_Applications_for_OSSv4

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 1:24 am

OK I'll try Mint 13. Have to get supplies and burn time scheduled....

I'll do some reading too.

Thanks Igor

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 1:45 am

For Mint 16: you may try to switch to gcc-4.7 (or 4.6) and compile OSS4 from git
See: _http://www.opensound.com/forum/viewtopic.php?f=3&t=5324#p20307

Howto is here: _http://askubuntu.com/questions/26498/choose-gcc-and-g-version/26502#26502

The git version is said to be patched for kernel 3.11, and it was tested with Ubuntu 13.10 64bit (=Mint 16):
_http://www.opensound.com/forum/viewtopic.php?f=3&t=5247&start=15#p19765
Nobody reported anything about 32bit (as far as I know).

Code: Select all

$ sudo apt-get install git


Create a folder, and download the source code into it.

Code: Select all

$ mkdir mumu
$ cd mumu
$ git clone git://git.code.sf.net/p/opensound/git opensound-git


Read more: _http://www.opensound.com/forum/viewtopic.php?f=3&t=5247&start=15#p19765

cwpjr
Member
Posts: 38
Joined: Tue Jan 14, 2014 4:18 pm

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 3:52 pm

I have built OSS4 from git link you provided, with gcc-4.6, on my MINT 16 system. Clean Build.

But I have no sound still with osstest. I ran ossxmix and unchecked red x on playback and put speaker volume up.

Per trouble shooting steps here are ossinfo -v3 and ossmix

Code: Select all

cwpjr@cwpjrmint16 /opt/oss4build $ ossinfo -v3
Version info: OSS 4.2 (b 2006/201401161521) (0x00040100) OSS_HG
Platform: Linux/i686 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 (cwpjrmint16)

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


Device objects
 0: osscore0 OSS core services
 1: oss_ich0 Intel ICH6 (266E) interrupts=3962 (3962)
 2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
 0: ICH AC97 Mixer (ALC250) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_ich0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCIff001179-0000:00:1e.2-mx01
    Device priority: 10


Audio devices
Intel ICH6 (266E)                 /dev/oss/oss_ich0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/Intel ICH6 (266E)
                     Available for use
      Engine      2: 1/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      3: 2/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      4: 3/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      5: 4/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      6: 5/Intel ICH6 (266E)
                     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: PCIff001179-0000:00:1e.2-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 5000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_in -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_out -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_ich0/pcm0


Code: Select all

cwpjr@cwpjrmint16 /opt/oss4build $ ossmix
Selected mixer 0/ICH AC97 Mixer (ALC250)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 82)
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
spdout.enable ON|OFF (currently ON)
spdout.adc/dac ON|OFF (currently OFF)
spdout.pro <Consumer|Professional> (currently Consumer)
spdout.audio <AUDIO|DATA> (currently AUDIO)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.rate <48000|44100|32000> (currently 48000)
spdout.vbit ON|OFF (currently OFF)
spdin.enable ON|OFF (currently OFF)
spdin.monitor ON|OFF (currently OFF)
spdin.pro <decimal value> (currently 0) (Read-only)
spdin.audio <decimal value> (currently 0) (Read-only)
spdin.copy <decimal value> (currently 0) (Read-only)
spdin.pre-emph <decimal value> (currently 0) (Read-only)
spdin.mode <decimal value> (currently 0) (Read-only)
spdin.category <decimal value> (currently 0) (Read-only)
spdin.genlevel <decimal value> (currently 0) (Read-only)
spdin.source <decimal value> (currently 0) (Read-only)
spdin.channel <decimal value> (currently 0) (Read-only)
spdin.rate <decimal value> (currently 44100) (Read-only)
spdin.clock <decimal value> (currently 0) (Read-only)
spdin.signal <decimal value> (currently 0) (Read-only)
spdin.vbit <decimal value> (currently 0) (Read-only)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
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 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 4:42 pm

cwpjr wrote:I have built OSS4 from git link you provided, with gcc-4.6, on my MINT 16 system. Clean Build.

But I have no sound still with osstest. I ran ossxmix and unchecked red x on playback and put speaker volume up.

Per trouble shooting steps here are ossinfo -v3 and ossmix

Code: Select all

cwpjr@cwpjrmint16 /opt/oss4build $ ossinfo -v3
Version info: OSS 4.2 (b 2006/201401161521) (0x00040100) OSS_HG
Platform: Linux/i686 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 (cwpjrmint16)

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


Device objects
 0: osscore0 OSS core services
 1: oss_ich0 Intel ICH6 (266E) interrupts=3962 (3962)
 2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
 0: ICH AC97 Mixer (ALC250) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_ich0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCIff001179-0000:00:1e.2-mx01
    Device priority: 10


Audio devices
Intel ICH6 (266E)                 /dev/oss/oss_ich0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/Intel ICH6 (266E)
                     Available for use
      Engine      2: 1/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      3: 2/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      4: 3/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      5: 4/Intel ICH6 (266E) (vmix)
                     Available for use
      Engine      6: 5/Intel ICH6 (266E)
                     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: PCIff001179-0000:00:1e.2-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 5000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_in -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_out -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_ich0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_ich0/pcm0


Code: Select all

cwpjr@cwpjrmint16 /opt/oss4build $ ossmix
Selected mixer 0/ICH AC97 Mixer (ALC250)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 82)
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
spdout.enable ON|OFF (currently ON)
spdout.adc/dac ON|OFF (currently OFF)
spdout.pro <Consumer|Professional> (currently Consumer)
spdout.audio <AUDIO|DATA> (currently AUDIO)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.rate <48000|44100|32000> (currently 48000)
spdout.vbit ON|OFF (currently OFF)
spdin.enable ON|OFF (currently OFF)
spdin.monitor ON|OFF (currently OFF)
spdin.pro <decimal value> (currently 0) (Read-only)
spdin.audio <decimal value> (currently 0) (Read-only)
spdin.copy <decimal value> (currently 0) (Read-only)
spdin.pre-emph <decimal value> (currently 0) (Read-only)
spdin.mode <decimal value> (currently 0) (Read-only)
spdin.category <decimal value> (currently 0) (Read-only)
spdin.genlevel <decimal value> (currently 0) (Read-only)
spdin.source <decimal value> (currently 0) (Read-only)
spdin.channel <decimal value> (currently 0) (Read-only)
spdin.rate <decimal value> (currently 44100) (Read-only)
spdin.clock <decimal value> (currently 0) (Read-only)
spdin.signal <decimal value> (currently 0) (Read-only)
spdin.vbit <decimal value> (currently 0) (Read-only)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
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 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)



Type on terminal:

Code: Select all

$ dmesg | grep oss
$ osstest
$ lsmod | grep oss
$ lsmod | grep snd


and post the output here.

Are you testing "internal speakers", or external analog speakers, or SPDIF, or USB things?

It should have "jack sensing". If analog phones are plugged in, the internal speakers are off.

Why spdout is ON?

Code: Select all

$ ossmix
spdout.enable ON|OFF (currently ON)


Try this:

Code: Select all

$ ossmix spdout.enable OFF
$ ossmix spdout.enable


Your volume controls:

Code: Select all

$ ossmix
vol [<leftvol>:<rightvol>] (currently 75:75)
pcm [<leftvol>:<rightvol>] (currently 75:75)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)


___________________________________________
AC97 codecs should work with OSS4 "out of the box".
You may try different analog earphones.
Check your "green jack".
Old notebooks may have something damaged.

AC97 codecs should also work with ALSA "out of the box" (if PulseAudio is removed).
Do you thing that this old notebook is still capable of producing sound?
Does it work with MS Windows?
Last edited by igorzwx on Thu Jan 16, 2014 6:42 pm, edited 2 times in total.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests