Acer Aspire 7720 Z

From Gentoo Linux Wiki
Jump to: navigation, search

Contents

[edit] Hardware

Following list contains its hardware:

  • Processor Intel Dual Core T2310 @1.46GHz
  • Grapics card Intel X3100
  • 2Go RAM DDR2
  • 17" Screen
  • 160GB Hard Drive
  • Webcam Acer Cristal Eye
  • 802.11 b/g WLAN
  • Resolution 1440*900 (Widescreen)
Code: uname -a
Linux [...] 2.6.25-gentoo-r7 #23 SMP [...] i686 Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz GenuineIntel GNU/Linux
Code: lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
05:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
06:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
07:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
07:00.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
07:00.2 System peripheral: Ricoh Co Ltd Device 0843 (rev 12)
07:00.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
07:00.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

[edit] Installation Notes

File: /etc/make.conf
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"

INPUT_DEVICES="keyboard mouse synaptics evdev"
VIDEO_CARDS="i810 v4l vesa"
ALSA_CARDS="hda-intel"

USE="X acpi avi alsa bash-completion cdr cups css divx4linux dvd dvdread dri encode esd ffmpeg flac ftp gif gstreamer gtk -gnome gtk2
 hal gphoto2 imagemagick java jpeg -kde libwww lm_sensors mmx mp3 mpeg man mysql ncurses nsplugin ogg opengl pdf pdflib png posix slang
 sdl spell sse ssl tetex truetype vod vorbis unicode video usb win32codecs xosd xvid zlib"

[edit] CPU

[edit] Frequency scaling

Frequency scaling work perfectly with this processor.

Linux Kernel Configuration: Frequency scaling kernel config
Power management options  --->
           CPU Frequency scaling  --->
                         Default CPUFreq governor (ondemand)  --->
                         -*-   'performance' governor 
                         <*>   'powersave' governor
                         <*>   'userspace' governor for userspace frequency scaling
                         -*-   'ondemand' cpufreq policy governor
                         <*>   'conservative' cpufreq governor 

You should see the frequency of your processor decrease to 0.8GHz when CPU is idle, and increase to 1.46GHz on demand.

[edit] Sound Card

Using driver Intel HDA from the kernel (compiled as a module) everything works fine.

Linux Kernel Configuration: 2.6.25-gentoo-r7
 Device Driver  --->
              Sound --->
                   Alsa--->
                     PCI Device--->
                           [M] Intel HD Audio

Don't forget to load the module at boot time, add "snd-hda-intel" to /etc/modules.autoload.d/kernel-2.6

[edit] Xorg

File: /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option          "AIGLX" "true"
        InputDevice     "TouchPad" "AlwaysCore"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/dejavu"
        FontPath     "/usr/share/fonts/corefonts"
        FontPath     "/usr/share/fonts/cronyx"
        FontPath     "/usr/share/fonts/freefonts"
        FontPath     "/usr/share/fonts/sharefonts"
        FontPath     "/usr/share/fonts/Speedo"
        FontPath     "/usr/share/fonts/terminus"
        FontPath     "/usr/share/fonts/encodings"
        FontPath     "/usr/share/fonts/freefonts-ttf"
        FontPath     "/usr/share/fonts/intlfonts"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dri"
        Load  "record"
        Load  "GLcore"
        Load  "xtrap"
        Load  "dbe"
        Load  "glx"
        Load  "type1"
        Load  "freetype"
        Load    "ddc"
        Load   "drm"
        Load "synaptics"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "be"
EndSection


Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Driver "synaptics"
        Identifier "touchpad"
        Option "Device" "/dev/psaux"
        Option "Protocol" "auto-dev"
        Option "LeftEdge" "130"
        Option "RightEdge" "840"
        Option "TopEdge" "130"
        Option "BottomEdge" "640"
        Option "FingerLow" "7"
        Option "FingerHigh" "8"
        Option "MaxTapTime" "180"
        Option "MaxTapMove" "110"
        Option "EmulateMidButtonTime" "75"
        Option "VertScrollDelta" "20"
        Option "HorizScrollDelta" "20"
        Option "MinSpeed" "0.25"
        Option "MaxSpeed" "0.50"
        Option "AccelFactor" "0.035"
        Option "EdgeMotionMinSpeed" "200"
        Option "EdgeMotionMaxSpeed" "200"
        Option "UpDownScrolling" "1"
        Option "CircularScrolling" "1"
        Option "CircScrollDelta" "0.1"
        Option "CircScrollTrigger" "2"
        Option "SHMConfig" "on"

#always usefull
        Option "Emulate3Buttons" "on"
EndSection

Section "Monitor"
        #DisplaySize      370   230     # mm
        Identifier   "Monitor0"
        VendorName   "AUO"
        ModelName    "6287"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        Option     "DRI"        "TRUE"          # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
        Option  "AccelMethod" "XAA"
        Option  "XAANoOffscreenPixmaps" "true"
EndSection
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "dri"
          Group   0
            Mode         0666
EndSection


Section "Extensions"
#   Option "Composite" "Enable"
 EndSection

[edit] Touchpad

It's possible you have to modify some parameters via the xorg.conf file or some graphical tool (like gsynaptics or ksynaptics).

[edit] Networking

[edit] WIFI

Code: lspci
Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter 

Some atheros 5xxx cards are supported by madwifi-ng drivers included in the portage tree, but if you card does not work with this driver, you could look for "madwifi-nr-r3366+ar5007", compile and install it by hand. All you have to do (once you have donwloaded the file is

make && make install

You have to add thess lines to autoload modules configuration file.

File: /etc/modules.autoload.d/kernel-2.6
wlan_scan_sta
ath_pci

After that, your wifi device should work properly.

[edit] Ethernet

Code: lspci
Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express

Works out of the box.


[edit] Webcam

The Acer CrystalEye webcam works fine with linux-uvc package and load the uvcvideo module. You just have to install linux-uvc

emerge linuxuvc modproble uvcvideo

To make sure everything is ok and webcam is detected, after a reboot you can look for

uvcvideo: Found UVC 1.00 device Acer CrystalEye webcam

in the dmesg output. If you have this line, your device is properly detected and it should work properly.

You can test if the webcam works with luvc

emerge luvcview
luvcview -f yuv -w

or mplayer

mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 100

To record some videos, you could use ffmpeg:

ffmpeg -f video4linux2 -s 640x480 -r 25 -i /dev/video0 -f avi out.avi

Of course you could change the parameters.

[edit] SD Card Reader

Works out of the box, SD card is seen like mass storage usb device.

Personal tools
In other languages