(04/12/2008 14:43)pain90 Ha scritto: iniziato a lavorare adesso, ho preso la versione live, per caricarsi ci ha messo 5 minuti, un eternità e mi ha subito dato problemi con x server, adesso stò provando a risolvere
ho trovato questo in rete...fammi sapere se funge
[edit] Kernel config
Linux Kernel Configuration:
General setup --->
[*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
(/usr/share/v86d/initramfs) Initramfs source file(s)
[*]Enable loadable module support --->
[*] Automatic kernel module loading.
-*- Enable the block layer -->
IO Schedulers --->
Default I/O scheduler (No-op)
Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
PCCARD (PCMCIA/CardBus) support --->
< > PCCard (PCMCIA/CardBus) support
Networking --->
Wireless --->
<*> Improved wireless configuration API
<*> Generic IEEE 802.11 Networking Stack
Device Drivers --->
< > ATA/ATAPI/MFM/RLL Support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
<*> AHCI SATA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
<*> Generic ATA support
<*> Intel PATA MPIIX support
<*> Intel PATA old PIIX support
[*] Network device support --->
[*] Ethernet (1000 Mbit) --->
<*> Realtek 8169 gigabit ethernet support
Wireless LAN --->
[*] Wireless LAN (IEEE 802.11)
[ ] PCMCIA network device support --->
Multimedia devices --->
<*> Video For Linux
<*> DAB adapters
Character devices --->
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver) --->
Graphics support --->
<*> Support for frame buffer devices
<*> Userspace VESA VGA graphics support
<*> VESA VGA graphics support
<*> Intel 830M/845G/852GM/855GM/865G/915G/945G support (EXPERIMENTAL)
Console display driver support --->
<*> Framebuffer Console support
[*] Map the console to the primary display device
Sound --->
<*> Sound card support
< > Advanced Linux Sound Architecture
< > Open Sound System
<*> MMC/SD card support --->
<*> Secure Digital Host Controller Interface support (EXPERIMENTAL)
<*> TI Flash Media MMC/SD Interface support (EXPERIMENTAL)
[edit] Kernel notes:
* "Automatic kernel module loading" is needed for Wifi drivers to install.
* If Intel 82801G RTL8101E PCI-E Ethernet doesn't work after you boot your freshly compiled kernel, then remove "<*> Realtek 8169 gigabit ethernet support" from above and get the driver as written in Acer Aspire One A110L#Hardware
* I used Core2 as the processor family in the Kernel config. It seems like the appropriate choice because the processor family matches in /proc/cpuinfo. Vsnine 16:30, 22 August 2008 (UTC)
Prevents the kernel from searching for the non-existing floppy drive
Linux Kernel Configuration:
Device Drivers --->
[*] Block devices
< > Normal floppy disk support
[edit] Video
[edit] Installing X.org
To install X.org with everything you need, edit /etc/make.conf, and add VIDEO_CARDS and INPUT_DEVICES:
Code: Editing: /etc/make.conf
VIDEO_CARDS="i810"
INPUT_DEVICES="keyboard synaptics mouse"
This will keep your settings, and supply support for the keyboard, touchpad, and external mice.
Now install xorg-x11:
Code: Install X.org
emerge -av xorg-x11
Now go get a cup of coffee, or two, because this will take very long time to complete.
[edit] Configure X
After xorg-x11 is installed, configure it by running xorgcfg. Once the configuration program is loaded (we only need it to see if X window system works and for a raw config file), hit Ctr+Alt+Backspace to go back to the command line prompt. Copy the ~/xorg.conf.new to /etc/X11/xorg.conf.
Now fire up your favourite text editor (ex.: nano) to add the following to /etc/X11/xorg.conf:
Warning: Pay special attention to the comments (text after #). They are necessary to set a proper font size. Otherwise the fonts in various programs will be quite large.
To configure the graphics card:
Code: Editing: /etc/X11/xorg.conf
Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "Mobile 915GM/GMS/910GML Express Graphics Controller"
BusID "PCI:0:2:0"
Option "NoDDC" # You need this to set correct DPI (HUGE font issue).
EndSection
...
Section "Monitor"
...
DisplaySize 195 113 # This whill set correct DPI (96 x 96)
...
EndSection
...
Section "Screen"
...
SubSection "Display"
Viewport 0 0
Modes "1024x600"
Depth 24
EndSubSection
EndSection
NOTE: - I believe that xorgcfg will select the driver "intel" for the graphics card. YMMV.
To configure the touch pad:
Code: Editing: /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Mouse0"
Driver "synaptics" # This will enable scrolling, etc...
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0" # Touchpad.
Option "ZAxisMapping" "4 5 6 7"
Option "CorePointer"
EndSection
To configure an external USB mouse:
Code: Editing: /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mouse1"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
Option "SendCoreEvents" # '''DON'T FORGET THIS'''
EndSection
[edit] WLAN
See Atheros 5xxx and if you are using MadWifi, see the AR5006EG guide. Configure your card as described at Wireless/Configuration.
If you get the WLAN device up and working but can't list or associate with any access points, try flipping the wireless switch on the front-right of the laptop. It appears to have a physical switch which turns the wireless device off. Without the LEDs, it's difficult to tell if it's on or off.
I had to use the madwifi drivers from a recent snapshot [1] (not the trunk) otherwise the driver module would load, but fail to create any device. You can verify by using dmesg and checking for a problem reported by ath0 re the HAL and 0xe2. Also make sure you add 'madwifi' to your USE flags before compiling wpa_supplicant or it will not find the madwifi driver.
[edit] Sound
The was no support for Intel 82801G High Definition Audio in kernel-2.6.25. If, for some reason, emerge alsa-driver fails at compile time. You need to download latest alsa-drivers and install them manually (download latest alsa-driver from official ALSApage):
Code: Installing sound card
tar xvjf alsa-driver-1.0.17.tar.bz2
cd alsa-driver*
./configure --with-cards=hda-intel --with-sequencer=yes
make
make install
Now, go and emerge alsa-utils. After that just run alsaconf and voila: you have you sound card configured. Use alsamixer to adjust volume (the sound level is *very* low by default). And don't forget rc-update add alsasound boot!
* Works perfectly with Kernel 2.6.27_rc6 and newer -- 87.234.90.39 16:06, 1 October 2008 (UTC)
[edit] Webcam
Code: Install your webcam
ACCEPT_KEYWORDS="~x86" emerge linux-uvc
Code: Check if your webcam is detected
# modprobe uvcvideo
# dmesg | grep -i video
...
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
...
It seems everything is okay. However to be sure, we need to emerge luvcview and record some movies.
Code: Capturing video
# ACCEPT_KEYWORDS="~x86" emerge luvcview
# luvcview -f yuv
Warning: If luvcview fails for some reason, try using "-f yuw" instead of "-f yuv"
[edit] SDCard Reader
I had trouble getting the SD Reader to use a SD card. It took me a while to figure out the info from the quote below. (not needed with linux 2.6.27-rc7)
From the Debian Wiki: The card reader is hidden for some reason, so you have to add "setpci -d 197b:2381 AE=47" to your rc.local script to unhide it on boot. A script to poll the card reader for card and power events (AC unplugged etc) is included on the recovery DVD shipped with the machine within the "hdc1._.tar.bz2" archive as /usr/sbin/jmb38x_d3e.sh.
Additionally, the SD Card must be inserted before the laptop boots to be properly detected.
You should see this if the machine has sucessfully detected a card in either slot.
Code: dmesg | grep mmc
mmc0: new SD card at address 1234
mmcblk0: mmc0:1234 SD01G 995328KiB
mmcblk0: p1
It shows that it found a 1GB card with a single partition, p1.
You can use the following device node to mount the card. /dev/mmcblk0 is the node of the whole card, like /dev/hda, and /dev/mmcblk0p1 is a partition on the card.
Code: Mount first partition on SD card
mount /dev/mmcblk0p1 /mnt/sd
P.s. se riesci a farla partire hai intenzione di ricompilare tutto ?