Re: Disable ATI HDMI audio from snd_hda_intel (was Re: Disable PCI devices via systemd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30.07.2013 23:47, Raman Gupta wrote:
> On 07/30/2013 03:18 PM, poma wrote:
>> On 30.07.2013 17:15, Raman Gupta wrote:
>>> On 07/30/2013 12:00 AM, poma wrote:
>>>> On 30.07.2013 05:47, Raman Gupta wrote:
>>>>> I cannot blacklist the module, because the "snd_hda_intel" module that
>>>>> drives the Intel sound card on my motherboard also recognizes the ATI
>>>>> cards, according to lspci-v.
>>>>>
>>>>> [...] is there an alternate approach to turn off the HDMI sound cards
>>>>> on the ATI cards?
>>>>>
>>>>
>>>> $ modinfo radeon | grep audio
>>>> parm:           audio:Audio enable (1 = enable) (int)
>>>>
>>>
>>> Note I use fglrx to drive the video cards -- I should have mentioned
>>> that before. With fglrx, it appears to be the snd_hda_intel module
>>> that is driving the HDMI devices. dmesg shows:
>>>
>>> [42595.178256] ALSA sound/pci/hda/hda_intel.c:3053 0000:01:00.1:
>>> Handle VGA-switcheroo audio client
>>> [...]
>>> [42595.277831] ALSA sound/pci/hda/hda_intel.c:3053 0000:02:00.1:
>>> Handle VGA-switcheroo audio client
>>>
>>> And lspci:
>>>
>>> # lspci -k | grep -E "Audio" -A 2
>>> 00:1b.0 Audio device: Intel Corporation Patsburg High Definition Audio
>>> Controller (rev 05)
>>>         Subsystem: ASUSTeK Computer Inc. Device 84d8
>>>         Kernel driver in use: snd_hda_intel
>>> --
>>> 01:00.1 Audio device: ATI Technologies Inc Device aaa0
>>>         Subsystem: Hightech Information System Ltd. Device aaa0
>>>         Kernel driver in use: snd_hda_intel
>>> --
>>> 02:00.1 Audio device: ATI Technologies Inc Device aaa0
>>>         Subsystem: Hightech Information System Ltd. Device aaa0
>>>         Kernel driver in use: snd_hda_intel
>>>
>>>
>>> Unlike "radeon", snd_hda_intel does not appear to have a param to just
>>> disable the VGA-switcheroo stuff without also disabling the audio from
>>> my motherboard.
>>>
>>> Any other ideas before I fall back to the hammer of disabling the PCI
>>> device completely?
>>>
>>> Regards,
>>> Raman
>>>
>>
>> $ lsmod | grep snd
> 
> # lsmod | grep snd
> snd_hda_codec_hdmi     41088  0
> snd_hda_codec_realtek    46021  1
> snd_usb_audio         145270  2
> snd_usbmidi_lib        24713  1 snd_usb_audio
> snd_rawmidi            29531  1 snd_usbmidi_lib
> snd_hda_intel          44021  3
> snd_hda_codec         178680  3
> snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
> snd_hwdep              17650  2 snd_usb_audio,snd_hda_codec
> snd_seq                64877  0
> snd_seq_device         14136  2 snd_seq,snd_rawmidi
> snd_pcm                98004  4
> snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
> snd_page_alloc         18268  2 snd_pcm,snd_hda_intel
> snd_timer              28690  2 snd_pcm,snd_seq
> snd                    79379  22
> snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
> soundcore              14491  1 snd
> 
> (FYI: blacklisting snd_hda_codec_hdmi has no effect)
> 
> Regards,
> Raman
> 

https://www.kernel.org/doc/Documentation/sound/alsa/ALSA-Configuration.txt
- Common parameters for top sound card modules

modinfo snd_hda_intel | grep enable:
parm:           enable:Enable Intel HD audio interface. (array of bool)

ll /proc/asound/

e.g.
/etc/modprobe.d/snd-hda-intel.conf
options snd-hda-intel enable=1,0,0


poma


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux