Hi Sunnan,
> slowstorm/home/sunnan% grep pin /etc/bluetooth/hcid.conf
> pin_helper /usr/local/bin/pin-helper.sh;
>
> slowstorm/home/sunnan% cat /usr/local/bin/pin-helper.sh
> #!/bin/sh
> echo "PIN:0000"
> slowstorm/home/sunnan% cat /etc/bluetooth/pin
> 0000
is the script executable? Do you restarted hcid?
> could it be that the mouse has been used under OS X? The weird OS X ui
> blathered something about "pairing" and so on. I haven't used it for a
> few months so I don't really remember how it was.
Could be, but in general it would pair again in this case.
> I do keep my mouse close at hand, and I've tried turning it on and off
> and clicking and moving. I don't see what is supposed to happen.
We really need a full binary hcidump to see what is going on.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Sunnan,
> I still haven't gotten my mouse to work (I know! sorry).
> One of the herrings I'm chasing is the name, is the problem the weird
> characters in the devices name? if so, can it be renamed?
this must be some Apple specific option. I like to know how it can be
done, but it has nothing to do with your device working or not.
> I've been able to find it more often with hcitool by clicking/moving it
> while hcitool is searching.
>
> Still no success with bthid, it has never given me anything else than
>
> Feb 15 23:30:04 slowstorm bthid[1035]: Bluetooth HID service started
> Feb 15 23:30:30 slowstorm bthid[1035]: Connection failed: Host is down (112)
>
> when I try to connect to my mouse with sudo bthid -c 00:0A:95:01:5F:57
>
> and bthid loves to just exit all the time.
I think this is an endian problem. From the last dump you send me I saw
< ACL data: handle 0x002d flags 0x02 dlen 24
L2CAP(d): cid 0x42 len 20 [psm 1]
SDP SSA Req: tid 0x1 len 0xf
pat uuid-16 0x0012
max 0xffff
aid(s) 0xffff - 0x0000
cont 00
> ACL data: handle 0x002d flags 0x02 dlen 15
L2CAP(d): cid 0x42 len 11 [psm 1]
SDP SSA Rsp: tid 0x1 len 0x6
cnt 0x3 len 0x3 frm->len 0x1 n 0x0
cont 00
The UUID of the HID service and the attribute id's of the request are
wrong. If it can't find the SDP record for the HID service, it can't
setup the HID descriptor and make your mouse working, but I don't know
why the bthid process exits.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hello again,
I still haven't gotten my mouse to work (I know! sorry).
One of the herrings I'm chasing is the name, is the problem the weird
characters in the devices name? if so, can it be renamed?
Or is this completely silly of me and there's something altogether
different that's wrong?
I've been able to find it more often with hcitool by clicking/moving it
while hcitool is searching.
Still no success with bthid, it has never given me anything else than
Feb 15 23:30:04 slowstorm bthid[1035]: Bluetooth HID service started
Feb 15 23:30:30 slowstorm bthid[1035]: Connection failed: Host is down (112)
when I try to connect to my mouse with sudo bthid -c 00:0A:95:01:5F:57
and bthid loves to just exit all the time.
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann wrote:
> is the script executable? Do you restarted hcid?
slowstorm/home/sunnan% pin-helper.sh
PIN:0000
slowstorm/home/sunnan% ps aux|grep hcid
root 1668 0.0 0.2 1708 628 ? S Feb13 0:00 hcid:
processing events
root 3763 0.0 0.1 1724 456 pts/3 S 11:51 0:00 hcidump
-w thirddata
sunnan 3957 0.0 0.2 1656 528 pts/5 R 11:57 0:00 grep hcid
slowstorm/home/sunnan%
And yeah, I've restarted it, both from the /etc/init.d/ scripts and also
rebooted.
> We really need a full binary hcidump to see what is going on.
I've sent several to the list but I'm unsure of how large they are
supposed to get before I C-c. I'm attaching one larger now (still only 4
k... they just don't get very large.). (Are my attachment's getting
through? Maybe they are stripped somewhere.)
There's been some progress since the last mail. I've run "hcitool scan"
a couple of times, and _one_ of the times it showed:
slowstorm/home/sunnan% hcitool scan
Scanning ...
00:0A:95:01:5F:57 sunnan???s mouse
Argh! Why did I give it a name with an apostrophe! Oh, Mac OS, thou
tempted me to many strange filenames, some even including spaces!
(Note the hexadecimal device number is different from my local device,
which is 00:0D:93:04:19:15.)
All the other times it just exited after writing "Scanning ...". I've
been unable to find it again.
As usual, bthid is just quitting after a while without saying so in
/var/log/daemon.log.