martedì 3 luglio 2007
Slackware 12 su Asus Z99j o Aj8n - Gestione ACPI e tasti funzione
Sulla barra non compariva l'icona del controllo delle batterie e i tasti funzione non funzionavano :-)
Ecco come ho risolto:
In fondo al file /etc/rc.d/rc.modules ho aggiunto le seguenti righe:
#######################################################
## ACPI MAOX X ASUS
/sbin/modprobe asus_acpi
/sbin/modprobe video
/sbin/modprobe battery
/sbin/modprobe container
/sbin/modprobe button
/sbin/modprobe ac
/sbin/modprobe thermal
/sbin/modprobe processor
/sbin/modprobe fan
/sbin/depmod -ae
###########################################################à
In queso modo è comparsa l'icona delle batterie e posso gestire il risparmio energetico.
Per i tasti funzione:
in /etc/acpi ho modificato il file acpi_handler.sh come segue:
###########################################################
root@trinity2:/etc/acpi# cat acpi_handler.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions
IFS=${IFS}/
set $@
case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
hotkey)
case "$2" in
ATKD)
case "$3" in
0000005e)
logger "WIFI in Accenione..."
/etc/acpi/wifi_on.sh
logger "WIFI Acceso!"
echo "WIFI Acceso!" | wall
;;
0000005f)
logger "WIFI in Spegnimento..."
/etc/acpi/wifi_off.sh
logger "WIFI Spento!"
echo "WIFI Spento!" | wall
;;
00000032)
logger "MUTE / UNMUTE AUDIO..."
MUTE=`amixer get PCM | grep Left | grep -v Right | cut -d " " -f 9`
if [ $MUTE == [on] ]; then
/usr/bin/amixer set PCM mute
else
/usr/bin/amixer set PCM unmute
fi
;;
00000031)
logger "Abbasso il volume..."
amixer set PCM 2-
;;
00000030)
logger "Alzo il volume..."
amixer set PCM 2+
;;
*)
logger "AA $3 AA $4"
logger "BB $3 BB $4"
;;
esac
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined $3 AAA $4 BBBB $5 CCCC"
;;
esac
###############################################################
Con questo file riesco a controllare il volume e l'attivazione della wireless dai tasti funzione su linux.
Premendo Fn+F10 attivo o disattivo l'audio
Premendo Fn+F11 abbasso l'audio
Premendo Fn+F12 alzo l'audio
e, sempre in /etc/acpi/ ho aggiunto i seguenti file:
#################WIFI_ON############################################
root@trinity2:/etc/acpi# cat wifi_on.sh
#!/bin/bash
/sbin/ifconfig eth0 down
/sbin/modprobe ipw3945
/sbin/depmod -ae
/sbin/ipw3945d --quiet
sleep 5
/sbin/dhcpcd -d -t 15 eth1
#################################################################
#######################WIFI_OFF###############################
root@trinity2:/etc/acpi# cat wifi_off.sh
#!/bin/bash
/sbin/ifconfig eth1 down
/sbin/ipw3945d --kill
/sbin/ipw3945d --kill
killall ipw3945d
/sbin/rmmod ipw3945
/sbin/depmod -ae
/etc/rc.d/rc.inet1 restart
###############################################################
poi un bel
chmod ugo+x /etc/acpi/wifi_*
In questo modo posso attivare e disabilitare la wireless tramite la combinazione di tasti
Fn+F2
Come installare VMWare server su Fedora Core 7
http://www.howtoforge.com/vmware_server_fedora7
ecco il cuore della guida:
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
This happens because VMware Server isn't ready for a 2.6.21 kernel yet (the default kernel in Fedora 7 is 2.6.21.3). Therefore, we must patch VMware Server a little bit. This can be done as follows:
wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz
tar xvfz vmware-any-any-update110.tar.gz
cd vmware-any-any-update110
./runme.pl
The ./runme.pl command will continue the VMware Server installation. This time it should succeed, and again you can accept all default values. When it asks you
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]
you can either accept the default value or specify a location that has enough free space to store your virtual machines.
At the end of the installation, you will be asked to enter a serial number:
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:
Fill in your serial number for VMware Server.
After the successful installation, you can delete the VMware Server download file and the installation directory:
cd /home/falko/Desktop
rm -fr vmware-server-distrib
rm -f VMware-server-*.tar.gz
ATTENZIONE:
Può essere causa di errore l'assenza di xinetd, quindi prima di iniziare l'installazione assicurarsi di avere xinetd:
yum install xinetd
ATTENZIONE 2:
Una altra possibile causa di problemi è la presenza del file
/etc/vmware/not_configured
occorre eliminarlo:
rm /etc/vmware/not_configured
sabato 30 giugno 2007
Suspend to ram - sospensione in ram su Fedora 7
kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb vga=791 selinux=0 resume=/dev/sda3 quiet
In questa riga ho:to il suspend to disk e il suspend to ram
abilitato il frame buffer a una risoluzione di 1024x768x32
disabilitato il SELinux
Kismet su Fedora 7 con driver atheros (ath_pci)
Kismet su Fedora 7 con driver atheros (ath_pci)
yum install kismete cambiare la riga:
source=.....
in
source=madwifing_g,wifi0,atherosmadwifing_g
esci e salva.
lancia kismet....funzionaaaa!!!
Aircrack-ng su Fedora 7 con driver atheros madwifi-ng(ath_pci)
Aircrack-ng su Fedora 7 con driver atheros madwifi-ng(ath_pci)
Seguire i seguenti passaggi per patchare i driver:
ifconfig ath0 down
ifconfig wifi0 down
rmmod wlan_wep ath_rate_sample ath_rate_onoe ath_pci wlan ath_hal ath_rate_amrr 2>/dev/null
svn checkout http://svn.madwifi.org/trunk/ madwifi-ng
wget http://patches.aircrack-ng.org/madwifi-ng-r2277.patch
cd madwifi-ng
patch -Np1 -i ../madwifi-ng-r2277.patch
make
make install
depmod -ae
modprobe ath_pci
cd ..
wget http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
tar -zxvf aircrack-ng-0.9.1.tar.gz
cd aircrack-ng-0.9.1
make && make install
funzionaaaa!!!
si rimanda qui per la suite: http://aircrack-ng.org/doku.php#aircrack-ng_suite
Madwifi ng driver for atheros minipci wireless fedora 7
Sacrico i driver con un bel
wget http://ovh.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.3.1.tar.bz2
tar -jxvf madwifi-0.9.3.1.tar.bz2
cd madwifi-ng
make && make install && depmod -ae
modprobe ath_pci
adesso dovrebbe funzionare tutto.
un bel
iwconfig
di conferma e tutto è ok.
Se non dovesse funzionare provate a cercare su
/etc/sysconfig/network-script/ifcfg-wifi0
e modificate :
DEVICE=wifi0
con
DEVICE=ath0
Adesso tutto ok.
Bye
Codec Multimediali su Fedora Core 7
tar xjf all-20061022.tar.bz2
mkdir /usr/lib/win32
mv all-20061022/* /usr/lib/win32
rm -fr all-20061022
Installare Adobe Acrobat Reader su Fedora Core 7
Operating system: Unix/Linux Version: Linux (.rpm) Language: Italian
Dopo aver cliccato su continua lasciamo tutto com’è e clicchiamo du “Download Adobe Reader”. Installiamolo come al solito.
Installare Real Player su Fedora Core 7
Installare True Type Font su Fedora Core 7
TrueType Fonts
Dopo averli installati apriamo la shell, diventiamo root e diamo il seguente comando:
/etc/init.d/xfs restart
Installare Macromedia Flash Player su Fedora Core 7
da root
nano /etc/yum.repos.d/macromedia.repo e copincolliamo e salviamo questo[macromedia]e con questo abbiamo addato il repo Macromedia (serve solo per FlashPlayer).
name=Macromedia for i386 Linux
baseurl=http://macromedia.rediris.es/rpm/
#baseurl=http://macromedia.mplug.org/rpm/
#baseurl=http://sluglug.ucsc.edu/macromedia/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.rediris.es/FEDORA-GPG-KEY
yum -y install flash-plugin
Installare il supporto per mp3 mplayer e dvd player
rpm -ihv http://rpm.livna.org/livna-release-7.rpm
yum updatedi nuovo:
yum updateyum install mplayer-gui libdvdcss amarok-extras-nonfree gstreamer-plugins-ugly vlc yum -y install xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad libid3tag yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss
giovedì 28 giugno 2007
Fedora Core 7 on Fujitsu Lifebook S7110 - Linux on notebook
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 |
| Intel 945 | Works | . |
| 1 GB RAM | Works | No special procedure required during installation |
| 40 GB SATA Hard Drive | Works | No special procedure required during installation |
| Internal Atheros Wireless Networking (Wi-Fi Certified) | Works | With madwifi driver: |
| Integrated Network Card | Works | No special procedure required during installation |
| 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 | No special procedure required if using Kernel 2.6.x. ALSA Sound drivers required for Kernel 2.4.x |
| USB | Works | No special procedure required during installation |
| ACPI | Works | No special procedure required during installation |
| PCMCIA/PCCARD | Not tested | In Progress |
| FireWire/IEEE1394 | Not Tested | In Progress |
| Bluthoot | Not Tested | In Progress |
| Battery | Works | No special procedure required during installation |
| FingerPrint | Not Works |
This laptop is operating under Kernel version 2.6.21
installazione di Fedora 7:
Installare Flash Palyer su Fedora Core 7
Installare True Type Font su Fedora Core 7
Installare RealPlayer 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
Madwifi ng driver for atheros minipci wireless su Fedora Core 7
Aircrack-ng su Fedora Core 7 con driver atheros madwifi-ng(ath_pci)
Kismet su Fedora 7 con driver atheros (ath_pci)
Abilitare Frame Buffer a 1024x768 su Fedora Core 7
More Specific Information. Specific stuff such as:
- df -hl
Filesystem Dimens. Usati Disp. Uso% Montato su
/dev/sda2 34G 4,5G 28G 14% /
tmpfs 501M 0 501M 0% /dev/shm
- lspci
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (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 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.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
08:03.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
08:03.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
- lsusb
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
- e-mail address: mao17[at]katamail[dot]com
Problema con Samba fedora e SELinux
Qualsiasi condivisione provavo ad aprire ottenevo un bel ACCESSO NEGATO
e in particolare:
'/home/maox' does not exist or permission denied when connecting to
[maox] Error was Permission denied
[2007/05/25 20:39:34, 0] smbd/service.c:make_connection_snum(920)
[soluzione]
Per risolvere:
go to /etc/grub.conf and replace this:
CODE
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1
with this:
CODE
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 selinux=0
(note the selinux=0 part). the line may be different so if it is, just
add the selinux=0 part and it should work the same...
Reboot. Your system should work.
Adesso tutto funziona
--
principio di Napoleone:
non attribuire a malintenzione cio' che puo'
essere semplicemente spiegato come imbecillita'
--
MaoX Blog:
http://maox.blogspot.com
mercoledì 27 giugno 2007
Enable/disable SELinux on Fedora 7
Dalla console (o dalla modalità testuale) lanciare
system-config-securitylevel-tui
mercoledì 20 giugno 2007
Linux Fedora 7 on Asus Z99J Series and Asus A8JN notebook
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 | |
| 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. |
| 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:
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 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)
modprobe asus-laptop
load the correct module, but i had good experience with slackware and
http://sourceforge.net/projects/acpi4asus
Installare Flash Palyer su Fedora Core 7
Installare True Type Font su Fedora Core 7
Installare RealPlayer 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
Abilitare Frame Buffer a 1024x768 su Fedora Core 7
More Specific Information. Specific stuff such as:
- 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 ~]#
- e-mail address: mao17[at]katamail[dot]com
martedì 19 giugno 2007
linux boot vga parameter value - grub and lilo
This is the table of value for the vga parameter
in your lilo.conf or grub.conf (or menu.lst)
put:
vga=xxx
| | 640x480 | 800x600 | 1024x768 | 1280x1024 | 1152x864 | 1600x1200 |
|---|---|---|---|---|---|---|
| 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
lunedì 18 giugno 2007
Linux e webcam su asus A8JN e Z99J
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 gspcaInoltre è possibile cambiare al volo i parametri di gspca
modprobe 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)
fedora 7 - kde like mac osx - kde come mac osx con baghira
a very good step by step guide
http://baghira.sourceforge.net/OS_Clone-en.php
