Well that was fun.
The linux-2.4.19 kernel iRex is using is too old for the keyboard support to work. So tomorrow I'll begin the tricky process of patching the bluetooth stack to linux-2.4.20 which has working HIDP support... yet keep the modules working against linux-2.4.19.
I was able to connect a pipe to the Stowaway keyboard, just couldn't do anything with it since I couldn't hook that pipe to the HID support in the linux-2.4.19 kernel.
On the upside the dongle works a treat. I was able to discover the iLiad from several devices and the bluez command line tools were able to probe from the iLiad to every bluetooth device I had.
I just hope this isn't like the wired keyboard, get it all working and there is no place for the characters to go...
Some scenery from tonight's adventures...
Request info from keyboard.
Code:
root@ereader:/bin# hcitool -i hci0 info 00:16:38:XX:XX:XX
Requesting information ...
BD Address: 00:16:38:XX:XX:XX
Device Name: Think Outside Keyboard
LMP Version: 1.2 (0x2) LMP Subversion: 0x4100
Manufacturer: Broadcom Corporation (15)
Features: 0xbc 0x02 0x04 0x28 0x08 0x08 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch>
<sniff mode> <RSSI> <power control> <enhanced iscan>
<interlaced pscan> <AFH cap. slave> <AFH cap. master>
Establish connection to keyboard.
Code:
root@ereader:/bin# hcitool -i hci0 cc 00:16:38:XX:XX:XX
root@ereader:/bin# hcitool con
Connections:
< ACL 00:16:38:XX:XX:XX handle 12 state 1 lm MASTER
Checking out the Macbook Pro.
Code:
root@ereader:/bin# hcitool -i hci0 info 00:17:f2:XX:XX:XX
Requesting information ...
BD Address: 00:17:f2:XX:XX:XX
Device Name: Scotty’s Macbook Pro
LMP Version: 2.0 (0x3) LMP Subversion: 0x7ad
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
<power control> <transparent SCO> <broadcast encrypt>
<EDR ACL 2 Mbps> <EDR ACL 3 Mbps> <enhanced iscan>
<interlaced iscan> <interlaced pscan> <inquiry with RSSI>
<extended SCO> <EV4 packets> <EV5 packets> <AFH cap. slave>
<AFH class. slave> <3-slot EDR ACL> <5-slot EDR ACL>
<AFH cap. master> <AFH class. master> <EDR eSCO 2 Mbps>
<EDR eSCO 3 Mbps> <3-slot EDR eSCO> <extended features>
Probe the Motorola A1200.
Code:
root@ereader:/bin# hcitool -i hci0 info 00:17:84:XX:XX:XX
Requesting information ...
BD Address: 00:17:84:XX:XX:XX
Device Name: Motorola A1200
LMP Version: 2.0 (0x3) LMP Subversion: 0x410d
Manufacturer: Broadcom Corporation (15)
Features: 0xff 0xff 0x8d 0xfe 0x8f 0xf9 0x00 0x80
<3-slot packets> <5-slot packets> <encryption> <slot offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <power control>
<transparent SCO> <broadcast encrypt> <EDR ACL 2 Mbps>
<EDR ACL 3 Mbps> <enhanced iscan> <interlaced iscan>
<interlaced pscan> <inquiry with RSSI> <extended SCO>
<EV4 packets> <EV5 packets> <no. 34> <AFH cap. slave>
<3-slot EDR ACL> <5-slot EDR ACL> <AFH cap. master>
<AFH class. master> <EDR eSCO 2 Mbps> <EDR eSCO 3 Mbps>
<3-slot EDR eSCO> <extended features>