As you might notice, Erin at 0xlab is working on Bluetooth HID (Human
Interface Device) profile for Android, and the implementation is
already checked into GIT repository. Please follow the activity in gitorious:
http://gitorious.org/0xdroid
Right now, Bluetooth HID devices, such Apple Wireless Keyboard and
usual Bluetooth mouse, are supported through Android's bluetooth
stack powered by BlueZ. The work was based on the contributions in
OESF (Open Embedded Software Foundation)'s EM1, which is dedicated
to Donut. Erin continues working on the reworked version for Eclair.
We have already verified on Beagleboard and Qualcomm MSM72xx
platform.
However, we suffer from incoming issues about input method flexibility
and potential Android framework designs. Feel free to submit issues
to us or directly discuss with us.
If you are interested in other Bluetooth profiles like SPP(Serial Port
Profile) and DUN(Dial-Up Network Profile), please track this issue as
well:
http://code.google.com/p/0xdroid/issues/detail?id=102
Sincerely,
Jim Huang (jserv)
http://0xlab.org/
I also wrote a post in my blog. If you have interest, you may read for
reference. Thanks!
http://i-miss-erin.blogspot.com/2010/06/add-bluetooth-hid-profile-in-android.html
Regards,
Erin Yueh
http://0xlab.org
We think it needs to config input mouse in Kernel to support Bluetooth
mouse via HID profile.
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
BRs,
Terry
2010/6/22 Erin Yueh <erin...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "0xlab-devel" group.
> To post to this group, send email to 0xlab...@googlegroups.com.
> To unsubscribe from this group, send email to 0xlab-devel...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/0xlab-devel?hl=en.
>
>
Yes, we set these config in 0xlab-kernel for beagle board.
http://gitorious.org/0xlab-kernel/kernel/blobs/master/arch/arm/configs/omap3_beagle_defconfig
Regards,
Erin Yueh
http://0xlab.org
Nope, I didn't port DUN to Eclair yet. Are you working on it? If you
finish it, it would be great to send us your patches. :)
Thanks for your post! Finally, I know why I can only connect with a
HID Boot Protocol Device with hidd command, not an Apple keyboard.
Actually, both of them can work normally.
DSTORAGEDIR=\"/tmp\" in Android.mk of hidd
# hidd --show
00:1D:4F:A7:9A:49 Bluetooth HID Boot Protocol Device [0000:0000]
connected [boot-protocol]
DSTORAGEDIR=\"/data/misc/bluetoothd\" in Android.mk of hidd
# hidd --show
00:1D:4F:A7:9A:49 Apple Inc. Keyboard [05ac:022c] connected
Regards,
Erin Yueh
http://0xlab.org
No, I don't have any microsoft bluetooth mice here and not sure about
its status in Android or Ubuntu. I've tried Genius Naviigator 905BT
mouse, Logitech BT Laser travel mouse, and Apple Wireless Keyboard in
Qualcomm platform without problem. I am using 0xlab kernel version
2.6.32 and bluez version 4.47.
Regards,
Erin Yueh
http://0xlab.org
This work about adding Bluetooth HID profile can work in both Eclair
and Froyo. I committed my code to beagle-eclair branch in 0xdroid
project and Cyanogen also accepted my patch in their Froyo branch.
0xlab kernel code is here:
http://gitorious.org/0xlab-kernel
Regards,
Erin Yueh
http://0xlab.org