Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: zapnutie Wifi acerhk [vyřešeno]  (Přečteno 4151 krát)

ZERO55

  • Návštěvník
  • Příspěvků: 36
zapnutie Wifi acerhk [vyřešeno]
« kdy: 03 Listopadu 2009, 19:42:06 »
Zdravim vsetkych ako som si naistaloval 9.10 tak je treba rozbehat wifi tlacidlo
Mam notebook Prestigio Nobile 157
V predchadzajucich veziach mi to slo prikazom
Kód: [Vybrat]
sudo modprobe acerhk poll=1 autowlan=1ted i vsak vypisuje FATAL: Module acerhk not found
naistaloval som aj Acerhk-source zcez synaptic nepomohlo.
vypis z iwconfig
Kód: [Vybrat]
eth0      no wireless extensions.

eth1      radio off  ESSID:off/any  
          Mode:Managed  Channel:0  Access Point: Not-Associated  
          Bit Rate:0 kb/s   Tx-Power=off   Sensitivity=8/0  
          Retry limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

nas0      no wireless extensions.

ppp0      no wireless extensions.
dakujem
« Poslední změna: 23 Ledna 2010, 02:54:33 od kiklhorn »
Prestigio Nobile 157 - ubuntu 10.04 + winxp
Asus eee 1005P - win xp + ubuntu 11.04

ZERO55

  • Návštěvník
  • Příspěvků: 36
Re: zapnutie Wifi acerhk
« Odpověď #1 kdy: 10 Listopadu 2009, 21:40:54 »
Tak som podla navodov skusal aj kompilovat balik "acerhk-0.5.35"
Dal som sa do priecinka zo zlozkami a zadal som:
Kód: [Vybrat]
~/acerhk-0.5.35$ ./Makefile
./Makefile: riadok 4: KERNELSRC?=/lib/modules/2.6.31-14-generic/build: No such file or directory
./Makefile: riadok 6: KERNELSRC: príkaz nenájdený
./Makefile: riadok 6: KERNELSRC: príkaz nenájdený
./Makefile: riadok 6: shell: príkaz nenájdený
./Makefile: riadok 6: shell: príkaz nenájdený
./Makefile: riadok 7: KERNELVERSION: príkaz nenájdený
./Makefile: riadok 7: shell: príkaz nenájdený
./Makefile: riadok 14: CONFIG_ACERHK?=m: príkaz nenájdený
./Makefile: riadok 15: CONFIG_ACERHK: príkaz nenájdený
./Makefile: riadok 15: obj-: príkaz nenájdený
./Makefile: riadok 17: -Wall: príkaz nenájdený
./Makefile: riadok 18: KERNELSRC: príkaz nenájdený
./Makefile: riadok 20: chyba syntaxe neďaleko neočakávaného tokenu „$(KERNELMAJOR),“
./Makefile: riadok 20: `ifeq ($(KERNELMAJOR), 2.6)'
a tu som skoncil neviete co mam dalej s tym robit?
Pridavam aj obsah priecinka Install
Kód: [Vybrat]
Installation
************

1. You need the kernel sources (or kernel headers for your kernel)
installed to compile the driver.

2. Your kernel needs loadable module support with version information for
modules enabled. Usage of procfs is highly recommended.
If you want the driver to generate regular keyboard events using
kernel version 2.4 you need the input system of the kernel enabled
(Input core support AND keyboard support). In kernel version 2.6 all
needed functionality should be available by default.

In most cases you can skip the next step, the Makefile tries do determine
the correct directory on its own. Change KERNELSRC only if the autodetection
does not work for you. Otherwise proceed directly with step 4.

3. Before you compile the driver, change KERNELSRC in the makefile to your
path to the kernel build environment. If you are using a self compiled kernel,
point it to the root of your sources. If you are using a packaged kernel of
your distribution, install the package with kernel headers
(Debian:kernel-headers) and point KERNELSRC to where the headers and config
files are located. If you are using Debian, this
would be "/lib/modules/<kernelversion>/build".

4. Do:
make
to compile the driver. If you run into problems because of the makefile not
recognizing your kernel version correctly, try this:
make acerhk.o - kernel version 2.4
make acerhk.ko - kernel version 2.6

5. Do:
make install
to automatically copy the driver into the kernel module library. If you've
done so, proceed directly with step 8. If you want to install the module
binary yourself (because you want a different location), use steps 6 and 7
instead.

6. Copy the created file "acerhk.o" ("acerhk.ko" with version 2.6) to your
kernel modules path. In Debian this could be
"/lib/modules/<kernelversion>/kernel/drivers/extra/".

7. Update module dependencies: depmod -a

8. Try loading the module with:
insmod/modprobe acerhk
If it succeeds - congratulations! If you have procfs enabled, you can try the
following to test the driver:

Non-Dritek models:
Press one of the special keys and after that:
cat /proc/driver/acerhk/key
to read the (hexadezimal) code of the key pressed. It should
be different from 0x00.
(Note: You mustn't have the polling feature enabled for this to work, so load
 the module with poll=0)

Dritek-models:
Press one of the special keys and look for the generated key with "xev". If
there is none, then you should see at least kernel messages about using
setkeycodes.

If your notebook has a mail led you can try this:
echo on > /proc/driver/acerhk/led
This should sete the mail led to blinking mode.
echo off > /proc/driver/acerhk/led
turns it off again.
See README for further usage information.

If the module didn't load look into your kernel messages what went wrong. If
you see something like the following lines:
acerhk: could not find request handler
acerhk: can't find ROM area
acerhk: unloaded
then your hardware is not recognized. See README for supported models. If it
won't work on your notebook, please contact me and I will see if I can fix
that.

Integrating the driver into kernel tree version 2.6
***************************************************

If you want the driver to fully integrate into the kernel tree of version 2.6
proceed as follows:
1. Copy the acerhk directory into the source tree, for instance
/usr/src/linux/drivers/misc/acerhk
2. Include the driver directory in the config files. Add to the Kconfig
file of the parent directory(/usr/src/linux/drivers/misc/Kconfig):

config ACERHK
       tristate "Acerhk driver"
       depends on EXPERIMENTAL
       ---help---
               This is an experimental acer keyboard driver for
               acer laptops

3. Include the acer directory in it's parents
Makefile(/usr/src/linux/drivers/misc/Makefile):

obj-$(CONFIG_ACERHK)   +=      acerhk/

4. In this case you also need to activate the misc drivers first
(/usr/src/linux/drivers/Kconfig):

source "drivers/misc/Kconfig"

If that's done, you should be able to select the driver from the configuration
programm and build the module.
naviete mi niekto poradit kde som spravil chybu?
mam verziu jadra
Kód: [Vybrat]
uname -r
2.6.31-14-generic
Prestigio Nobile 157 - ubuntu 10.04 + winxp
Asus eee 1005P - win xp + ubuntu 11.04

Martin Kiklhorn

  • Člen občanského sdružení Ubuntu ČR a placené komunitní podpory
  • Administrátor fóra
  • Závislák
  • ******
  • Příspěvků: 4807
  • グーグル!ご存知ですか?
    • HEJ
Re: zapnutie Wifi acerhk
« Odpověď #2 kdy: 18 Listopadu 2009, 23:53:44 »
Tak som podla navodov skusal aj kompilovat balik "acerhk-0.5.35"
Dal som sa do priecinka zo zlozkami a zadal som:
Kód: [Vybrat]
~/acerhk-0.5.35$ ./Makefile

Kód: [Vybrat]
make
Jsou ve vašem dotazu OPRAVDU VŠECHNY vám dostupné informace o problému?
Linux user since 2007-10-11, Registered #456007
Virtual
| Distribuce
~/slozka znamená /home/"vase jmeno"/slozka
6521 69DE 0F34 FCBC FB1D  DE76 360E 52B2 F71A B8E8

ZERO55

  • Návštěvník
  • Příspěvků: 36
Re: zapnutie Wifi acerhk
« Odpověď #3 kdy: 20 Prosince 2009, 17:36:40 »
ked zadam make tak mi to vyhodi
Kód: [Vybrat]
$ make
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/miroslav/Stiahnuté/acerhk-0.5.35 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/miroslav/Stiahnuté/acerhk-0.5.35/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/miroslav/Stiahnuté/acerhk-0.5.35] Chyba 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [acerhk.ko] Chyba 2
Prestigio Nobile 157 - ubuntu 10.04 + winxp
Asus eee 1005P - win xp + ubuntu 11.04

petertomasy

  • Stálý člen
  • **
  • Příspěvků: 856

ZERO55

  • Návštěvník
  • Příspěvků: 36
Re: zapnutie Wifi acerhk
« Odpověď #5 kdy: 15 Ledna 2010, 11:42:32 »
je to bug https://bugs.launchpad.net/ubuntu/+source/acerhk/+bug/390007 stiahni si https://launchpad.net/~bhavi/+archive/bhavi-upstream-testing/+build/1111570/+files/acerhk-source_0.5.35-8ubuntu1_all.deb a pomocou module assistant nainštaluj je to easy.
zdravim mohli by ste mi dat taky strucny navod ako to naistalovat pomocou toho module assistantu
Dakujem
Prestigio Nobile 157 - ubuntu 10.04 + winxp
Asus eee 1005P - win xp + ubuntu 11.04

petertomasy

  • Stálý člen
  • **
  • Příspěvků: 856
Re: zapnutie Wifi acerhk
« Odpověď #6 kdy: 15 Ledna 2010, 20:24:02 »

ZERO55

  • Návštěvník
  • Příspěvků: 36
Re: zapnutie Wifi acerhk
« Odpověď #7 kdy: 16 Ledna 2010, 16:15:50 »
VYRIESENE
Dakujem uz mi to slape v pohode.
Prestigio Nobile 157 - ubuntu 10.04 + winxp
Asus eee 1005P - win xp + ubuntu 11.04

 

Provoz zaštiťuje spolek OpenAlt.