gvoima
February 26th, 2007, 01:52 PM
I didn't find so much information on how to enable the Acer bluetooth Broadcom device on this forum. So I made up a little howto, hope it helps!
This hotwo is based on information i mainly collected from http://users.tkk.fi/~jwagner/tablet/suse93.htm
I tested this only on my Acer 312XMi (C310 Travelmate series) laptop.
I try to support this thread as good as I can.
The test was made on Ubuntu 6.10 Edgy, kernel 2.6.17-11-generic, on 32bit architecture.
Enabling the bluetooth is based on the Acer Hotkey driver for Linux, now, notice that this driver (module) came with Edgy release, so I will not guide you through on how to compile it.
More information on how to download and compile the driver is found from http://www.cakey.de/acerhk/. (You really should check out this site and the included README/INSTALL instructions.)
So, in Ubuntu 6.10 Edgy release, there is (should be) a module called acerhk.
On my Acer C310 Tablet PC, this enabled the buttons above the keyboard (bluetooth, wlan, email etc.), the bluetooth device and the ability to control email led (if anyone really needs it anywhere).
The buttons on the screen (tablet buttons) are also supported, but doesn't show up on xev, it only produces a bunch of dmesg errors if you don't map them (mapping them is not explained in this guide).
1. Loading the module:
sudo modprobe acerhk
After that you shouldn't get any errors. (if you did, read from the beginning about compiling the module for your needs).
Update:
Note! On Hardy (8.04 LTS) if your wlan-card uses the module ipw2200, you can't get the wireless led working unless you load the module with the option led=1, e.g. the ipw2200 that I have -> modprobe ipw2200 led=1. You can add this line to /etc/modprobe.d/options
Ensure that the module got loaded:
lsmod | grep "acerhk"
You should see something like this:
acerhk 26492 0
2. When you loaded the module acerhk, a driver should have appeared under the /proc/ filesystem (these files here represent the current state of the kernel).
So go and check if there is path like this in /proc:
/proc/driver/acerhk/
This may vary, but based on which laptop you run, under that directory should be these files:
--w--w--w- 1 root root 0 2007-02-26 18:55 blueled
-r--r--r-- 1 root root 0 2007-02-26 18:55 info
-r--r--r-- 1 root root 0 2007-02-26 18:55 key
--w--w--w- 1 root root 0 2007-02-26 18:55 led
--w--w--w- 1 root root 0 2007-02-26 18:55 wirelessled
Notice the blueled file above.
The way how the bluetooth behaves is, when you "enable" the blueled, which turns on the Bluetooth LED, also enables the Bluetooth device.
So, now go ahead and enable the device with command:
echo "1" > /proc/driver/acerhk/blueled
Now Gnome should report about a device being detected. If not, the last rows in dmesg command should report something like this:
[17179879.700000] usb 4-1: new full speed USB device using uhci_hcd and address 2
[17179879.920000] usb 4-1: configuration #1 chosen from 1 choice
[17179880.064000] Bluetooth: HCI USB driver ver 2.9
[17179880.068000] usbcore: registered new driver hci_usb
and the Bluetooth light on your laptop should turn on (if it has one).
Notice that my bluetooth was detected on the usb bus.
So, list usb devices:
lsusb
and you should see something like this:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 0a5c:200a Broadcom Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c518 Logitech, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
The Broadcom device above is the bluetooth device that was not detected before.
3. There is plenty of HOWTO:s on how to install bluetooth tools (bluez, hcitool etc.). So please use the search :)
I now assume that you have the bluetooth tools installed so let's go on.
Issue the command:
hcitool dev
and you should now see that the hcitool actually found a device, in my case it was:
Devices:
hci0 00:0B:6B:90:B5:1C
If your device is not on the usb bus and lsusb didn't find it, hcitool dev still might. And this means that your bluetooth device is ready to be used :)
From this point on (if successful) you can relate to other HOWTO:s, on how to use the bluetooth tools and configure the device.
4. Last but not least, how to turn the bluetooth off.
If you already didn't guess, instead of echoing "1" to the device, you can turn it off by echoing "0" to it.
So:
echo "0" > /proc/driver/acerhk/blueled
this turns it off.
5. You probably noticed that there is some other files under /proc/driver/acerhk/.
- blueled is for bluetooth
- wirelessled turns on/off your wlan led (also turns off the DEVICE!) the LED didn't work for me. My WLAN was found without this module on install, but the LED is not working.
- led is for the e-mail led that blinks. On my C310 there is a e-mail button that also blink green when you enable this.
all those above can be turned on/off with the echo "x" > xxx command.
you can use the cat command to following files:
- info has some information of the module
- key, I have no idea what this is used for.
6. On Ubuntu Edgy, there is a file called /etc/modules, you can add acerhk to this file, this makes sure that it is loaded on every reboot.
If you want to remove acerhk, just issue this command:
sudo rmmod acerhk
So, all the above folders/files/devices etc. is what was found on my laptop, yours may vary!
Please report if you had any success with your bluetooth, include the laptop maker/model, what buttons and devices were found and what kernel & architecture was used.
Thank you.
This hotwo is based on information i mainly collected from http://users.tkk.fi/~jwagner/tablet/suse93.htm
I tested this only on my Acer 312XMi (C310 Travelmate series) laptop.
I try to support this thread as good as I can.
The test was made on Ubuntu 6.10 Edgy, kernel 2.6.17-11-generic, on 32bit architecture.
Enabling the bluetooth is based on the Acer Hotkey driver for Linux, now, notice that this driver (module) came with Edgy release, so I will not guide you through on how to compile it.
More information on how to download and compile the driver is found from http://www.cakey.de/acerhk/. (You really should check out this site and the included README/INSTALL instructions.)
So, in Ubuntu 6.10 Edgy release, there is (should be) a module called acerhk.
On my Acer C310 Tablet PC, this enabled the buttons above the keyboard (bluetooth, wlan, email etc.), the bluetooth device and the ability to control email led (if anyone really needs it anywhere).
The buttons on the screen (tablet buttons) are also supported, but doesn't show up on xev, it only produces a bunch of dmesg errors if you don't map them (mapping them is not explained in this guide).
1. Loading the module:
sudo modprobe acerhk
After that you shouldn't get any errors. (if you did, read from the beginning about compiling the module for your needs).
Update:
Note! On Hardy (8.04 LTS) if your wlan-card uses the module ipw2200, you can't get the wireless led working unless you load the module with the option led=1, e.g. the ipw2200 that I have -> modprobe ipw2200 led=1. You can add this line to /etc/modprobe.d/options
Ensure that the module got loaded:
lsmod | grep "acerhk"
You should see something like this:
acerhk 26492 0
2. When you loaded the module acerhk, a driver should have appeared under the /proc/ filesystem (these files here represent the current state of the kernel).
So go and check if there is path like this in /proc:
/proc/driver/acerhk/
This may vary, but based on which laptop you run, under that directory should be these files:
--w--w--w- 1 root root 0 2007-02-26 18:55 blueled
-r--r--r-- 1 root root 0 2007-02-26 18:55 info
-r--r--r-- 1 root root 0 2007-02-26 18:55 key
--w--w--w- 1 root root 0 2007-02-26 18:55 led
--w--w--w- 1 root root 0 2007-02-26 18:55 wirelessled
Notice the blueled file above.
The way how the bluetooth behaves is, when you "enable" the blueled, which turns on the Bluetooth LED, also enables the Bluetooth device.
So, now go ahead and enable the device with command:
echo "1" > /proc/driver/acerhk/blueled
Now Gnome should report about a device being detected. If not, the last rows in dmesg command should report something like this:
[17179879.700000] usb 4-1: new full speed USB device using uhci_hcd and address 2
[17179879.920000] usb 4-1: configuration #1 chosen from 1 choice
[17179880.064000] Bluetooth: HCI USB driver ver 2.9
[17179880.068000] usbcore: registered new driver hci_usb
and the Bluetooth light on your laptop should turn on (if it has one).
Notice that my bluetooth was detected on the usb bus.
So, list usb devices:
lsusb
and you should see something like this:
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 003: ID 0a5c:200a Broadcom Corp.
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c518 Logitech, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
The Broadcom device above is the bluetooth device that was not detected before.
3. There is plenty of HOWTO:s on how to install bluetooth tools (bluez, hcitool etc.). So please use the search :)
I now assume that you have the bluetooth tools installed so let's go on.
Issue the command:
hcitool dev
and you should now see that the hcitool actually found a device, in my case it was:
Devices:
hci0 00:0B:6B:90:B5:1C
If your device is not on the usb bus and lsusb didn't find it, hcitool dev still might. And this means that your bluetooth device is ready to be used :)
From this point on (if successful) you can relate to other HOWTO:s, on how to use the bluetooth tools and configure the device.
4. Last but not least, how to turn the bluetooth off.
If you already didn't guess, instead of echoing "1" to the device, you can turn it off by echoing "0" to it.
So:
echo "0" > /proc/driver/acerhk/blueled
this turns it off.
5. You probably noticed that there is some other files under /proc/driver/acerhk/.
- blueled is for bluetooth
- wirelessled turns on/off your wlan led (also turns off the DEVICE!) the LED didn't work for me. My WLAN was found without this module on install, but the LED is not working.
- led is for the e-mail led that blinks. On my C310 there is a e-mail button that also blink green when you enable this.
all those above can be turned on/off with the echo "x" > xxx command.
you can use the cat command to following files:
- info has some information of the module
- key, I have no idea what this is used for.
6. On Ubuntu Edgy, there is a file called /etc/modules, you can add acerhk to this file, this makes sure that it is loaded on every reboot.
If you want to remove acerhk, just issue this command:
sudo rmmod acerhk
So, all the above folders/files/devices etc. is what was found on my laptop, yours may vary!
Please report if you had any success with your bluetooth, include the laptop maker/model, what buttons and devices were found and what kernel & architecture was used.
Thank you.