Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

  1. #21
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Hmm, maybe my procedure works with the new aluminum ones only
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  2. #22
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by jdong View Post
    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.

  3. #23
    Join Date
    Oct 2008
    Location
    Here, Now
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by cyberdork33 View Post
    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:
    1. install bluez-compat to enable hidd tool
    2. run hcitool scan with your keyboard/mouse in discoverable mode to get their MAC addresses
    3. 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.
    MacBookPro5,1 running Intrepid Ibex and OSX (rEFIt dual-boot)
    iMac6,1 running OSX and Intrepid (rEFIt dual-boot)

  4. #24
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by calebio View Post
    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:
    1. install bluez-compat to enable hidd tool
    2. run hcitool scan with your keyboard/mouse in discoverable mode to get their MAC addresses
    3. 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
    Last edited by cyberdork33; November 7th, 2008 at 04:36 PM.

  5. #25
    Join Date
    Oct 2008
    Location
    Here, Now
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by cyberdork33 View Post
    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"
    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?
    MacBookPro5,1 running Intrepid Ibex and OSX (rEFIt dual-boot)
    iMac6,1 running OSX and Intrepid (rEFIt dual-boot)

  6. #26
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by calebio View Post
    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"
    Last edited by cyberdork33; November 8th, 2008 at 05:20 AM.

  7. #27
    Join Date
    Oct 2008
    Location
    Here, Now
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by cyberdork33 View Post
    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/
    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.
    MacBookPro5,1 running Intrepid Ibex and OSX (rEFIt dual-boot)
    iMac6,1 running OSX and Intrepid (rEFIt dual-boot)

  8. #28
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by calebio View Post
    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.

  9. #29
    Join Date
    Nov 2006
    Beans
    161

    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.

  10. #30
    Join Date
    Oct 2008
    Location
    Here, Now
    Beans
    33
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: [SOLVED] Can't connect Apple Wireless Keyboard on Ubuntu 8.10

    Quote Originally Posted by kmand View Post
    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'.

    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.
    MacBookPro5,1 running Intrepid Ibex and OSX (rEFIt dual-boot)
    iMac6,1 running OSX and Intrepid (rEFIt dual-boot)

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •