Re: [PATCH] H22xx bluetooth support
Giorgio Padrin <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Alle 18:39, martedì 30 maggio 2006, Slavek Banko ha scritto:
> Hi.
>
> Here is patch to add support for bluetooth on H22xx.
> Please, is this list the right place to send patches?
>
> Slavek
Apart the dropping devfs names invite, I made in another email, I recall and
notify you, for maybe a second time patch, that there's two different BT
chips you can find in h2200s around the world, a Zeevo and a CSR, the second
reported to not work with protocol set to 'any', but 'bcsp'.
---- From the 'blueprobe' script ----
# Read the h2200 bluetooth radio version out of the asset data in flash.
h2200_radio_version() {
dd if=/dev/mtdblock1 bs=1 skip=126968 count=5 2>/dev/null | tr -d \\0
}
[...]
echo -n "Checking for built-in Bluetooth: "
case `module_id` in
"HP iPAQ H2200")
BLUETOOTH=yes
PORT=/dev/tts/3
SPEED=921600
PROBE=no
RADIO_VER=`h2200_radio_version`
case $RADIO_VER in
"141") # Zeevo
PROTO=any
;;
"525") # CSR
PROTO=bcsp
;;
*)
echo "Unknown radio version '${RADIO_VER}'"
;;
esac
;;
------------------------------------------
Giorgio
_______________________________________________
http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex
Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel