View previous topic :: View next topic |
Author |
Message |
mael n00b
Joined: 28 Feb 2018 Posts: 37 Location: Germany
|
Posted: Sun Sep 16, 2018 11:54 am Post subject: how can i disable an amd radeon hdmi soundcard? [SOLVED] |
|
|
hi,
i have a creative soundblaster z and finally thanks to the awesome work of connor mcadams <conmanx360-at-gmail.com> i dont need any other active soundcard in my system anymore! give the man a honorary doctors degree in reverse engineering he deserves it... to my knowledge creative did nothing to support the open source world... creative : perfect hardware, but piece of crap of a (linux)customer support like some graphics chip manufacturer we all love-hate
so now to my problem :
i already deactivated my internal realtek audio codec via uefi bios, but i cant deactivate the hdmi soundcard on my amd radeon 290x. i use the drm_radeon kernel module (not the newer amdgpu drivers!) with active kms. my prefered audio apis in ascending order are alsa, pulseaudio and openal which are working now perfectly with my soundblaster z. however to stop the confusion of correct soundcard preference on my system i want to completly disable the radeons hdmi soundcard. i have already deactivated in kernel the hdmi hd audio codec module, but it seems the generic hd audio codec parser module seems to "detect" the radeons hdmi soundcard to my sorrow anyway. sadly i cannot simply deactivate the generic hd audio codec parser because it would render the creative ca0132 codec module and therefore my soundblaster z useless, already discovered that the hard kernel recompiling way. also i discovered that the kernel module drm_radeon seems to ignore the
kernel parameter, so i am now at the end of my wisdom! has anyone an idea how i can now disable my amd radeon 290x hdmi soundcard? _________________ Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date
Last edited by mael on Mon Sep 17, 2018 1:06 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Sun Sep 16, 2018 12:33 pm Post subject: |
|
|
mael,
It looks like your Soundblaster Z uses the snd_hda_intel kernel module.
You can pass parameters to snd_hda_intel when it loads. In particular, enable=
See the output of Code: | modinfo snd-hda-intel |
How you pass module parameters depends on where the driver is built.
With three sound cards, all using snd-hda-intel, doing Code: | modprobe -r snd-hda-intel
modproble snd-hda-intel enable=0,0,0 | will remove snd-hda-intel, then reload it with all three cards disabled. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mael n00b
Joined: 28 Feb 2018 Posts: 37 Location: Germany
|
Posted: Sun Sep 16, 2018 4:20 pm Post subject: |
|
|
hi,
first thank you for your advise, but this solution does only seem to apply on systems with seperate device driver modules...
i have a monolitic kernel and dont wanna realy use any external modules... is there another way? something like blacklistening a specific soundcard by device id or device name? blacklistining a module wont work because as i wrote before i need at the current development stage of the soundblaster z drivers both ca0132 AND the generic hd audio parser compiled into the kernel! _________________ Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Sun Sep 16, 2018 4:29 pm Post subject: |
|
|
mael,
It works with monolithic systems too. You pass the module parameter on the kernel command line.
Its easier to do trial and error with modules is all.
My example becomes Code: | snd-hda-intel.enable=0,0,0 |
If you use grub, at the grub menu press 'e' and follow the on screen instructions to append the command to the kernel line.
When you know what works, update grub. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mael n00b
Joined: 28 Feb 2018 Posts: 37 Location: Germany
|
Posted: Sun Sep 16, 2018 4:59 pm Post subject: |
|
|
CASE CLOSED...
Code: | snd-hda-intel.enable=0,1,0 |
added to kernel parameters did the job great because my soundblaster z is detected everytime at boot after the radeons hdmi audio output , so thank you neddy for your help...
i think i have to reevaluate the numbers order if i reactivate the internal realtek audio codec of my mainboard but it looks like i never use onboard sound crap again...
i am adding solved to the thread _________________ Gigabyte X99-SLI
Intel Core i7-5960X 16 Threads @ 3 Ghz
64 GB DDR4 RAM @ 2,13 Ghz
AMD Radeon 290X 8 GB RAM
Creative Soundblaster Z
Areca ARC-1883ix-16
16 Samsung 860 EVO 250 GB SSDs @ 3,5 TB RAID 6
Hauppauge HVR-5525
Firmwares are up-to-date |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|