Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Pairing a KeySonic 340-BT Bluetooth Keyboard

  1. #1
    Join Date
    Apr 2006
    Beans
    16

    Thumbs down Pairing a KeySonic 340-BT Bluetooth Keyboard

    Hi,

    I have a KeySonic 340-BT Bluetooth keyboard which I'm not able to pair with Ubuntu Hardy.

    To connect the keyboard I'm turning it on and put it into pairing mode. Then I run the following command which basically has no effect:

    Code:
    # sudo hidd --search
    Searching ...
    	Connecting to device 00:18:00:00:66:89
    My older Think Outside (Anycom) keyboard works flawlessy and the KeySonic one works out of the box with OS X.

    Any hints? Thanks.

  2. #2
    Join Date
    Apr 2006
    Beans
    16

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Maybe some more information: After starting the hidd the connection indicator on the keyboard still signals that it is in pairing mode.

    hidd says that the keyboard is connected - whatever that means:

    Code:
    # hidd --show
    00:18:00:00:66:89 PSTC Bluetooth Keyboard [0dc6:3752] connected

  3. #3
    Join Date
    Nov 2007
    Beans
    187

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Quote Originally Posted by guardian_de View Post
    Maybe some more information: After starting the hidd the connection indicator on the keyboard still signals that it is in pairing mode.

    hidd says that the keyboard is connected - whatever that means:

    Code:
    # hidd --show
    00:18:00:00:66:89 PSTC Bluetooth Keyboard [0dc6:3752] connected
    Hi, I have exactly the same problem.
    In fact, I found several references in internet about it...

    Did you manage to fix it?

    thank you,

    alfonso

  4. #4
    Join Date
    Apr 2006
    Beans
    16

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Unfortunately not - I still use that ugly wired keyboard with a built-in hub and an USB mouse. Maybe 8.10 fixes it.

  5. #5
    Join Date
    Apr 2006
    Beans
    16

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    The answer is Intrepid Ibex. Just left click the Bluetooth icon in the top panel, choose "Setup device...", press "Forward", select the keyboard from the list and enter the code and press return. That's it.

    Ubuntu and Linux developers - thank you very much.

  6. #6
    Join Date
    Nov 2007
    Beans
    187

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Quote Originally Posted by guardian_de View Post
    The answer is Intrepid Ibex. Just left click the Bluetooth icon in the top panel, choose "Setup device...", press "Forward", select the keyboard from the list and enter the code and press return. That's it.

    Ubuntu and Linux developers - thank you very much.
    Hi!

    you mean that with ubuntu 8.10 it works out of the box?

    very very nice.

    since I would rather not install that where I want to use the BT keyboard (I'm running a smaller debian distribution on an embedded computer), could you please be so kind to try to help me out with my problem?

    can you post the output of the command (to get which release of BlueZ you have):

    Code:
    dpkg -l | grep -i blu
    also, can you please post the content of all files in /etc/bluetooth/ ?

    Code:
    ls -l /etc/bluetooth/
    and depending on the output of ls:

    Code:
    cat /etc/bluetooth/main.conf
    Code:
    cat /etc/bluetooth/input.conf
    and finally
    Code:
    cat /etc/X11/xorg.conf
    thanks a lot, your help would really make a difference!

    cheers,

    alfonso

  7. #7
    Join Date
    Apr 2006
    Beans
    16

    Thumbs down Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Here you go:

    Code:
    root@lemac:~# dpkg -l | grep -i blu
    ii  bluetooth                                 4.12-0ubuntu5                         Bluetooth support
    ii  bluez                                     4.12-0ubuntu5                         Bluetooth tools and daemons
    ii  bluez-alsa                                4.12-0ubuntu5                         Bluetooth audio support
    ii  bluez-cups                                4.12-0ubuntu5                         Bluetooth printer driver for CUPS
    ii  bluez-gnome                               1.8-0ubuntu1                          Bluetooth utilities for GNOME
    ii  bluez-gstreamer                           4.12-0ubuntu5                         Bluetooth gstreamer support
    ii  bluez-utils                               4.12-0ubuntu5                         Transitional package
    ii  libbluetooth3                             4.12-0ubuntu5                         Library to use the BlueZ Linux Bluetooth sta
    ii  liblua5.1-0                               5.1.3-1                               Simple, extensible, embeddable programming l
    Code:
    root@lemac:~# for i in /etc/bluetooth/* ; do echo ; echo $i ; echo ; cat $i ; done
    
    /etc/bluetooth/audio.conf
    
    # Configuration file for the audio service
    
    # This section contains options which are not specific to any
    # particular interface
    [General]
    
    # Switch to master role for incoming connections (defaults to true)
    #Master=true
    
    # If we want to disable support for specific services
    # Defaults to supporting all implemented services
    #Disable=Control,Source
    
    # SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
    # Defaults to HCI
    #SCORouting=PCM
    
    # Headset interface specific options (i.e. options which affect how the audio
    # service interacts with remote headset devices)
    [Headset]
    
    # Set to true to support HFP (in addition to HSP only which is the default)
    # Defaults to false
    HFP=false
    
    # Just an example of potential config options for the other interfaces
    #[A2DP]
    #SBCSources=1
    #MPEG12Sources=0
    
    /etc/bluetooth/input.conf
    
    # Configuration file for the input service
    
    # This section contains options which are not specific to any
    # particular interface
    [General]
    
    # Set idle timeout (in minutes) before the connection will
    # be disconnect (defaults to 0 for no timeout)
    #IdleTimeout=30
    
    /etc/bluetooth/main.conf
    
    [General]
    
    # List of plugins that should not be loaded on bluetoothd startup
    #DisablePlugins = network,input
    
    # Default adaper name
    # %h - substituted for hostname
    # %d - substituted for adapter id
    Name = %h-%d
    
    # Default device class. Only the major and minor device class bits are
    # considered
    Class = 0x000100
    
    # How long to stay in discoverable mode before going back to non-discoverable
    # The value is in seconds. Default is 180, i.e. 3 minutes.
    # 0 = disable timer, i.e. stay discoverable forever
    DiscoverableTimeout = 0
    
    # Use some other page timeout than the controller default one
    # (16384 = 10 seconds)
    PageTimeout = 8192
    
    # Behaviour for Adapter.SetProperty("mode", "off")
    # Possible values: "DevDown", "NoScan" (default)
    OffMode = NoScan
    
    # Discover scheduler interval used in Adapter.DiscoverDevices
    # The value is in seconds. Defaults is 0 to use controller scheduler
    DiscoverSchedulerInterval = 0
    
    /etc/bluetooth/network.conf
    
    # Configuration file for the network service
    
    # This section contains options which are not specific to any
    # particular interface
    [General]
    
    # Disable link encryption: default=false
    #DisableSecurity=true
    
    [PANU Role]
    
    # Network interface name for PANU for connections. default:bnep%d
    # (up to 16 characters)
    #Interface=
    
    # PAN user connection interface up script. default:none
    Script=avahi-autoipd
    
    [GN Role]
    
    # Network Interface name for Group Network server. default:pan0
    #Interface=
    
    # Group Network connection interface up script. default:none
    Script=avahi-autoipd
    
    [NAP Role]
    
    # Network Interface name for Network Access Point server. default:pan1
    #Interface=
    
    # Network Access Point connection interface up script. default:none
    Script=dhclient
    
    /etc/bluetooth/rfcomm.conf
    
    #
    # RFCOMM configuration file.
    #
    
    #rfcomm0 {
    #	# Automatically bind the device at startup
    #	bind no;
    #
    #	# Bluetooth address of the device
    #	device 11:22:33:44:55:66;
    #
    #	# RFCOMM channel for the connection
    #	channel	1;
    #
    #	# Description of the connection
    #	comment "Example Bluetooth device";
    #}
    And finally

    Code:
    root@lemac:~# cat /etc/X11/xorg.conf 
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # Note that some configuration settings that could be done previously
    # in this file, now are automatically configured by the server and settings
    # here are ignored.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "Device"
    	Identifier	"Configured Video Device"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    EndSection
    Hope this helps!

    PS: It worked out the box on my ThinkPad T60, but on my Mac Mini it initially didn't work (pairing failed) but in the end after removing and readding the device several times and maybe related to an intermediate kernel update it worked too.

  8. #8
    Join Date
    Nov 2007
    Beans
    187

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Quote Originally Posted by guardian_de View Post
    Here you go:

    Hope this helps!

    PS: It worked out the box on my ThinkPad T60, but on my Mac Mini it initially didn't work (pairing failed) but in the end after removing and readding the device several times and maybe related to an intermediate kernel update it worked too.
    Thanks,

    you've been very kind in taking your time to do this, but all files seem untouched.

    I downloaded the ubuntu 8.10 live cd but it didn't work for me. I perform scan, I see the keyboard, but I don't get the PIN request message.

    Anyway, it's a good point that BlueZ 4.x works with "our" keyboard. It will just required some more time to figure it out.

    cheers,

  9. #9
    Join Date
    Nov 2007
    Beans
    187

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Quote Originally Posted by guardian_de View Post
    Here you go:

    Hope this helps!

    PS: It worked out the box on my ThinkPad T60, but on my Mac Mini it initially didn't work (pairing failed) but in the end after removing and readding the device several times and maybe related to an intermediate kernel update it worked too.
    Hi,

    just in case you're still "out there" willing to help me...

    Finally I tried a couple of time with ubuntu 8.10 and I managed to get the pairing done, but that still seems not enough for me...

    So if you could be so kind, I have a couple of more questions for you:

    after successful pairing, if you type on your keyboard, does that 2nd led (with the flash icon) light up? Mine does, but on Windows it never lights up (1st hint that something is wrong).

    Also, if from a console you type

    Code:
    voyage:~/bluez-4.17/test# hcitool con
    Connections:
    voyage:~/bluez-4.17/test#
    do you get any output under connections?

    I'm almost sure pairing works for me, since exactly after I type the same PIN on the keyboard and press enter, the pairing led stops flashing.

    But still one little thing is missing. GRRRRRRRRRRRR

    In case you really really feel in a "giving" mood, I have one more question. if you run hcidump (you prob need to compile it from http://bluez.sf.net/download/), do you see anything when you press keys on your keyboard? It's a BT "sniffer", and I see many packets during pairing, but nothing after pairing when I press the buttons.

    I just have the feeling after pairing I should do something like authorizing or something...

    Well, thanks,

    alfonso

  10. #10
    Join Date
    Apr 2006
    Beans
    16

    Re: Pairing a KeySonic 340-BT Bluetooth Keyboard

    Hi Alfonso,

    just a quick answer since I'm in a hurry: The flash indicator only blinks after the keyboard has been switched on. When the handshake is finished it doesn't light up in reaction to keypresses anymore.

    And yes, the hcitool output shows the connection to the keyboard.

    Sorry I don't have better answers for you. Did you try deleting the device from the Bluetooth manager or directly from /var/lib/bluetooth and pair again?

Page 1 of 2 12 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
  •