volume control not working w/ spdif

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

volume control not working w/ spdif

Postby illumilore » Sat Oct 24, 2009 5:18 am

I am using optical output and just installed oss4 on ubuntu karmic. I managed to get it working with spdif by using the ossxmix application, but other than the spdif play checkbox, nothing seems to work elsewhere. None of the volume sliders or volume output level indicators work. Is there also a way to get the gnome volume control applet to control oss4?

Code: Select all
illum@maize:~$ ossmix
Selected mixer 0/CMedia CMPCI
Known controls are:
vol [<leftvol>:<rightvol>] (currently 27:27)
synth [<leftvol>:<rightvol>] (currently 97:97)
synth.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 19:19)
speaker <monovol> (currently 100)
line [<leftvol>:<rightvol>] (currently 100:100)
line.rec ON|OFF (currently OFF)
mic <monovol> (currently 32)
mic.rec ON|OFF (currently ON)
cd [<leftvol>:<rightvol>] (currently 100:100)
cd.rec ON|OFF (currently OFF)
rec [<leftvol>:<rightvol>] (currently 100:100)
igain [<leftvol>:<rightvol>] (currently 100:100)
aux1 [<leftvol>:<rightvol>] (currently 100:100)
aux1.rec ON|OFF (currently OFF)
mutectl.linemute ON|OFF (currently ON)
mutectl.cdmute ON|OFF (currently ON)
mutectl.micmute ON|OFF (currently ON)
mutectl.line1mute ON|OFF (currently ON)
jackctl.rear2line ON|OFF (currently OFF)
jackctl.cen2line ON|OFF (currently OFF)
jackctl.bass2line ON|OFF (currently OFF)
jackctl.cen2mic ON|OFF (currently OFF)
mixext.spkmode <FRONT|SPREAD> (currently SPREAD)
mixext.dualdac ON|OFF (currently OFF)
mixext.micboost ON|OFF (currently OFF)
spdif.play ON|OFF (currently ON)
spdif.loop ON|OFF (currently OFF)
spdif.record ON|OFF (currently OFF)
spdif.imon ON|OFF (currently OFF)
spdif.polrev ON|OFF (currently OFF)
spdif.copyprot ON|OFF (currently OFF)
spdif.optical ON|OFF (currently ON)
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 5.8 dB)
vmix0-invol <monovol> (currently 10.3 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 0.0:0.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 0.0:0.0 dB)
illum@maize:~$ ossinfo -v3
Version info: OSS 4.2 (b 2000/200909100609) (0x00040100) TRIAL
Platform: Linux/x86_64 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:23 UTC 2009 (maize)

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


Device objects
0: osscore0 OSS core services
1: oss_cmpci0 CMedia CM8738 interrupts=87935 (87935)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: CMedia CMPCI (Mixer 0 of device object 1)
    Device file /dev/oss/oss_cmpci0/mix0, Legacy device /dev/mixer0
    Priority: 1
    Caps:
    Device handle: PCI3731584d-0000:01:08.0-mx01
    Device priority: 1


Audio devices
CMedia CM8768 (rev 68)            /dev/oss/oss_cmpci0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Engine      1: 0/CMedia CM8768 (rev 68)
                     Busy (OUT) by PID 18274 / audacious2 label 'audacious2'
      Engine      2: 1/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      3: 2/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      4: 3/CMedia CM8768 (rev 68) (vmix)
                     Available for use
      Engine      5: 4/CMedia CM8768 (rev 68) (vmix)
                     Available for use
    Input formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI3731584d-0000:01:08.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 5000 - 48000
    HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN     Minimum latency: Not indicated

CMedia CM8768 (playback only)     /dev/oss/oss_cmpci0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 5/CMedia CM8768 (playback only)
                     Available for use
    Input formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000418):
      AFMT_U8      - 8 bit unsigned
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_AC3      - AC3 (Dolby Digital) encoded audio
    Device handle: PCI3731584d-0000:01:08.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 5000 - 48000
    HW Type: ANALOG_OUT ANALOG_IN DIGITAL_OUT DIGITAL_IN     Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_in -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_out -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_spdifout -> /dev/oss/oss_cmpci0/pcm0
  /dev/dsp_spdifin -> /dev/oss/oss_cmpci0/pcm0
illumilore
New Member
 
Posts: 3
Joined: Sat Oct 24, 2009 5:03 am

Re: volume control not working w/ spdif

Postby Temüjin » Sat Oct 24, 2009 1:58 pm

EDIT: Use this PPA to run GNOME in Ubuntu Karmic w/o PulseAudio: https://launchpad.net/~dtl131/+archive/ppa
Last edited by Temüjin on Thu Dec 03, 2009 12:08 pm, edited 1 time in total.
Temüjin
Member
 
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: volume control not working w/ spdif

Postby igorzwx » Sat Oct 24, 2009 6:44 pm

Temüjin wrote:On Ubuntu 9.10, I have not yet figured out how to get the GNOME volume control working w/o Pulseaudio. You can always use scripts and key bindings though: http://www.opensound.com/wiki/index.php ... rol_volume

I'll be looking into this issue more extensively soon.


Hi Temüjin!

Have you tried "xfce4-mixer"?

sudo apt-get install xfce4-mixer

It works without PulseAudio on Ubuntu 9.10, and it has "spdif" controls.
I just tested it on my old box.
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm

Re: volume control not working w/ spdif

Postby illumilore » Sat Oct 24, 2009 11:44 pm

igorzwx wrote:
Have you tried "xfce4-mixer"?

sudo apt-get install xfce4-mixer

It works without PulseAudio on Ubuntu 9.10, and it has "spdif" controls.
I just tested it on my old box.


That mixer does work for alsa without pulse, but is there a way to replace the system tray volume control applet, so you don't have to use the window? Also, what about keyboard volume media keys?
illumilore
New Member
 
Posts: 3
Joined: Sat Oct 24, 2009 5:03 am

Re: volume control not working w/ spdif

Postby igorzwx » Sun Oct 25, 2009 12:00 am

""is there a way to replace the system tray volume control applet?"

sudo apt-get install xfce4-mixer

After installation, you may find it in Ubuntu Menu:

Applications -> Sound & Video -> Mixer

Catch it by mouse and move to Gnome Panel.
Then Right Click on the icon -> Lock to Panel

Other questions to Temüjin and/or Cesium
igorzwx
Supporter
 
Posts: 998
Joined: Sun Jun 28, 2009 9:31 pm

Re: volume control not working w/ spdif

Postby illumilore » Sun Oct 25, 2009 5:05 pm

igorzwx wrote:
Catch it by mouse and move to Gnome Panel.
Then Right Click on the icon -> Lock to Panel


That still doesn't replicate the functionality of the default gnome mixer.
illumilore
New Member
 
Posts: 3
Joined: Sat Oct 24, 2009 5:03 am

Re: volume control not working w/ spdif

Postby razorboy5 » Wed Oct 28, 2009 4:23 pm

is there a solution for this yet?

can't control my volume either and it's set way too soft...

edit: sry tried the mixer mentioned above now i can listen to my music at a decent level which is nice :P
razorboy5
New Member
 
Posts: 6
Joined: Thu Jul 30, 2009 11:33 pm


Return to Linux

Who is online

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

cron