Page 1 of 1

Problems with ath9k driver

Posted: 22. Oct 2011, 17:53
by zdia
At first, congratulations for this awesome distribution.

Two things don't work:

a) the touchpad
b) the wireless lan

While the lack of the touchpad doesn't bother me very much I wonder why the wlan does not work.
  • Wicd does not detect any wireless network. (In Zenwalk 6.4 it worked)
  • - lspci shows "Atheros AR928X Wireless Network Adapter"
  • - "lsmod | grep ath" shows no result
  • - "# modprobe ath9k" freezes
  • - # lsmod | grep ath
    ath9k 89142 1
    mac80211 181473 1 ath9k
    ath9k_common 1497 1 ath9k
    ath9k_hw 251635 2 ath9k,ath9k_common
    ath 11089 2 ath9k,ath9k_hw
    cfg80211 122542 3 ath9k,mac80211,ath
  • - # iwconfig
    lo no wireless extensions.
    eth0 no wireless extensions.
There is something wrong with this module.

So I downloaded http://www.orbit-lab.org/kernel/compat- ... -1.tar.bz2 and tried to compile it but got the following error message:

Code: Select all

# make
/home/dia/drivers/compat-wireless-3.1-rc8-1/config.mk:212: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
make -C /lib/modules/2.6.37.6-smp/build M=/home/dia/drivers/compat-wireless-3.1-rc8-1 modules
make: *** /lib/modules/2.6.37.6-smp/build: Datei oder Verzeichnis nicht gefunden.  Schluss.
Yes, I would like to use wext and iwconfig. So I have to load another kernel or build a new one?

Re: Problems with ath9k driver

Posted: 22. Oct 2011, 19:39
by Z0K4
zdia wrote: Two things don't work:
a) the touchpad
b) the wireless lan
a) The touchpad works in my 64 bit installation of Salix on my eMachines! If it works on eMachines it should work with every other laptop :mrgreen:

b)

Code: Select all

...CONFIG_WIRELESS_EXT=n...
Maybe you should have done this:

Code: Select all

./configure
make
make install
And in config change CONFIG_WIRELESS_EXT=n to CONFIG_WIRELESS_EXT=y
I'm not sure about that one! Wait for some more replies... Good luck and cheers! ;)

Re: Problems with ath9k driver

Posted: 23. Oct 2011, 14:58
by Shador
zdia wrote: Two things don't work:

a) the touchpad
Try adding 10-synaptics.conf to /etc/X11/xorg.conf.d:

Code: Select all

Section "InputClass"
	Identifier "touchpad"
	Driver "synaptics"
	MatchIsTouchpad "on"
	Option "TapButton1" "1"
	Option "TapButton2" "2"
	Option "TapButton3" "3"
	Option "VertEdgeScroll" "on"
	Option "VertTwoFingerScroll" "on"
	Option "HorizEdgeScroll" "on"
	Option "HorizTwoFingerScroll" "on"
	Option "CircularScrolling" "on"
	Option "CircScrollTrigger" "2"
	Option "EmulateTwoFingerMinZ" "0"
EndSection
zdia wrote:So I downloaded http://www.orbit-lab.org/kernel/compat- ... -1.tar.bz2 and tried to compile it but got the following error message:
You probably need to install kernel-source. Maybe a regression has been introduces in more recent kernels in the atk9k modules? I have no such hardware and does can't provide you with any clues what trick might be needed to make it work. The best I could find is this: https://www.linuxquestions.org/question ... le-853952/

Re: Problems with ath9k driver

Posted: 23. Oct 2011, 19:23
by pwatk
I know this doesn't help but I have exactly the same wireless card in two different machines running Salix64 13.37 without any issues using the ath9k module.

Tell a lie, I need to disable power management to stop the connection dropping every so often but thats a different issue.

Code: Select all

iwconfig wlan0 power off

Re: Problems with ath9k driver

Posted: 24. Oct 2011, 10:51
by zdia
a) Unfortunately the X-Server crahes after having added the synaptics configuration file ...

b) After having loaded the kernel-sources I could compile the ath9k driver. But when I tried to unload the old modules modprobe froze again. So probably there is some mismatch with the actual kernel.

Thanks for the hints.

Re: Problems with ath9k driver

Posted: 24. Oct 2011, 21:48
by Shador
Probably you need to change the driver. Errors? /var/log/Xorg.0.log

Re: Problems with ath9k driver

Posted: 25. Oct 2011, 17:08
by zdia
Here are the touchpad lines from /var/log/Xorg.0.log:

[ 30.984] (II) config/udev: Adding input device PS/2 Synaptics TouchPad (/dev/input/event7)
[ 30.984] (**) PS/2 Synaptics TouchPad: Applying InputClass "evdev pointer catchall"
[ 30.984] (**) PS/2 Synaptics TouchPad: always reports core events
[ 30.984] (**) PS/2 Synaptics TouchPad: Device: "/dev/input/event7"
[ 30.991] (--) PS/2 Synaptics TouchPad: Found 3 mouse buttons
[ 30.991] (--) PS/2 Synaptics TouchPad: Found relative axes
[ 30.991] (--) PS/2 Synaptics TouchPad: Found x and y relative axes
[ 30.991] (II) PS/2 Synaptics TouchPad: Configuring as mouse
[ 30.991] (**) PS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[ 30.991] (**) PS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 30.991] (II) XINPUT: Adding extended input device "PS/2 Synaptics TouchPad" (type: MOUSE)
[ 30.991] (**) PS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 30.991] (**) PS/2 Synaptics TouchPad: (accel) acceleration profile 0
[ 30.991] (**) PS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 30.991] (**) PS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 30.991] (II) PS/2 Synaptics TouchPad: initialized for relative axes.
[ 30.991] (II) config/udev: Adding input device PS/2 Synaptics TouchPad (/dev/input/mouse1)
[ 30.991] (II) No input driver/identifier specified (ignoring)

It seems the Xserver did not find any driver at all ...