dell bluetooth switch not completely supported

Bug #331048 reported by Nicolò Chieffo
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: hal

In my new laptop latitude E6400 there are 2 dell bluetooth switches: one is the runtime switch, and the other is the boot switch. I can control both of them using the dellWirelessCtl utility.

the runtime switch can be modified running
sudo dellWirelessCtl --bt [0/1]
the boot switch can be modified (along with the runtime switch) running
sudo dellWirelessCtl --boot --bt [0/1]

The HAL switch (which I can use through the bluetooth applet) only controls the runtime switch, so what happens is that if I use the applet and the boot switch is "0", bluetooth will not be enabled.

HAL should use the --boot option when changing switches

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: hal 0.5.12~rc1+git20090204-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: hal
Uname: Linux 2.6.28-8-generic i686

Revision history for this message
Nicolò Chieffo (yelo3) wrote :
Revision history for this message
Nicolò Chieffo (yelo3) wrote :

This should fix the bug (Also for wwan and wlan) and makes the kill persistent to reboots

Revision history for this message
Aaron Wang Shi (aarons-wang) wrote :

I think we should do it like this:

 if [ "$value" = "true" ]; then
     hal-system-smbios --boot --bt 1
     hal-system-smbios --bt 1
     ret=$?
 else
     hal-system-smbios --bt 0
     hal-system-smbios --boot --bt 0
     ret=$?
 fi
 if [ "$ret" != "0" ]; then
     echo "org.freedesktop.Hal.Device.KillSwitch.NotSupported" >&2
     echo "hal-system-smbios returned $ret" >&2
     exit 1
 fi

if I just use

hal-system-smbios --boot --bt 1 to turn on
hal-system-smbios --boot --bt 0 to turn off

the bluetooth led on my dell e6400 won't on/off, so we should turn on/off both the runtime switch and hardware switch

Revision history for this message
dino99 (9d9) wrote :
Changed in hal (Ubuntu):
status: New → Incomplete
status: Incomplete → Invalid
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.