Linux on AsusF3Ja
From BrainKnowledge
Contents |
[edit] Notebook ASUS F3Ja
Work In Progressssss...
TODO:
- Audio.... ALSA 1.0.14r2
- Touchpad
- Video Camera
- Bluetooth
- SD/MMC Card Reader
- Suspend
[edit] Specification
http://www.asus.it/products.aspx?l1=5&l2=26&l3=316&model=1220&modelmenu=2
- Intel® Core™2 Duo Processor T5500
- Intel® 945PM Express Chipset
- 15,4’ WXGA (1280x800) Color shine
- 1GB DDR2 533MHz SDRAM
- ATI Mobility Radeon X1600, 256MB VRAM
- Intel® PRO/Wireless Intel Wireless 802.11a/b/g
- Realtek 10/100,1000 LAN
- Bluetooth v2.0 + EDR Module
- 1.3M MegaPixel camera
- Built-in Card Reader
- NO TPM chip :)
#lspci 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600] 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 06:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller 06:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19) 06:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01) 06:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
[edit] Slackware 11 install
http://www.slackware.com/ ...you know how it works?
[edit] Kernel upgrade
cd /usr/src tar jxvf linux-2.6.20.tar.bz2 cd tar jxvf linux-2.6.20.tar.bz2 make menuconfig
make clean make bzImage && make modules && make modules_install cp arch/i386/boot/bzImage /boot/bzImage-2.6.20-20070225 && cp System.map /boot/System.map-2.6.20-20070225 unlink /boot/System.map && ln -s /boot/System.map-2.6.20-20070225 /boot/System.map #vi /etc/lilo.conf lilo
[edit] Ethernet
Realtek RTL8111/8168B PCI Express Gigabit Ethernet
The Realtek drivers are not yet part of the last Linux kernel (2.6.20) download them from realtek site: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
cd /usr/src wget ftp://210.51.181.211/cn/nic/r1000_v1.05.tgz tar -zxvf r1000_v1.05.tgz cd r1000_v1.05 make clean modules make install depmod -a
[edit] Wireless
Intel Corporation PRO/Wireless 3945ABG
The drivers are not yet part of the last Linux kernel (2.6.20) download them from Intel site:
Recently (22/02/2007) new drivers have been published. Theese last drivers don't need the regulatory daemon. Don't follow instructions you can find on google about the old drivers.
Follow the HowTo on http://intellinuxwireless.org/?p=iwlwifi ...they are good!
cd /usr/src
wget http://intellinuxwireless.org/d80211/downloads/d80211-1.0.1.tgz tar xvf d80211-1.0.1.tgz cd d80211-1.0.1 make make patch_kernel
cd /usr/src/linux-2.6.20 make menuconfig #Networking -> <M> Generic IEEE 802.11 Networking Stack (dscape) #nb. non attivare Enable led_triggers, nel mio portatile causano un kernel panic make modules modules_install modprobe 80211
cd /usr/src/ wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-ucode-2.14.1.tgz tar xvf iwlwifi-ucode-2.14.1.tgz cp iwlwifi-ucode-2.14.1/iwlwifi-3945.ucode /lib/firmware/
cd /usr/src/ wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-0.0.8.tgz tar xvf iwlwifi-0.0.8.tgz cd iwlwifi-0.0.8 make make install
...for WPA support use WPA supplicant (not tested yes...hope it works with IPW)
cd /usr/src/ wget http://hostap.epitest.fi/releases/wpa_supplicant-0.5.7.tar.gz tar zxvf wpa_supplicant-0.5.7.tar.gz cd wpa_supplicant-0.5.7
echo 'CONFIG_DRIVER_HOSTAP=y #CONFIG_DRIVER_HERMES=y #CONFIG_DRIVER_MADWIFI=y #CONFIG_DRIVER_ATMEL=y #CONFIG_DRIVER_WEXT=y CONFIG_DRIVER_NDISWRAPPER=y #CONFIG_DRIVER_BROADCOM=y CONFIG_DRIVER_IPW=y #CONFIG_DRIVER_BSD=y #CONFIG_DRIVER_NDIS=y CONFIG_WIRELESS_EXTENSION=y CONFIG_IEEE8021X_EAPOL=y CONFIG_EAP_MD5=y CONFIG_EAP_MSCHAPV2=y CONFIG_EAP_TLS=y CONFIG_EAP_PEAP=y CONFIG_EAP_TTLS=y CONFIG_EAP_GTC=y CONFIG_EAP_OTP=y CONFIG_EAP_SIM=y CONFIG_EAP_AKA=y CONFIG_EAP_PSK=y CONFIG_EAP_SAKE=y CONFIG_EAP_GPSK=y CONFIG_EAP_PAX=y CONFIG_EAP_LEAP=y #CONFIG_PCSC=y ' > .config
make cp wpa_cli wpa_supplicant /usr/local/bin
[edit] Video Card
ATI Radeon Mobility X1600 I suggest to use ATI "non free" drivers. ATI drivers are often a couple of kernel versions late (on last kernel the ATI modules doesn't compile) Download ATI installer from http://ati.amd.com/support/drivers/linux/linux-radeon.html
mkdir ati-drivers/ cd ati-drivers/ wget --no-check-certificate https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/fglrx_6_8_0-8.34.8-1.i386.rpm chmod +x ati-driver-installer-8.34.8-x86.x86_64.run ./ati-driver-installer-8.34.8-x86.x86_64.run
If you have an error compiling the module try with the expert installation: do not install the module and then follow the section below.
Download form the same site "X.Org 6.8 Drivers" and search a patch on google ATI+linux+2.6.20+8.34+patch
wget --no-check-certificate https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.34.8-x86.x86_64.run rpm2tgz fglrx_6_8_0-8.34.8-1.i386.rpm tar -zxvf fglrx_6_8_0-8.34.8-1.i386.tgz cd lib/modules/fglrx/build_mod wget http://whoopie.gmxhome.de/linux/patches/2.6.20/fglrx-8.34.8-for-2.6.20.patch patch -p0 firegl_public.c fglrx-8.34.8-for-2.6.20.patch sh make.sh cp fglrx.ko /lib/modules/2.6.20/ depmod -a
Configure Xorg with aticonfig
aticonfig --initial --input=/etc/X11/xorg.conf
fglrxinfo should show ATI drivers
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Mobility Radeon X1600 OpenGL version string: 2.0.6334 (8.34.8)
If fglrxinfo is not like above and if OpenGL is slow (glxgears should reach some thousands FPS) add these lines in /etc/X11/xorg.conf
Section "DRI" Mode 0666 EndSection
also add the 1280x800 resolution in xorg.conf
[edit] Software ...and some packages
[edit] Swaret
As package manager I use Swaret - http://swaret.sourceforge.net/
wget http://heanet.dl.sourceforge.net/sourceforge/swaret/swaret-1.6.3-noarch-2.tgz installpkg swaret-1.6.3-noarch-2.tgz cp /etc/swaret.conf.new /etc/swaret.conf
Edit /etc/swaret.conf setting you slackware version and your linuxpackages best mirror ( http://linuxpackages.net )
VERSION=10.1 -> VERSION=11.0 REPOS_ROOT=Inode.at%http://linuxpackages.inode.at/Slackware-11.0
Upgrade all your packages.
swaret --update swaret --upgrade
[edit] GNOME
I suggest dropline gnome installer
wget http://kent.dl.sourceforge.net/sourceforge/dropline-gnome/dropline-installer-2.16-i686-2dl.tgz installpkg dropline-installer-2.16-i686-2dl.tgz dropline-installer
...choose the packages you need: I usually prefer a minimal installation for GNOME libraries
[edit] Firefox and flash player
swaret --search firefox swaret --install mozilla-firefox-2.0.0.1-i686-1 wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz tar -zxvf install_flash_player_9_linux.tar.gz chmod +x install_flash_player_9_linux/flashplayer-installer install_flash_player_9_linux/flashplayer-installer cd .. rm -rf install_flash_player_9_linux*
[edit] The great COWSAY :)
cd /usr/src wget http://www.nog.net/~tony/warez/cowsay-3.03.tar.GZ tar zxvf http://www.nog.net/~tony/warez/cowsay-3.03.tar.GZ cd cowsay-3.03 ./install.sh
echo ' fortune fortunes fortunes2 linuxcookie | cowthink -W 90 -T " U"' >> ~/.profile
...or edit /etc/profile.d/bsd-games-login-fortune.sh
[edit] Qemu
swaret --search sdl swaret --install sdl-1.2.11-i486-1
cd /usr/src wget http://fabrice.bellard.free.fr/qemu/qemu-0.8.2.tar.gz tar -zxvf qemu-0.8.2.tar.gz cd qemu-0.8.2 ./configure make make install cd /usr/src wget http://fabrice.bellard.free.fr/qemu/kqemu-1.3.0pre11.tar.gz tar -zxvf kqemu-1.3.0pre11.tar.gz rm -rf qemu-0.9.0* cd kqemu-1.3.0pre11 ./configure make make install
[edit] Openoffice
swaret --search openoffice swaret --install openoffice.org-2.1.0-i586-1kjz
...for national dictionaries follow instructions on openoffice local site: http://it.openoffice.org/linguistico/index.html
[edit] mplayer
You can find it on linux packages... this section is just to remember dependencies and how to install some broken packages
swaret --install libdvdcss swaret --install libdvd swaret --install libtheora swaret --install speex swaret --install jack swaret --install faac swaret --install libogg swaret --install libpng swaret --install libxmms
...this package doesn't work on Linuxpackages, do it yourself by hand
swaret --install libmpcdec swaret --remove libmpcdec-1.2.2-i686-1jto wget http://mirrors.unixsol.org/linuxpackages//Slackware-11.0/ken/libmpcdec-1.2.5-i486-1kjz.tgz installpkg libmpcdec-1.2.5-i486-1kjz.tgz ldconfig
swaret --search mplayer swaret --install MPlayer-codecs-essential-20061022-i686-1jto
...this package "try2" doesn't work on Linuxpackages... maybe a problem with filename... do it yourself by hand
swaret --install mplayer-1.0rc1try2-i486-1kjz
[edit] other stuff
swaret --install unrar-3.6.8-i486-1kjz
[edit] Author
- Ilias Bartolini
[edit] Thank's to
- People who share information on Internet

