Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: nedeto 27 Července 2011, 00:21:18
-
Zdravím,
mám ovladač v balíčku tar.gz a po rozbalení a zadání příkazu "make" se nestane nic. Jsem v linuxu začátečník, ale jak jsem se díval na videa, mělo by se začít něco samo od sebe dělat, ale kurzor stojí. Dělám přesně to co na videu, ale to make nemohu překonat. Díky za každou odpověď
-
v tom baliku by si mal mat daky navod - hladaj readme, INSTALL alebo nieco podobne, tam najdes presny postup..pred make by okrem toho mal ist najskor prikaz ./configure . tiez by si mal mat nainstalovany balik build-essential kde su nastroje potrebne pre kompilaciu. daky navod je tiez aj na wiki > http://wiki.ubuntu.cz/Instalace%20program%C5%AF/Zdrojov%C3%A9%20k%C3%B3dy
-
Ať se snažím jak se snažím, pořad někde dělám chybu. Nainstaloval jsem jak build-essential, tak i checkinstall a žádná změna. Zde jsou výpisy ze souboru:
FILE
CHANGES Recently changes logged
FILES This file
fsam7400.c The source code, what else... :)
INSTALL Installation instructions
Makefile Makefile to build, install, uninstall the module
README don't forget to read it
INSTALL
SW RF kill switch for Fujitsu Siemens Amilo M 7400
Copyright (C) 2006, zwobbl
For additional information, contact Marcel Naziri <fsam7400@zwobbl.de>
COMPILER REQUIREMENTS
--------- ------ ---- --- -- -- - -
You need to be using GCC v3.0 or higher in order to build the fsam7400 module.
Using older versions will result in several compilation errors.
INSTALLING THE BITS
------------ ----- ----- ---- --- -- -
# Unpack the source tarball
% tar xvzf fsam7400-0.x.y.tgz
% cd fsam7400-0.x.y
Make sure to be root when performing the following operations. Also you must
have a kernel source tree installed under /usr/src/linux
# Build the kernel module
% make
Debug output is enabled by default. This is a good idea if you use the fsam module for
the first time, so you get some nice information printed on kernel log. If you don't
need the messages anymore, you have to comment out the line CONFIG_IPW2100_DEBUG=y in
the Makefile.
# Install the kernel module
% make install
Now you are ready for...
LOADING THE DRIVER
------------ ----- ----- ---- --- -- -
Also easy to go... :)
% modprobe fsam7400
If you have set "wireless device" enabled in your "Advanced" bios settings of
your Amilo M 7400 radio should be turned on at this point. So you're done!
Watch out your kernel log if supported hardware was found. :)
RADIO STATE AT LOADING
You can override the wireless bios setting with
% modprobe fsam7400 radio=[0|1]
PROC FILESYSTEM
If your hardware is supported by the driver you will get an entry in /proc
called driver/wireless/radio which will give you state information by typing
% cat /proc/driver/wireless/radio
You can turn the radio on and off at your will with
% echo [1|on] > /proc/driver/wireless/radio
% echo [0|off] > /proc/driver/wireless/radio
The module also recognizes parameters to set the user- and/or group-ID to
something other than root, so you don't have to adjust it by hand.
Just select your favourite IDs and type
% modprobe fsam7400 uid=1000 gid=500
Note, that /proc/driver/wireless/radio will only be read- and writeable by
user & group and only readable by others.
If you want to see debug output on syslog use the following parameter when
loading the module
% modprobe fsam7400 debug=1
AUTOMATION FEATURES
By default the driver will turn off the radio automatically short before the
module is unloaded. To override this behaviour load the module adding the
following parameter
% modprobe fsam7400 autooff=0
Also since 0.4.0 the driver can automatically modprobe the ipw2100 module when
radio state changes to on and rmmods it when radio is turned off by fsam7400.
To enable autoload support, use
% modprobe fsam7400 autoload=1
HIBERNATION SUPPORT
After hibernation and boot up of the system the wireless radio might be disabled
again. To revert to the radio state before hibernation just put the following
in the wakeup script
% echo resume > /proc/driver/wireless/radio
That's all for now. Have fun with the driver!
README
SW RF kill switch for Fujitsu Siemens Amilo M 7400
README
Sep 24, 2006
Release 0.5.1
------------ ----- ----- ---- --- -- -
* Fix: possible null pointer dereference in proc code
* Fix: module exit code was mistakenly disabled
for prior changes see CHANGELOG
TODO
------------ ----- ----- ---- --- -- -
* Fix bugs (if there are any ;))
------------ ----- ----- ---- --- -- -
Have a look in INSTALL for further details to get things working!
License
------------ ----- ----- ---- --- -- -
Copyright(c) 2006 zwobbl. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The full GNU General Public License is included in this distribution in the
file called LICENSE.
Contact Information:
Marcel Naziri <fsam7400@zwobbl.de>
-
Takhle Ti asi někdo těžko poradí. :)
-
muzes ukazat co to presne dela ?
make --debug
-
$ make --debug
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-linux-gnu
Reading makefiles...
a nic víc
-
mas tam napisane ze to mas spustat s pravami root-a, teda
sudo make --debugsamozrejme v tom priecinku kde si to rozbalil..
-
mam to přes sudo a jsem v rozbalené složce s ovladačem.. nic
-
Also you must have a kernel source tree installed under /usr/src/linuxnechtělo by to náhodou nainstalovat balík linux-source?
-
linux-source nainstalován a pořád to samé...
-
dej link na ten zdrojak ... zkusim si ho zkompilovat
-
dik moc - http://www.manast.eu/linux/fsam7400-0.5.1.tar.gz
-
na ubuntu zda se to makefile nefunguje
proc to vlastne kompilujes? kernel obsahuje modul fsam7400, melo by stacitsudo modprobe fsam7400
jinak pro kompilaci mrkni zde
http://ubuntuforums.org/showthread.php?t=1726399
-
diky moc, už je vše OK
-
jak jsi to nakonec vyresil?
-
no, nešly mi klávesy pro zapnutí a vypnutí Wifi, tak jsem hledal návody a nakonec jsem došel k tomuto modulu.. poté jsem zadal
echo "0" > /proc/driver/wireless/radio //vypnutí wifi
echo "1" > /proc/driver/wireless/radio // zapnutí wifia vše jelo ok, ale zase Ubuntu 11.04 mi moc nesedí, tak jsem přešel zpět na 10.10 a tady mi nejede už vůbec nic.... Jedná se o Fujitsu-Siemens AMILO Pro v3405 na kterém je ovládání zapnutí a vypnutí wifi softwerově. Nevíte někdo co s tím?
-
btw když si v 11.04 po zadání jména uživatele dole na přihlašovací obrazovce vyberete ubuntu classic tak nemá co nesedět...