From: Olivier Bornet <Olivier.Bornet@smartdata.ch>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: "Michal Semler (volny.cz)" <cijoml@volny.cz>,
BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] MS Wireless keyboard scans remapping
Date: Wed, 29 Oct 2003 00:23:35 +0100 [thread overview]
Message-ID: <20031028232335.GA6411@smartdata.ch> (raw)
In-Reply-To: <1067366086.24043.153.camel@pegasus>
[-- Attachment #1: Type: text/plain, Size: 9595 bytes --]
Hi Marcel,
On Tue, Oct 28, 2003 at 07:34:40PM +0100, Marcel Holtmann wrote:
> this is another reason, why we should reuse the USB HID parser for the
> Bluetooth keyboards and mice ;)
I agree with you. I'm ready to test/help on this way when you will have
someting in progress.
> So you have the new diNovo. I am interested in the "hcitool info ..."
Please note the one I have is a "Beta Release". The real diNovo from the
market may differ.
For the mouse:
bol@delta:~$ hcitool info 00:07:61:04:1E:BD
Requesting information ...
BD Address: 00:07:61:04:1E:BD
Device Name: Logitech Bluetooth Mouse
LMP Version: 1.1 (0x1) LMP Subversion: 0x350
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x0f 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park mode> <RSSI> <channel quality> <SCO link>
<HV2 packets> <HV3 packets> <u-law log> <A-law log>
<CVSD> <paging scheme> <power control> <transparent SCO>
For the keyboard:
bol@delta:~$ hcitool info 00:07:61:04:21:30
Requesting information ...
BD Address: 00:07:61:04:21:30
Device Name: Logitech Bluetooth Keyboard
LMP Version: 1.1 (0x1) LMP Subversion: 0x350
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x0f 0x00
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park mode> <RSSI> <channel quality> <SCO link>
<HV2 packets> <HV3 packets> <u-law log> <A-law log>
<CVSD> <paging scheme> <power control> <transparent SCO>
For the Mediapad:
bol@delta:~$ sudo hcitool info 00:07:61:04:1D:35
Checking smart card key...
Requesting information ...
BD Address: 00:07:61:04:1D:35
Device Name: Logitech Bluetooth Mediapad
LMP Version: 1.1 (0x1) LMP Subversion: 0x350
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xfc 0xff 0x0f 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<hold mode> <sniff mode> <park mode> <RSSI>
<channel quality> <SCO link> <HV2 packets> <HV3 packets>
<u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO>
> output from the devices and the "hciconfig -a" from the Bluetooth hub.
This is not possible at this time. The reason is that the Bluetooth hub
is now working as a usb hub. I can't switch it to Bluetooth mode,
because I don't have the necessary tools on Linux for this. This tool
exist, but on another OS... And I don't use this other OS. Of course, if
you think there is a simple way to switch from "usb hub" to "bluetooth
hub", let me know.
At this time, I use another bluetooth dongle for connection the
mouse/keyboard/mediapad. But I'm also really interested to have the
Logitech bluetooth hub working as bluetooth hub.
> If you have some extra time, please compile the new libs2 from CVS and
> run "sdptest records ..." and/or "sdptest browse ..." for me.
Maybe tomorow... Too late now.
> Please also include a "hcitool inq" for them, so I can see what class
> of device they are using.
bol@delta:~$ hcitool inq
Inquiring ...
00:07:61:04:1D:35 clock offset: 0x435f class: 0x002540
00:07:61:04:1E:BD clock offset: 0x7a9d class: 0x002580
00:07:61:04:21:30 clock offset: 0x6f6e class: 0x002540
bol@delta:~$ hcitool scan
Scanning ...
00:07:61:04:1D:35 Logitech Bluetooth Mediapad
00:07:61:04:1E:BD Logitech Bluetooth Mouse
00:07:61:04:21:30 Logitech Bluetooth Keyboard
> What is the content of /proc/bus/usb/devices with the Bluetooth hub
> attached.
The hub is seen as "USB Receiver" in usbview. Here is the full
/proc/bus/usb/devices informations (many usb devices connected, sorry):
bol@delta:~$ cat /proc/bus/usb/devices
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc=129/900 us (14%), #Int= 2, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b000
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= 8 Ivl=255ms
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 2
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=2036 Rev= 1.01
S: Product=General Purpose USB Hub
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=03 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c703 Rev=99.12
S: Manufacturer=Logitech
S: Product=USB Receiver
S: SerialNumber=0403D3
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr= 98mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbkbd
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=(none)
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 27/900 us ( 3%), #Int= 1, #Iso= 1
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b400
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= 8 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=e0(unk. ) Sub=01 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=0a12 ProdID=0001 Rev= 5.25
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 0mA
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=hci_usb
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=hci_usb
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=hci_usb
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=hci_usb
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=hci_usb
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=hci_usb
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)
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c208 Rev= 1.03
S: Manufacturer=Logitech Inc.
S: Product=WingMan Gamepad Extreme
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 40mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=8ms
T: Bus=01 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.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b800
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= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=3c02 Rev= 1.00
S: Manufacturer=hp
S: Product=photosmart 7350
S: SerialNumber=MY246140QJ2E
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=03 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6001 Rev= 2.00
S: Manufacturer=FTDI
S: Product=USB FAST SERIAL ADAPTER
S: SerialNumber=FTAPJVEU
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 44mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=serial
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> Do this one really support HID proxy from CSR?
Hummm. Don't event know what this is. Can you explain this to me ?
Good day^H^H^Hnight.
Olivier
--
Olivier Bornet http://www.smartdata.ch/
Olivier.Bornet@smartdata.ch SMARTDATA SA
GPG key ID: C53D9218 CH Martigny/Lausanne
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-10-28 23:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-28 7:47 [Bluez-users] MS Wireless keyboard scans remapping Michal Semler (volny.cz)
2003-10-28 8:40 ` Olivier Bornet
2003-10-28 18:34 ` Marcel Holtmann
2003-10-28 20:05 ` Michal Semler (volny.cz)
2003-10-28 20:14 ` Marcel Holtmann
2003-10-28 23:23 ` Olivier Bornet [this message]
2003-10-29 0:16 ` Marcel Holtmann
2003-10-29 9:24 ` diNovo LT information Olivier Bornet
2003-10-29 11:56 ` [Bluez-users] " Marcel Holtmann
2003-10-29 14:45 ` Olivier Bornet
2003-10-28 10:39 ` [Bluez-users] MS Wireless keyboard scans remapping Gareth Reakes
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=20031028232335.GA6411@smartdata.ch \
--to=olivier.bornet@smartdata.ch \
--cc=bluez-users@lists.sourceforge.net \
--cc=cijoml@volny.cz \
--cc=marcel@holtmann.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.