Author Topic: [SOLVED] Install pclos on Asus ux31e  (Read 3133 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Install pclos on Asus ux31e
« Reply #15 on: May 24, 2012, 04:38:00 PM »
AR9485: this adapters should be supported from module ath9k_hw, available on kernel 2.6.38.8-pclos3 ...
(please provide the output from lspci -nnk )

Netgear N-300: this require support from module dkms-broadcom-wl, or from b43 module, the first will require to blacklist b43 and b43_legacy because they conflict, the second would need some firmware, search synaptic for b43-firmware-cutter ... (you may eventually copy the firmware file from one machine to another ...)

Dlink: that's supported from module rtl8192cu, available on newer kernel 3.2.18-pclos1, not available on 2.6.38.8-pclos3

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #16 on: May 24, 2012, 11:08:08 PM »
Quote
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel driver in use: i915
   Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
00:1b.0 Audio device [0403]: Intel Corporation 6 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel driver in use: HDA Intel
   Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b5)
   Kernel driver in use: pcieport
   Kernel modules: shpchp
00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
00:1f.0 ISA bridge [0601]: Intel Corporation QS67 Express Chipset Family LPC Controller [8086:1c4d] (rev 05)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel modules: iTCO_wdt
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel driver in use: ahci
   Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel modules: i2c-i801
02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485 Wireless Network Adapter [168c:0032] (rev ff)
   Kernel modules: ath9k
03:00.0 USB Controller [0c03]: Fresco Logic Device [1b73:1009] (rev 02)
   Subsystem: ASUSTeK Computer Inc. Device [1043:1427]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci-hcd
« Last Edit: May 24, 2012, 11:47:17 PM by gilado »

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #17 on: May 24, 2012, 11:46:10 PM »
Installed another distro 12.04 LTS (3.2.0 kernel) using their windows installer.

Everything works, wireless, function keys. had to add a script for suspend to work.

So I can install pclos but then how'd I get a newer kernel?

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #18 on: May 25, 2012, 01:40:15 AM »
The first lines in dmesg regarding ath9k when running ubuntu are
Quote
[   18.487936] ath9k 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[   18.487950] ath9k 0000:02:00.0: setting latency timer to 64
[   18.496224] ath: EEPROM regdomain: 0x60
[   18.496227] ath: EEPROM indicates we should expect a direct regpair map
[   18.496231] ath: Country alpha2 being used: 00
[   18.496233] ath: Regpair used: 0x60
[   18.496255] cfg80211: Updating information on frequency 2412 MHz for a 20 MHz width channel with regulatory rule:
[   18.496258] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[   18.496261] cfg80211: Updating information on frequency 2417 MHz for a 20 MHz width channel with regulatory rule:
[   18.496264] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)


Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Install pclos on Asus ux31e
« Reply #19 on: May 25, 2012, 02:59:06 AM »
Download the new kernel from testing section:

http://ftp.heanet.ie/mirrors/pclinuxos/apt/pclinuxos/2010/RPMS.testing/kernel-3.2.18-pclos1-1-1_as_2012.i586.rpm
http://ftp.heanet.ie/mirrors/pclinuxos/apt/pclinuxos/2010/RPMS.testing/kernel-devel-3.2.18-pclos1-1-1_as_2012.i586.rpm

you can also choose a different kernel, like i.e. bfs, but remember to always download both the kernel and the kernel-devel packages.

move them to your notebook, say on a external USB media, open a terminal:
Code: [Select]
su
cd    </path/where downloaded kernel are stored>
rpm -ivh kernel-3.2.18-pclos1-1-1_as_2012.i586.rpm  kernel-devel-3.2.18-pclos1-1-1_as_2012.i586.rpm
reboot immediately, upon reboot wait for dkms rebuild, will take a few minutes ...

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #20 on: May 25, 2012, 04:09:34 AM »
Thanks for the rpms!

Trying to install I got
Quote
# rpm -ivh kernel-3.2.18-pclos1-1-1_as_2012.i586.rpm kernel-devel-3.2.18-pclos1-1-1_as_2012.i586.rpm
error: Failed dependencies:
        dkms-broadcom-wl < 5.60.48.36-2 conflicts with kernel-3.2.18-pclos1-1-1_as_2012.i586
        dkms-fglrx < 8.930-3 conflicts with kernel-3.2.18-pclos1-1-1_as_2012.i586
        dkms-nvidia173 < 173.14.31-1 conflicts with kernel-3.2.18-pclos1-1-1_as_2012.i586
Quote

I removed the conflicting packages and tried again
Quote
# rpm -ivh kernel-3.2.18-pclos1-1-1_as_2012.i586.rpm kernel-devel-3.2.18-pclos1-1-1_as_2012.i586.rpm
Preparing...                ########################################### [100%]
   1:kernel-3.2.18-pclos1   ########################################### [ 50%]
cp: cannot stat `/usr/share/icons/large/mandriva.png': No such file or directory
cp: cannot stat `/usr/share/icons/large/mandriva.png': No such file or directory
   2:kernel-devel-3.2.18-pcl########################################### [100%]
« Last Edit: May 25, 2012, 04:29:48 AM by gilado »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Install pclos on Asus ux31e
« Reply #21 on: May 25, 2012, 04:46:47 AM »
What about the AR9485 ? does it work ?

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #22 on: May 25, 2012, 05:20:51 AM »
nope though it at least is recognized :(

however, i found this http://linuxwireless.org/en/users/Download/stable/#compat-wireless_3.2_stable_releases

installing 3.2.5-1 on top of the 2.6.38-8 kernel fixes the wireless. only this version!

i tried 3.3.1 and 3.4-rc3 with the 3.2.18 kernel with no success

there are other reasons to go with the 3.2.18 kernel, so i'm going to try again with a fresh reinstall

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #23 on: May 25, 2012, 10:10:31 AM »
i reinstalled, switched to the 3.2.18 kernel, wireless still did not work.

i then applied the patch using compat wireless 3.3.2. no luck.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: Install pclos on Asus ux31e
« Reply #24 on: May 25, 2012, 10:22:39 AM »
i reinstalled, switched to the 3.2.18 kernel, wireless still did not work.

i then applied the patch using compat wireless 3.3.2. no luck.


what about the Dlink usb adapter with kernel 3.2.18 ?

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #25 on: May 25, 2012, 04:34:47 PM »
Nope the dlink button (dwa-121) does not work with 3.2.18

However, after installing compat-wireless-3.3-2-n in 3.2.18 the AR9485 wireless now works

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #26 on: May 25, 2012, 09:03:41 PM »
I turns out that one you install 3.2.18 not only does it not have sound, but the preexisting installation of 2.6.38 also loses the sound.

Also noticed that 'right click' does not work with 3.2.18 kernel. It does work with the 2.6.38.8 kernels.
« Last Edit: May 25, 2012, 10:11:00 PM by gilado »

Online gilado

  • Hero Member
  • *****
  • Posts: 524
Re: Install pclos on Asus ux31e
« Reply #27 on: May 26, 2012, 12:13:23 AM »
So you really need to install an update in very particular manner to make sure 3.2.18 works correctly. I will  update the instructions at the top of this post accordingly.

Two tidbits:

1. I tested sound and mic using skype. Upon switch to 3.2.18 the microphone stopped working, and I had to change the setting in skype. the default worked in 2.6.38.

2. Right click was removed in 3.2 kernels. To work around that I installed touchpad-solution from synaptic.
« Last Edit: May 26, 2012, 12:36:34 AM by gilado »