Linux Fedora 7 on Asus Z99J Series and Asus A8JN notebook

Installing Fedora 7 on
Linux on Asus Z99J Series and Asus A8JN

Last updated: 27/06/2007 – Work In Progress

General Hardware Specifications of Lifebook S 7110:

Hardware Components
Status under Linux
Notes
Intel Core 2 Duo T5500 Works No special procedure required during installation.
14.1 XGA TFT Display Works Select Generic LCD Display in Installer
Nvidia GEForce 7300 Works Follow this article
1 GB RAM Works No special procedure required during installation
120 GB SATA Hard Drive Works No special procedure required during installation
Internal Intel Wireless Networking (Wi-Fi Certified) Works

With ipw3945 driver: Follow this article

Integrated Network Card Works You need kernel >= 2.6.19
Special procedure required during installation.
Read below for more details
Internal 56k Modem Not Tested In progress
CD-RW DVD-RW Drive Works No special procedure required during installation
IrDA Not Tested In progress
Intel High Definition Audio Controller Works

You need Kernel 2.6.x.

Special procedure required during installation.
Read below for more details

USB Works No special procedure required during installation
ACPI Works Special procedure required during installation.
Read below for more details
PCMCIA/PCCARD Not tested In Progress
FireWire/IEEE1394 Work No special procedure required during installation
Card Reader Works Special procedure required during installation.
Read below for more details
Battery Works No special procedure required during installation
Webcam Works Special procedure required during installation.
Read below for more details

This laptop is operating under Kernel version 2.6.21

installazione di Fedora 7:

Operazioni post-installazione

Utili repository per Fedora core 7

Sound System – Audio

After installation i cannot hear audio.
The default conf do not work.
I have changed my modprobe.conf
(see below) and everything work correctly.

[root@trinity2 ~]# cat /etc/modprobe.conf
alias eth0 r8169
alias scsi_hostadapter ata_piix
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack
options snd-card-0 index=0

Webcam

On my Asus Z99Jseries (like a A8JN)
to make webcam work you have to install this software:
http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz
This is the home page:
http://mxhaard.free.fr/download.html
You have to follow this steps:

wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz
tar -zxvf gspcav1-20070508.tar.gz
cd gspcav1-20070508

make
make install
modprobe gspca

Now it work perfectly.
You can try it with vlc

If your image should be strange and with bad color change your
/etc/modprobe.conf :

add this line

options gspca force_rgb=1

else, if your image is too dark, try this line:

options gspca force_rgb=0 gamma=4

when you have a change reload the module before retry

modprobe -r gspca
modprobe gspca


You can change on the fly the gspca parameter here


cd /sys/module/gspca/parameters
autoexpo

compress

debug

force_rgb

gamma

GBlue

GGreen

GRed

lightfreq

OffBlue

OffGreen

OffRed

usbgrabber


to read them you can usa a cat

to change them use this:

echo “value” > parameter
this is a little description:

autoexpo:Enable/Disable auto exposure (default=1: enabled) (PC-CAM 600/Zc03xx/spca561a/Etoms Only !!!) (int)
debug:Debug level: 0=none, 1=init/detection, 2=warning, 3=config/control, 4=function call, 5=max (int)
force_rgb:Read RGB instead of BGR (int)
gamma:gamma setting range 0 to 7 3-> gamma=1 (int)
OffRed:OffRed setting range -128 to 128 (int)
OffBlue:OffBlue setting range -128 to 128 (int)
OffGreen:OffGreen setting range -128 to 128 (int)
GRed:Gain Red setting range 0 to 512 /256 (int)
GBlue:Gain Blue setting range 0 to 512 /256 (int)
GGreen:Gain Green setting range 0 to 512 /256 (int)
compress:Turn on/off compression (not functional yet) (int)
usbgrabber:Is a usb grabber 0x0733:0x0430 ? (default 1) (int)
lightfreq:Light frequency banding filter. Set to 50 or 60 Hz, or zero to NoFliker (default=50) (int)


Card Reader

Every info from:
http://gentoo-wiki.com/HOWTO_SD_and_MMC_card_readers


Lan

Driver only included in newer Kernels (RTL8168b/8111b), Module name “r8169” or alternatively the proprietary Realtek-driver “r1000“.
I recommend to use the build in kernel driver, because it’s making less trouble during an upgrade and it’s working as it should.

TouchPad

Synaptics Touchpad, works with the dafualt configuration obtained after installation (including scrollbars)

ACPI

modprobe asus-laptop
load the correct module, but i had good experience with slackware and
http://sourceforge.net/projects/acpi4asus

Installare il supporto per mp3 mplayer e dvd player

Installare Flash Palyer su Fedora Core 7

Installare True Type Font su Fedora Core 7

Installare RealPlayer su Fedora Core 7

Installare Adobe Reader su Fedora Core 7

Multimedia-Codecs su Fedora Core 7

Fedora 7 java runtime engine jre e java development kit jdk e firefox plugin

Beryl su KDE su Fedora Core 7

  • lspci

[root@trinity2 ~]# 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.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)

00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #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) SATA IDE Controller (rev 02)

01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)

02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

06:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller

06:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)

06:00.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)

06:00.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)

06:00.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

[root@trinity2 ~]#

  • lsusb

[root@trinity2 ~]# lsusb

Bus 003 Device 001: ID 0000:0000

Bus 002 Device 001: ID 0000:0000

Bus 001 Device 002: ID 093a:2500 Pixart Imaging, Inc.

Bus 001 Device 001: ID 0000:0000

Bus 005 Device 001: ID 0000:0000

Bus 005 Device 002: ID 0ac8:0321 Z-Star Microelectronics Corp.

Bus 004 Device 001: ID 0000:0000

[root@trinity2 ~]#

Contact Information:
  • e-mail address: mao17[at]katamail[dot]com

linux boot vga parameter value – grub and lilo

Valori del parametro vga= da passare a lilo o grub

This is the table of value for the vga parameter
in your lilo.conf or grub.conf (or menu.lst)
put:
vga=xxx

Reference value for x
640×480 800×600 1024×768 1280×1024 1152×864 1600×1200
8 bit 769 771 773 775 353 800
15 bit 784 787 790 793 354 801
16 bit 785 788 791 794 355 802
24 bit 786 789 792 795 803

per maggiori informazioni:
http://gentoo-wiki.com/HOWTO_fbsplash

Linux e webcam su asus A8JN e Z99J

Finalmente la Webcam FUNZIONA.
Sul mio Asus Z99Jseries (riconosciuto come un A8JN)
per installare la webcam è stato sufficiente scaricare il pacchetto
http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz

dal seguente sito

http://mxhaard.free.fr/download.html

e dare

make
make install
modprobe gspca

e ora FUNZIONA!!!

Potete provarla con l’ottimo VLC (File -> Apri periferica di acquisizione)
Se l’immagine dovesse avere strani colori aggiungete questa riga al file

/etc/modprobe.conf :
options gspca force_rgb=1

se invece l’immagine è troppo scura provate ad aggiungere questo:

options gspca force_rgb=0 gamma=4

e poi ricaricare il modulo con

modprobe -r gspca
modprobe gspca

Inoltre è possibile cambiare al volo i parametri di gspca

cd /sys/module/gspca/parameters


I parametri sono i seguenti:

autoexpo
compress
debug
force_rgb
gamma
GBlue
GGreen
GRed
lightfreq
OffBlue
OffGreen
OffRed
usbgrabber

per leggerli basta un cat

e per modificarli :

echo "_valore_" > _parametro_


Allego di seguito una breve descrizione dei parametri:

autoexpo:Enable/Disable auto exposure (default=1: enabled) (PC-CAM 600/Zc03xx/spca561a/Etoms Only !!!) (int)
debug:Debug level: 0=none, 1=init/detection, 2=warning, 3=config/control, 4=function call, 5=max (int)
force_rgb:Read RGB instead of BGR (int)
gamma:gamma setting range 0 to 7 3-> gamma=1 (int)
OffRed:OffRed setting range -128 to 128 (int)
OffBlue:OffBlue setting range -128 to 128 (int)
OffGreen:OffGreen setting range -128 to 128 (int)
GRed:Gain Red setting range 0 to 512 /256 (int)
GBlue:Gain Blue setting range 0 to 512 /256 (int)
GGreen:Gain Green setting range 0 to 512 /256 (int)
compress:Turn on/off compression (not functional yet) (int)
usbgrabber:Is a usb grabber 0x0733:0x0430 ? (default 1) (int)
lightfreq:Light frequency banding filter. Set to 50 or 60 Hz, or zero to NoFliker (default=50) (int)

Installare applicazioni per kde

./configure –prefix=`kde-config –prefix`
make
make install

in caso di errori, se non trova Qt aggiungere:
with-qt-dir=$QTDIR —with-qt-libraries=$QTDIR/lib –with-extra-libs=$QTDIR/lib
opuure a mano
with-qt-dir=/usr/lib/qt-3.3with-qt-libraries=/usr/lib/qt-3.3/lib –with-extra-libs=/usr/lib/qt-3.3/lib with-qt-include=/usr/lib/qt-3.3/include

Fedora 7 like mac osx with baghira

Ecco come fare:

yum install kdelibs-devel kdebase-devel libXtst-devel rpm-build

wget http://www.kde-look.org/CONTENT/content-files/59592-baghira.spec
mv 59592-baghira.spec /usr/src/redhat/SPECS/baghira.spec

wget http://mesh.dl.sourceforge.net/sourceforge/baghira/baghira-0.8.tar.bz2
mv baghira-0.8.tar.bz2 /usr/src/redhat/SOURCES

cd /usr/src/redhat/SPECS/
rpmbuild -bb baghira.spec

cd ../RPMS/i386/
rpm -Uhv baghira-0.8-1.i386.rpm

Adesso nel pannello di controllo di kde possiamo scegliere baghira come
tema e decorazione.

Saluti

Fedora java runtime engine jre e java development kit jdk e firefox plugin

Installo i pacchetti necessari:
yum install compat-libstdc++-296.i386 compat-libstdc++-33.i386
Installiamo la jre e la jdk
Andiamo su
http://java.sun.com/javase/downloads/index.jsp
e scarichiamo la jdk (ultima versione formato rpm)

chmod ugo+x jdk-6u1-linux-i586-rpm.bin
./jdk-6u1-linux-i586-rpm.bin
rispondere yes per accettare la licenza

[root@trinity2 ~]# ls /usr/bin/java -la
lrwxrwxrwx 1 root root 22 12 giu 20:56 /usr/bin/java ->
/etc/alternatives/java
[root@trinity2 ~]# ls -la /etc/alternatives/java
lrwxrwxrwx 1 root root 35 12 giu 20:56 /etc/alternatives/java ->
/usr/lib/jvm/jre-1.5.0-gcj/bin/java
[root@trinity2 ~]# rm /etc/alternatives/java
rm: rimuovere link simbolico `/etc/alternatives/java'? y
[root@trinity2 ~]# ln -s /usr/java/jdk1.6.0_01/bin/java
/etc/alternatives/java

[root@trinity2 ~]# java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

adesso abilitiamo il plugin per firefox
[root@trinity2 ~]# ln -s
/usr/java/jdk1.6.0_01/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/firefox-2.0.0.4/plugins/

Beryl su Fedora 7

Dopo aver risolto i problemi della scheda video (v. post precedente – che però segue questo 🙂 )
ho installato beryl

yum install beryl-kde

con questo cmd mi ha installato tutte le dipendenze e i pacchetti necessari

beryl-core.i386
beryl-kde.i386
beryl-manager.i386
beryl-plugins.i386
beryl-settings.i386
beryl-settings-simple.i386

A questo punto per attivare beryl non devo far altro che lanciare
beryl-manager

Per configurare beryl:
http://lunapark6.com/?p=2916&cp=3

Se si vuole lanciarlo in automatico… consiglio il seguente link.

Automatic installation of XGL, compiz and beryl on Fedora

http://nicofo.tuxfamily.org/dotclear/index.php/2007/02/23/25-automatic-installation-of-xgl-compiz-and-beryl-on-fedora

Fedora 7 nvidia driver e direct rendering problem

Oggi ho provato a installare i driver nvidia abilitando il direct rendering
non ce l'ho fatta.
Ho provato di tutto, ma l'installazione tramite i pacchetti rpm e yum
non ha dato nessun risultato.
Ogni volta che provavo il comando
glxinfo | grep rend

ottenevo
direct rendering: No

Alla fine, stufo e quasi rassegnato mi sono deciso e ho fatto
l'installazione manuale.
Ecco i passi necessari:

Scarico
http://us.download.nvidia.com/XFree86/Linux-x86/100.14.09/NVIDIA-Linux-x86-100.14.09-pkg1.run

poi un bel

telinit 3

yum remove kmod-nvidia.i686
yum install kernel-devel gcc

chmod ugo+x NVIDIA-Linux-x86-100.14.09-pkg1.run

./NVIDIA-Linux-x86-100.14.09-pkg1.run

seguo i passi necessari

quando ha finito ho dato un bel telinit 5

e…. magia…

glxinfo | grep rend
direct rendering: Yes
OpenGL renderer string: GeForce Go 7300/PCI/SSE2

Intel ipw3945 on Fedora 7

Intel ipw3945 on Fedora 7

Taken from the following website link. Copied and pasted hence the layout.

http://forums.fedoraforum.org/showthread.php?p=805589#post805589
http://fedoramobile.org/Members/ops…45-on-fedora-7/

This howto will show you how to blacklist/remove iwl3945 / mac80211 in Fedora 7 and install / use the “known working” ipw3945 kernel module / driver, microcode firmware, regulatory daemon and startup init script. For this you will need to have root privileges and have roots path/environment.

Applicable to Fedora Versions

* Fedora Core 7

Requirements
Explanation of requirements.

1. kernel-devel (kernel development files for building modules against the running kernel)
2. gcc (C++ compiler)
3. ipw3945-1.2.1.tgz (driver / kernel module)
4. ipw3945-ucode-1.14.2.tgz (microcode / firmware)
5. ipw3945d-1.7.22.tgz (regulatory daemon)
6. ipw3945 (startup init script)

Doing the Work

Basic description of what will be done and what is expected. Learn to become root here.

1. Blacklisting the offending modules:

Code:
#nano /etc/modprobe.d/blacklist

add these exact lines at the bottom then save and exit:

Code:
# iwl3945 blacklist iwl3945 blacklist mac80211

2. Reboot the system:

Code:
#] reboot

3. Create a temp directory on your desktop called ‘ipw3945’ and download the following files into it:

Code:
$] mkdir /home/$user/Desktop/ipw3945 (replace $user with your username)

http://prdownloads.sourceforge.net/….1.tgz?download
http://bughost.org/ipw3945/ucode/ip…code-1.14.2.tgz
http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz
http://fedoraos.org/ipw3945/ipw3945

4. Install kernel development packages and gcc compiler:

Code:
#] yum install kernel-devel gcc

5. Unpack the gzipped tarballs into the directory on your desktop called ‘ipw3945’ that we created earlier:

Code:
$] tar xvfz ipw3945-1.2.1.tgz
$] tar xvfz ipw3945-ucode-1.14.2.tgz
$] tar xvfz ipw3945d-1.7.22.tgz

6. Copy ucode firmware and regulatory daemon to their respective locations:

Code:
cp ipw3945-ucode-1.14.2/ipw3945-ucode /lib/firmware
cp ipw3945d-1.7.22/ipw3945d /sbin

(or choose the version for x86_64 if necessary)

7. Compile and copy the resuling kernel module to the correct location (for more options here see ‘more information’ below):

Code:
$] cd ipw3945-1.2.1 && make
$] su --login
#] cp /home/$user/Desktop/ipw3945/ipw3945-1.2.1/ipw3945.ko /lib/modules/2.6.21-1.3212.fc7/kernel/drivers/net/wireless/
#] chmod 744 /lib/modules/2.6.21-1.3212.fc7/kernel/drivers/net/wireless/ipw3945.ko
#] depmod -ae

8. Install startup init script:

Code:
#] cp /home/$user/Desktop/ipw3945/ipw3945 /etc/init.d
#] chmod +x /etc/init.d/ipw3945
#] chkconfig --add ipw3945 && chkconfig ipw3945 on

9. Reboot the system:

Code:
#] reboot

Troubleshooting
How to test
Explanation troubleshooting basics and expectations.

1. Configure the device:

Code:
#] system-config-network

new –> wireless connection –> Intel Corporation PRO/Wireless 3945ABG Network Connection –> forward

2. Restart the network:

Once you have disabled all other network cards, configured your ip address, gateway, DNS, subnet mask,
SSID, wifi channel, and encryption key:

Code:
# service network restart

Common problems and fixes

Many laptops with built in wireless have a WLAN switch that is a toggle switch for enabling/disabling the wireless radio.

Please make sure you check this is on, or your ipw3945 wireless adapter will not detect correctly or work at all.

Also, disable all other network cards before attempting to use the ipw3945.
More Information

Special Notes:

If you’d like Monitor Mode, Promiscuous Mode or RadioTap enabled for this device you will need to edit the Makefile in

Step 7 before compiling the kernel module uncomment the corresponding line(s):

Code:
CONFIG_IPW3945_MONITOR=y
CONFIG_IEEE80211_RADIOTAP=y
CONFIG_IPW3945_PROMISCUOUS=y

Added Reading

* http://fedoraos.org