Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Hmm, maybe my procedure works with the new aluminum ones only :(
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
jdong
Hmm, maybe my procedure works with the new aluminum ones only :(
Unfortunately, the old way I used to get it to work (with hidd) doesn't work anymore either.
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
cyberdork33
Unfortunately, the old way I used to get it to work (with hidd) doesn't work anymore either.
I have been able to connect my white Apple wireless keyboard and mighty mouse (on my white iMac) using 'sudo hidd --connect aa:bb:cc:dd:ee:ff' where the MAC address corresponds to 'hcitool scan' (when either device is in discoverable mode).
Steps to make this work:
- install bluez-compat to enable hidd tool
- run hcitool scan with your keyboard/mouse in discoverable mode to get their MAC addresses
- edit /etc/default/bluetooth to include the lines
Code:
HIDD_ENABLED=1
HIDD_OPTIONS=" --server --connect 00:aa:bb:cc:dd:ee --connect aa:bb:cc:dd:ee:ff"
where the first is your keyboard, the second your mouse MAC address
Hope this helps. Please let me know if clarification is needed. One note: trackball scrolling on the mouse does not work with this setup.
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
calebio
I have been able to connect my white Apple wireless keyboard and mighty mouse (on my white iMac) using '
sudo hidd --connect aa:bb:cc:dd:ee:ff' where the MAC address corresponds to '
hcitool scan' (when either device is in discoverable mode).
Steps to make this work:
- install bluez-compat to enable hidd tool
- run hcitool scan with your keyboard/mouse in discoverable mode to get their MAC addresses
- edit /etc/default/bluetooth to include the lines
Code:
HIDD_ENABLED=1
HIDD_OPTIONS=" --server --connect 00:aa:bb:cc:dd:ee --connect aa:bb:cc:dd:ee:ff"
where the first is your keyboard, the second your mouse MAC address
Hope this helps. Please let me know if clarification is needed. One note: trackball scrolling on the mouse does not work with this setup.
Can you post your entire/etc/default/bluetooth file? There are some other options in there that can be key to making this work or not.
I can try this again, but ever since the bluetooth updates that were done at the last minute when I was testing Intrepid, nothing seems to work correctly anymore.
Also, for the mighty mouse "advanced" funtions, you have to switch the Blueeooth hardware into HCI mode. You can do this with the command :
Code:
sudo hciconfig hci0 reset
If everything works OK with that, you can add
Code:
options hci reset=1
to your /etc/modprobe.d/local file
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
cyberdork33
Can you post your entire/etc/default/bluetooth file? There are some other options in there that can be key to making this work or not.
My entire /etc/defaults/bluetooth reads
Code:
# Defaults for bluez
# start bluetooth on boot?
# compatibility note: If this variable is not found bluetooth will
# start
BLUETOOTH_ENABLED=1
# This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is
# you will have bluetooth functionality from your dongle instead of only HID.
# Note that not every bluetooth dongle is capable of switching back to HID
# mode, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497
HIDD_ENABLED=1
HID2HCI_ENABLED=0
#HID2HCI_UNDO=1
HIDD_OPTIONS=" --server --connect 00:14:51:c0:14:58 --connect 00:0A:95:49:B0:B2"
Quote:
Also, for the mighty mouse "advanced" funtions, you have to switch the Blueeooth hardware into HCI mode. You can do this with the command :
Code:
sudo hciconfig hci0 reset
This does nothing for me, perhaps because of my HID2HCI_ENABLED=0 line?
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
calebio
This does nothing for me, perhaps because of my HID2HCI_ENABLED=0 line?
no. That option determines if the system tries to use the hid2hci utility to change from hid mode to hci mode, but this has not worked in previous releases (that is what the command I posted does).
I think you have to connect the mouse after you have reset, and you have to do some additional setup to get all the functions working (scrolling, etc)
See this article that explains a bit better than me.
http://idebian.wordpress.com/2008/07...ices-in-linux/
EDIT: Still no luck. Applet simply says "failed" and using hidd returns "Can't get device information: Function not implemented"
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
cyberdork33
Yeah, no. I have no luck with the advanced setup (the 'red pill' in that blog post). The instructions in the link don't work for me.
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
calebio
Yeah, no. I have no luck with the advanced setup (the 'red pill' in that blog post). The instructions in the link don't work for me.
me either since the upgrade, but I was really referring to the underlying problem with HID vs HCI. You have to get the hardware into HCI mode for the advanced functions to work.
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
I've also tried all the suggestions with no luck.
Worked fine under heron and no go with intrepid. I have a Mac Mini with original white keyboard and mouse (not super).
Looking for debug suggestions.
Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10
Quote:
Originally Posted by
kmand
Worked fine under heron and no go with intrepid. I have a Mac Mini with original white keyboard and mouse (not super).
Not super!? Mine is 'mighty'. :P
Higher OS versions generally add and expand functionality, not destroy it. Why does this happen in Ubuntu? The change/transition management process needs some work.... This sort of issue has been a deal-breaker with Ubuntu for me in the past. Audio not working (even in Ubuntu Studio) is really the main one. Oh well.