apple wireless mouse on apple ibook (g4, builtin usb)
Hello, would you please help me?
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
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.
For a kernel, I use Linux 2.6.3-rc2-ben1 (on ppc).
lsmod indicates that uinput, hci_usb,rfcomm,l2cap and bluetooth are loaded. I've created /dev/input/uinput with mknod as per http://www.bueche.ch/comp/mx900/mx900.html
I had the mouse working under Mac OS X before I installed Debian.
What are the other steps I need to take before I can start using the mouse?
Thanks very much in advance, Sunnan
-------------------------------------------------------
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
maintainerHi Sunnan,
Quoted 9 lines
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..)
Quoted 8 lines
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)?
Quoted 11 lines
I'm experimenting with running bthid (from bluez cvs utils2).
/var/log/daemon.loghasFeb 13 17:42:20 slowstorm bthid[980]: Bluetooth HID service startedbut little else.
Once it gotFeb 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: Connectiontimed out (110)
Quoted 8 lines
..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 [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 2 lines · Marcel Holtmann
what is the output of "hciconfig -a" and the content of
/proc/bus/usb/devices(before and after the run of hid2hci)?
I don't know how to show how it was before. Now it shows:
slowstorm/home/sunnan% sudo hciconfig -a
hci0: Type: USB
BD Address: 00:0D:93:04:19:15 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:6963 acl:399 sco:0 events:198 errors:0
TX bytes:2109 acl:66 sco:0 commands:62 errors:0
Features: 0xff 0xff 0x0f 0x00 0x18 0x18 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'slowstorm-0'
Class: 0x000100
HCI Ver: 1.1 (0x1) HCI Rev: 0x8503 LMP Ver: 1.1 (0x1) LMPSubver: 0x8503
Manufacturer: not assigned (2560)
and I've attached the devices.txt that resulted from
cat /proc/bus/usb/devices > devices.txt
(The name 'slowstorm-0' above probably is due to the line
name "%h-%d";
which I have in my /etc/bluetooth/hcid.conf)
Quoted 6 lines
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
Quoted 6 lines
#!/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.
One of the more interesting(?) entries in my /var/log/daemon.log after doing this was:
Feb 13 19:38:29 slowstorm sdpd[25047]: init_server: binding L2CAP
socket: Address already in use
hcidump -w dump.data
printed:
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
but never quit. I checked dump.data with wc from time to time but it never appeared to get any largers.
I got childishly impatient after a couple of minutes and hit C-c. I attached the file anyway. Is it supposed to take very long time? If so, I could give it another go. Thanks for your patience.
Sunnan
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.3-rc2-ben1 ohci_hcd S: Product=OHCI Host Controller S: SerialNumber=0001:01:1b.1 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.3-rc2-ben1 ohci_hcd S: Product=OHCI Host Controller S: SerialNumber=0001:01:1b.0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 1, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.3-rc2-ben1 ohci_hcd S: Product=OHCI Host Controller S: SerialNumber=0001:01:1a.0 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=8203 Rev= 9.01 C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
Marcel Holtmann
maintainerHi Sunnan,
Quoted 15 lines
I don't know how to show how it was before. Now it shows:
slowstorm/home/sunnan% sudo hciconfig -a
hci0: Type: USBBD Address: 00:0D:93:04:19:15 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:6963 acl:399 sco:0 events:198 errors:0 TX bytes:2109 acl:66 sco:0 commands:62 errors:0 Features: 0xff 0xff 0x0f 0x00 0x18 0x18 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'slowstorm-0' Class: 0x000100 HCI Ver: 1.1 (0x1) HCI Rev: 0x8503 LMP Ver: 1.1 (0x1) LMP
Quoted 2 lines
Subver:
0x8503
Manufacturer: not assigned (2560)
I don't know what kind of module this is. Please run "hcidump -w <file>" before running "hciconfig -a" and send us the dump. Maybe we have a big endian problem here. What bluez-utils version do you have installed?
Quoted 5 lines
One of the more interesting(?) entries in my
/var/log/daemon.logafter doing this was:Feb 13 19:38:29 slowstorm sdpd[25047]: init_server: binding L2CAPsocket: Address already in use
You can't rund sdpd twice, but for HID support this is irrelevant.
Quoted 6 lines
hcidump -w dump.data
printed:
HCIDump - HCI packet analyzer ver 1.5
device: hci0snap_len: 1028 filter:0xffffffff
Quoted 6 lines
but never quit. I checked dump.data with wc from time to time but it never appeared to get any largers.
I got childishly impatient after a couple of minutes and hit C-c. I attached the file anyway. Is it supposed to take very long time? If so, I could give it another go. Thanks for your patience.
This is correct, because you have to terminate it with CTRL-C.
Quoted 19 lines
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=8203 Rev= 9.01 C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(unk. ) Sub=01 Prot=01 Driver=hci_usb E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 0 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms I: If#= 1 Alt= 1 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 9 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 9 Ivl=1ms I: If#= 1 Alt= 2 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 17 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 17 Ivl=1ms I: If#= 1 Alt= 3 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 25 Ivl=1ms
Quoted 8 lines
E: Ad=83(I) Atr=01(Isoc) MxPS= 25 Ivl=1ms I: If#= 1 Alt= 4 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 33 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 33 Ivl=1ms I: If#= 1 Alt= 5 #EPs= 2 Cls=e0(unk. ) Sub=01 Prot=01 Driver=(none) E: Ad=03(O) Atr=01(Isoc) MxPS= 49 Ivl=1ms E: Ad=83(I) Atr=01(Isoc) MxPS= 49 Ivl=1ms I: If#= 2 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)
Reboot your machine and show me this file before you run hid2hci.
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 again,
after rebooting and loading my modules (and starting hcid, sdpd and rfcomm, the latter probably unnecessary but I'm erring on the side of caution?), I run:
sudo hcidump -w dumpdata
but just get:
HCIDump - HCI packet analyzer ver 1.5
Can't attach to device hci0. No such device(19)
and it exits without writing anything to the file.
and "hciconfig -a" exits silently.
then I run hid2hci anyway, it prints:
Switching device 05ac:1000 to HCI mode was successful
and then I can do hcidump -w dumpdata
which gives me to stdout:
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
I had wait a while before it wrote anything to the file. Then I waited a bit more, and it wrote a bit more. This is normal. I've attached the file.
Quoted 3 lines
I don't know what kind of module this is. Please run "hcidump -w <file>" before running "hciconfig -a" and send us the dump. Maybe we have a big endian problem here. What bluez-utils version do you have installed?
2.4-6 from Debian sid, as well as utils2 from bluez cvs. hciconfig comes from that cvs checkout (though I have two version in my path, the cvs version takes precedence, while hcidump comes out of Edds bluez-hcidump package, version 1.5-2 for debian sid.
Quoted 1 line
Reboot your machine and show me this file before you run hid2hci.
I'm sorry, but it wasn't possible since hcidump wouldn't write one, as described above.
Marcel Holtmann
maintainerHi Sunnan,
Quoted 4 lines
2.4-6 from Debian sid, as well as utils2 from bluez cvs. hciconfig comes from that cvs checkout (though I have two version in my path, the cvs version takes precedence, while hcidump comes out of Edds bluez-hcidump package, version 1.5-2 for debian sid.
the version of utils2 have a big endian problem, which I have now fixed in CVS. Try your version from bluez-utils-2.4. Better you call it with the full path "/sbin/hciconfig -a".
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
Quoted 2 lines · Marcel Holtmann
the version of utils2 have a big endian problem, which I have now fixed in CVS.
Lucky! I always become happy when I find a bug.
Quoted 2 lines
Try your version from bluez-utils-2.4. Better you call it with the full path "
/sbin/hciconfig-a".
slowstorm/home/sunnan/.dl/mouseemu% sudo /sbin/hciconfig -a
hci0: Type: USB
BD Address: 00:0D:93:04:19:15 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:593 acl:2 sco:0 events:40 errors:0
TX bytes:670 acl:2 sco:0 commands:28 errors:0
Features: 0xff 0xff 0x0f 0x00 0x18 0x18 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'slowstorm-0'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x385 LMP Ver: 1.1 (0x1) LMP Subver: 0x385
Manufacturer: Cambridge Silicon Radio (10)
-------------------------------------------------------
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
maintainerHi Sunnan,
Quoted 15 lines
slowstorm/home/sunnan/.dl/mouseemu% sudo
/sbin/hciconfig-a
hci0: Type: USBBD Address: 00:0D:93:04:19:15 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:593 acl:2 sco:0 events:40 errors:0 TX bytes:670 acl:2 sco:0 commands:28 errors:0 Features: 0xff 0xff 0x0f 0x00 0x18 0x18 0x00 0x00 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'slowstorm-0' Class: 0x000100 Service Classes: Unspecified Device Class: Computer, Uncategorized HCI Ver: 1.1 (0x1) HCI Rev: 0x385 LMP Ver: 1.1 (0x1) LMP
Quoted 2 lines
Subver:
0x385
Manufacturer: Cambridge Silicon Radio (10)
this looks much better now. Your laptop contains a CSR chip with the Bluetooth 1.2 AFH feature. Very nice.
Do you got your mouse working?
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,
Quoted 1 line · Marcel Holtmann
Do you got your mouse working?
No, not at all. bthid keeps turning itself off (silently disappearing from "ps aux|grep bthid" after a while) and I'm not sure how to see if or how the mouse connects to the computer. is the dev from hcitool dev my bluetooth chip or the mouse? where will the mouse show up, under /dev/input/mice or what? I don't really get this basic stuff yet.
I read and followed
http://www.bueche.ch/comp/mx900/mx900.html
and also read most of
http://www.holtmann.org/linux/bluetooth/hid.html
but I don't really know how to interpret it.
Sunnan
-------------------------------------------------------
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
maintainerHi Sunnan,
Quoted 5 lines
No, not at all. bthid keeps turning itself off (silently disappearing from "ps aux|grep bthid" after a while) and I'm not sure how to see if or how the mouse connects to the computer. is the dev from hcitool dev my bluetooth chip or the mouse? where will the mouse show up, under
/dev/input/miceor what? I don't really get this basic stuff yet.
the "hcitool dev" shows your local device. The syslog will show your mouse if it is connected. Take a look at the latest posts on the mailing list about an Apple keyboard. I think it is the same PIN problem.
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
Marcel Holtmann
maintainerHi Sunnan,
Quoted 8 lines
slowstorm/home/sunnan% grep pin
/etc/bluetooth/hcid.confpin_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/pin0000
is the script executable? Do you restarted hcid?
Quoted 3 lines
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.
Quoted 2 lines
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
Quoted 1 line · Marcel Holtmann
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.
Quoted 1 line
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.
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
maintainerHi Sunnan,
Quoted 3 lines
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.
Quoted 11 lines
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 Quoted 1 line
ACL data: handle
0x002dflags0x02dlen 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
one more thing (was Re: [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb))
In reply to Marcel HoltmannI need to add that hcitool inq gives me nothing:
slowstorm/home/sunnan% hcitool inq
Inquiring ...
slowstorm/home/sunnan% hcitool dev
Devices:
hci0 00:0D:93:04:19:15
slowstorm/home/sunnan% hcitool info 00:0D:93:04:19:15 Device is not available or not connected. slowstorm/home/sunnan% sudo hcitool info 00:0D:93:04:19:15 Device is not available or not connected.
-------------------------------------------------------
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
maintainerRe: one more thing (was Re: [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb))
Hi Sunnan,
Quoted 2 lines
slowstorm/home/sunnan% hcitool inq
Inquiring ...
make sure your mouse is visible.
Quoted 5 lines
slowstorm/home/sunnan% hcitool dev
Devices:hci0 00:0D:93:04:19:15slowstorm/home/sunnan% hcitool info 00:0D:93:04:19:15 Device is not available or not connected.
This can't work, because you try to connect to your local device ;)
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 Marcel,
I think this wasn't for me. Mine is a different question...
Thanks...
Regards,
Ramon A. Reveron
IBM Retail Store Solutions
Software Engineer
______________________________________
Phone - (919) 301-5346
Lotus Notes - Ramon A Reveron/Raleigh/IBM
Internet Email- [email protected]
______________________________________
Marcel Holtmann <[email protected]>
Sent by: [email protected]
02/13/2004 04:50 PM
To: Sunnan <[email protected]>
cc: BlueZ Mailing List <[email protected]>
Subject: Re: [Bluez-users] apple wireless mouse on apple
ibook (g4, builtin usb)
Hi Sunnan,
Quoted 5 lines
2.4-6 from Debian sid, as well as utils2 from bluez cvs. hciconfig comes
from that cvs checkout (though I have two version in my path, the cvs version takes precedence, while hcidump comes out of Edds bluez-hcidump package, version 1.5-2 for debian sid.
the version of utils2 have a big endian problem, which I have now fixed in CVS. Try your version from bluez-utils-2.4. Better you call it with the full path "/sbin/hciconfig -a".
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
Marcel Holtmann
maintainerHi Ramon,
Quoted 1 line
I think this wasn't for me. Mine is a different question...
it was for the mailing list ;)
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