[debian/fso] how to enable wlan again?

2010-01-16 Thread arne anka
after upgrading to timo's improved kernel a few days ago, i'd like to test  
wlan again -- but can't recall the exact steps.
doing

qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage  
org.freesmartphone.Usage.SetResourcePolicy WiFi enabled

does not change anything apparently and

qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage  
org.freesmartphone.Usage.GetResourceState Wifi

returns

Error: org.freesmartphone.Usage.ResourceUnknown
Resource Wifi had never been registered


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


Re: [debian/fso] how to enable wlan again?

2010-01-16 Thread Neil Jerram
2010/1/16 arne anka :
> after upgrading to timo's improved kernel a few days ago, i'd like to test
> wlan again -- but can't recall the exact steps.
> doing
>
> qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage
> org.freesmartphone.Usage.SetResourcePolicy WiFi enabled
>
> does not change anything apparently and
>
> qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage
> org.freesmartphone.Usage.GetResourceState Wifi
>
> returns
>
> Error: org.freesmartphone.Usage.ResourceUnknown
> Resource Wifi had never been registered

Well FWIW I use openmoko-panel-plugin's wifi icon, and I've customized
its config so that it automatically runs "ifup eth0".  Plus I have the
standard wpa-roam stuff in /etc/network/interfaces, and network
configurations in wpa-supplicant.conf.

Does that help at all?

Neil

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


Re: [debian/fso] how to enable wlan again?

2010-01-16 Thread D. Gassen

Am Jan 16, 2010 um 11:23  schrieb arne anka:

> after upgrading to timo's improved kernel a few days ago, i'd like to test  
> wlan again -- but can't recall the exact steps.
> doing

> 
> qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage  
> org.freesmartphone.Usage.SetResourcePolicy WiFi enabled
> 
> does not change anything apparently and
> 
> qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage  
> org.freesmartphone.Usage.GetResourceState Wifi
> 
> returns
> 
> Error: org.freesmartphone.Usage.ResourceUnknown
> Resource Wifi had never been registered


Maybe you're experiencing this bug:

> http://kerneltrap.org/mailarchive/openmoko-kernel/2010/1/13/6702443

However, I had exactly the same problem consistently with a kernel without the 
Timo's improvements until about two days ago (although I have not seen a kernel 
upgrade at that time).
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian/fso] how to enable wlan again?

2010-01-16 Thread arne anka
> Does that help at all?

not really :-)
looks, like the neither the modules nor the kernel itself do contain the  
ar6000 driver necessary ...
--

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


Re: [debian/fso] how to enable wlan again?

2010-01-16 Thread Gennady Kupava
В Сбт, 16/01/2010 в 19:46 +0100, arne anka пишет:
> > Does that help at all?
> 
> not really :-)
> looks, like the neither the modules nor the kernel itself do contain the  
> ar6000 driver necessary ...
> --
> 
> 

You have to load 2 modules to enable wifi  - s3cmci and ar6000.

I am currently working to fix
https://docs.openmoko.org/trac/ticket/2327 . to workaroud before I'll
eventually get idea how to fix it do:

P=/sys/bus/platform/drivers/s3c2440-sdi

echo s3c2440-sdi > $P/bind; echo s3c2440-sdi > $P/unbind or reload
ar6000 module.

Gennady


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


Re: [debian/fso] how to enable wlan again?

2010-01-16 Thread arne anka
>> looks, like the neither the modules nor the kernel itself do contain the
>> ar6000 driver necessary ...
>> --
>>
>>
>
> You have to load 2 modules to enable wifi  - s3cmci and ar6000.

as stated above, at least ar6000 is simply missing.

--

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


Re: [debian/fso] how to enable wlan again?

2010-01-17 Thread Neil Jerram
2010/1/16 arne anka :
>>> looks, like the neither the modules nor the kernel itself do contain the
>>> ar6000 driver necessary ...
>>> --
>>>
>>>
>>
>> You have to load 2 modules to enable wifi  - s3cmci and ar6000.
>
> as stated above, at least ar6000 is simply missing.

I have no sign of ar6000 either - i.e. 'find /lib/modules -name
"ar6*"' gives no results, and 'lsmod' doesn't mention ar6000.  But my
wifi is working all the same.  I guess that means it's built into
Timo's kernel.

This is with 
http://users.tkk.fi/~tajyrink/moko/kernel_20100108_nodebug_nopreempt/uImage-moredrivers-GTA02_oma-andy-2a04ce8203d7d0f1.bin.

 Neil

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


Re: [debian/fso] how to enable wlan again?

2010-01-17 Thread arne anka
> I have no sign of ar6000 either - i.e. 'find /lib/modules -name
> "ar6*"' gives no results, and 'lsmod' doesn't mention ar6000.  But my
> wifi is working all the same.  I guess that means it's built into
> Timo's kernel.

well, that's what i checked the config for ... and while looking for the  
link to that file, i realize, it's only  diff ...

> This is with  
> http://users.tkk.fi/~tajyrink/moko/kernel_20100108_nodebug_nopreempt/uImage-moredrivers-GTA02_oma-andy-2a04ce8203d7d0f1.bin.

yeah, that's the one.
ok, will check again, since i don'tz use opp anymore, i have to find the  
necessary fso dbus calls elsewhere.

thanks

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


Re: [debian/fso] how to enable wlan again?

2010-01-17 Thread Bill Kenworthy
On Sun, 2010-01-17 at 14:24 +, Neil Jerram wrote:
> 2010/1/16 arne anka :
> >>> looks, like the neither the modules nor the kernel itself do contain the
> >>> ar6000 driver necessary ...
> >>> --
> >>>
> >>>
> >>
> >> You have to load 2 modules to enable wifi  - s3cmci and ar6000.
> >
> > as stated above, at least ar6000 is simply missing.
> 
> I have no sign of ar6000 either - i.e. 'find /lib/modules -name
> "ar6*"' gives no results, and 'lsmod' doesn't mention ar6000.  But my
> wifi is working all the same.  I guess that means it's built into
> Timo's kernel.
> 
> This is with 
> http://users.tkk.fi/~tajyrink/moko/kernel_20100108_nodebug_nopreempt/uImage-moredrivers-GTA02_oma-andy-2a04ce8203d7d0f1.bin.
> 
>  Neil

check /proc/config.gz to see whats been done.

BillK




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


Re: [debian/fso] how to enable wlan again?

2010-01-18 Thread Neil Jerram
2010/1/18 Bill Kenworthy :
>
> check /proc/config.gz to see whats been done.

Thanks:

debian-gta02:/usr/bin# zcat /proc/config.gz | grep AR6
CONFIG_AR6000_WLAN=y
# CONFIG_AR6000_WLAN_DEBUG is not set
# CONFIG_AR6000_WLAN_RESET is not set

  Neil

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


Re: [debian/fso] how to enable wlan again?

2010-01-19 Thread Timo Jyrinki
2010/1/16 arne anka :
> qdbus --system org.freesmartphone.ousaged /org/freesmartphone/Usage
> org.freesmartphone.Usage.SetResourcePolicy WiFi enabled

lindi found out that the new kernel is "too fast" which randomly fails
the ar6000 initialization:

http://docs.openmoko.org/trac/ticket/2327

I also noticed the problem last evening, although before that it had
worked when I tested (as it works randomly). I now quickly recompiled
the kernel with the suggested patch and put the resulting kernel at
the familiar place:

http://users.tkk.fi/~tajyrink/moko/kernel_20100108_nodebug_nopreempt/

According to the last comment in the bug report, the patch is not
necessarily enough, but if it makes it better it's good. I have no
time at the moment to test it extensively, but WLAN worked on first
boot at least...

-Timo

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