You are not logged in.

#1 2016-08-03 18:22:07

n1ksn
Member
Registered: 2016-07-21
Posts: 6

[SOLVED] HP Mini 210 wifi indicator light not working

Greetings.  First, I just wanted to say that I can't think of a Linux distro I like more than BunsenLabs.  Great job, all you BL developers!

I'm using BunsenLabs on an HP Mini 210 notebook (64 bit), and everything has worked just fine with one (very) small exception.  The 210 has a small LED embedded in the special function key (shared with F12) that turns wifi on and off.  Wifi works fine and the button works as it should, but the LED indicator does light with BunsenLabs.  It works with every other distro I've tried (and there are a lot of them) including several built on Debian. 

I see that nm-applet is started in /etc/xdg/autostart through a desktop file instead of appearing in the Openbox autostart file.  Could this be the reason?  Would I break anything if I tried moving it from XDG to OB to see what happens?

Thanks,
Andy N1KSN
Menasha, WI

Last edited by n1ksn (2016-08-04 21:36:08)

Offline

#2 2016-08-03 18:30:05

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] HP Mini 210 wifi indicator light not working

n1ksn wrote:

I see that nm-applet is started in /etc/xdg/autostart through a desktop file instead of appearing in the Openbox autostart file.  Could this be the reason?  Would I break anything if I tried moving it from XDG to OB to see what happens?

I wouldn't think so but you could try it.

However, nm-applet just displays the systray icon and sets the configuration, it is not responsible for the actual connection.

What is your wireless hardware and driver?

lspci -knn|grep -iA2 net

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2016-08-03 19:02:11

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] HP Mini 210 wifi indicator light not working

Just to confirm, your wifi still works, but it's just literally the LED light that doesn't turn on?  Could be a hardware/driver issue with the keyboard?


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#4 2016-08-03 20:13:29

n1ksn
Member
Registered: 2016-07-21
Posts: 6

Re: [SOLVED] HP Mini 210 wifi indicator light not working

Thanks for the quick responses!

Here is the result from lspci -knn|grep -iA2 net

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
    Subsystem: Hewlett-Packard Company Device [103c:3660]
    Kernel driver in use: r8169
02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:145c]
    Kernel driver in use: bcma-pci-bridge

To confirm:  It is only the wifi indicator LED that is not coming on when wifi is active.  Other keyboard indicators like Mute and Caps Lock are working as usual and all wifi functions are working (other than the LED).

I moved the nm-applet start from the XDG autostart directory to the Openbox autostart file and as suspected, it made no difference.

I can live with this little bug, as I still have the system tray and conky to show wifi connection status.  But I thought it was worth a mention.

Cheers,
Andy

Offline

#5 2016-08-03 21:15:50

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] HP Mini 210 wifi indicator light not working

Well right off the bat I noticed you're using the bcma-pci-bridge driver. While this works for some cards I think it's been known to be sort of flaky.   But the fact that your wifi actually works, maybe you don't want to 'rock the boat' but a lot of people who have issues with the bcma driver, can swap it with the wl driver.

02:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:145c]
    Kernel driver in use: bcma-pci-bridge

Above is what you have, and below is what generally is used by users of your internal adapter.

https://wiki.debian.org/wl

If you wanted to you could try apt-get  installing
broadcom-sta-dkms

it may fix the keyboard LED issue.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#6 2016-08-04 01:06:34

n1ksn
Member
Registered: 2016-07-21
Posts: 6

Re: [SOLVED] HP Mini 210 wifi indicator light not working

I tried installing the broadcom driver package as per the Debian page on wl you referenced, Horizon_Brave, but I got an error message that it could not do the build due to the kernal source not being present.  (I'm running with the jessie-backport kernal 4.6.0-0.bpo.1-amd64.)  After that I lost wifi for a while (I messed up somehow), but managed to get it back using modprobe to re-install the bcma driver. 

I think I'm out of my depth here, so I'm a bit nervous about all this.  However, if there is a "safe" way to get the required source for dkms I can give it another go.

Thanks,
Andy

Offline

#7 2016-08-04 07:13:55

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] HP Mini 210 wifi indicator light not working

n1ksn wrote:

but I got an error message that it could not do the build due to the kernal source not being present.  (I'm running with the jessie-backport kernal 4.6.0-0.bpo.1-amd64.)

You just need the kernel headers:

sudo apt install linux-headers-amd64/jessie-backports

https://packages.debian.org/jessie-back … ders-amd64

For future reference: please post errors messages in full (using code tags) rather than vague descriptions of error messages.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#8 2016-08-04 19:00:49

n1ksn
Member
Registered: 2016-07-21
Posts: 6

Re: [SOLVED] HP Mini 210 wifi indicator light not working

Thanks, Head_on_a_Stick.  I downloaded the kernal headers successfully. But when I went to install broadcom-sta-dkms, I got an error message from the build.  The make.log file contained the listing below:

DKMS make.log for broadcom-sta-6.30.223.248 for kernel 4.6.0-0.bpo.1-amd64 (x86_64)
Thu Aug  4 13:35:25 CDT 2016
/bin/sh: 1: [: Illegal number: 
/bin/sh: 1: [: Illegal number: 
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.6.0-0.bpo.1-amd64/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.6.0-0.bpo.1-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  LD      /var/lib/dkms/broadcom-sta/6.30.223.248/build/built-in.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_iw.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1390:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type
  memcpy(params.key, key.data, params.key_len);
         ^
In file included from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/string.h:4:0,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/string.h:18,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/bitmap.h:8,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/cpufeature.h:4,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/thread_info.h:52,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/thread_info.h:54,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/preempt.h:6,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/preempt.h:59,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/spinlock.h:50,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/seqlock.h:35,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/time.h:5,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/stat.h:18,
                 from /usr/src/linux-headers-4.6.0-0.bpo.1-common/include/linux/module.h:10,
                 from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/include/linuxver.h:40,
                 from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:26:
/usr/src/linux-headers-4.6.0-0.bpo.1-common/arch/x86/include/asm/string_64.h:30:14: note: expected ‘void *’ but argument is of type ‘const u8 *’
 extern void *memcpy(void *to, const void *from, size_t len);
              ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_station’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_TX_BITRATE;
                    ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1457:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_SIGNAL;
                    ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: At top level:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: initialization from incompatible pointer type
  .get_station = wl_cfg80211_get_station,
  ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1778:2: warning: (near initialization for ‘wl_cfg80211_ops.get_station’)
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_inform_single_bss’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:9: error: incompatible type for argument 3 of ‘cfg80211_inform_bss’
  cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
         ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-4.6.0-0.bpo.1-common/include/net/cfg80211.h:4135:1: note: expected ‘enum cfg80211_bss_frame_type’ but argument is of type ‘const u8 *’
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2015:3: warning: passing argument 7 of ‘cfg80211_inform_bss’ makes integer from pointer without a cast
   (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
   ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-4.6.0-0.bpo.1-common/include/net/cfg80211.h:4135:1: note: expected ‘u16’ but argument is of type ‘const u8 *’
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2015:26: warning: passing argument 8 of ‘cfg80211_inform_bss’ makes pointer from integer without a cast
   (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL);
                          ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-4.6.0-0.bpo.1-common/include/net/cfg80211.h:4135:1: note: expected ‘const u8 *’ but argument is of type ‘size_t’
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:9: error: too few arguments to function ‘cfg80211_inform_bss’
  cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet),
         ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-4.6.0-0.bpo.1-common/include/net/cfg80211.h:4135:1: note: declared here
 cfg80211_inform_bss(struct wiphy *wiphy,
 ^
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’:
/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2050:4: error: too few arguments to function ‘cfg80211_disconnected’
    cfg80211_disconnected(ndev, 0, NULL, 0, GFP_KERNEL);
    ^
In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0:
/usr/src/linux-headers-4.6.0-0.bpo.1-common/include/net/cfg80211.h:4694:6: note: declared here
 void cfg80211_disconnected(struct net_device *dev, u16 reason,
      ^
/usr/src/linux-headers-4.6.0-0.bpo.1-common/scripts/Makefile.build:296: recipe for target '/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o' failed
make[4]: *** [/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o] Error 1
/usr/src/linux-headers-4.6.0-0.bpo.1-common/Makefile:1446: recipe for target '_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build' failed
make[3]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.6.0-0.bpo.1-amd64'
Makefile:158: recipe for target 'all' failed
make: *** [all] Error 2

Looks like a lot of errors from the wl_cfg80211.hybrid.c module.  If there is a straightforward fix for this, I'll go for it.  But if not, I can live with the wifi indicator light not working.  I'm retired, so I'm sure your time is much more valuable than mine.

Thanks,
Andy

Offline

#9 2016-08-04 19:22:15

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] HP Mini 210 wifi indicator light not working

Thanks for the log but could we see the full output of:

sudo apt-get install -t jessie-backports broadcom-sta-dkms

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#10 2016-08-04 21:34:59

n1ksn
Member
Registered: 2016-07-21
Posts: 6

Re: [SOLVED] HP Mini 210 wifi indicator light not working

OK.  At my first attempt to install I somehow screwed up wifi.  I switched back to the 3.16 kernel, hooked up an Ethernet connection, and then tried the install.  For some reason, everything worked out.  I've included the install output below, but I'm not sure how relevant it now is, as the install went through.  Anyway, I then used modprobe to remove any old competing modules and put in wl, as per the link above to the Debian Wiki.  The wifi indicator now works!

I must apologize for my mistakes.  I suspect I tried an install without specifying backports on some part of the process and things got messed up.  I very much appreciate your help.  Bottom line, replace bcma with wl and the indicator works.

BunsenLabs is great!  I'll mark this "bug" as solved.

Cheers,
Andy

root@N1KSN-Notebook:/home/n1ksn# apt-get install -t jessie-backports broadcom-sta-dkms --fix-missing
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  dkms fakeroot libfakeroot
Recommended packages:
  linux-image
The following NEW packages will be installed:
  broadcom-sta-dkms dkms fakeroot libfakeroot
0 upgraded, 4 newly installed, 0 to remove and 100 not upgraded.
Need to get 2,281 kB/2,410 kB of archives.
After this operation, 15.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://httpredir.debian.org/debian/ jessie-backports/main dkms all 2.2.0.3-4~bpo8+1 [72.8 kB]
Get:2 http://httpredir.debian.org/debian/ jessie-backports/non-free broadcom-sta-dkms all 6.30.223.271-2~bpo8+1 [2,208 kB]
Fetched 2,281 kB in 3s (715 kB/s)              
Selecting previously unselected package dkms.
(Reading database ... 150934 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-4~bpo8+1_all.deb ...
Unpacking dkms (2.2.0.3-4~bpo8+1) ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-2~bpo8+1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-2~bpo8+1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up dkms (2.2.0.3-4~bpo8+1) ...
Setting up broadcom-sta-dkms (6.30.223.271-2~bpo8+1) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 3.16.0-4-amd64 and 4.6.0-0.bpo.1-amd64
Building initial module for 3.16.0-4-amd64
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-4-amd64/updates/dkms/

depmod......

Backing up initrd.img-3.16.0-4-amd64 to /boot/initrd.img-3.16.0-4-amd64.old-dkms
Making new initrd.img-3.16.0-4-amd64
(If next boot fails, revert to initrd.img-3.16.0-4-amd64.old-dkms image)
update-initramfs....

DKMS: install completed.
Building initial module for 4.6.0-0.bpo.1-amd64
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.6.0-0.bpo.1-amd64/updates/dkms/

depmod.......

Backing up initrd.img-4.6.0-0.bpo.1-amd64 to /boot/initrd.img-4.6.0-0.bpo.1-amd64.old-dkms
Making new initrd.img-4.6.0-0.bpo.1-amd64
(If next boot fails, revert to initrd.img-4.6.0-0.bpo.1-amd64.old-dkms image)
update-initramfs....

DKMS: install completed.
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-4.6.0-0.bpo.1-amd64
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8107e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168h-1.fw for module r8169
root@N1KSN-Notebook:/home/n1ksn# modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
root@N1KSN-Notebook:/home/n1ksn# modprobe wl

Offline

#11 2016-08-04 21:54:52

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [SOLVED] HP Mini 210 wifi indicator light not working

For some reason, everything worked out.

lol, had a chuckle at that...You don't know how many times I've said that same phrase to my own fumbling! 

Glad it worked out and that light is shining now!


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

Board footer

Powered by FluxBB