From: Sunnan <sunnan@handgranat.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] apple wireless mouse on apple ibook (g4, builtin usb)
Date: Fri, 13 Feb 2004 19:59:24 +0100 [thread overview]
Message-ID: <402D1E8C.6020301@handgranat.org> (raw)
In-Reply-To: <1076694675.2671.191.camel@pegasus>
[-- Attachment #1: Type: text/plain, Size: 2211 bytes --]
Marcel Holtmann wrote:
> 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) LMP
Subver: 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)
> 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.
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
[-- Attachment #2: devices.txt --]
[-- Type: text/plain, Size: 2841 bytes --]
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)
[-- Attachment #3: dump.data --]
[-- Type: application/octet-stream, Size: 612 bytes --]
next prev parent reply other threads:[~2004-02-13 18:59 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
2004-02-13 18:59 ` Sunnan [this message]
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=402D1E8C.6020301@handgranat.org \
--to=sunnan@handgranat.org \
--cc=bluez-users@lists.sourceforge.net \
/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