"hal-system-smbios --st_wlan" reports rfkill switch always on, nm-applet always disabled (wireless, dell laptops)

Bug #394663 reported by Simos Xenitellis 
42
This bug affects 5 people
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Invalid
Undecided
Unassigned
Jaunty
Fix Released
Critical
Martin Pitt

Bug Description

Binary package hint: hal

Since the fix at
https://bugs.edge.launchpad.net/ubuntu/+source/hal/+bug/368553
a bug in hal-system-smbios appeared that always reports that the rfkill switch is on, regardless of actual position.

Quite a few users are affected, http://ubuntuforums.org/showthread.php?p=7549951#post7549951
who downgrade 'hal' to a version that reports (due to a script error) that the rfkill switch is always off (so wireless regarded as always ON).

A similar report is "dellWirelessCtl needed for Dell machines"
https://bugs.edge.launchpad.net/ubuntu/+source/hal/+bug/131835
though the workaround described in the bug description still does not make hal-system-smbios report the correct setting for rfkill. It might need some extra work in that direction.

To verify the bug,

$ sudo /usr/lib/hal/hal-system-smbios --st_wlan
1

Toggle the rfkill switch on your laptop and

$ sudo /usr/lib/hal/hal-system-smbios --st_wlan
1

hal-system-smbios should report correctly the position of the rfkill switch (either 0 or 1).

Revision history for this message
Jaume Sala (jaumesala) wrote :

Confirmed on Dell Vostro 1520 with Ubuntu 9.04 amd64.
Temporary solution: Downgrade hal!

Steps:
1. Search version: sudo apt-cache showpkg hal
Output:
...
Provides:
0.5.12~rc1+git20090403-0ubuntu3 - (latest version [problem])
0.5.12~rc1+git20090403-0ubuntu1 - (past version [OK])

2. Downgrade: sudo aptitude install hal=0.5.12~rc1+git20090403-0ubuntu1

3. If necessary: sudo lrm-manager and sudo modprobe wl

Revision history for this message
Simos Xenitellis  (simosx) wrote :

Thanks for the workaround Jaume.

For a permanent solution, we need to figure out how to make
hal-system-smbios --st_wlan
respond with the correct value when the rfkill switch is on or off.

Martin Pitt (pitti)
tags: added: regression-updates
Changed in hal (Ubuntu):
status: New → Invalid
Changed in hal (Ubuntu Jaunty):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

I'm unable to reproduce this regression, both jaunty-final and the jaunty-updates hal work correctly with the killswitch in my Dell Latitude D430.

I uploaded a jaunty-proposed hal which disables the st_wlan check again. This might reintroduce kill switch problems for some Dell machines, but only for those which were broken in jaunty final as well, and it should fix this regression. I verified that it still works fine on my Latitude. For verifying that it also fixes your problem, I need to get your feedback as soon as possible.

I ping another SRU team member now to review and process my upload.

Changed in hal (Ubuntu Jaunty):
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

For the record, this was the original change in jaunty-updates which caused this:

http://launchpadlibrarian.net/27776744/hal_0.5.12%7Erc1%2Bgit20090403-0ubuntu2_0.5.12%7Erc1%2Bgit20090403-0ubuntu3.diff.gz

Revision history for this message
Colin Watson (cjwatson) wrote :

Accepted into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Jaume Sala (jaumesala) wrote :

Update "0.5.12~rc1+git20090403-0ubuntu4" installed.

Wireless now works but if I turn off the wireless connection with the killswitch, network-manager informs me that the wireless connexion is no more available (that's correct) but still shows all the wireless networks like if my wireless card was still scanning... (that's not correct but not so bad...)

Do you need more information? some kind of terminal outputs... Just tell me what and how to obtain it and I will post the results here.

Sorry for the delay in this bug, I'm having other problems with this **** computer, first grub started to loop at stage 1.5... (solved with super grub disk [looks like WXP mess up the MBR]) second the keyboard seems not to work if I turn on the computer without AC plugged in.... (I've been very busy looking for a solution in this second bug)

Revision history for this message
Gerhard Radatz (gerhard-radatz) wrote :

Jaume, for the keyboard bug take a look at:

https://bugs.launchpad.net/ubuntu/+bug/334249

I have the same Vostro 1520 and Jaunty x64 as you, and it worked for me.

Revision history for this message
Martin Pitt (pitti) wrote :

Jaume, thank you for testing. Indeed it is expected that this update "breaks" the killswitch again, as it was in jaunty final. The backend code which checks the status of the killswitch just doesn't work, so we should rather disable it completely (and thus break the killswitch) than breaking your wifi entirely (by always killing it).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hal - 0.5.12~rc1+git20090403-0ubuntu4

---------------
hal (0.5.12~rc1+git20090403-0ubuntu4) jaunty-proposed; urgency=low

  * 87_standalone_smbios.patch: Disable st_wlan again, it currently does not
    work and always reports that the killswitch is on. This fixes a regression
    from the previous SRU on some Dell models. (LP: #394663)

 -- Martin Pitt <email address hidden> Sun, 05 Jul 2009 11:42:22 +0200

Changed in hal (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
bluishgreen (gsn-coldfire) wrote :

Martin, I reported the bug still exists in DELL Vostro 1720 earlier on Thursday. I confirm that 0.5.12~rc1+git20090403-0ubuntu4 fixes the problem and the WIFI now works with the latest updates from proposed. Thanks so much for the fix. Let me know if I can help further with testing in anyway.

Revision history for this message
Gerhard Radatz (gerhard-radatz) wrote :

Martin,

I can confirm that with the update applied the killswitch on my Vostro 1520 works the same now as with Jaunty final - that's exactly what you expected.

Thanks a lot.
If there is an update to the hal-system-smbios utility, I will be happy to test this one, too.

Revision history for this message
Oedipe (oedipe) wrote :

Hi,

[Jaunty 9.04]

Running hal - 0.5.12~rc1+git20090403-0ubuntu4 here on a Dell Inspiron, the bug still exists ! hal-system-smbi --st_wlan is constantly eating 30% to 60% of my CPU, though i even do not use Wifi (only ethernet). My laptop is burning... Please do something about that.

How can i manage to stop that ?

Revision history for this message
Daniel Cardin (daniel-cardin) wrote : Re: [Bug 394663] Re: "hal-system-smbios --st_wlan" reports rfkill switch always on, nm-applet always disabled (wireless, dell laptops)

I closed my report because I am now following the development for the Karmic branch.
You might want to have a look at bug 430809

Changed in hal (Ubuntu Jaunty):
status: Fix Released → Confirmed
Steve Langasek (vorlon)
Changed in hal (Ubuntu Jaunty):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.