public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Sunnan <sunnan@handgranat.org>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb)
Date: Fri, 13 Feb 2004 18:51:15 +0100	[thread overview]
Message-ID: <1076694675.2671.191.camel@pegasus> (raw)
In-Reply-To: <402D07B8.8030504@handgranat.org>

Hi Sunnan,

> I'm trying to get an apple wireless mouse working on the apple ibook 
> (g4, builtin usb).
> 
> I've got the debian bluez packages installed, actually
> 
> sudo apt-get install `apt-cache search bluez |cut -f1 -d' '`
> 
> (yeah, lazy maybe..)
> 
> and I've also got libs2 and utils2 installed from cvs.
> 
> Until I ran hid2hci I didn't see anything with hcitool, but hid2hci 
> seemed to work fine.
> 
> Now running hcitool dev gives me
> Devices:
>          hci0    00:0D:93:04:19:15

what is the output of "hciconfig -a" and the content of
/proc/bus/usb/devices (before and after the run of hid2hci)?

> I'm experimenting with running bthid (from bluez cvs utils2).
> /var/log/daemon.log has
> Feb 13 17:42:20 slowstorm bthid[980]: Bluetooth HID service started
> 
> but little else.
> Once it got
> Feb 13 17:25:20 slowstorm bthid[890]: Bluetooth HID service started
> Feb 13 17:26:49 slowstorm bthid[890]: Connected: HID device (ffff:0000)
> Feb 13 17:26:49 slowstorm bthid[890]: Connection failed: Connection 
> timed out (110)
> 
> ..but that's all.
> 
> I'm also repeatedly grepping ps aux for bthid and it only appears for a 
> couple of minutes after starting it, then it's not there (so I usually 
> restart it).
> 
> I don't see any cursor movement or anything. I don't know so much about 
> bluetooth or about computers in general.

The Apple Bluetooth mouse expects a PIN or a link key even if you only
connect to the SDP service (security mode 3). This is stupid for a HID
mouse, but they did it this way. A working PIN is "0000". So I say you
replace your PIN helper program (from hcid.conf) with the following
executable script

	#!/bin/sh
	echo "PIN:0000"

and put also "0000" into /etc/bluetooth/pin. Restart the hcid and see
how it goes. If this don't work, run "hcidump -w <file>" and send us the
dump file.

Regards

Marcel




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2004-02-13 17:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 17:22 [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb) Sunnan
2004-02-13 17:51 ` Marcel Holtmann [this message]
2004-02-13 18:59   ` Sunnan
2004-02-13 19:56     ` Marcel Holtmann
2004-02-13 20:48       ` Sunnan
2004-02-13 21:50         ` Marcel Holtmann
2004-02-13 22:02           ` Sunnan
2004-02-13 22:29             ` Marcel Holtmann
2004-02-13 22:54               ` Sunnan
2004-02-13 23:21                 ` Marcel Holtmann
     [not found]                   ` <402D5EB0.3090601@handgranat.org>
2004-02-14  0:54                     ` Marcel Holtmann
2004-02-14 11:06                       ` Sunnan
2004-02-15 23:43                         ` Sunnan
2004-02-15 23:59                           ` Marcel Holtmann
2004-02-13 22:59               ` one more thing (was Re: [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb)) Sunnan
2004-02-13 23:22                 ` Marcel Holtmann
2004-02-13 22:13           ` [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb) Ramon A Reveron
2004-02-13 22:15             ` Marcel Holtmann

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=1076694675.2671.191.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=sunnan@handgranat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox