You are not logged in.

#1 2009-06-23 18:36:02

Xeo84
Member
From: Italy
Registered: 2008-08-08
Posts: 39
Website

[solved]pairing apple wireless keyboard (withous bluez-gnome)

i use fluxbox! there is another way to pair the keyboard without gnome-bluez???

when i type
hidd --search
i found the keyboard and if type the pin (0000) i recive connection refused!!

my hcid.conf:

#
# HCI daemon configuration file.
#

# HCId options
options {
# Automatically initialize new devices
autoinit yes;

# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;

# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;


# Default PIN code for incoming connections
passkey "0000";
# PIN helper
# if you want a interactiv query of your pin use /usr/bin/bluepin
# /bin/bluepincat is using the pin in the /etc/bluetooth/pin file
# pin_helper /usr/bin/bluepin;
#pin_helper /bin/bluepincat;

# D-Bus PIN helper
#dbus_pin_helper;
}

# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "BlueZ %h (%d)";

# Local device class
# e.g.
# 0xsss100 = Computer
# 0xsss104 = Computer Desktop
# 0xsss108 = Computer Server
# 0xsss10c = Computer Laptop
# The 'sss' above defines the service-class (not quite, only the
# first 11 bits, the next 11 define the device-class, than 2 format bits.)
# See https://www.bluetooth.org/foundry/assignnumb/document/baseband
# for more information.
# 0x100bbb stands for "Object Transfer (v-Inbox, v-Folder, ...)"
# 0x020bbb stands for "Networking (LAN, Ad hoc, ...)"
class 0x100100;

# Default packet type
#pkt_type DH1,DM1,HV1;

# Inquiry and Page scan
# valid parameters: enable | disable
iscan enable;
pscan enable;

# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;

# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;

# Authentication and Encryption (Security Mode 3)
auth disable;
encrypt disable;
}



device 00:22:41:DC:94:48 {
  name "Apple Wireless Keyboard";
  passkey "0000";
  encrypt disable;
}

hidd --search gives:   Can't create HID controle channel: Connection refused

thanks!

Last edited by Xeo84 (2009-06-24 06:05:25)

Offline

#2 2009-06-23 20:57:37

Xeo84
Member
From: Italy
Registered: 2008-08-08
Posts: 39
Website

Re: [solved]pairing apple wireless keyboard (withous bluez-gnome)

i found a solution!!
i opened 2 terminal, in first terminal i started bluez-simple-agent, in second i gave hidd --connect <mac>, then i pressed 0000 on my keyboard followed by a Enter and in first terminal appeared "insert pin", with the old keyboard i typed 0000 and now it's all working great!
now apple wireless keyboard and mighty mouse are configured!!!

:-)

bye

Offline

#3 2009-06-23 21:10:21

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved]pairing apple wireless keyboard (withous bluez-gnome)

Congratulations smile

Could you add [Solved] to your topic?

Grazie!


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2009-06-23 21:52:41

Chokkan
Member
Registered: 2009-04-06
Posts: 129

Re: [solved]pairing apple wireless keyboard (withous bluez-gnome)

Wow. I gave up on the whole thing and decided to use a dinky wireless USB with a dinky transmitter. Thanks for sharing your solution.


< Daenyth> tomkx: my girlfriend is linux
< Daenyth> srsly
< Daenyth> she loves the way I «make install»
< Daenyth> all her /dev entries are mode 7 for me

Offline

#5 2009-07-02 19:45:28

Daemonjax
Member
Registered: 2009-07-02
Posts: 48

Re: [solved]pairing apple wireless keyboard (withous bluez-gnome)

You, sir, are an inspiration.  I think I'll give Archlinux another try... I find Bluez 4.x so much harder to set up than 3.x for some reason.

Last edited by Daemonjax (2009-07-02 19:45:41)

Offline

Board footer

Powered by FluxBB