From: Craig H. <cr...@gu...> - 2006-01-19 19:44:14
|
You can't bypass it -- you have to wait for the OOK after setting =20 OON. The problem was that the code was waiting *while* OOK was on, =20 not *until* OOK was on. C On Jan 19, 2006, at 11:35 AM, Peter Darling wrote: > I tried bypassing that already, it appears to function, but > > # hcitool dev > Devices: > # > > -Peter > > On 1/19/06, Craig Hughes <cr...@gu...> wrote: >> Hmm -- I think that should be "grep -q -v 1" instead of "grep -q 1" >> -- it should be waiting while there is *no* 1 there, not as long as >> there's a one there. I'll fix that in the buildroot -- you should >> add the "-v" in the startup script and things should work again. >> >> C >> >> On Jan 19, 2006, at 10:32 AM, Peter Darling wrote: >> >>> Maybe that overclock cooked my bluetooth. It sticks in the >>> S30bluetooth init script, in the loop that goes: >>> >>> echo -n "Starting 32kHz clock..." >>> /usr/sbin/pxaregs OSCC_OON 1 >>> while /usr/sbin/pxaregs OSCC_OOK | tail -1 | grep -q 1;do >>> echo -n '.' >>> sleep 1 >>> done >>> >>> >>> it just prints dots forever... >>> >>> If i manually run >>> # pxaregs OSCC_OOK >>> >>> CM 32.768 kHz oscillator enabled and stabilized >>> OSCC_OOK 0x00000003 00000000 00000000 00000000 >>> 00000011 >>> OSCC_OOK 1 CM 32.768 kHz oscillator =20 >>> enabled >>> and stabilized >>> # >>> >>> >>> dmesg doesn't show anything bluetooth. when i modprobe =20 >>> bluetooth, it >>> looks okay, but init script still hangs at that loop. btw i tried >>> flashing the uboot/fs images from sf.net and same results. >>> >>> I don't know how to interpret the pxaregs output.. anybody know >>> something else I can try? >>> >>> -- >>> Peter Darling >>> plo...@gm... >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. Do you grep through >>> log files >>> for problems? Stop! Download the new AJAX search engine that makes >>> searching your log files as easy as surfing the web. DOWNLOAD >>> SPLUNK! >>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=1216= 42 >>> _______________________________________________ >>> gumstix-users mailing list >>> gum...@li... >>> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through =20= >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD =20 >> SPLUNK! >> http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&dat=121642 >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > > -- > Peter Darling > plo...@gm... > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642= > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |