You are not logged in.

#1 2012-12-02 08:34:34

doblerone
Member
Registered: 2011-12-08
Posts: 145

no file alsa-base.conf

I use the screen speakers. My screen is connected via DVI to my pc, but I have also an HDMI output from the graphic card that I don't use it.

Every time I switch on my pc, a notification pops up telling me that the system is not using HDA ATI HDMI anymore and it will start to use HDA Intel VT1828S Analog.

Looking in System Preferences>Hardware>Multimedia>Phonon, I can see that I have 8 different devices. Here you have a snapshot

>>moderator edit: Removed large image. Read Forum Etiquette: Pasting Pictures and Code. Thanks. --fsckd<<

How can I switch off/disable the devices I don't use them?

I have been reading in the wiki the ALSA article. My problem is that I don't have the alsa-base.conf file in /etc/modprobe.d. In fact, this folder is empty.

How can I generate it?

Thanks in advance.

Last edited by fsckd (2012-12-06 13:28:21)

Offline

#2 2012-12-03 12:15:55

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,167

Re: no file alsa-base.conf

It's just a text file that you will have to create that file yourself.

To figure out what needs to be put in that file , we need to identify which module controls which card.
please post the output of lscpi -v .

Note : the alsa-base.conf method only works if the sound outputs use different kernel modules, lspic -v will also help to determine that.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2012-12-03 18:02:12

doblerone
Member
Registered: 2011-12-08
Posts: 145

Re: no file alsa-base.conf

Here you've the output of lspci -v

[david@pc_escritorio ~]$ lspci -v
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: fast devsel
        Capabilities: <access denied>

00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: f7b00000-f7bfffff
        Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
        Subsystem: Device 0043:0083
        Flags: fast devsel
        Capabilities: <access denied>

00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
        Subsystem: Device 0043:0083
        Flags: fast devsel
        Capabilities: <access denied>

00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
        Subsystem: Device 0043:0083
        Flags: fast devsel
        Capabilities: <access denied>

00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
        Flags: fast devsel

00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
        Flags: fast devsel

00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
        Flags: fast devsel

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at f7afe000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device 8375
        Flags: bus master, fast devsel, latency 0, IRQ 52
        Memory at f7af8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: 80000000-801fffff
        Prefetchable memory behind bridge: 0000000080200000-00000000803fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: 80400000-805fffff
        Prefetchable memory behind bridge: 0000000080600000-00000000807fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: f7e00000-f7efffff
        Prefetchable memory behind bridge: 0000000080800000-00000000809fffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.6 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 7 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f7d00000-f7dfffff
        Prefetchable memory behind bridge: 0000000080a00000-0000000080bfffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.7 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 8 (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: f7c00000-f7cfffff
        Prefetchable memory behind bridge: 00000000f6f00000-00000000f6ffffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at f7afd000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: f7f00000-f7ffffff
        Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: bus master, medium devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: lpc_ich

00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 21
        I/O ports at 9c00 [size=8]
        I/O ports at 9880 [size=4]
        I/O ports at 9800 [size=8]
        I/O ports at 9480 [size=4]
        I/O ports at 9400 [size=16]
        I/O ports at 9080 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: ata_piix

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: medium devsel, IRQ 18
        Memory at f7afc000 (64-bit, non-prefetchable) [size=256]
        I/O ports at ffe0 [size=32]
        Kernel driver in use: i801_smbus

00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 05) (prog-if 85 [Master SecO PriO])
        Subsystem: ASUSTeK Computer Inc. Device 8383
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 21
        I/O ports at ac00 [size=8]
        I/O ports at a880 [size=4]
        I/O ports at a800 [size=8]
        I/O ports at a480 [size=4]
        I/O ports at a400 [size=16]
        I/O ports at a080 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: ata_piix

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Radeon HD 4770 [RV740] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited Device 1250
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f7be0000 (64-bit, non-prefetchable) [size=64K]
        I/O ports at b000 [size=256]
        Expansion ROM at f7bc0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
        Subsystem: PC Partner Limited R700 Audio Device [Radeon HD 4000 Series]
        Flags: bus master, fast devsel, latency 0, IRQ 53
        Memory at f7bfc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
        Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard
        Flags: bus master, fast devsel, latency 0, IRQ 50
        I/O ports at c800 [size=256]
        Memory at f6fff000 (64-bit, prefetchable) [size=4K]
        Memory at f6ff8000 (64-bit, prefetchable) [size=16K]
        Expansion ROM at f7cf0000 [disabled] [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: r8169

03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 01 [AHCI 1.0])
        Subsystem: ASUSTeK Computer Inc. Device 824f
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at f7dfe000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 85 [Master SecO PriO])
        Subsystem: ASUSTeK Computer Inc. Device 824f
        Flags: bus master, fast devsel, latency 0, IRQ 19
        I/O ports at dc00 [size=8]
        I/O ports at d880 [size=4]
        I/O ports at d800 [size=8]
        I/O ports at d480 [size=4]
        I/O ports at d400 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: pata_jmicron

04:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI])
        Subsystem: Western Digital USB 3.0 PCIe Card
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at f7efe000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd

07:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0) (prog-if 10 [OHCI])
        Subsystem: ASUSTeK Computer Inc. M4A series motherboard
        Flags: bus master, medium devsel, latency 64, IRQ 18
        Memory at f7fff000 (32-bit, non-prefetchable) [size=2K]
        I/O ports at ec00 [size=128]
        Capabilities: <access denied>
        Kernel driver in use: firewire_ohci

3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0
        Kernel driver in use: i7core_edac

3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
        Subsystem: Intel Corporation Device 8086
        Flags: bus master, fast devsel, latency 0

Offline

#4 2012-12-06 12:41:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,167

Re: no file alsa-base.conf

These are the entries audio related on your system then :

[david@pc_escritorio ~]$ lspci -v
<snip>
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device 8375
        Flags: bus master, fast devsel, latency 0, IRQ 52
        Memory at f7af8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel

<snip>
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
        Subsystem: PC Partner Limited R700 Audio Device [Radeon HD 4000 Series]
        Flags: bus master, fast devsel, latency 0, IRQ 53
        Memory at f7bfc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
<snip>

Since both sound outputs use the snd_hda_intel module, the alsa-base.conf method won't work.

You can try changing the settings in phonon/kde.
goto System Preferences>Hardware>Multimedia>Phonon again, but this time view the 'audio playback' category.
On that screen, either remove the hdmi entry or move it to the bottom of the list.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2012-12-06 12:55:28

doblerone
Member
Registered: 2011-12-08
Posts: 145

Re: no file alsa-base.conf

Ok, thanks. I'll try that.

On the other hand, I have also a problem with Amarok. I can't hear anything and I think it's because of the wrong output.
In the Phonon configuration of it, always is selected the ATI HDMI output. If I try to change it, when I return back to the same screen (Phonon configuration), it is selected the HDMI output again.
How can I force Amarok to chose the output I want?

Offline

#6 2012-12-06 13:29:50

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,167

Re: no file alsa-base.conf

sounds like somewhere on your system HDMI output is set as default and amarok only uses that setting.
(I've had  a similar problem with vlc some time ago).

If you're using pure alsa, check which phonon backend you're using.
if phonon-vlc is the backend, install phonon-gstreamer and configure phonon to use the gstreamer backend.
phonon gstreamer backend seems to work better together with alsa then the phonon-vlc backend.

in case you use pulseaudio, you can try the above also, but i have no idea if it will help then.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#7 2012-12-08 10:29:23

doblerone
Member
Registered: 2011-12-08
Posts: 145

Re: no file alsa-base.conf

Lone_Wolf wrote:

sounds like somewhere on your system HDMI output is set as default and amarok only uses that setting.
(I've had  a similar problem with vlc some time ago).

If you're using pure alsa, check which phonon backend you're using.
if phonon-vlc is the backend, install phonon-gstreamer and configure phonon to use the gstreamer backend.
phonon gstreamer backend seems to work better together with alsa then the phonon-vlc backend.

in case you use pulseaudio, you can try the above also, but i have no idea if it will help then.

How can I know which phonon backend I'm using and how can I change it?

I'm newbiee, sorry smile

Offline

#8 2012-12-08 14:23:06

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,167

Re: no file alsa-base.conf

Phonon is the KDE sound system and requires a backend to work.
there are 2 of them, phonon-vlc and phonon-gstreamer .

run

pacman -Qs phonon

in the output besides phonon itself you'll either see phonon-vlc or phonon-gstreamer .
if it's phonon-vlc , do pacman -S phonon-gstreamer , followed by pacman -R phonon-vlc .

If phonon sees only 1 backend, it will use that one.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#9 2012-12-09 08:04:00

doblerone
Member
Registered: 2011-12-08
Posts: 145

Re: no file alsa-base.conf

Lone_Wolf wrote:

Phonon is the KDE sound system and requires a backend to work.
there are 2 of them, phonon-vlc and phonon-gstreamer .

run

pacman -Qs phonon

in the output besides phonon itself you'll either see phonon-vlc or phonon-gstreamer .
if it's phonon-vlc , do pacman -S phonon-gstreamer , followed by pacman -R phonon-vlc .

If phonon sees only 1 backend, it will use that one.

Apparently, I'm using the right one:

[david@pc_escritorio ~]$ pacman -Qs phonon
local/phonon 1:4.6.0-3
    The multimedia framework for KDE
local/phonon-gstreamer 4.6.2-1
    Phonon GStreamer backend

So, I have no idea why amarok takes the wrong output!

Offline

Board footer

Powered by FluxBB