[Dell XPS L502X] Applying soft block to bluetooth hard blocks wlan
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Linux |
Invalid
|
Medium
|
|||
| linux (Ubuntu) |
Fix Released
|
Medium
|
Kamal Mostafa | ||
| Precise |
Fix Released
|
Medium
|
Kamal Mostafa | ||
| Quantal |
Fix Released
|
Medium
|
Kamal Mostafa | ||
Bug Description
SRU Justification [precise]:
Impact: Prevents using WiFi without Bluetooth, or vice-versa.
Fix: Patch adds two Dell laptop models to rfkill blacklist table; affects only those models.
Testcase: Disable Bluetooth via the indicator icon; verify that WiFi continues to operate.
This patch is being carried in quantal as UBUNTU SAUCE (commit 318d5bb).
-----
In oneiric (and daily kernel) there seems to be a bug in dell-laptop.
When you kill dell-bluetooth, it also hard blocks 'Wireless LAN'.
This should NOT be the case and only block your bluetooth.
jean-louis@
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: dell-wwan: Wireless WAN
Soft blocked: no
Hard blocked: no
5: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
6: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
jean-louis@
jean-louis@
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: dell-wwan: Wireless WAN
Soft blocked: no
Hard blocked: no
6: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
FYI:
root@laptop-
status: 0x1071D
Bit 0 : Hardware switch supported: 1
Bit 1 : Wifi locator supported: 0
Bit 2 : Wifi is supported: 1
Bit 3 : Bluetooth is supported: 1
Bit 4 : WWAN is supported: 1
Bit 5 : Wireless keyboard supported: 0
Bit 8 : Wifi is installed: 1
Bit 9 : Bluetooth is installed: 1
Bit 10: WWAN is installed: 1
Bit 16: Hardware switch is on: 1
Bit 17: Wifi is blocked: 0
Bit 18: Bluetooth is blocked: 0
Bit 19: WWAN is blocked: 0
hwswitch_state: 0x7
Bit 0 : Wifi controlled by switch: 1
Bit 1 : Bluetooth controlled by switch: 1
Bit 2 : WWAN controlled by switch: 1
Bit 7 : Wireless switch config locked: 0
Bit 8 : Wifi locator enabled: 0
Bit 15: Wifi locator setting locked: 0
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.0.0-14-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC665 Analog [ALC665 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] Bestand of map bestaat niet
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xf1c00000 irq 53'
Mixer name : 'Intel CougarPoint HDMI'
Components : 'HDA:10ec0665,
Controls : 27
Simple ctrls : 13
Date: Wed Dec 7 21:55:07 2011
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
MachineType: Dell Inc. Dell System XPS L502X
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.60
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/20/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A06
dmi.board.name: 0NJT03
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Dell System XPS L502X
dmi.sys.vendor: Dell Inc.
CVE References
- AcpiTables.txt Edit (245.8 KiB, text/plain; charset="utf-8")
- AlsaDevices.txt Edit (585 bytes, text/plain; charset="utf-8")
- AplayDevices.txt Edit (379 bytes, text/plain; charset="utf-8")
- BootDmesg.txt Edit (64.8 KiB, text/plain; charset="utf-8")
- Card0.Amixer.values.txt Edit (2.6 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.0.txt Edit (12.8 KiB, text/plain; charset="utf-8")
- Card0.Codecs.codec.3.txt Edit (3.0 KiB, text/plain; charset="utf-8")
- CurrentDmesg.txt Edit (4.9 KiB, text/plain; charset="utf-8")
- Dependencies.txt Edit (1.8 KiB, text/plain; charset="utf-8")
- IwConfig.txt Edit (584 bytes, text/plain; charset="utf-8")
- Lspci.txt Edit (12.0 KiB, text/plain; charset="utf-8")
- Lsusb.txt Edit (589 bytes, text/plain; charset="utf-8")
- PciMultimedia.txt Edit (614 bytes, text/plain; charset="utf-8")
- ProcCpuinfo.txt Edit (6.7 KiB, text/plain; charset="utf-8")
- ProcEnviron.txt Edit (144 bytes, text/plain; charset="utf-8")
- ProcInterrupts.txt Edit (3.9 KiB, text/plain; charset="utf-8")
- ProcModules.txt Edit (5.1 KiB, text/plain; charset="utf-8")
- PulseSinks.txt Edit (2.2 KiB, text/plain; charset="utf-8")
- PulseSources.txt Edit (1.4 KiB, text/plain; charset="utf-8")
- RfKill.txt Edit (303 bytes, text/plain; charset="utf-8")
- UdevDb.txt Edit (131.7 KiB, text/plain; charset="utf-8")
- UdevLog.txt Edit (309.8 KiB, text/plain; charset="utf-8")
- WifiSyslog.txt Edit (134.6 KiB, text/plain; charset="utf-8")
It looks like this issue is kind of nasty. The interface used by dell-laptop involves using an SMI to tell the BIOS to disable the radio, and what the BIOS does in response is completely opaque to us. The functionality for this in dell-laptop seems to be based upon similar functionality in the Dell-provided libsmbios software, and it looks to match what's provided there.
So my expectation at this point is that we're unlikely to get this fixed unless we can get information from Dell about what's happening. There are a couple of things you can try though.
First, check for a BIOS update for your machine. It's possible that this is a bug in the BIOS that's been fixed.
Second, install the smbios-utils package and try playing with smbios-
- smbios-wireless-ctl output Edit (2.9 KiB, text/plain)
Seems to be broken with smbios-wireless-ctl also :(
That's what I suspected, unfortunately.
There's no bug tracker for libsmbios, but there is a mailing list. It doesn't appear to have had much activity recently, but you could try reporting the bug there. If the list proves unresponsive there are some email addresses in the libsmbios source we could try. If we can get a fix for libsmbios then we can apply the same fix to dell-laptop. I don't see how we'll be able to fix this without some help from Dell.
+ [Dell XPS L502X] Applying soft block to bluetooth hard blocks wlan
I am seeing this issue on an XPS 13 as well. It also uses the Centrino Advanced-N 6230.
The problem can be cured on the Dell XPS 13z (and maybe the XPS 15z also?) by removing the dell_laptop driver with "sudo rmmod dell_laptop", or by adding the model to the driver's rfkill blacklist table.
Mario Limonciello from Dell has supplied the attached patch, which adds the XPS 13z to the rfkill blacklist table.
Does removing the dell_laptop driver also fix it for the XPS 15z? (If so, that model could also be added to the blacklist table). Would someone with a 15z kindly try "sudo rmmod dell_laptop" and report back?
Removed the dell_laptop module on my XPS L502X, and this works as expected.
So it seems like blacklisting this model will also fix the issue!
Thanks Jean-Louis.
I have extended the dell_laptop rfkill blacklist patch to include the Dell XPS 15z as well as the XPS 13z (revised patch attached for reference), and produced a test PPA kernel with the patch applied. Jean-Louis or other 15z owners, please apply this PPA then reboot, and confirm that it fixes the problem: https:/
I will test this later tonigh.
But some small thing:
.ident = "Dell XPS 15z",
The Dell XPS 15z is a different model
L502X != 15z
I can confirm the kernel in your PPA fixes my issue.
rfkill doesn't show the dell devices anymore, and bluetooth and wireless can be disabled now without killing each other :)
- 0001-UBUNTU-SAUCE-dell-laptop-rfkill-blacklist-Dell-XPS-1.patch Edit (1.5 KiB, text/plain)
This version of the patch has been applied to Ubuntu quantal.
The attachment "0001-UBUNTU-
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]
This bug was fixed in the package linux - 3.4.0-3.8
---------------
linux (3.4.0-3.8) quantal; urgency=low
[ Andy Whitcroft ]
* [Config] include include/
- LP: #942569
* [Config] fix up postinst to ensure we know which error is which
- LP: #1002388
[ Herton Ronaldo Krzesinski ]
* SAUCE: async_populate_
- LP: #1003417
[ John Johansen ]
* Revert "SAUCE: AppArmor: Add the ability to mediate mount"
* SAUCE: apparmor: Add the ability to mediate mount
* SAUCE: AppArmor: basic networking rules
* SAUCE: apparmor: fix profile lookup for unconfined
- LP: #978038, #987371
* SAUCE: apparmor: fix long path failure due to disconnected path
- LP: #955892
[ Mario Limonciello ]
* SAUCE: dell-laptop: rfkill blacklist Dell XPS 13z, 15
- LP: #901410
[ Stefan Bader ]
* (config) Built-in xen-acpi-processor
[ Tim Gardner ]
* [Config] CONFIG_NET_DSA=m
- LP: #1004148
* [Config] Ensure CONFIG_
-- Leann Ogasawara <email address hidden> 2012年5月25日 11:38:33 -0700
How can it be fixed on precise?
@Fuad Saud- The fix for this issue will appear in the next official Ubuntu precise kernel (within the next week, probably). In the meantime, a precise kernel with this patch included is available from my PPA: https:/
@Kamal thanks! there's also another bug with this Dell laptop: when you turn it on the wifi is always "disabled by hardware switch" (the wifi led is off). When I boot Windows it does "remember" the state of wifi when it was turned off. Same happens with screen bright (it is always maximum no matter how it was when you turned off). Should I file another bug for it?
This bug is awaiting verification that the kernel for Precise in -proposed solves the problem (3.2.0-26.41). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-
If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/
removed: verification-needed-precise
@Fuad- Yes, you should file a new bug for each separate problem you encounter, after searching to see if it has been reported already. For what its worth, on my Dell XPS13z with the fixed kernel (comment #17), my system does correctly "remember" the wifi switch state after a reboot. But as you noted, the screen backlight brightness does not get preserved -- I believe that issue is very common, not specific to just the Dell XPS models.
Thanks! I'll update my kernel today and check the bugs status.
Sorry, but not working here. If you play with it a little you can check this out: when you turn on wifi via hardware the wifi is ok but not bluetooth; then you open bluetooth settings and it turns on, but then if you turn off everything goes down.
Also, if you turn on wifi via "hardware switch", then disable via software, the led goes off, like and you cannot connect bluetooth anymore; you need to enable it via hardware again...
I'm not sure what is the supposed behavior of it under subsequent calls of hard blocking and soft blocking, but i seems a little inconsistent. When you soft block it, you have to unlock it via hardware, that doesn't seem to be the wanted behavior.
Is there any log or information I can provide for help?
This bug was fixed in the package linux - 3.2.0-26.41
---------------
linux (3.2.0-26.41) precise-proposed; urgency=low
[Luis Henriques]
* Release Tracking Bug
- LP: #1012057
[ Andy Whitcroft ]
* [Config] fix up postinst to ensure we know which error is which
- LP: #1002388
* [Config] highbank -- commonise filesystems
- LP: #1000831, #1010463
* [Config] highbank -- commonise subsystems
- LP: #1000831, #1010463
* [Config] highbank -- commonise network protocols
- LP: #1000831, #1010463
* [Config] highbank -- commonise input drivers
- LP: #1000831, #1010463
* [Config] highbank -- commonise CRYPTO options
- LP: #1000831, #1010463
* [Config] highbank -- commonise HID options
- LP: #1000831, #1010463
* [Config] highbank -- commonise sensors options
- LP: #1000831, #1010463
* [Config] highbank -- commonise EXPORTFS/FHANDLE
- LP: #1000831, #1010463
* [Config] highbank -- commonise CONFIG_CRYPTO_LZO
- LP: #1000831, #1010463
* [Config] highbank -- commonise ENCRYPTED_KEYS
- LP: #1000831, #1010463
* [Config] highbank -- commonise CONFIG_ATALK
- LP: #1000831, #1010463
* [Config] highbank -- commonise INET/INET6
- LP: #1000831, #1010463
* [Config] highbank -- commonise NLS
- LP: #1000831, #1010463
* [Config] highbank -- commonise BLK/CHR
- LP: #1000831, #1010463
* [Config] highbank -- commonise PHY settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise CRC settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise BINFMT settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise DM settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise RTC_DRV settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise KEYBOARD/MOUSE settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise USB settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise GPIO settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise I2C settings
- LP: #1000831, #1010463
* [Config] highbank -- commonise numerous subsystem selectors
- LP: #1000831, #1010463
* [Config] highbank -- commonise A-C modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise D-F modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise G-I modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise J-L modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise M modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise N-P modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise Q-R modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise S modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise T modules missmatches
- LP: #1000831, #1010463
* [Config] highbank -- commonise U-Z modules missmatches
- LP: #1000831, #1010463
[ Herton Ronaldo Krzesinski ]
* SAUCE: fix get_gate_vma call in i386 NX emulation code
- LP: #1009200
[ Ike Panhc ]
* [Config] add...
This bug also affects Dell XPS 17, but it looks like the fix was implemented for XPS 13 and 15 only.
The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.