← Back to team overview

sony-vaio-z-series team mailing list archive

Re: sony-laptop-zseries 0.9np4

 

Hello,

thanks to your link for the sony-laptop np4 module I could finally compile
the module for the kernel 2.6.31:

linux-nas5:/usr/src/sony-laptop-zseries-0.9np4 #
make

make -C /lib/modules/2.6.31.5-0.1-desktop/source
SUBDIRS=/usr/src/sony-laptop-zseries-0.9np4
modules
make[1]: Entering directory
`/usr/src/linux-2.6.31.5-0.1'

  CC [M]
/usr/src/sony-laptop-zseries-0.9np4/sony-laptop.o

  CC [M]
/usr/src/sony-laptop-zseries-0.9np4/test.o

  Building modules, stage
2.

  MODPOST 2
modules

  CC
/usr/src/sony-laptop-zseries-0.9np4/sony-laptop.mod.o

  LD [M]
/usr/src/sony-laptop-zseries-0.9np4/sony-laptop.ko

  CC
/usr/src/sony-laptop-zseries-0.9np4/test.mod.o

  LD [M]
/usr/src/sony-laptop-zseries-0.9np4/test.ko

make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1'

GREAT, but unfortunately the make test has failed:

linux-nas5:/usr/src/sony-laptop-zseries-0.9np4 # make
test

rmmod
sony-laptop

ERROR: Module sony_laptop does not exist in
/proc/modules

make: *** [test] Error 1

and the insmod also:

linux-nas5:/usr/src/sony-laptop-zseries-0.9np4 # insmod
sony-laptop.ko

insmod: error inserting 'sony-laptop.ko': -1 Invalid module format

could you help me to figure out what's wrong?

Thanks a lot!

Peter



On Mon, Nov 16, 2009 at 7:45 PM, Tom Fisher <tom@xxxxxxx> wrote:

>
> Norbert Preining wrote:
>
>> Usual location
>>
>> http://www.logic.at/people/preining/software/sony-laptop-zseries-0.9np4.tar.gz
>>
>> Only for thos with QUalcomm WWAN modem, they can use
>>        alt_rfkill=1
>> as option to the module and that should make the rfkill for the WWAN
>> working.
>>
>
> I have a qualcomm card (Bus 001 Device 004: ID 05c6:9221 Qualcomm, Inc.)
> in my VAIO Z690 and the 0.9np3 seems to turn it on/off via rfkill already.
> I have not tried to use it yet so maybe I am missing the point? it
> disappears from lsusb when I echo 0 to the rfkill entry named 'sony-wwan' it
> and reappears when I echo 1
>
> # cat /sys/class/rfkill/*/name
> sony-wifi
> sony-bluetooth
> sony-wwan
> phy0
> hci0
> # modinfo -Fversion sony-laptop
> 0.9np3dev
> # uname -r
> 2.6.31-ARCH
>
>
>
>> Comments welcome!
>>
>> Best wishes
>>
>> Norbert
>>
>>
>> -------------------------------------------------------------------------------
>> Dr. Norbert Preining                                        Associate
>> Professor
>> JAIST Japan Advanced Institute of Science and Technology
>> preining@xxxxxxxxxxx
>> Vienna University of Technology
>> preining@xxxxxxxx
>> Debian Developer (Debian TeX Task Force)
>> preining@xxxxxxxxxx
>> gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5
>> B094
>>
>> -------------------------------------------------------------------------------
>> IBSTOCK (n.)
>> Anything used to make a noise on a corrugated iron wall or
>> clinker-built fence by dragging it along the surface while walking
>> past it. 'Mr Bennett thoughtfully selected a stout ibstock and left
>> the house.' - Jane Austen, Pride and Prejudice, II.
>>                        --- Douglas Adams, The Meaning of Liff
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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