GNOME Sensors Applet in Acer Aspire 4520

Sunday, October 7, 2007


(sorry, i dunno how to slow it down)

gnome sensors applet 1.8.1
http://sensors-applet.sourceforge.net/




















make sure you have install gnome-applet-sensors , lm_sensors, libsensors3, hddtemp (for monitoring harddisk) via yum.

to enable hddtemp recognized our harddisk, you need to change this file /etc/sysconfig/hddtemp

# hddtemp(8) daemon options. # Add at least the disk(s) you want to monitor here.

HDDTEMP_OPTIONS="/dev/sda"
#HDDTEMP_DAEMON_OPTIONS="-l 127.0.0.1"
HDDTEMP_DAEMON_OPTIONS="-d"
then, try restart hddtemp with '/etc/init.d/hddtemp restart' in terminal

nvidia GPU always show '-233 ° C',sorry because i don't know how to fix this yet :P


installing uvcvideo in acer aspire 4520

Monday, September 3, 2007

Hardware Browser


there is no official release files for uvcvideo, i only find it via svn, so based on this instructions u need to enter this command to install it.

1. open terminal (lets say you already have a folder name linuxzip in ~/linuxzip)

[planet@fedorasal linuxzip]$ svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
A trunk/uvc_ctrl.c
A trunk/uvc_queue.c
A trunk/uvc_video.c
A trunk/uvc_v4l2.c
A trunk/uvc_compat.h
A trunk/uvc_driver.c
A trunk/uvcvideo.h
A trunk/Makefile
Checked out revision 125.
[planet@fedorasal linuxzip]$
2. then
[planet@fedorasal linuxzip]$ cd trunk/
3. type make and lastly make install (as root)
[planet@fedorasal trunk]$ make
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-i686'
CC [M] /home/planet/Desktop/linuxzip/trunk/uvc_driver.o
CC [M] /home/planet/Desktop/linuxzip/trunk/uvc_queue.o
CC [M] /home/planet/Desktop/linuxzip/trunk/uvc_v4l2.o
CC [M] /home/planet/Desktop/linuxzip/trunk/uvc_video.o
CC [M] /home/planet/Desktop/linuxzip/trunk/uvc_ctrl.o
LD [M] /home/planet/Desktop/linuxzip/trunk/uvcvideo.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/planet/Desktop/linuxzip/trunk/uvcvideo.mod.o
LD [M] /home/planet/Desktop/linuxzip/trunk/uvcvideo.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.4-65.fc7-i686'
[planet@fedorasal trunk]$ make install
4. currently i only know that ekiga work with acer webcam, i doesn' t know if it work with others apps yet.

Free Image Hosting at www.ImageShack.us


ekiga 2.0.9 preferences

multiple application sound in Fedora 7



one of the commenter john perez asked me about sound system in fedora 7, actually i have same problem like him, i can't have sound in mplayer when i view youtube video, but if i closed youtube website, i can play mplayer, the problem is i can't have multiple sound like before, i have to turn off another application that use sound system, anyway i found the solution to fixed this bug, from here..
linuxquestions.org - multi application sound
1.just copy this code to /etc/asound.conf (as root)

pcm.!default {
type plug
slave.pcm "swmixer"
}

pcm.swmixer {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}
ctl.swmixer {
type hw
card 0
}
credit to dive
save it, and restart alsa sound with this command

/etc/init.d/alsasound restart

if u cant restart it, just relogout/ login again. then you can have sound system(minimize/bell) / audacious / youtube website playing sound together.

Posted by fedorasal at 9:38 AM 4 comments  

fedora 7 in acer aspire 4520

Thursday, August 30, 2007

personally, i choose this laptop because i can decided either to included windows or not , but i want to run fedora 7 instead linpus os. so here is my exprience with acer aspire 4520.
please note that my fedora 7 actually clone installation from desktop pc, i doing rsync to clone whole linux partition from my old desktop into this nice laptop.. : )

Item
Hardware Components
Status
Notes
CPUAMD
Turion 64x2 mobile technology TL-56
nvidia
works
kernel
2.22.4-65.fc7 smp
GraphicsNvidia
Geforce 7000M
works
used
livna nvidia kernel module* or from NVIDIA website
LCD
Panel
14.1" WXGA 1280x800
acer
crystalbrite tft lcd
works
just use normal display configuration in gome
Acer
Webcam
acer crystal eye 1.3worksinstall uvcvideo as kernel modules*
Disk
Storage
SATA 120 GB - ST9120822AS
works
using driver pata_amd -default
Ethernetnvidia
nforce ethernet
works
default nvidia ethernet or download/compile forcedeth & install as module*
WirelessAtheros
AR5BXB63
- mistakenly report as AR5006EG
swork
work with ndiswrapper modules as report by madwifi support list* read the following posted
SoundRealtek
- High Definition Audio
works
need to
download/compile realtek driver & install as module*
DVD
RW Super Multi Drive
DVD-Super Multi Double-Layer
drive (DVD+/-RW)
works
-HL-DT-ST default driver works like normal
BluetoothBluetooth
2.0
works
- but not test because doesn;t have :P
IrDAFIR
works
Stable FIR stack
ModemAgere
WinModem
Untested
- i used streamyx adsl :P
Built-in
Card Reader
Memory Stick reader, SDcard, Xd Card,
MMC
works
- work with Sandisk SD card 512Mb
FloppyN/A
-
-
TouchpadSynaptic
touchpad
works-works like normal,left,right, middle button , also work as scroll button
Acer
hotkey
hotkey for wireless,mail, bluetooth,??,??
works
-by using acer_acpi ,next post
(doesn't need this settings if use ndiswrapper)

full specification

nvidia GeForce 7000M
package from livna
xorg-x11-drv-nvidia-devel-100.14.11-1.lvn7
nvidia-graphics-helpers-0.0.21-22.fc7
xorg-x11-drv-nvidia-100.14.11-1.lvn7
kmod-nvidia-100.14.11-1.2.6.22.4_65.fc7
you can also download and install nvidia driver from - need to login as single users


Atheros AR5006EG or AR5007EG
Generally, atheros support under linux via madwifi package, but it take me 4 days to figure out that this card doesn't work in linux yet...silly me, i does'nt read the last line in compatible list... lol but i believe maybe if you try to compile your own kernel without 4k stack, it might be run successfully

Chip:
wi-fi.org says that is AR5006EG
Supports:
IEEE 802.11b, 802.11g
Notes:Dosen't
work at all.
Notes:DevID
0428
Notes:In
windows it's appears like AR5007EG
Notes:
.inf file information

.inf file in windows:
%ATHER.DeviceDesc.3067% = ATHER_DEV_04281468.ndi, PCI\VEN_168C&DEV_001C&SUBSYS_04281468 //References to this Device, Look ATHER_DEV_04281468.ndi ,an curiosity look DeviceDesc, = 3067
...
[ATHER_DEV_04281468.ndi.NT] //more parameters referencing this device
Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
BusType = 5
DelReg = 5211.DelReg
AddReg = 5211.reg, ATHER.reg, 5211.reg, 5212.abgmp.reg, customer3a.reg, ATHER_DEV_04281468.ID.REG
CopyFiles = ATHER.CopyFiles.nt, DEFAULTDESTDIRS
DelFiles = ATHER.DelIniFiles
//and the end of file we have
ATHER.DeviceDesc.3067 = "Atheros AR5007EG Wireless Network Adapter" // look that DeviceDesc.3067 references to AR5007EG.!!????

Notes:It's
returns Hal status 13, and sometimes hal status 3
Notes:In
Openhal the interface ath0 show up there aren't any communication, the
commands like iwlist return error.
Notes:Suported
by ndiswrapper ver 1.47 (use tarball package) with windows xp driver.
Notes:In
Fedora 7, crash (kernel panic) when try to load ndiswrapper (modprobe
ndiswrapper)
Notes:Crash
because default kernel limit stack to 4k. Need to recompile kernel with
CONFIG_4KSTACKS disabled.
(from
madwifi compatible list)

Acer Webcam CrystalEye webcam
currently this webcam run successfully in ekiga and cheese. You need to install uvc driver as kernel module, please note that this driver implements as V4L2, so if you got webcam apps, set it as v4l2 driver.
http://linux-uvc.berlios.de/#download

you should see this message after install this driver.
[root@fedorasal]# dmesg | grep uvc
uvcvideo: Found UVC 1.00 device Acer
CrystalEye webcam (064e:a101)
usbcore: registered new
interface driver uvcvideo

Sound
it seems like realtek HDA, so i grab source from here choose the Unix(Linux) > Others = Version 4.06b

wget ftp://202.65.194.212/pc/audio/realtek-linux-audiopack-4.06b.tar.bz2
tar -xvf realtek-linux-audiopack-4.06b.tar.bz2
cd realtek-linux-audiopack-4.06/

unpack alsa-driver-rt20070820.tar.bz2(use file-roller or command)
download realtek12.tar.gz (67.5kb) from here https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3104
patch this driver by overwrite into this folder
alsa-driver-rt20070820/pci/hda

then pack it back as alsa-driver-rt20070820.tar.bz2 , just use file-roller in gnome by right-click

this will fixed silent bug

run sh install.sh

then add the following lines in
/etc/modprobe.conf
options snd-hda-intel model=toshiba

restart or modprobe snd-hda-intel
thats all for now, sorry for my poor english. actually this is my first blog :P