sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #00447
Re: Fwd: Ubuntu Karmic on the Z21WN
It's cool so thanks Norbert :)
--
Wayde.
On Thu, Aug 27, 2009 at 2:50 PM, Mike <michael.huettemann@xxxxxxxxx> wrote:
> Ah, yes, thanks. Viva dementia.
>
> The patch was posted by Norbert in this message:
> https://lists.launchpad.net/sony-vaio-z-series/msg00383.html
>
> Cheers
> Mike
>
> 2009/8/27 Wayde <didinux@xxxxxxxxx>:
> > Hi,
> > you should install the sony-laptop module patched for 2.6.30 (i can't
> > remember who send it in this mailing liste).
> >
> > --
> > Wayde.
> >
> >
> > On Thu, Aug 27, 2009 at 10:28 AM, Mike <michael.huettemann@xxxxxxxxx>
> wrote:
> >>
> >> Hi Folks,
> >>
> >> I have a Z31/WN with Karmic and the same amd64 Kernel:
> >>
> >> Linux archangel 2.6.31-7-generic #27-Ubuntu SMP Mon Aug 24 19:18:31
> >> UTC 2009 x86_64 GNU/Linux
> >>
> >> On this system, I cannot even compile the custom sony-laptop module:
> >>
> >> -----SNIP----
> >> dummy@archangel:~/src/sony-laptop-zseries-0.9$ make
> >> make -C /lib/modules/2.6.31-7-generic/build
> >> SUBDIRS=/home/dummy/src/sony-laptop-zseries-0.9 modules
> >> make[1]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.31-7-generic'
> >> CC [M] /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.o
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1246: warning:
> >> 'enum rfkill_state' declared inside parameter list
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1246: warning:
> >> its scope is only this definition or declaration, which is probably
> >> not what you want
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_rfkill_get':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1255: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1255: error:
> >> 'RFKILL_STATE_UNBLOCKED' undeclared (first use in this function)
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1255: error:
> >> (Each undeclared identifier is reported only once
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1255: error: for
> >> each function it appears in.)
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1257: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1257: error:
> >> 'RFKILL_STATE_SOFT_BLOCKED' undeclared (first use in this function)
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1259: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1259: error:
> >> 'RFKILL_STATE_HARD_BLOCKED' undeclared (first use in this function)
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: At top level:
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1265: warning:
> >> 'enum rfkill_state' declared inside parameter list
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1265: error:
> >> parameter 2 ('state') has incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_rfkill_set':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1270: error:
> >> 'RFKILL_STATE_UNBLOCKED' undeclared (first use in this function)
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_setup_wifi_rfkill':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1281: error:
> >> implicit declaration of function 'rfkill_allocate'
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1281: warning:
> >> assignment makes pointer from integer without a cast
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1284: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1285: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1286: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1287: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1288: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1291: error:
> >> implicit declaration of function 'rfkill_free'
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_setup_bluetooth_rfkill':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1303: warning:
> >> assignment makes pointer from integer without a cast
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1306: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1307: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1308: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1309: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1310: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_setup_wwan_rfkill':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1324: warning:
> >> assignment makes pointer from integer without a cast
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1327: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1328: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1329: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1330: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1331: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_setup_wimax_rfkill':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1345: warning:
> >> assignment makes pointer from integer without a cast
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1348: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1349: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1350: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1351: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1352: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c: In function
> >> 'sony_nc_rfkill_update':
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1364: error:
> >> storage size of 'state' isn't known
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1368: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1369: error:
> >> dereferencing pointer to incomplete type
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1371: error:
> >> implicit declaration of function 'rfkill_force_state'
> >> /home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.c:1364: warning:
> >> unused variable 'state'
> >> make[2]: *** [/home/dummy/src/sony-laptop-zseries-0.9/sony-laptop.o]
> >> Fehler 1
> >> make[1]: *** [_module_/home/dummy/src/sony-laptop-zseries-0.9] Fehler 2
> >> make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.31-7-generic'
> >> make: *** [default] Fehler 2
> >> ----SNIP----
> >>
> >> This system ist using gcc 4.4.1 as default compiler. My guess is that
> >> most errors come from using the newer gcc. On Jaunty I had no trouble
> >> compiling the module.
> >>
> >> Any ideas?
> >>
> >> Thanks
> >> Mike
> >>
> >>
> >> 2009/8/27 Wayde <didinux@xxxxxxxxx>:
> >> > Yes I have done all the updates and yes the eject button works.
> >> > My kernel is :
> >> >>> ===
> >> >>> didinux@laptop:~$ uname -a
> >> >>> Linux laptop 2.6.31-7-generic #27-Ubuntu SMP Mon Aug 24 19:18:31 UTC
> >> >>> 2009
> >> >>> x86_64 GNU/Linux
> >> >>> ===
> >> >
> >> > --
> >> > Wayde.
> >> >
> >> >
> >> > On Thu, Aug 27, 2009 at 12:33 AM, <ajmctaggart@xxxxxxxxx> wrote:
> >> >>
> >> >> Hmm, that's a new one...does eject work? Have you done all Karmics
> >> >> updates? What Kernel are you using?
> >> >>
> >> >>
> >> >> -----Original Message-----
> >> >> From: Wayde
> >> >> Sent: 08/26/2009 2:57:16 PM
> >> >> Subject: [Sony-vaio-z-series] Fwd: Ubuntu Karmic on the Z21WN
> >> >>
> >> >> Thanks for the quick answer :)
> >> >> Now it was installed ! however the brightness applet don't work ..
> >> >> should
> >> >> i
> >> >> install something else ?
> >> >> --
> >> >> Wayde.
> >> >>
> >> >>
> >> >>
> >> >> On Wed, Aug 26, 2009 at 11:10 PM, ajmctaggart <ajmctaggart@xxxxxxxxx
> >
> >> >> wrote:
> >> >>
> >> >> > Yes this has happened to me a couple of times in recent kernels,
> >> >> > simply
> >> >> > run the "make install" and reboot, it will work fine...
> >> >> >
> >> >> > On Wed, Aug 26, 2009 at 2:07 PM, Wayde <didinux@xxxxxxxxx> wrote:
> >> >> >
> >> >> >> Hello all,
> >> >> >>
> >> >> >> Have anyone upgraded to Karmic ?
> >> >> >> I did the upgrade and i have some issues installing the sony
> laptop
> >> >> >> module. Can anyone help please ?
> >> >> >>
> >> >> >>
> >> >> >> ===
> >> >> >> didinux@laptop:~$ uname -a
> >> >> >> Linux laptop 2.6.31-7-generic #27-Ubuntu SMP Mon Aug 24 19:18:31
> UTC
> >> >> >> 2009
> >> >> >> x86_64 GNU/Linux
> >> >> >> ===
> >> >> >> didinux@laptop:~/_tmp/sony-laptop/sony-laptop-zseries-0.9$ make
> >> >> >> make -C /lib/modules/2.6.31-7-generic/build
> >> >> >> SUBDIRS=/home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9
> >> >> >> modules
> >> >> >> make[1]: Entering directory
> >> >> >> `/usr/src/linux-headers-2.6.31-7-generic'
> >> >> >> CC [M]
> >> >> >>
> /home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9/sony-laptop.o
> >> >> >> CC [M]
> >> >> >> /home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9/test.o
> >> >> >> Building modules, stage 2.
> >> >> >> MODPOST 2 modules
> >> >> >> CC
> >> >> >>
> >> >> >>
> >> >> >>
> /home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9/sony-laptop.mod.o
> >> >> >> LD [M]
> >> >> >>
> >> >> >>
> /home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9/sony-laptop.ko
> >> >> >> CC
> >> >> >> /home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9/test.mod.o
> >> >> >> LD [M]
> >> >> >> /home/didinux/_tmp/sony-laptop/sony-laptop-zseries-0.9/test.ko
> >> >> >> make[1]: Leaving directory
> `/usr/src/linux-headers-2.6.31-7-generic'
> >> >> >> didinux@laptop:~/_tmp/sony-laptop/sony-laptop-zseries-0.9$ sudo
> make
> >> >> >> install
> >> >> >> mkdir -p /lib/modules/2.6.31-7-generic/updates/
> >> >> >> cp sony-laptop.ko /lib/modules/2.6.31-7-generic/updates/
> >> >> >> depmod -a
> >> >> >> didinux@laptop:~/_tmp/sony-laptop/sony-laptop-zseries-0.9$ sudo
> make
> >> >> >> test
> >> >> >> rmmod sony-laptop
> >> >> >> ERROR: Module sony_laptop does not exist in /proc/modules
> >> >> >> make: *** [test] Error 1
> >> >> >> ===
> >> >> >>
> >> >> >> --
> >> >> >> Wayde.
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> Mailing list:
> >> >> >>
> >> >> >> https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> <https://launchpad.net/%7Esony-vaio-z-series>
> >> >> >> Post to : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> >> >> >> Unsubscribe :
> >> >> >>
> >> >> >> https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> <https://launchpad.net/%7Esony-vaio-z-series>
> >> >> >> More help : https://help.launchpad.net/ListHelp
> >> >> >>
> >> >> >>
> >> >> >
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > Mailing list: https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> >> > Post to : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
> >> > Unsubscribe : https://launchpad.net/~sony-vaio-z-series<https://launchpad.net/%7Esony-vaio-z-series>
> >> > More help : https://help.launchpad.net/ListHelp
> >> >
> >> >
> >
> >
>
References