You are not logged in.

#1 2014-12-26 13:49:42

Jixun
Member
Registered: 2014-12-26
Posts: 1

[SOLVED] Cinnamon won't recognize my audio device

I'm currently using Cinnamon DE (2.4.5-1).

Expected result:

  • The sound applet works and shown like in "Mint" (The one I was using before arch);

  • Laptop FN-keys/Hardware keys can control my volume.

I have checked / found:

  • Sound applet is added to the panel, but can't find it anywhere.

  • Alsa is confirmed working (And I can change volume through alsamixer).

  • Only the volume fn-keys doesn't work, others work (Such as brightness).

  • There's a "Alsa mixer" applet as a worked around, but the volume is not updated (Unless i change it there) and not responding to my fn-keys.

  • There's "Start PulseAudio" under start-up entry, I tried manually in terminal and I got

    E: [pulseaudio] main.c: Daemon startup failed."

So I think there might be a conflict between the packages I have installed, or do I need to "tweak" around?
If it helps, is there any extra terminal output that I need to provide?
Please advice, thanks.

The sound card/chip:

$ lspci -v | grep -A7 Audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
	Subsystem: Lenovo Device 3977
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Memory at f0710000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

Packages related to Alsa:

$ pacman -Qs alsa
local/alsa-firmware 1.0.28-1
    ALSA firmware package
local/alsa-lib 1.0.28-1
    An alternative implementation of Linux sound support
local/alsa-plugins 1.0.28-2
    Extra alsa plugins
local/alsa-utils 1.0.28-1
    An alternative implementation of Linux sound support
local/gnome-alsamixer 0.9.7-1
    Gnome ALSA mixer
local/lib32-alsa-lib 1.0.28-1
    An alternative implementation of Linux sound support (32 bit)
local/lib32-alsa-plugins 1.0.28-1
    Extra alsa plugins (32-bit)
local/pulseaudio-alsa 2-3
    ALSA Configuration for PulseAudio
local/zita-alsa-pcmi 0.2.0-1
    The successor of clalsadrv, provides easy access to ALSA PCM devices.

Packages related to PulseAudio:

$ pacman -Qs pulse
local/lib32-libpulse 5.0-1
    A featureful, general-purpose sound server (32-bit client libraries)
local/libao 1.2.0-1
    Cross-platform audio output library and plugins
local/libcanberra-pulse 0.30-4
    PulseAudio plugin for libcanberra
local/libpulse 5.0-1
    A featureful, general-purpose sound server (client library)
local/pavucontrol 2.0-2
    A GTK volume control for PulseAudio
local/pulseaudio 5.0-1
    A featureful, general-purpose sound server
local/pulseaudio-alsa 2-3
    ALSA Configuration for PulseAudio

This might seems stupid; I have installed some firmware I don't even need:

$ pacman -Qs firmware
local/aic94xx-firmware 30-2
    Adaptec SAS 44300, 48300, 58300 Sequencer Firmware for AIC94xx driver
local/alsa-firmware 1.0.28-1
    ALSA firmware package
local/b43-firmware 5.100.138-2
    Firmware for Broadcom B43 wireless networking chips
local/b43-firmware-legacy 3.130.20.0-4
    Firmware for legacy Broadcom B43 wireless networking chips
local/bluez-firmware 1.2-8
    Firmwares for Broadcom BCM203x and STLC2300 Bluetooth chips
local/efibootmgr 0.11.0-1
    Tool to modify UEFI Firmware Boot Manager Variables
local/ipw2100-fw 1.3-7
    Intel Centrino Drivers firmware for IPW2100
local/ipw2200-fw 3.1-5
    Firmware for the Intel PRO/Wireless 2200BG
local/linux-firmware 20141201.38e5405-1
    Firmware files for Linux

I can find my sound device from terminal.

$ sudo aplay -l 
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Edit:

$ ps ax | grep pulseaudio
 1656 pts/3    S+     0:00 grep --color=tty -d skip pulseaudio

$ pulseaudio -vvv
... Lots info ...
I: [pulseaudio] module.c: Loaded "module-switch-on-connect" (index: #25; argument: "").
E: [pulseaudio] module.c: Module "module-switch-on-connect" should be loaded once at most. Refusing to load.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.
I: [pulseaudio] module.c: Unloading "module-switch-on-connect" (index: #25).
I: [pulseaudio] module.c: Unloaded "module-switch-on-connect" (index: #25).
... Lots info ...

This is the error part shown in red... I'll searching around see if I can find anything.

Solution found:
Open file "/etc/pulse/default.pa"
And go to the very end, remove/comment one of the line:

load-module module-switch-on-connect
load-module module-switch-on-connect

I didn't touch those file before (installed by default), don't know why the line was duplicated..
I think I know the reason now - I've run the installer multiple times.
helmuthdu/aui/blob/master/lilo#L465

Last edited by Jixun (2014-12-26 15:42:05)

Offline

Board footer

Powered by FluxBB