You are not logged in.

#1 2014-04-18 10:01:08

siv
Member
Registered: 2014-04-18
Posts: 25

[Solved] - Files in /modprobe.d/ seem to be ignored

Hi,
excuse my english.

My problem is that the configuration files in /etc/modprobe.d seem to be ignored by the system.

I want that
-The module "ums_realtek" is blacklisted or loaded with the parameter "ss_en=0"
-The module "snd_hda_intel" is loaded with the parameters "model=acer-aspire-4930g enable_msi=1"

So I put in the /etc/modprobe.d/modprobe.conf

[siv@siv-arch ~]$ cat /etc/modprobe.d/modprobe.conf 
options snd-hda-intel model=acer-aspire-4930g enable_msi=1
options ums-realtek ss_en=0

But it doesn't work. Infact after the boot if I see this:

[siv@siv-arch ~]$ systool -v -m ums_realtek
Module = "ums_realtek"

  Attributes:
    coresize            = "7391"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "0"
    srcversion          = "7211D16D16BECBF334341D5"
    taint               = ""
    uevent              = <store method only>
    version             = "1.03"

  Parameters:
    auto_delink_en      = "1"
    ss_delay            = "50"
    ss_en               = "1"

  Sections:
    .data               = "0xffffffffa027c560"
    .exit.text          = "0xffffffffa027c2c1"
    .gnu.linkonce.this_module= "0xffffffffa027c740"
    .init.text          = "0xffffffffa027e000"
    .note.gnu.build-id  = "0xffffffffa027c2d4"
    .rodata             = "0xffffffffa027c300"
    .rodata.str1.1      = "0xffffffffa027c3fe"
    .rodata.str1.8      = "0xffffffffa027c450"
    .strtab             = "0xffffffffa027ea88"
    .symtab             = "0xffffffffa027e020"
    .text               = "0xffffffffa027b000"
    __mcount_loc        = "0xffffffffa027c4d8"
    __param             = "0xffffffffa027c478"
    __verbose           = "0xffffffffa027c710"

and the option "ss_en" is set to "1" instead of "0"

Last edited by siv (2014-04-19 15:19:59)

Offline

#2 2014-04-18 10:31:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

Does the snd-hda-intel configuration also fail? It might be an issue with that particular driver.

FWIW I have one modprobe.d setting and it is applied correctly.

Offline

#3 2014-04-18 13:36:06

siv
Member
Registered: 2014-04-18
Posts: 25

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

Neither ums-realtek nor snd-hda-intel work.

If I unload the ums-realtek and then re-load it i works (the system reads the configuration of the modprobe.conf). For the snd-hda-intel the situation is worse because i can't unload the module that is in use.

Why not at boot time?

In which log can I saw for errors?

Offline

#4 2014-04-18 21:07:57

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

As you do not mention it, do you have the modconf hook added in your mkinitcpio.conf?

If not, as far as I know, modprobe.d settings are ignored/not applied.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#5 2014-04-18 21:50:04

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

I have snd_hda_intel on my machine rather than snd-hda_intel.

Offline

#6 2014-04-18 23:56:04

siv
Member
Registered: 2014-04-18
Posts: 25

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

Thanks root, I checked the mkinitcpio.conf and the hook modconf was there.

HOOKS="base udev autodetect modconf block filesystems keyboard fsck"

Despite that I tried:

mkinitcpio -p linux

And now it seems work fine. Both modules load with parameters written in /etc/modprobe.d/modprobe.conf


Now I have another problem.

I have an Acer  6930g with the 5.1 audio. But the subwoofer not working. I have tried everything with alsamixer.

If i do:

[root@siv-arch ~]# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC888 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC888 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel, HDMI 0
    HDMI Audio Output
[root@siv-arch ~]# 

I see that I have the ALC888. Surfing on web I found that I have to load the snd_hda_intel with the parameter "model=acer-aspire-4930g" or "model=auto" but it doesn't work.


Suggestions?

Thanks a lot


P.S.
I have Archlinux with XFCE but for few hours I tried KDE and with it the audio worked! Also the mixer integrated in KDE showed me different card (ALC888 digital, ALC888 analog...). Instead XFCE show me only one card that doesn't work properly. hmm

Last edited by siv (2014-04-19 00:03:32)

Offline

#7 2014-04-19 01:48:38

Ziusudra
Member
Registered: 2014-04-19
Posts: 120

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

You can see current options for modules (in this example the "single_cmd=1 position_fix=1"):

$ modprobe -D snd-hda-intel
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/soundcore.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd-timer.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd-pcm.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd-hwdep.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/pci/hda/snd-hda-codec.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.gz single_cmd=1 position_fix=1 

To see which modules you can remove:

$ lsmod | grep '^snd.*[0-9] $'
snd_hda_codec_realtek     46566  1 
snd_hda_intel                     37704  0 
snd_mpu401_uart                5819  0

In this example I can't remove snd_hda_codec_realtek until I remove snd_hda_intel.

Offline

#8 2014-04-19 12:59:25

siv
Member
Registered: 2014-04-18
Posts: 25

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

Ziusudra thanks for your reply.

Sorry but I don't understand what I have to do.

My log:

[siv@siv-arch ~]$ modprobe -D snd-hda-intel
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/soundcore.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd-timer.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd-pcm.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/core/snd-hwdep.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/pci/hda/snd-hda-codec.ko.gz 
insmod /lib/modules/3.14.1-1-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.gz model=auto enable_msi=1 
[siv@siv-arch ~]$ lsmod | grep '^snd.*[0-9] $'
snd_hda_codec_hdmi     36588  1 
snd_hda_codec_realtek    46566  1 
snd_hda_intel          37704  1 

Last edited by siv (2014-04-19 13:26:21)

Offline

#9 2014-04-19 15:19:39

siv
Member
Registered: 2014-04-18
Posts: 25

Re: [Solved] - Files in /modprobe.d/ seem to be ignored

Hi guys,
taking an advice from the italian's forum of Arch I have installed pulseaudio and edit the /etc/asound.conf .

Now seems that everything is ok.

Thanks for the support smile

Offline

Board footer

Powered by FluxBB