On January 2, 2017 2:59:39 PM GMT+01:00, Hogren <hog...@iiiha.com> wrote:
>On 02/01/2017 12:37, Mick wrote:
>> On Sunday 01 Jan 2017 20:53:50 Hogren wrote:
>>> On 01/01/2017 13:07, Mick wrote:
>>>> So,
>>>> let's see what the card is configured to use at present:
>>>>
>>>> cat /sys/class/net/wlp36s0b1/power/control
>>>>
>>>> The default setting would be off and since this parameter is
>specified as
>>>> an integer it is likely to be 0.  There is also a possibility of it
>being
>>>> set at 'auto'.  In any case you can try switching this on, to see
>if it
>>>> is makes any difference, or if it is set at 'auto' force it to off.
>>>>
>>>> I see you are running systemd.  I am not well versed with it, so
>others
>>>> will hopefully chip in to correct me.  On a normal Gentoo system
>with
>>>> openrc I> 
>>>> would use this file to set options:
>>>>  /etc/modprobe.d/b43.conf
>>>>
>>>> So create it and add in it:
>>>>
>>>> options b43 hwpctl=1
>>>>
>>>> to switch power management on, or:
>>>>
>>>> options b43 hwpctl=0
>>>>
>>>> to force it off.
>>> Hello !
>>>
>>> Thanks for help. But for now the result of your cat command returns
>"auto".
>>> I created b43.conf in /etc/modprobe.d/ with same permissions than
>others
>>> files in the same directory with content:
>>> options b43 hwpctl=0.
>>> I restarted.
>>> The cat command returns "auto" again.
>>>
>>> What is wrong ?
>> Try setting:
>>
>> options b43 hwpctl=1
>>
>> reboot and see what you get.
>Hello,
>It returns alway "auto".
>
>On the official Systemd documentation, I see that there is a new
>directory to say which modules load, but to change options, it's always
>with modprobe.
>
>I tried to modified the option on a command line, but, it's stay at
>"auto" :
># modprobe b43 options hwpctl=0
># cat /sys/class/net/wlp36s0b1/power/control
>auto
># modprobe b43 options hwpctl=1
># cat /sys/class/net/wlp36s0b1/power/control
>auto
># modprobe b43 options hwpctl=off
># cat /sys/class/net/wlp36s0b1/power/control
>auto
>
>What is wrong ?
>
>I really think that I use this module :
># lsmod
>Module                  Size  Used by
>x86_pkg_temp_thermal     4663  0
>kvm_intel             148031  0
>b43                   385652  0
>kvm                   309648  1 kvm_intel
>irqbypass               2616  1 kvm
>sha1_generic            3067  0
>
>
>For help, this is my kernel options about its :
># grep -i "b43" /usr/src/linux/.config
>CONFIG_B43=m
>CONFIG_B43_BCMA=y
>CONFIG_B43_SSB=y
>CONFIG_B43_BUSES_BCMA_AND_SSB=y
># CONFIG_B43_BUSES_BCMA is not set
># CONFIG_B43_BUSES_SSB is not set
>CONFIG_B43_PCI_AUTOSELECT=y
>CONFIG_B43_PCICORE_AUTOSELECT=y
>CONFIG_B43_BCMA_PIO=y
>CONFIG_B43_PIO=y
>CONFIG_B43_PHY_G=y
>CONFIG_B43_PHY_N=y
>CONFIG_B43_PHY_LP=y
>CONFIG_B43_PHY_HT=y
>CONFIG_B43_HWRNG=y
># CONFIG_B43_DEBUG is not set
># CONFIG_B43LEGACY is not set
>CONFIG_SSB_B43_PCI_BRIDGE=y
>
>
>Thanks for help !
>
>Hogren

You need to remove the module before loading it with new options.

Try
# rmmod b43
Before the modprobe command.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to