PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Modul fsam7400 - Fehler - OpenSUSE 11.0



talcid
01.07.08, 13:58
Hallo zusammen,

ich habe Probleme das Modul fsam7400 zu kompilieren. Headers, make und Sources sind installiert. Ich bekomme in der Konsole (bei make) folgende Fehlermeldung:


make -C /lib/modules/`uname -r`/build SUBDIRS=/home/XXXXX/fsam modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default'
make -C /usr/src/linux-2.6.25.5-1.1 O=/usr/src/linux-2.6.25.5-1.1-obj/i386/default/. modules
/usr/src/linux-2.6.25.5-1.1/scripts/Makefile.build:46: *** CFLAGS was changed in "/home/XXXXXX/fsam/Makefile". Fix it to use EXTRA_CFLAGS. Schluss.
make[3]: *** [_module_/home/XXXXXX/fsam] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/default'
make: *** [fsam7400.ko] Fehler 2

Ohne dieses Modul kann ich meine wlan-Karte nicht anschalten. Hat jemand eine Idee ?

Vielen Dank

cu talcid

Rain_maker
01.07.08, 14:14
Eigentlich eindeutig:



/usr/src/linux-2.6.25.5-1.1/scripts/Makefile.build:46: ***

CFLAGS was changed

in "/home/XXXXXX/fsam/Makefile".

Fix it to use EXTRA_CFLAGS. Schluss.

Aber warte einfach ein paar Minuten, ich klöppel das schnell neu.

Rain_maker
01.07.08, 14:45
-- Downloadlinks gelöscht ---

talcid
01.07.08, 14:52
Es war klar wer hier antwortet. Einen freundlicheren, besseren und schnelleren Support kann man in Sachen LAN nirgends bekommen. Vielen Dank Rain_maker - Du bist wirklich ein LAN-Guru.

cu talcid

Rain_maker
01.07.08, 15:06
-- Downloadlinks gelöscht ---

joekeyjoe
03.08.08, 12:44
Hallo,

nach positiven Eindrue auf der Arbeit versuch ich gerade Linux bei mir zu Hause yu installieren und habe dabei dieses leidige Problem mit dem WLAN-Adapter meines Amilo-M7400. Habe die oben angegeben fsam7400 packages runtergeladen und auch versucht zu installieren. Leider bleibt mein Laptop immer haengen, sodass ich dann irgendwann mit Ctrl+C abbreche, weil absolut nichts mehr passiert. Weiss jemand weiter?

Gruss,
joekeyjoe

rpmbuild --rebuild fsam0.5.rm.2.src.rpm
Installing fsam0.5.rm.2.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3460
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf fsam7400-0.5.1
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/fsam7400-0.5.1.tgz
+ tar -xvvf -
drwxr-xr-x zwobbl/zwobbl 0 2006-09-24 15:17 fsam7400-0.5.1/
-rw-r--r-- zwobbl/zwobbl 1133 2006-09-24 15:16 fsam7400-0.5.1/CHANGELOG
-rw-r--r-- zwobbl/zwobbl 220 2006-09-22 03:27 fsam7400-0.5.1/FILES
-rw-r--r-- zwobbl/zwobbl 11365 2006-09-24 15:11 fsam7400-0.5.1/fsam7400.c
-rw-r--r-- zwobbl/zwobbl 3095 2006-09-22 13:56 fsam7400-0.5.1/INSTALL
-rw-r--r-- zwobbl/zwobbl 18670 2006-09-22 13:42 fsam7400-0.5.1/LICENSE
-rw-r--r-- zwobbl/zwobbl 1375 2006-09-22 14:39 fsam7400-0.5.1/Makefile
-rw-r--r-- zwobbl/zwobbl 1528 2006-09-24 15:16 fsam7400-0.5.1/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fsam7400-0.5.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (fsam7400-0.5.1-2.6.19.1.patch):'
Patch #0 (fsam7400-0.5.1-2.6.19.1.patch):
+ patch -p1 -s
+ echo 'Patch #1 (fix-CCFLAGS.diff):'
Patch #1 (fix-CCFLAGS.diff):
+ patch -p0 -s
+ set -- CHANGELOG FILES fsam7400.c INSTALL LICENSE Makefile README
+ mkdir source
+ mv CHANGELOG FILES fsam7400.c INSTALL LICENSE Makefile README source/
+ mkdir obj
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3460
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/fsam7400-0.5.1-build
++ dirname /var/tmp/fsam7400-0.5.1-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/fsam7400-0.5.1-build
+ cd fsam7400-0.5.1
+ for flavor in debug default lockdep pae xen
+ rm -rf obj/debug
+ cp -r source obj/debug
+ make -C /usr/src/linux-obj/i586/debug modules M=/usr/src/packages/BUILD/fsam7400-0.5.1/obj/debug
make: Entering directory `/usr/src/linux-2.6.25.11-0.1-obj/i386/debug'
make -C /usr/src/linux-2.6.25.11-0.1 O=/usr/src/linux-2.6.25.11-0.1-obj/i386/debug/. modules
^Cmake[2]: *** [_module_/usr/src/packages/BUILD/fsam7400-0.5.1/obj/debug] Interrupt
make[1]: *** [sub-make] Interrupt
make: *** [all] Interrupt

Rain_maker
03.08.08, 13:01
--- Downloadlinks gelöscht ---

Rain_maker
28.08.08, 15:56
Fürs Protokoll:

http://www.zwobbl.de/2007/11/05/fsam7400-rfsam-are-obsolete/



By chance I found that support for radio switching and the hotkey buttons is already in recent linux kernel.

I think it’s included since 2.6.17, but a bit hard to find. The module is called wistron_btns, so try to

modprobe wistron_btns

and you are done, if your distribution kernel has it included.

If you compile your own kernel, you can activate the wistron_btns at

Device Drivers --->
Input device support --->
Miscellaneous devices —>
<M> x86 Wistron laptop button interface

To activate support for the hotkey buttons use a input device section like this in your xorg.conf

Section "InputDevice"
Identifier "Notebook Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de+acer_laptop"
Option "XkbVariant" "nodeadkeys"
EndSection

The most important thing here is to add acer_laptop to the XkbLayout. With that you are able to bind your hotkey buttons to shortcuts e.g. in kcontrol.

Happy notebooking!

Zumindest einen Versuch wert, openSUSE 11.0 beinhaltet besagtes Modul per default.



modinfo wistron_btns
filename: /lib/modules/2.6.25.16-0.1-default/kernel/drivers/input/misc/wistron_btns.ko
version: 0.3
license: GPL v2
description: Wistron laptop button driver
author: Miloslav Trmac <mitr@volny.cz>
srcversion: CFA615576F1BB808675D018
depends: input-polldev,led-class
vermagic: 2.6.25.16-0.1-default SMP mod_unload 586
parm: force:Load even if computer is not in database (bool)
parm: keymap:Keymap name, if it can't be autodetected [generic, 1557/MS2141] (charp)

Greetz,

RM