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
--
dell bluetooth switch not completely supported
https://bugs.launchpad.net/bugs/331048
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs