You are not logged in.
Pages: 1
I noticed that in the wireless page for laptops that if the wireless adapter is turned off in windows that the card is then off when you boot into linux. This seems to be the issue I'm having with my bluetooth though. If bluetooth is turned off in windows to preserve laptop battary life then when I boot into Linux it doesn't detect that I have a bluetooth card though I know its there. Is there a way to force turn on the bluetooth adaptor using the command line or do I have to boot into windows everytime and start bluetooth again because I forgot to turn it back on last time?
Offline
Usually there's a control file.
For instance, on a thinkpad, there's /proc/acpi/ibm/bluetooth and /sys/devices/platform/thinkpad_acpi/bluetooth_enable.
I'm guessing that windows blocks the wireless extensions of the device(s) so that you'd have to use something like this in your /etc/rc.local:
bt=/sys/devices/platform/thinkpad_acpi/bluetooth_enable
([ $(cat $bt) = 0 ] && rfkill unblock bluetooth && echo 1 > $bt) &
Last edited by demian (2010-05-19 00:31:28)
no place like /home
github
Offline
Well I found a
/sys/devices/pci0000\:00/0000\:00\:1a.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3\:1.0/bluetooth/hci0/
which contains a few files such as
address features idle_timeout name sniff_max_interval type
class hci_revision inquiry_cache power sniff_min_interval uevent
device hci_version manufacturer rfkill0 subsystem
but there isn't something quite like you have
Offline
Also, being a laptop and being battary conscious I have Powertop which shows
hciconfig hci0 down ; rmmod hci_usb
I'm wondering if 'down' can be replaced with 'up' to enable it when its been shut down by windows?
Offline
Well using blueman-applet I can turn the adaptor on and off within Linux but that is only if the adaptor is on from the windows side in the first place. So my issue is that I can't use my usb mouse because blueman-applet wont show up if the card is actually off from the windows side and I have no way of enabling it from linux.
Offline
Check out rfkill, I think it does the same thing and can reverse what's been done.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
rfkill doesn't show the bluetooth adaptor built into my laptop when it is turned off in windows which is why blueman-applet doesn't show up because linux isn't detecting a bluetooth device. If I have bluetooth on in windows but turned off in linux then rfkill detects the adaptor.
Last edited by SiegeMachine (2010-05-21 19:49:54)
Offline
Pages: 1