Pulseaudio = no sound in Songbird, flash crashes Amarok

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help

Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Tue Sep 01, 2009 8:17 pm

I recently installed Linux Mint 7 KDE and I'm having some problems with pulseaudio. I'd remove it, but I'm not exactly sure what I'm doing when it comes to things like that. I had trouble getting sound working in flash in firefox, but fixed that with libflashsupport. When I play a flash video, it breaks Amarok: songs will no longer play. I installed Songbird, but I only get crackling, popping sounds when I try to play songs in it, and if I've played a video in flash, I get no sound at all. I'd like to get both flash and Songbird working. Most of the guides I've stumbled across say to switch all the audio output to ALSA, but they're for gnome distributions and I have no idea how to go about doing that in KDE (if that would even fix the problem). I'd appreciate any help.

Thanks.
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Linux Mint is funded by ads and donations.
 

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Sat Sep 05, 2009 3:53 pm

I removed pulseaudio too.
Everything works well (with OSS4).

What is your sound card?
Could you post output of the following commands?

sudo lshw -C multimedia

aplay -l

lspci -v
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Sun Sep 06, 2009 12:37 am

lshw:
Code: Select all
*-multimedia
       description: Audio device
       product: HD48x0 audio
       vendor: ATI Technologies Inc
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list
       configuration: driver=HDA Intel latency=0 module=snd_hda_intel
  *-multimedia
       description: Audio device
       product: SBx00 Azalia (Intel HDA)
       vendor: ATI Technologies Inc
       physical id: 14.2
       bus info: pci@0000:00:14.2
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list
       configuration: driver=HDA Intel latency=64 module=snd_hda_intel


aplay:
Code: Select all
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


And here are the two audio devices listed after lspci

Code: Select all
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
        Subsystem: ASUSTeK Computer Inc. Device 8230               
        Flags: bus master, slow devsel, latency 64, IRQ 16         
        Memory at fbdf4000 (64-bit, non-prefetchable) [size=16K]   
        Capabilities: <access denied>                             
        Kernel driver in use: HDA Intel                           
        Kernel modules: snd-hda-intel

01:00.1 Audio device: ATI Technologies Inc HD48x0 audio
        Subsystem: ASUSTeK Computer Inc. Device aa30
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at fbeec000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel


If there's more info in the lspci results that might be important, I can post it, but it was pretty long so I left a lot out here. I think that removing pulseaudio could fix it, but under synaptic, removing pulseaudio removes a LOT of programs including Amarok.
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Sun Sep 06, 2009 5:10 am

QOUTE: "removing pulseaudio removes a LOT of programs including Amarok."

This cannot be true.
On Ubuntu 9.04, removing pulseadio removes a dummy package "ubuntu-desktop" (it is empty).
It is not a problem at all.

My proposal:
install a second Mint in dual boot on the same box and make experiments there.

Experiment 1: ALSA without PulseAudio

sudo killall pulseaudio

cp /etc/X11/Xsession.d/70pulseaudio ~/

sudo apt-get purge pulseaudio

sudo apt-get install -y esound esound-clients esound-common libesd-alsa0

sudo reboot

You have to select proper devices in your system sound preferences and apps too.


Experiment 2: OSS4 without ALSA and without PulseAudio

If your sound card is supported by OSS4, you may try to install it.
If it is not supported, you are out of luck.
The list of supported hardware is here:
http://mercurial.opensound.com/?file/6b ... ists/Linux

The best howto for OSS4 is, perhaps, this one:
https://help.ubuntu.com/community/OpenSound
You may better compile OSS4 from Mercurial
https://help.ubuntu.com/community/OpenS ... m%20Source

This info might be useful:
http://martinbaselier.wordpress.com/
http://wiki.archlinux.org/index.php/OSS ... io_devices
http://en.wikipedia.org/wiki/Open_Sound_System
State of sound in Linux not so sorry after all
http://insanecoding.blogspot.com/2009/0 ... sorry.html
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Sun Sep 06, 2009 10:27 am

Awesome! I compiled OSS from Mercurial and it works perfectly! I was watching flash with Songbird playing and it worked like it should. Plus, the audio actually syncs up correctly with flash videos now. The one thing I'm having a problem with, and it's not a big deal, is adding the applet for ossxmix in my panel. There's no traditional application launcher (that I see at least).
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Sun Sep 06, 2009 4:42 pm

Congratulations!
Now you can tell your friends that you successfully hacked Linux kernel.

Do not forget that OSS4 is "deprecated".
In Linux-speak, "deprecated" means "awesome", and "advanced" means "ill-designed".
QUOTE:
http://ubuntuforums.org/showthread.php?t=789578
PulseAudio is an advanced sound server which has been included in Ubuntu (i.e. the standard GNOME version) since the release of Hardy Heron (8.04).
End of QUOTE

QUOTE: "The one thing I'm having a problem with, and it's not a big deal, is adding the applet for ossxmix in my panel. There's no traditional application launcher (that I see at least)."

Have you tried something like this:
https://help.ubuntu.com/community/OpenSound#ossxmix
ossxmix
Add a new custom application launcher to the panel that runs the command: ossxmix - (That's ossxmix, not ossmix), Name the launcher whatever you want and pick an icon. I named mine "Mixer" and chose /usr/share/icons/gnome/32x32/status/stock_volume-med.png as my icon. If you're new to Ubuntu/GNOME,
this primer
http://library.gnome.org/users/user-gui ... 34.html.en

will help for this task. You can add an ossxmix launcher to a KDE or Xfce panels too.
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Sun Sep 06, 2009 6:08 pm

Yeah, I noticed how pulseaudio is supposed to be sweet, but there is really nothing good to be said about it.
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Sun Sep 06, 2009 7:06 pm

Yes, Windoze users are now laughing at us
http://linuxhaters.blogspot.com/2008/10 ... audio.html

Have you tested your mic with OSS4 ?

Try Skype with OSS4

Install skype-static-oss from Medibuntu

some useful info:
http://shibuvarkala.blogspot.com/2009/0 ... alope.html

You may also try Audacity 1.3.8
http://www.getdeb.net/search.php?keywords=audacity

you can install it with this command
sudo dpkg -i audacity*386.deb audacity-data*all.deb
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Sun Sep 06, 2009 10:45 pm

I was trying audacity. I can't get my mic working, but it's not a big deal. The only thing I use a mic for is Team Fortress 2, but that's on Windows anyway.
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Mon Sep 07, 2009 8:37 am

O.K. Mic might be a problem with HDA and OSS4.
If you need mic, you might be out of luck.

This sound card seems to be problematic too [Dell notebook, Latitude 820]:
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)

OSS4 seems to be an ideal solution for old boxes (with old sound cards).
Everything works out of the box.
Skype, Ekiga, flash, Audacity, etc. Fantastic performance.

In any case, we have to try to fix your mic with HDA.
If we cannot, we have to report this to OSS4 forum.
If we do not report, nothing may be fixed in the near future.
You do not need mic today, but you may need it tomorrow.

To fix mic, you have to find the proper recording source.
It can be mic, line, vol (or out), or else.

On the old IBM Notebook (2003), I have this:

$ ossrecord -i\?

Possible recording sources for the selected device:

vol
line
mic (currently selected)
cd
aux1
phone
mono
video

You may find the proper recording source with Gnome Volume control (Ubuntu 9.04),
or Audacity 1.3.8 (click on the icon "Mic" and select the proper thing).

see also:
http://wiki.archlinux.org/index.php/OSS ... leshooting

The standard trick is this:

ossrecord - | ossplay -

$ ossrecord -vl - | ossplay -
Recording wav: Speed 48000Hz 16 bits Stereo
- [ ] 0.00 secs VU 0 Playing WAVE file -, 16 bits/stereo/48000 Hz
- [ ........] 28.00 secs VU --------+


http://www.opensound.com/wiki/index.php/Troubleshooting
HDAudio: Some of these devices needs to be set up in the mixer before they can play sound. Run "osstest -l" in the background and "ossxmix" in the foreground. Change settings in the mixer until you hear a sound or exhaust all settings. A similar technique can be used for testing recording (using "ossrecord - | ossplay -" instead of osstest).

Could you please post output of the following commands?

ossrecord -i\?

ossmix

ossinfo -v3


See also:
https://help.ubuntu.com/community/OpenS ... leshooting

Useful info:
http://en.wikipedia.org/wiki/Intel_High ... tion_Audio
Read there "external links" (below):

* Intel High Definition Audio
* How the Intel HD Audio system works Pt 1
* How the Intel HD Audio system works Pt 2
* High Definition Audio Specification 1.0 (April 15, 2004)
* Motherboard/Sound-cards connectors pinout specifications
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Mon Sep 07, 2009 10:07 am

ossrecord -i\?

Possible recording sources for the selected device:

mix (currently selected)

ossmix

Selected mixer 0/High Definition Audio ALC883
Known controls are:
jack.green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.black.mode <front|rear|center/LFE|side|pcm4|input> (currently center/LFE)
jack.black [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently OFF)
jack.orange.mode <front|rear|center/LFE|side|pcm4|input> (currently rear)
jack.orange [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently OFF)
jack.gray.mode <front|rear|center/LFE|side|pcm4|input> (currently pcm4)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently OFF)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.green1 ON|OFF (currently OFF)
record.mix.mute.black1 ON|OFF (currently OFF)
record.mix.mute.orange1 ON|OFF (currently OFF)
record.mix.mute.gray1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.green2 ON|OFF (currently OFF)
record.mix.mute.black2 ON|OFF (currently OFF)
record.mix.mute.orange2 ON|OFF (currently OFF)
record.mix.mute.gray2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.green [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.black [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.orange [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.gray [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.front2 <front|input-mix> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.rear2 <rear|input-mix> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.center/lfe2 <center/LFE|input-mix> (currently center/LFE)
misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.side2 <side|input-mix> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
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.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("knotify4")
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("firefox")
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)

ossinfo -v3

Version info: OSS 4.2 (b 2000/200909061404) (0x00040100) OSS_HG
Hg revision: changeset: 855:0bd0ed4d102c, tag: tip, date: Sun Sep 06 09:24:05 2009 +0300, summary: Fixed a linking problem under Ubuntu 9.10
Platform: Linux/i686 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 (ben-lmdesktop)

Number of audio devices: 8
Number of audio engines: 12
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=240190 (240592)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x10438230
Codec 0: ALC883 (0x10ec0883/0x1043829f)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio ALC883 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI82301043-0000:00:14.2-mx01
Device priority: 10


Audio devices
HD Audio play front /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 0/HD Audio play front
Busy (OUT) label 'VMIX'
Engine 2: 8/HD Audio play front (vmix)
Busy (OUT) by PID 4204 / knotify4 label 'knotify4'
Engine 3: 9/HD Audio play front (vmix)
Busy (OUT) by PID 4052 / firefox label 'firefox'
Engine 4: 10/HD Audio play front (vmix)
Available for use
Engine 5: 11/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-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): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play rear /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play rear
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play center/LFE /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/HD Audio play center/LFE
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play side /dev/oss/oss_hdaudio0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/HD Audio play side
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play pcm4 /dev/oss/oss_hdaudio0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/HD Audio play pcm4
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 5/HD Audio play spdif-out
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au06
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin0 (device index 6)
Legacy device /dev/dsp6
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 6/HD Audio rec mix
Busy (IN) label 'VMIX_IN'
Engine 2: 8/HD Audio play front (vmix)
Busy (OUT) by PID 4204 / knotify4 label 'knotify4'
Engine 3: 9/HD Audio play front (vmix)
Busy (OUT) by PID 4052 / firefox label 'firefox'
Engine 4: 10/HD Audio play front (vmix)
Available for use
Engine 5: 11/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au07
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin1 (device index 7)
Legacy device /dev/dsp7
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 7/HD Audio rec mix
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI82301043-0000:00:14.2-au08
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated


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_ac3 -> /dev/oss/oss_hdaudio0/spdout0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
--------------------------------------------------------------------

There are so many options in the ossxmixer that I can't figure out what to do. I've tried every logical thing that I can think of and can't seem to get the mic to work. I might have all those channels available, but I actually only use the standard two speaker setup, and I don't have access to more speakers so unfortunately I can't test any of them out.

One bug I've noticed is that my sound disappears after I wake my computer from sleeping. If I try to restart ossxmix, I get a whole list of devices that aren't found.
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Mon Sep 07, 2009 3:27 pm

You have mic!
And it is already selected!
You are really lucky!

ossrecord -i\?

Possible recording sources for the selected device:

mix (currently selected)


But your mic is now muted:

record.mix.mute.mic1 ON|OFF (currently OFF)

And all other mics are also OFF.

You can unmute one of them (or even all, perhaps) with ossxmix (gui),
or command line:

ossmix [something] ON

Type on terminal:

man ossmix

It might be such command:

ossmix record.mix.mute.mic1 ON

EXAMPLE: On my old box (without HDA), I can do this in this way

$ ossmix mic.rec
Value of mixer control mic.rec is currently set to OFF
$ ossmix mic.rec ON
Value of mixer control mic.rec set to ON

To mute this mic, I have to unmute another recording device (this may not be true for your HDA):

$ ossmix line.rec ON
Value of mixer control line.rec set to ON
$ ossmix mic.rec
Value of mixer control mic.rec is currently set to OFF

Try to do this with GUI mixer first ( ossxmix )

These seem to be all your mics and level controls (try them all):

record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.green1 ON|OFF (currently OFF)
record.mix.mute.black1 ON|OFF (currently OFF)
record.mix.mute.orange1 ON|OFF (currently OFF)
record.mix.mute.gray1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.green2 ON|OFF (currently OFF)
record.mix.mute.black2 ON|OFF (currently OFF)
record.mix.mute.orange2 ON|OFF (currently OFF)
record.mix.mute.gray2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.green [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.black [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.orange [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.gray [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)

QUOTE:
"There are so many options in the ossxmixer that I can't figure out what to do. I've tried every logical thing that I can think of and can't seem to get the mic to work. I might have all those channels available, but I actually only use the standard two speaker setup, and I don't have access to more speakers so unfortunately I can't test any of them out."

This is the problem of HDA sound cards.
You have much more than you need.
You have to learn this in any case, if you have High Definition Audio (HDA) sound card.

Run this command:

ossrecord -vl - | ossplay -

and try all controls until you hear your voice from the speakers.
This command pipes mic input into playback.

QUOTE: "One bug I've noticed is that my sound disappears after I wake my computer from sleeping. If I try to restart ossxmix, I get a whole list of devices that aren't found."

Try to restart OSS4 with these commands:

sudo soundoff

sudo soundon

If you get message: "Some applications are still using OSS - cannot unload",
you may kill those apps with the process manager (and close web browsers, players, etc)
or with the command kill

On terminal:

man kill
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Mon Sep 07, 2009 5:30 pm

QUOTE: "One bug I've noticed is that my sound disappears after I wake my computer from sleeping."

It is not a bug, it is a "feature" of OSS4 (another example of Linux-speak)
See:
http://wiki.archlinux.org/index.php/OSS#Comparisons
QUOTE:
OSS must be unloaded using soundoff prior to suspension. This has a side effect that any sound producing program must be closed. Upon resumption you may reload OSS using soundon.
End of QUOTE

NOTE: I have not such an advanced feature on my old box with OSS4. It seems to be OSS4-HDA feature.

As I have noticed (see my previous post), all your mics are muted.
Perhaps, the easiest way to solve this problem is to use Gnome Volume Control.
It works with OSS4 (Ubuntu 9.04)
https://help.ubuntu.com/community/OpenS ... %20Control

Gnome Volume Control may have more comprehensible GUI.
Right click on the icon "Speakers",
select OSS4 mixer.
You should have menu: Playback, Switches, Options, Sound Theme (or something like this).
Change to window "Switches" (in menu)
and unmute your mic

I could attach a screenshot (or screencast), but this forum does not seem to provide this option.

You may need to select OSS4 in your system sound preferences
In Gnome Desktop: System -> Preferences -> Sound

You may also need to check your gstreamer
see:
http://martinbaselier.wordpress.com/

command (terminal):

gstreamer-properties

This should produce a kind of GUI for configuring gstreamer.

Gnome Volume Control and other Gnome apps (video and audio)
depend on gstreamer
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Mon Sep 07, 2009 6:52 pm

To get Gnome Volume Control in Mint 7, do this:

Right click on Mint panel (at the bottom of the screen)
Select "+ Add to Panel"
Select "Volume Control" in the list.
Pres button "+ Add" (it is at the bottom of the "add-to-panel" window).
Then press button "X Close"

As a result, an icon "Speakers" will emerge on the Mint panel.
Right click on this icon.
Select "Open Volume Control" in the menu, and you have what you need.
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Mon Sep 07, 2009 6:56 pm

Actually, the icon of Gnome Volum control should be already on the panel.
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby dredgman on Mon Sep 07, 2009 9:05 pm

Got my mic working in the back mic jack, here's my new ossmix results

Selected mixer 0/High Definition Audio ALC883
Known controls are:
jack.green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.black.mode <front|rear|center/LFE|side|pcm4|input> (currently center/LFE)
jack.black [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently OFF)
jack.orange.mode <front|rear|center/LFE|side|pcm4|input> (currently rear)
jack.orange [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently OFF)
jack.gray.mode <front|rear|center/LFE|side|pcm4|input> (currently pcm4)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently OFF)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.pink [<leftvol>:<rightvol>] (currently 19.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.mic1 ON|OFF (currently ON)
record.mix.mute.fp-mic1 ON|OFF (currently ON)
record.mix.mute.linein1 ON|OFF (currently ON)
record.mix.mute.fp-headphone1 ON|OFF (currently ON)
record.mix.mute.green1 ON|OFF (currently ON)
record.mix.mute.black1 ON|OFF (currently ON)
record.mix.mute.orange1 ON|OFF (currently ON)
record.mix.mute.gray1 ON|OFF (currently ON)
record.mix.mute.input-mix1 ON|OFF (currently ON)
record.mix1 [<leftvol>:<rightvol>] (currently 37.4:37.4 dB)
record.mix.mute.mic2 ON|OFF (currently ON)
record.mix.mute.fp-mic2 ON|OFF (currently ON)
record.mix.mute.linein2 ON|OFF (currently ON)
record.mix.mute.fp-headphone2 ON|OFF (currently ON)
record.mix.mute.green2 ON|OFF (currently ON)
record.mix.mute.black2 ON|OFF (currently ON)
record.mix.mute.orange2 ON|OFF (currently ON)
record.mix.mute.gray2 ON|OFF (currently ON)
record.mix.mute.input-mix2 ON|OFF (currently ON)
record.mix2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.green [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.black [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.orange [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.gray [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.front2 <front|input-mix> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.rear2 <rear|input-mix> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.center/lfe2 <center/LFE|input-mix> (currently center/LFE)
misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.side2 <side|input-mix> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
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.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("firefox")
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB

Oh, I followed the instructions at http://wiki.archlinux.org/index.php/OSS#Comparisons and fixed the sound "feature" so that I have sound again when I wake the computer from sleep.
dredgman
Level 1
Level 1
 
Posts: 23
Joined: Mon Apr 07, 2008 8:34 am

Re: Pulseaudio = no sound in Songbird, flash crashes Amarok

Postby igorzwx on Mon Sep 07, 2009 9:41 pm

Congratulations!

If you continue to hack Linux in this way, you may soon become a great expert on OSS4 and HDA.
I hope you may help me too, if I have problems with sound.

Try Skype with OSS4
(install skype-static-oss from Medibuntu).
You may find it with your Synaptic Package Manager.

Best,
Igor
igorzwx
Level 5
Level 5
 
Posts: 599
Joined: Sat Sep 05, 2009 3:13 pm

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia, & Codecs

Who is online

Users browsing this forum: No registered users and 5 guests