oss crashed after install?

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

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

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 5:31 pm

I am trying to hear sound thru internal speakers.

Code: Select all

cwpjr@cwpjrmint16 ~ $ ossmix spdout.enable
Value of mixer control spdout.enable is currently set to ON
cwpjr@cwpjrmint16 ~ $ ossmix spdout.enable OFF
Value of mixer control spdout.enable set to OFF
cwpjr@cwpjrmint16 ~ $ ossmix spdout.enable
Value of mixer control spdout.enable is currently set to OFF
cwpjr@cwpjrmint16 ~ $ dmesg | grep oss
[    0.192575] vgaarb: bridge control possible 0000:00:02.0
[   18.096128] Adding 1561596k swap on /dev/sda5.  Priority:-1 extents:1 across:1561596k FS
[   78.107314] usbcore: registered new interface driver oss_usb
cwpjr@cwpjrmint16 ~ $ osstest
Sound subsystem and version: OSS 4.2 (b 2006/201401161521) (0x00040100)
Platform: Linux/i686 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): Intel ICH6 (266E)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47970.00 Hz (-0.06%)>

*** All tests completed OK ***


and after the above:

Code: Select all

cwpjr@cwpjrmint16 ~ $ 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 74:74)
video.rec ON|OFF (currently OFF)
spdout.enable ON|OFF (currently OFF)
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 OFF)
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)


and

Code: Select all

cwpjr@cwpjrmint16 ~ $ dmesg | grep oss
[    0.192575] vgaarb: bridge control possible 0000:00:02.0
[   18.096128] Adding 1561596k swap on /dev/sda5.  Priority:-1 extents:1 across:1561596k FS
[   78.107314] usbcore: registered new interface driver oss_usb
cwpjr@cwpjrmint16 ~ $ osstest
Sound subsystem and version: OSS 4.2 (b 2006/201401161521) (0x00040100)
Platform: Linux/i686 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): Intel ICH6 (266E)
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47968.00 Hz (-0.07%)>

*** All tests completed OK ***
cwpjr@cwpjrmint16 ~ $

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

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 5:38 pm

cwpjr wrote:I am trying to hear sound thru internal speakers.


Try analog earphones, or analog speakers.

On old notebooks, the internal speakers might be disconnected, or simply damaged.
Do they work with MS Windows?

Type on terminal:

Code: Select all

$ lsmod | grep oss
$ lsmod | grep snd

and post the output here.

You may also run "Volume control" from your control center and check, if sound is "muted".

Notebook keyboards may have special keys for "volume control" (ACPI crap) _http://www.opensound.com/forum/viewtopic.php?f=3&t=5218
Last edited by igorzwx on Thu Jan 16, 2014 8:52 pm, edited 2 times 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 6:02 pm

It's all good now. Internal speakers and headphones sound great!

Silly me, theres a hard to see real volume control on the front lip of the notebook...

Thanks so much Igor. I had fun and learned quite a bit..

Cheers, Clyde

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

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 6:11 pm

cwpjr wrote:It's all good now. Internal speakers and headphones sound great!

Silly me, theres a hard to see real volume control on the front lip of the notebook...

Thanks so much Igor. I had fun and learned quite a bit..

Cheers, Clyde


Could you please mark this thread as "solved"? (rename the "subject", here: viewtopic.php?f=3&t=5586)

For example: [SOLVED, kernel 3.11, Mint 16 32bit] oss crashed after install?

It might be useful for other Ubuntu/Mint users.

________________________________________________________
You may also try "production quality" and Petrov's plugin for DeadBeef:
_http://www.opensound.com/forum/viewtopic.php?f=3&t=3543&start=90#p19477
AC97 codecs do need such things. Otherwise, your mp3s may sound crappy.

Code: Select all

vmix0-src <Fast|High|OFF> (currently Fast)


"Fast" is a very bad resampler. "High" is also crap.

With "production quality":

Code: Select all

$ ossmix | grep src
vmix0-src <Fast|High|High+|Production|OFF> (currently Production)


Your microphone controls:

Code: Select all

$ ossmix
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)


They should not be muted, if you want to record sound with microphone (internal or external).
"Jack sensing" should work with mic too.

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)
Last edited by igorzwx on Thu Jan 16, 2014 7:49 pm, edited 2 times in total.

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

[SOLVED, kernel 3.11, Mint 16 32bit] oss crashed after insta

Postby cwpjr » Thu Jan 16, 2014 6:45 pm

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 10:59 pm

cwpjr wrote:It's all good now. Internal speakers and headphones sound great!
Silly me, theres a hard to see real volume control on the front lip of the notebook...


That "real volume control" is the so-called "hotkey" (ACPI crap). When it is pressed, the volume slider in your OSS Mixer should move. If it does not move, your "hotkeys" (multimedia keys) are disabled.

Type on terminal:

Code: Select all

$ mate-keybinding-properties

and you will see "Keyboard Shortcuts", for example: "Volume up XF86AudioRaiseVolume".
If hotkeys are disabled, they are "disconnected" from the shortcuts, such as "XF86AudioRaiseVolume".
That is why your OSS Mixer is "independent" from your "volume hotkey",
and you do not see any "pop-up notifications" viewtopic.php?f=3&t=5207&start=15#p19385

Read this: viewtopic.php?f=3&t=5218
and ask on Linux Mint forum how to enable "hotkeys" (multimedia keys) on your Hitachi M55 s325 laptop.

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

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 11:26 pm

It seems my hotkeys interfere with OSS - I tried the mute off/on Fn key combo and now no sound.

Going to post this and reboot...

But by real volume control I mean a real thumbwheel mounted next to my headphone & microphone jack!

It is independent of the oss[x]mix controls... which is ok by me.

I have much better sound all around than the alsa provided.

So al in all I am very happy Igor.

Cheers, Clyde

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

Re: oss crashed after install?

Postby cwpjr » Thu Jan 16, 2014 11:37 pm

Oh no! I rebooted and still no sound

Code: Select all

cwpjr@cwpjrmint16 ~ $ ossmix | grep OFF
vol.rec ON|OFF (currently OFF)
line.rec ON|OFF (currently ON)
mic.rec ON|OFF (currently OFF)
cd.rec ON|OFF (currently OFF)
aux1.rec ON|OFF (currently OFF)
phone.rec ON|OFF (currently OFF)
mono.rec ON|OFF (currently OFF)
video.rec ON|OFF (currently OFF)
spdout.enable ON|OFF (currently OFF)
spdout.adc/dac ON|OFF (currently OFF)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.vbit ON|OFF (currently OFF)
spdin.enable ON|OFF (currently OFF)
spdin.monitor ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-src <Fast|High|OFF> (currently OFF)
cwpjr@cwpjrmint16 ~ $ ossmix vmix0-enable ON
Value of mixer control vmix0-enable set to ON
cwpjr@cwpjrmint16 ~ $ ossmix | grep vol
vol [<leftvol>:<rightvol>] (currently 60:60)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 0:0)
speaker <monovol> (currently 89)
line [<leftvol>:<rightvol>] (currently 32:32)
mic <monovol> (currently 0)
cd [<leftvol>:<rightvol>] (currently 75:75)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
phone [<leftvol>:<rightvol>] (currently 0:0)
mono <monovol> (currently 75)
video [<leftvol>:<rightvol>] (currently 74:74)
vmix0-outvol <monovol> (currently 23.2 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 24.2:24.2 dB) ("banshee")
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)


Whoopsie what did I do?

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

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 11:48 pm

cwpjr wrote:It seems my hotkeys interfere with OSS - I tried the mute off/on Fn key combo and now no sound.
Going to post this and reboot...


It seems that you proved my hypothesis about "acpid trojan" viewtopic.php?f=3&t=5218
If reboot does not help, try to purge and re-install OSS4.
Save a copy of your oss4-package (if you need to re-install Mint)

cwpjr wrote:I have much better sound all around than the alsa provided


ALSA does not work well with AC97 codecs.
You may try to recompile OSS4 to enable "production quality" viewtopic.php?f=3&t=3543

It is very simple.
Modify "configure" script (with a text editor), before running it with command "NO_WARNING_CHECKS=yes /opt/oss-devel/configure --enable-libsalsa=NO".

OLD:

Code: Select all

# Set GRC3 min/max conversion quality setting to 3 to conserve space.
# TODO: Add support for configurable quality settings.
GRC_MIN_QUALITY=3
GRC_MAX_QUALITY=3
export GRC_MIN_QUALITY GRC_MAX_QUALITY


NEW:

Code: Select all

# Set GRC3 min/max conversion quality setting to 3 to conserve space.
# TODO: Add support for configurable quality settings.
GRC_MIN_QUALITY=3
GRC_MAX_QUALITY=6
export GRC_MIN_QUALITY GRC_MAX_QUALITY
Last edited by igorzwx on Thu Jan 16, 2014 11:50 pm, edited 1 time in total.

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

Re: oss crashed after install?

Postby igorzwx » Thu Jan 16, 2014 11:49 pm

cwpjr wrote:Oh no! I rebooted and still no sound

Code: Select all

cwpjr@cwpjrmint16 ~ $ ossmix | grep OFF
vol.rec ON|OFF (currently OFF)
line.rec ON|OFF (currently ON)
mic.rec ON|OFF (currently OFF)
cd.rec ON|OFF (currently OFF)
aux1.rec ON|OFF (currently OFF)
phone.rec ON|OFF (currently OFF)
mono.rec ON|OFF (currently OFF)
video.rec ON|OFF (currently OFF)
spdout.enable ON|OFF (currently OFF)
spdout.adc/dac ON|OFF (currently OFF)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.vbit ON|OFF (currently OFF)
spdin.enable ON|OFF (currently OFF)
spdin.monitor ON|OFF (currently OFF)
vmix0-enable ON|OFF (currently ON)
vmix0-src <Fast|High|OFF> (currently OFF)
cwpjr@cwpjrmint16 ~ $ ossmix vmix0-enable ON
Value of mixer control vmix0-enable set to ON
cwpjr@cwpjrmint16 ~ $ ossmix | grep vol
vol [<leftvol>:<rightvol>] (currently 60:60)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 0:0)
speaker <monovol> (currently 89)
line [<leftvol>:<rightvol>] (currently 32:32)
mic <monovol> (currently 0)
cd [<leftvol>:<rightvol>] (currently 75:75)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
phone [<leftvol>:<rightvol>] (currently 0:0)
mono <monovol> (currently 75)
video [<leftvol>:<rightvol>] (currently 74:74)
vmix0-outvol <monovol> (currently 23.2 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 24.2:24.2 dB) ("banshee")
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)


Whoopsie what did I do?


If reboot does not help, try to purge and re-install OSS4.
Save a copy of your oss4-package (if you need to re-install Mint).

You may also try to move sliders on OSS Mixer.
There should be other "hotkeys": Volume-up/down, "brightness", etc.

1. You may also try "Volume control" in your "Control center".
2. Right click on the panel, select "add to panel", select "Volume control" applet (it also has "muter").

In any case, you have to fix your "hotkeys".
Read this: viewtopic.php?f=3&t=5218
You may ask for help on Linux Mint forum.

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

Re: oss crashed after install?

Postby igorzwx » Fri Jan 17, 2014 12:10 am

Your "pcm" is muted:

Code: Select all

pcm [<leftvol>:<rightvol>] (currently 0:0)


Simply unmute it!

The problem is that you do not read my "instructions", for example:

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)

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

Re: oss crashed after install?

Postby cwpjr » Fri Jan 17, 2014 12:18 am

Purged OSS.

Changed configure file.

installed oss

All good again.

Other hotkeys that I tested were screen lighter/darker - they worked.

Gonna avoid others for now but thanks for the links to hotkey mint info/fixes *>)

Cheers, Clyde

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

Re: oss crashed after install?

Postby igorzwx » Fri Jan 17, 2014 12:23 am

cwpjr wrote:Purged OSS.

Changed configure file.

installed oss

All good again.

Other hotkeys that I tested were screen lighter/darker - they worked.

Gonna avoid others for now but thanks for the links to hotkey mint info/fixes *>)

Cheers, Clyde


Your pcm was muted:

Code: Select all

pcm [<leftvol>:<rightvol>] (currently 0:0)


You hotkey works as it should. To unmute, you should press another hotkey "Volume up".
Or unmute "pcm" in OSS Mixer.

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

Re: oss crashed after install?

Postby cwpjr » Fri Jan 17, 2014 12:31 am

I quess I didn't get that PCM was part of volume...

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

Re: oss crashed after install?

Postby cwpjr » Fri Jan 17, 2014 12:35 am

Turns out the mute hotkey is one way - it won't unmute.

And volume up down hotkeys don't work either.

Have to manually restore pcm volume.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 4 guests