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]

 



2013/7/30 Raman Gupta <rocketraman@xxxxxxxxx>:
> 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
> --
> 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

I had exactly the same problem and put the following into a script
that is run at startup:

## Make sure only root can run our script
#if [[ $EUID -ne 0 ]]; then
#  echo "This script must be run as root"
#  exit 1
#fi

card=`lspci | grep -i audio | grep ATI | cut -d ' ' -f1`

if [ "$card" ]; then
  #echo 'card id is: ' $card
  device=`find /sys/devices -name *"$card"`
  if [ "$device" ]; then
    #echo 'device is: ' $device
    echo 1 > $device/remove
  fi
fi

This removes the ati-hdmi device (it's useless for me anyway).

-- 
--joshua
-- 
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