[pkg-fso-maint] Bug#647003: fso-deviced: WiFi power does not work on openmoko GTA02 and kernel 2.6.34

Niccolo Rigacci niccolo at rigacci.org
Sat Oct 29 07:42:07 UTC 2011


Package: fso-deviced
Version: 0.9.5+git20110805-1
Severity: important
Tags: upstream patch

Dear Maintainer,

The sysfs path for the WiFi device is changed, I suppose a change
in the kernel source. So the src/plugins/openmoko_powercontrol/plugin.vala
should be changed too.

I tried this patch (borrowing the idea from omhacks code), it works:

--- orig/src/plugins/openmoko_powercontrol/plugin.vala
+++ new/src/plugins/openmoko_powercontrol/plugin.vala
@@ -181,6 +181,10 @@
     if ( !ignore_wifi )
     {
         var wifi = Path.build_filename( drivers, "s3c2440-sdi" );
+        if ( !FsoFramework.FileHandling.isPresent( wifi ) )
+        {
+            wifi = Path.build_filename( drivers, "s3c-sdi" );
+        }
         if ( FsoFramework.FileHandling.isPresent( wifi ) )
         {
             var o = new Openmoko.WiFiPowerControl( subsystem, wifi );


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.34-20101212.git049b71de
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fso-deviced depends on:
ii  dbus               1.4.16-1            
ii  libasound2         1.0.24.1-4          
ii  libc6              2.13-21             
ii  libfso-glib0       2011.06.01.1-1      
ii  libfsobasics0      0.9.99+git20110804-1
ii  libfsoframework0   0.8.2+git20110805-2 
ii  libfsoresource0    0.9.0+git20110805-1 
ii  libfsosystem0      0.1.0~git20110602-1 
ii  libfsotransport0   0.9.8+git20110805-1 
ii  libgee2            0.6.1-3             
ii  libglib2.0-0       2.28.8-1            
ii  libnl2             2.0-1               
ii  multiarch-support  2.13-21             

Versions of packages fso-deviced recommends:
ii  fso-deviced-openmoko [fso-deviced-platform]  0.9.5+git20110805-1

fso-deviced suggests no packages.

-- no debconf information





More information about the pkg-fso-maint mailing list