2006-01-20 23:54:54

by Sunnan

[permalink] [raw]
Subject: [Bluez-users] Re: Apple mouse gives me various "Can't get device information" troubles

Hi,
Marcel Holtmann <marcel <at> holtmann.org> writes:
> the PIN of the Apple mouse is "0000", but you might have changed it.

I don't know how or if it can be changed. I've switched my shellscript to echo
PIN:0000 instead now (and restarted the various bluez userland daemons).

> Check its manual for a reset switch.

Apparently, it resets everytime the batteries are replaced.
Additionally, the red light underneath the mouse blinks in various patterns
indicating various things; I currently see a creepy, waltz-like "blink blink
pause, blink blink pause, blink blink pause" that supposedly means:
"the mouse is looking for a computer to pair with" according to
http://docs.info.apple.com/article.html?artnum=86474

I still get the same "permission denied" (or, once in a while, "host is down")
message from hidd --connect.
hcidump still says "Error: Authentication Failure".



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2006-01-21 01:40:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Re: Apple mouse gives me various "Can't get device information" troubles

Hi Sunnan,

> > the PIN of the Apple mouse is "0000", but you might have changed it.
>
> I don't know how or if it can be changed. I've switched my shellscript to echo
> PIN:0000 instead now (and restarted the various bluez userland daemons).
>
> > Check its manual for a reset switch.
>
> Apparently, it resets everytime the batteries are replaced.
> Additionally, the red light underneath the mouse blinks in various patterns
> indicating various things; I currently see a creepy, waltz-like "blink blink
> pause, blink blink pause, blink blink pause" that supposedly means:
> "the mouse is looking for a computer to pair with" according to
> http://docs.info.apple.com/article.html?artnum=86474
>
> I still get the same "permission denied" (or, once in a while, "host is down")
> message from hidd --connect.
> hcidump still says "Error: Authentication Failure".

if you don't find any hints in the syslog or the log files, I am out of
ideas. We now would need a protocol analyzer to find the problem, but
they are a little bit too expensive.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-01-20 01:17:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Re: Apple mouse gives me various "Can't get device information" troubles

Hi Sunnan,

> The only modification to hcid.conf I can remember doing was to set the
> pin_helper to a shell script that just echoes PIN:1234 (I don't remember
> what the pin is supposed to be; I got the number from /etc/bluetooth/pin
> but isn't this resettable somehow?) regardless of it's arguments,
> because regular bluepin crashes with the familiar(? at least that's what
> I gather from various mailing lists) xserver permission problem.

the PIN of the Apple mouse is "0000", but you might have changed it.
Check its manual for a reset switch.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-01-19 00:48:02

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Re: Apple mouse gives me various "Can't get device information" troubles

Hi Sunnan,

> Here's the output of hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.23
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:0A:95:01:5F:57 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x05 handle 45 bdaddr 00:0A:95:01:5F:57 type ACL encrypt 0x00
> Error: Authentication Failure

what does "hciconfig -a" tells you. If you modified hcid.conf then undo
your modifications.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users