I all ready have ttyS1 in /etc/default/bluetooth (I haven't change it)

And I get the same 'Read wrong response size: 5' swiching HWUART and BTUART.

:/

On 9/2/07, Daniel Frederiksen <cyberdoc@cyberdoc.dk> wrote:
Hi Linus..

You have to switch HWUART and BTUART with the following gpio
setup:

echo "AF1 in" >/proc/gpio/GPIO42
echo "AF2 out" >/proc/gpio/GPIO43
echo "AF1 in" >/proc/gpio/GPIO44
echo "AF2 out" >/proc/gpio/GPIO45

Put this in /etc/init.d/S30bluetooth at the beginning og the "start"
procedure and change the tty in /etc/default/bluetooth from ttyS2 to
ttyS1.

/Daniel Frederiksen

Linus Casassa skrev:
> When I boot I get the message:
>
> Initializing random number generator... done.
> Starting 32kHz clock...Settled
>
> Starting Bluetooth subsystem:Trying baud rate 115200...
> No response after reset
> No response from BT module
> Trying baud rate 921600...
> No response after reset
> No response from BT module
> Trying baud rate 115200...
> No response after reset
> No response from BT module
> Trying baud rate 57600...
> No response after reset
> No response from BT module
> Can't initialize device: Success
>
> So I log in the gumstix:
>
> [root@gumstix ~]# echo "AF1 in" > /proc/gpio/GPIO42
> [root@gumstix ~]# echo "AF2 out" > /proc/gpio/GPIO43
> [root@gumstix ~]# /etc/init.d/S30bluetooth start
> Starting 32kHz clock...Settled
> Starting Bluetooth subsystem:Trying baud rate 115200...
> No response after reset
> Read wrong response size: 5
> 0x04 0xff 0x02 0x05 0x01 Trying baud rate 921600...
> No response after reset
> No response from BT module
> Trying baud rate 115200...
> No response after reset
> Read wrong response size: 5
> 0x04 0xff 0x02 0x05 0x01 Trying baud rate 57600...
> No response after reset
> Initialization timed out.
> [root@gumstix ~]#
>
> What am I doing bad? Or what did I forget? I have 2 of this vedex, one
> with svn r1482(copy paste the text from this one) and the other with
> fatory setings. Nether of them has the BT working.
>
> Thanks!
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>   http://get.splunk.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users