Can't get bluetooth started

Sean McNeil sean at mcneil.com
Sat May 31 02:49:24 CEST 2008


Andy Green wrote:
> Somebody in the thread at some point said:
> | Lorn Potter wrote:
> |> Sean McNeil wrote:
> |>> Reset doesn't help either:
> |>>
> |>> echo "1"> /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
> |>> echo "1"> /sys/bus/platform/devices/neo1973-pm-bt.0/reset
> |>> echo "0"> /sys/bus/platform/devices/neo1973-pm-bt.0/reset
> |>> cat /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
> |>> 1
> |>
> |> try this:
> |>
> |> echo "1" > /sys/bus/platform/devices/neo1973-pm-bt.0/power_on
> |> echo 3300
> |> /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/voltage_ldo4
> |> echo 1 > /sys/bus/platform/drivers/neo1973-pm-bt/neo1973-pm-bt.0/reset
> |> echo 0 > /sys/bus/platform/drivers/neo1973-pm-bt/neo1973-pm-bt.0/reset
> |>
> | Yes, that does it. Thanks. Can someone update the wiki page to contain
> | this? or is this a hack and it won't be necessary in the long run?
>
> This is not needed... your problem with your version was that "1"> is
> the same as 1> which does not do what you think it does.  "1" > does
> what you think it does.
>
> The whole setting ldo4 thing is a workaround for the above which isn't
> even needed as given by Lorn.
>
> -Andy
I do not use echo in my application. I write out the value properly. And 
when I use the echo to test, I have been using "" around the value. I 
found that difference out myself.

Yes, it would appear that I do not need to change the ldo4, but I do 
have to toggle the reset. This is not in the wiki page. So, is power_on 
going to change to do an implicit reset, or is the wiki page going to 
document the requirement to toggle reset?

Sean





More information about the openmoko-kernel mailing list