rfkill shows wrong status of wlan

Bug #553782 reported by PeterLi65
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux
Expired
High
linux (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

"Rfkill list" shows the rt2500usb as Hard blocked and "rfkill unblock wifi" does therefore not unblock. But there is no switch on my pc or in the BIOS to switch it on/off. In the previous kernel image linux-image-2.6.31-20-generic it was "Soft blocked" on startup which in my opinion is wrong, too. But at least I was able to switch it to unblocked by rfkill.

ProblemType: Bug
DistroRelease: Ubuntu 10.04 & 12.04
Package: linux-image-2.6.32-19-generic 2.6.32-19.28
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: peter 1539 F.... pulseaudio
 /dev/snd/controlC0: peter 1539 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd8100000 irq 16'
   Mixer name : 'C-Media CMI9880'
   Components : 'HDA:434d4980,70911462,00090402'
   Controls : 21
   Simple ctrls : 12
Card1.Amixer.info:
 Card hw:1 'SAA7134'/'saa7134[0] at 0xd8000000 irq 17'
   Mixer name : 'SAA7134 Mixer'
   Components : ''
   Controls : 6
   Simple ctrls : 3
Date: Fri Apr 2 06:26:24 2010
HibernationDevice: RESUME=UUID=2465e27b-5800-4b90-8d1a-540d0ea3bbe0
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
MachineType: MEDIONPC MS-7091
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-19-generic root=UUID=c524743b-aed7-4cd6-87e9-92091ec75609 ro quiet splash
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.33
SourcePackage: linux
dmi.bios.date: 10/28/2004
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7091
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO., LTD
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd10/28/2004:svnMEDIONPC:pnMS-7091:pvr:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7091:rvr:cvn:ct3:cvr:
dmi.product.name: MS-7091
dmi.sys.vendor: MEDIONPC

Revision history for this message
PeterLi65 (peter-littmann) wrote :
Revision history for this message
PeterLi65 (peter-littmann) wrote :

I just tested it with

Linux mediondt 2.6.34-999-generic #201003311145 SMP Wed Mar 31 11:40:45 UTC 2010 i686 GNU/Linux
from the mainline Ubuntu-kernerarchive

0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: yes

Should I do further tests to show that this failure exists in the newer kernels?

Revision history for this message
PeterLi65 (peter-littmann) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi PeterLi65,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
tags: removed: regression-potential
Revision history for this message
walterav (walterav) wrote :

Reopen Bug, more info!

Having exactly the same PC Desktop model from Medion, I can confirm this bug is still in Ubuntu Precise Pangolin 12.04 LTS as its probably a kernel related issue from kernel 2.6.32 up to 3.2.x or upstream 3.4. I will try to continue the contact with upstream kernel bugzilla as Peter did.

The hardware does functions fine under ubuntu 9.10 with 2.6.31 like Peter mentions, although its "soft blocked" by rfkill, but doing "rfkill unblock all wifi" the wifi hardware works fine.

Possible fix in missing module?
Like mentioned by Peter in newer versions of ubuntu with kernel 2.6.32up rfkill notes "hard blocked" instead of "soft blocked", but there is something else thats different. Ubuntu 9.10 shows the module "input-polldev" as loaded and used by rt2x00lib and I googled that its used by rfkill.

rt2500usb 21152 0
rt2x00usb 11548 1 rt2500usb
rt2x00lib 29756 2 rt2500usb,rt2x00usb
led_class 4096 1 rt2x00lib
input_polldev 3716 1 rt2x00lib
mac80211 181140 2 rt2x00usb,rt2x00lib
cfg80211 93052 2 rt2x00lib,mac80211

The newer version of ubuntu/kernel don't use the module "input_polldev", maybe input_polldev read or forced a good state of software/hardware block or it is indeed a hardware bug(wifi device itself reporting the wrong status), but I still like to know a way to work around it.

On the desktop machine there is no "hardware button" to control the wifi adapter. I might only try windows with a driver from ralink itself instead of the OEM medion. But alot of people already mention that NDISwrapper works fine...

walterav (walterav)
tags: added: precise ralink rfkill rt2500usb
removed: needs-upstream-testing
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Opinion
status: Opinion → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.2.0-23.36)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get dist-upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.2.0-23.36
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
walterav (walterav) wrote :

When the Ndiswrapper with the Ralink proprietary Windows Driver is used after removing the active module rt2500usb the device works (ofcourse using NDIS).

But when removing the ndiswrapper and its module, and modprobing the rt2500usb again "rfkill" will show soft and hard unblocked. Continuing that when doing:
sudo ifconfig wlan0 up
sudo service network-manager stop/start

The device connects and functions fine with the rt2500usb driver, also shown in the connection info box of network-manager applet. It really doesn't use the ndis because there are no ndis modules loaded. So the kernel driver works fine, but there really is problem getting the right "hard blocked" state.

Changed in linux:
importance: Unknown → High
status: Unknown → Expired
Revision history for this message
walterav (walterav) wrote :

I cannot test the ndiswrapper on precise 12.04 because of this bug 986064, but in ubuntu 11.10 ndiswrapper did succesfully hard unblock somehow the rfkill state described in comment #7.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Closing this bug with Won't fix as this kernel / release is no longer supported.
Please feel free to open a new bug report if you're still experiencing this on a newer release (Bionic 18.04.3 / Disco 19.04)
Thanks!

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
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.