From: Mykel <Mykel@mWare.ca>
To: Marcel Holtmann <marcel@holtmann.org>,
BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Apple BT Keyboard?
Date: Sat, 14 Aug 2004 02:25:07 -0400 [thread overview]
Message-ID: <411DB043.9010001@mWare.ca> (raw)
In-Reply-To: <1088586741.22940.17.camel@pegasus>
[-- Attachment #1: Type: text/plain, Size: 3783 bytes --]
YAHOO!!!! :)
http://ars.userfriendly.org/cartoons/read.cgi?id=20040813&tid=1296099
So... here's what I think I did to make this work (I hope I can do this
after I reboot :)
-> modprobe hidp
-> hcid
-> hidd --server
-> Press connect on MX900
-> hidd --connect 00:07:61:14:5C:A7
-> Wiggle mouse (I initially got stumped here because I forgot to add
the following to my xorg.conf:
<stuff>
Section "InputDevice"
Identifier "MX900IMPS"
Driver "mouse"
Option "Protocol" "imps/2"
# Option "Device" "/dev/mouse"
Option "Device" "/dev/input/mice"
# Option "Resolution" "256"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "Emulate3Buttons" "false"
EndSection
...
InputDevice 'TouchPad' 'CorePointer'
InputDevice 'MX900IMPS' 'SendCoreEvents'
InputDevice 'Keyboard1' 'CoreKeyboard'
</stuff>
I'm actually surprised they keyboard comes up as regular keyboard input
(caps lock keeps sync too! :) anyway...
-> sdpd
-> Turn on keyboard
-> hidd --connect 00:0A:95:3A:29:6D
-> hit "0000^M" very quickly
-> magic!
Now - I need some help with the PIN stuff...
I don't understand what is supposed to do what/be what...
Is my keyboard data encrypted or should I not type my passwords on it?
(I have geek friends... who knows what evil they might enjoy one day :\)
currently, my /usr/bin/bluepin is:
root@immutable:~# cat /usr/bin/bluepin
#!/bin/sh
echo -n "PIN:0000"
aside from changing the number, is there any better I can do?
I tried compiling blue-pin (2.9) but I get this:
root@immutable:/usr/src/bluez29/bluez-pin-0.23# make
cc -O2 -g `pkg-config --cflags gtk+-2.0 libglade-2.0 dbus-glib-1
gconf-2.0` -DGTK_DISABLE_DEPRECATED -DDBUS_API_SUBJECT_TO_CHANGE -Wall
-Os -fomit-frame-pointer -DPACKAGE=\"bluez-pin\" -DPREFIX=\"/usr/local\"
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -c main.c -o main.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
main.c:20:21: gtk/gtk.h: No such file or directory
main.c:22:23: dbus/dbus.h: No such file or directory
main.c:23:28: dbus/dbus-glib.h: No such file or directory
In file included from main.c:25:
... and more errors
(This is on a full install of Slackware 10)
I'm getting the impression that when I try and connect to a device that
wants a PIN, some GTK window is supposed to prompt me for a PIN? Can
someone give me some pointers here?
I'm still happy! Should've washed the pool cue chalk off my hands BEFORE
I started using my white keyboard tho ;\
Myke
Marcel Holtmann wrote:
>Hi Mykel,
>
>
>
>>I've been flagging the discussions about it in the past few weeks, but
>>I'm not up with the whole process of what I'm supposed to do, and I
>>haven't been able to piece it together from what I've seen.
>>
>>I have my MX900 working in 2.4.26 using bthid & hcid.... I don't seem to
>>have hidd... (I have to press the Connect button and do a bthid -c $ADDR
>>after leaving the mouse 20min or the first time I use it.)
>>
>>
>
>the hidd is in bluez-utils-2.7 and needs a 2.6.7-mh1 kernel with
>activated HIDP kernel module.
>
>Pressing the connect button is only needed for the initial connection
>and after that the mouse will reconnect to you. For that you must run
>"hidd --server".
>
>
>
>>What do I need to get the keyboard working? Is it worthwhile attempting
>>this with 2.4? Slackware 10 is out and I'm playing with it in 2.6, but I
>>have many other requirements (I'm an on site network tech, lots of fancy
>>stuff in my kernel) so I'm not stable in 2.6 yet.
>>
>>
>
>I propose that you install 2.6.7-mh1 with hidp.ko and use hidd.
>
>Regards
>
>Marcel
>
>
>
[-- Attachment #2: Type: text/html, Size: 5107 bytes --]
prev parent reply other threads:[~2004-08-14 6:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-30 4:30 [Bluez-users] Apple BT Keyboard? Mykel
2004-06-30 7:28 ` Charles Bueche
2004-06-30 9:12 ` Marcel Holtmann
2004-08-14 6:25 ` Mykel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=411DB043.9010001@mWare.ca \
--to=mykel@mware.ca \
--cc=bluez-users@lists.sourceforge.net \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.