Re: Bluetooth, WiFi and Zecke's feeds?

2008-08-21 Thread Christ van Willegen
On Wed, Aug 20, 2008 at 6:48 PM, Al Johnson
[EMAIL PROTECTED] wrote:
 On Wednesday 20 August 2008, Christ van Willegen wrote:

 #!/bin/sh
 # Bring up bluetooth - power up module
 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

 #!/bin/sh
 # Bring down bluetooth - turn off the module
 echo 0  /sys/bus/platform/devices/neo1973-pm-bt.0/power_on

I expanded these scripts a bit (see below), but...
# hcitool scan
Device is not available: No such device

This is the content of my bn (Bluetooth oN) script:
#!/bin/sh
# Bring up bluetooth - power up module
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

echo 1  /sys/devices/platform/gta02-led.0/leds/gta02-power\:blue/brightness

and my bf (Bluetooth ofF) script:
#!/bin/sh
# Bring down bluetooth - turn off the module
echo 0  /sys/bus/platform/devices/neo1973-pm-bt.0/power_on

echo 0  /sys/devices/platform/gta02-led.0/leds/gta02-power\:blue/brightness

This also turns on and off the blue led, to indicate Bluetooth being
on (and off).

Buf, no luck with hcitool! I'll opkg update and opkg upgrade tonight
and see if those scripts help!

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Bluetooth, WiFi and Zecke's feeds?

2008-08-21 Thread Christ van Willegen
On Wed, Aug 20, 2008 at 5:10 PM, Gabriel A. Devenyi [EMAIL PROTECTED] wrote:
 I have of, as yet, not been able to associate with my WRT54GL either, with any
 of the available distros (the kernels and wpa_supplicant are the same
 afterall). See the (completely ignored) bug
 https://docs.openmoko.org/trac/ticket/1250

I have a stock WRT54G with a stock firmware, so it isn't any other
distro I run on my router. But, since the problems that I see are
slightly different from the problems mentioned in that ticket, I'm not
sure if it's the same thing...

At work, I _have_ been able to associate with an AP, so it certainly
is a problem between the FreeRunner and the WRT54G...

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Bluetooth, WiFi and Zecke's feeds?

2008-08-20 Thread Gabriel A. Devenyi
On August 20, 2008 07:03:52 am Christ van Willegen wrote:
 Hi,

 I'm using 2008.8 with Zecke's testing and dev feeds.

 At the moment, I can enable WiFi from the settings menu, but am unable
 to associate with my router (someone on IRC hinted that I sould run
 wpa_supplicant in debug mode, and it told me that it didn't get a
 timely reply from my router (WRT54G). Can anyone comment on that?)

 Also, I can switch BlueTooth on and off, but 'hcitool scan' gives me
 'Device unavailable' with both settings.

 Should I create a ticket somewhere, or are these known bugs and
 (hopefully!) already ironed out?

 Christ van Willegen

I have of, as yet, not been able to associate with my WRT54GL either, with any 
of the available distros (the kernels and wpa_supplicant are the same 
afterall). See the (completely ignored) bug 
https://docs.openmoko.org/trac/ticket/1250
-- 
Gabriel A. Devenyi B.Eng.
[EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Bluetooth, WiFi and Zecke's feeds?

2008-08-20 Thread shawnzier
On Wed, Aug 20, 2008 at 01:03:52PM +0200, Christ van Willegen wrote:
 Hi,
 
 I'm using 2008.8 with Zecke's testing and dev feeds.
 
 At the moment, I can enable WiFi from the settings menu, but am unable
 to associate with my router (someone on IRC hinted that I sould run
 wpa_supplicant in debug mode, and it told me that it didn't get a
 timely reply from my router (WRT54G). Can anyone comment on that?)
 
 Also, I can switch BlueTooth on and off, but 'hcitool scan' gives me
 'Device unavailable' with both settings.
 
 Should I create a ticket somewhere, or are these known bugs and
 (hopefully!) already ironed out?

I don't think zecke's feeds are official, so I dont know if its
appropriate to file bugs with OpenMoko.

You can always check the bug tracker though.

http://docs.openmoko.org/trac/report


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Bluetooth, WiFi and Zecke's feeds?

2008-08-20 Thread Al Johnson
On Wednesday 20 August 2008, Christ van Willegen wrote:
 Hi,

 I'm using 2008.8 with Zecke's testing and dev feeds.

 At the moment, I can enable WiFi from the settings menu, but am unable
 to associate with my router (someone on IRC hinted that I sould run
 wpa_supplicant in debug mode, and it told me that it didn't get a
 timely reply from my router (WRT54G). Can anyone comment on that?)

I've never got it to associate with my wrt54g using the GUI in 2008.8 but with 
the old GTK image I could get it to associate using my manually created 
wpa_supplicant.conf and modified /etc/network/interfaces. 

 Also, I can switch BlueTooth on and off, but 'hcitool scan' gives me
 'Device unavailable' with both settings.

I used to see this sometimes with the old GTK GUI, but it's worked whenever 
I've tried 2008.8. Perhaps I've just been lucky. I _think_ the problem used 
to be that the GUI changed the power status, but didn't toggle the bluetooth 
reset line. Sometimes you would be lucky, other times not. I took to using a 
couple of scripts to start and stop bluetooth from the terminal which might 
be worth a try:

#!/bin/sh
# Bring up bluetooth - power up module
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

#!/bin/sh
# Bring down bluetooth - turn off the module
echo 0  /sys/bus/platform/devices/neo1973-pm-bt.0/power_on



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community