

CONFIG_MEDIA_SUPPORT=y CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L2_COMMON=m CONFIG_VIDEO_ALLOW_V4L1=y CONFIG_VIDEO_V4L1_COMPAT=y CONFIG_VIDEO_MEDIA=m CONFIG_IR_CORE=y CONFIG_VIDEO_IR=y CONFIG_MEDIA_TUNER=m CONFIG_MEDIA_TUNER_CUSTOMISE=y CONFIG_VIDEO_V4L2=m CONFIG_VIDEO_V4L1=m CONFIG_VIDEO_CAPTURE_DRIVERS=y CONFIG_VIDEO_HELPER_CHIPS_AUTO=y CONFIG_VIDEO_IR_I2C=m CONFIG_V4L_USB_DRIVERS=y CONFIG_USB_VIDEO_CLASS=m CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y CONFIG_SND_RAWMIDI=m CONFIG_SND_RAWMIDI_SEQ=m CONFIG_SND_USB=y CONFIG_SND_USB_AUDIO=mAdded use flags :
media-tv/xawtv X alsa opengl media-video/mplayer v4l v4l2I only needed to emerge xawtv and mplayer. usbutils was already installed by hal. Then, you can test your webcam :
mplayer tv://Reference : Webcam - Gentoo Linux Wiki
fsutil resource setautoreset true C:\But it hasn't fixed my problem. Each attempt adds five Windows Error Reporting events in the Application events log like :
Récipient d’erreurs 660181886, type 5 Nom d’événement : CbsPackageServicingFailure2 Réponse : Non disponible ID de CAB : 0 Signature du problème : P1 : 6.1.7600.16385 P2 : Microsoft-Windows-Foundation-Package P3 : 6.1.7600.16385 P4 : amd64 P5 : unknown P6 : 80073701 P7 : Resolve P8 : Installed P9 : Installed P10 : Windows Optional Component Manager Fichiers joints : C:\Windows\Logs\CBS\CbsPersist_20100719145300.cab C:\Windows\Logs\CBS\CbsPersist_20100720135637.cab C:\Windows\Logs\CBS\CbsPersist_20100724175736.cab C:\Windows\Logs\CBS\CbsPersist_20100724190432.cab C:\Windows\Logs\CBS\CbsPersist_20100724202127.cab C:\Windows\Logs\CBS\CBS.log C:\Windows\servicing\Sessions\Sessions.xml C:\Windows\winsxs\poqexec.log C:\Windows\inf\setupapi.dev.log Ces fichiers sont peut-être disponibles ici : C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_6.1.7600.16385_12b152e0507da7dbac253e5d6773b3d790739076_02e58056 Symbole d’analyse : Nouvelle recherche de la solution : 0 ID de rapport : 48d9af65-9764-11df-89ff-9b9906ca6306 Statut du rapport : 0or
Récipient d’erreurs 1105700561, type 5 Nom d’événement : WindowsWcpOtherFailure3 Réponse : Non disponible ID de CAB : 0 Signature du problème : P1 : 6.1.7600 P2 : base\wcp\componentstore\csd_locking.cpp P3 : CCSDirectTransaction::LockComponent P4 : 321 P5 : c015000c P6 : 0x05f3852f P7 : P8 : P9 : P10 : Fichiers joints : C:\Windows\Logs\CBS\CbsPersist_20100719145300.cab C:\Windows\Logs\CBS\CbsPersist_20100720135637.cab C:\Windows\Logs\CBS\CbsPersist_20100724175736.cab C:\Windows\Logs\CBS\CbsPersist_20100724190432.cab C:\Windows\Logs\CBS\CbsPersist_20100724202127.cab C:\Windows\Logs\CBS\CBS.log C:\Windows\servicing\Sessions\Sessions.xml C:\Windows\winsxs\poqexec.log C:\Windows\System32\LogFiles\Scm\SCM.EVM C:\Windows\Logs\CBS\FilterList.log C:\Windows\Temp\WER6622.tmp.hdmp C:\Windows\Temp\WER66ED.tmp.mdmp Ces fichiers sont peut-être disponibles ici : C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_6.1.7600_61fd7aaf67694893e820b3fd1752ddf4faf4e84_06197a3e Symbole d’analyse : Nouvelle recherche de la solution : 0 ID de rapport : 48d9af64-9764-11df-89ff-9b9906ca6306 Statut du rapport : 0Extract from C:\Windows\Logs\CBS\CBS.log (with telnet client component) :
Info CBS Perf: Resolve chain started. Info CSI 0000000b@2010/7/24:20:44:42.885 CSI Transaction @0x69300e0 initialized for deployment engine {d16d444c-56d8-11d5-882d-0080c847b195} with flags 00000002 and client id [101]"TI1.30092144_4010074112:2/Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385" Info CBS Exec: Resolving Package: Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~de-DE~6.1.7600.16385, Update: TelnetClient Info CBS Exec: Resolving component from existing package; passing NULL manifest path to PinDeployment and hoping things haven't been scavenged. Info CBS Exec: Resolving Package: Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~de-DE~6.1.7600.16385, Update: TelnetClient, PinDeployment: amd64_microsoft-windows-t..oyment-languagepack_31bf3856ad364e35_6.1.7600.16385_de-de_c3c58e4b573d9172 Error CSI 0000000c@2010/7/24:20:44:42.913 (F) d:\w7rtm\base\wcp\componentstore\csd_locking.cpp(321): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null) [gle=0x80004005] Error CSI 0000000d (F) STATUS_SXS_ASSEMBLY_MISSING #238072# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c] Error CSI 0000000e (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #237957# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = Microsoft-Windows-Telnet-Client-Deployment-LanguagePack, Version = 6.1.7600.16385, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"de-DE", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, cb = (null), s = (null), rid = [96]"Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~de-DE~6.1.7600.16385.TelnetClient", rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701] Info CBS Failed to pin deployment while resolving Update: TelnetClient from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Info CBS Failed to resolve item[0] in Package: Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~de-DE~6.1.7600.16385, Update: TelnetClient [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Info CBS Failed to resolve execution update. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Error CBS Failed to resolve execution package: Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~de-DE~6.1.7600.16385 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Info CSI 0000000f@2010/7/24:20:44:45.042 CSI Transaction @0x69300e0 destroyed Info CBS Perf: Resolve chain complete. Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Info CBS WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: Windows Optional Component Manager Info CBS Failed to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND] Info CBS Failed to add %windir%\winsxs\pending.xml to WER report because it is missing. Continuing without it... Info CBS Failed to add %windir%\winsxs\pending.xml.bad to WER report because it is missing. Continuing without it... Info CBS Reboot mark refs: 0 Info CBS Enabling LKG boot option Info CBS Exec: End: nested restore point - complete. Info CBS Restored system sleep block state: 0x80000000 Info CBS Client aborted the install. [HRESULT = 0x800f0821 - CBS_E_ABORT] Info CBS Exec: Processing complete. Session: 30092144_4010074112, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Error CBS Failed to perform operation. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING] Info CBS Session: 30092144_4010074112 finalized. Reboot required: no [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]A few notes :
pkgmgr /iu:"Client Telnet"Gestionnaire de package Windows Echec de l'opération avec 0x80073701 L'assembly référencé n'a pas pu être trouvé. Well this is the ERROR_SXS_ASSEMBLY_MISSING error found earlier in Component Based Servicing log (CBS.log). After some research with Process Monitor, it seems that TrustedInstaller.exe fails to open the registry key HKLM\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_6.1.7600.16385_de-de_08eb0375be2e567f. I can confirm this with regedit : the de_de key is missing, I only got these versions : el-gr, en-us, es-es, fr-fr, he-il, it-it, nl-nl, pt-pt and zh-tw. Note: HKLM\COMPONENTS might be missing on Windows 7. In this case, it would be generated completely if you launch Windows package manager UI. These keys matches files under C:\Windows\winsxs. I cannot find the de-de files in this folder. This is what Andre Ziegler told me in the forums. He also confirmed that I need to reinstall Windows 7 (again :( ). If I look into C:\Windows\System32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}, I can find all language files, and the German file in particular (like Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~amd64~de-DE~6.1.7600.16385). As adviced in Win7 Inside Out - WinSxS, I have launched language packs setup application lpksetup but German pack is not installed (as expected : manifests are missing). Note: WinSxS = Windows Side by Side assemblies. Thanks to mydigitallife, I have downloaded German MUI pack : windows6.1-kb972813-x64-de-de_399ac15b2d55fd5dea0770d98825d7e75f4ad533.exe. To install this pack :
using System.Diagnostics;Here is the result in video.
using System.Windows.Threading;
private readonly PerformanceCounter counter = GetCounter();
private readonly DispatcherTimer timer = new DispatcherTimer();
private void timer_Tick(object sender, EventArgs e)
{
long kb = Convert.ToInt64(counter.NextValue() / 1000);
perfLabel.Content = string.Format("{0,12} KB", kb.ToString("###.###.###"));
}
private static PerformanceCounter GetCounter()
{
var counter = new PerformanceCounter();
counter.CategoryName = "Process";
counter.CounterName = "Private Bytes";
counter.InstanceName = Process.GetCurrentProcess().ProcessName;
return counter;
}
public TestWindow()
{
...
timer.Tick += timer_Tick;
timer.Interval = TimeSpan.FromMilliseconds(100);
timer.Start();
}
<Grid>
...
<Label Content="0 KB" Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="perfLabel" VerticalAlignment="Top" Width="142" Foreground="Red" />
</Grid>
public void Destroy()The counter grows continuously :
{
//visualModel.Children.Remove(this);
}
INPUT_DEVICES="evdev synaptics keyboard mouse" VIDEO_CARDS="nvidia intel"Edit use flags for a couple of packages needed for X. You can group these settings in /etc/portage/package.use/X :
media-fonts/corefonts X media-fonts/dejavu X sys-apps/dbus X sys-apps/hal laptop X x11-base/xorg-server hal x11-drivers/xf86-input-synaptics halEmerge Xorg :
emerge xorg-server env-update && source /etc/profileSelect xorg-x11 (this might be not necessary) ;
eselect opengl set xorg-x11Emerge hal :
emerge hal rc-update add hald defaultUpdate keymap if needed :
mkdir -p /etc/hal/fdi/policy cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi /etc/hal/fdi/policy <merge key="input.xkb.layout" type="string">fr</merge> /etc/init.d/hald restartAdd yourself to the video group (maybe not needed). Nvidia (I fail to use Nvidia and the Geforce 310m for now. No better result with 256.35) : /etc/portage/package.keywords/X :
~sys-kernel/gentoo-sources-2.6.33-r2 ~amd64 ~sys-kernel/gentoo-sources-2.6.34-r1 ~amd64 ~x11-drivers/nvidia-drivers-195.36.24 ~amd64 ~x11-libs/libvdpau-0.3-r2 ~amd64Emerge kernel, nvidia-drivers, glx tools (like glxgears) :
emerge gentoo-sources-2.6.33-r2 emerge nvidia-drivers-195.36.24 emerge mesa-progsmodule-rebuild will rebuild the necessary packages when upgrading your kernel :
emerge module-rebuild module-rebuild populate module-rebuild rebuildConfigure Xorg :
Xorg -configureCopy /root/xorg.conf.new to /etc/X11/xorg.conf. You need to comment the Nvidia section to keep only vesa (Nvidia fails).
#Section "Device" # Identifier "Card0" # Driver "nvidia" # VendorName "nVidia Corporation" # BoardName "Unknown Board" # BusID "PCI:1:0:0" #EndSectionEmerge enlightenment. It is also a good idea to add xterm and some font packages. Set enlightenment default :
emerge enlightenment corefonts dejavu xterm~/.xinitrc :
exec /usr/bin/e16At this point, once the new kernel has been installed, you should be able to start enlightenment safely (with intel driver only for now). For info, small kernel updates :
diff config-2.6.33-r2.0 config-2.6.33-r2.7 < CONFIG_ACPI_VIDEO=y > CONFIG_ACPI_VIDEO=m < CONFIG_I2C_ALGOBIT=y > CONFIG_I2C_ALGOBIT=m < CONFIG_AGP=y < CONFIG_AGP_AMD64=y < CONFIG_AGP_INTEL=y > CONFIG_AGP=m > CONFIG_AGP_INTEL=m < CONFIG_DRM=y < CONFIG_DRM_KMS_HELPER=y > CONFIG_DRM=m > CONFIG_DRM_KMS_HELPER=m < CONFIG_DRM_I915=y > CONFIG_DRM_I830=m > CONFIG_DRM_I915=m < CONFIG_VIDEO_OUTPUT_CONTROL=y < CONFIG_FB=y > CONFIG_VIDEO_OUTPUT_CONTROL=m > CONFIG_FB=m > CONFIG_FIRMWARE_EDID=y < CONFIG_FB_CFB_FILLRECT=y < CONFIG_FB_CFB_COPYAREA=y < CONFIG_FB_CFB_IMAGEBLIT=y > CONFIG_FB_CFB_FILLRECT=m > CONFIG_FB_CFB_COPYAREA=m > CONFIG_FB_CFB_IMAGEBLIT=m < CONFIG_FB_TILEBLITTING=y < CONFIG_FB_EFI=y > CONFIG_FB_UVESA=m < CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64 > CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=256 < CONFIG_FRAMEBUFFER_CONSOLE=y > CONFIG_FRAMEBUFFER_CONSOLE=m > CONFIG_LOGO_LINUX_MONO=y > CONFIG_LOGO_LINUX_VGA16=yNvidia errors :
NVRM: failed to copy vbios to system memory. NVRM: RmInitAdapter failed! (0x30:0xffffffff:868) NVRM: rm_init_adapter(0) failed
01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev a2)I did not find anything disabled in the BIOS. As far as I remember, I only switched boot devices (well using Esc key let you choose the booting device). Well I am currently restoring the four AI Recovery backup DVD and I will see if it helps... The card is still missing after recovery. I just filed a case on Asus support web site... Follow up in comments.
devcon find *|sort devcon enable "USB\VID_0B05&PID_1788" devcon disable "USB\VID_0B05&PID_1788" devcon status "USB\VID_0B05&PID_1788"
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12) 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12) 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12) 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06) 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06) 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) 00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06) 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06) 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06) 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06) 01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev a2) 03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01) 04:00.0 Ethernet controller: Atheros Communications AR8131 Gigabit Ethernet (rev c0) ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02) ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02) ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02) ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02) ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02) ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)cat /proc/cpuinfo
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 2267.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 2267.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 4 initial apicid : 4 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.75 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 2267.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.75 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz stepping : 2 cpu MHz : 2267.000 cache size : 3072 KB physical id : 0 siblings : 4 core id : 2 cpu cores : 2 apicid : 5 initial apicid : 5 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid bogomips : 4521.75 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:cat /proc/acpi/battery/BAT0/info
present: yes design capacity: 84000 mWh last full capacity: 80700 mWh battery technology: rechargeable design voltage: 15000 mV design capacity warning: 8400 mWh design capacity low: 840 mWh capacity granularity 1: 840 mWh capacity granularity 2: 840 mWh model number: UL50-56 serial number: battery type: LIon OEM info: ASUSTek
modules=( "wpa_supplicant" "!iwconfig" ) wpa_supplicant_wlan0="-Dwext"/etc/wpa_supplicant/wpa_supplicant.conf :
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=1 fast_reauth=1 network={ ssid="freebox_essid" key_mgmt=WPA-PSK psk="secret" priority=20 }
mount /dev/sda6 /mnt/gentoo mkdir /mnt/gentoo/home mount /dev/sda7 /mnt/gentoo/home
cd /mnt/gentoo links http://www.gentoo.org/main/en/mirrors.xml
tar xvjpf stage3-*.tar.bz2
tar -xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usrmake.conf :
nano -w /mnt/gentoo/etc/make.conf
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j5"mirrorselect (free.fr) :
emerge mirrorselect mirrorselect -i -o >> /etc/make.conf mirrorselect -i -r -o >> /etc/make.confChroot :
cp -L /etc/resolv.conf /mnt/gentoo/etc/ mount -t proc none /mnt/gentoo/proc mount -o bind /dev /mnt/gentoo/dev chroot /mnt/gentoo /bin/bash env-update && source /etc/profile export PS1="(chroot) $PS1"Portage :
emerge --sync
USE="-fortran -ipv6 mmx nptl nptlonly sse sse2 unicode"locale & time :
nano -w /etc/locale.gen
en_US ISO-8859-1 en_US.UTF-8 UTF-8 fr_FR ISO-8859-1 fr_FR@euro ISO-8859-15 fr_FR.UTF-8 UTF-8
cp /usr/share/zoneinfo/Europe/Paris /etc/localtimeKernel (2.6.32-r7) :
emerge gentoo-sources make menuconfig
Device Drivers ---> [*] Network device support ---> [*] Wireless LAN ---> [*] Wireless LAN (IEEE 802.11) ---> <M> Atheros Wireless Cards ---> <M> Atheros 802.11n wireless cards support File systems ---> <*> The Extended 4 (ext4) filesystem [*] Ext4 extended attributes [*] Ext4 POSIX Access Control Lists [*] Ext4 Security Labels
CONFIG_ATH_COMMON=m CONFIG_ATH9K=m CONFIG_EXT4_FS=y CONFIG_EXT4_FS_XATTR=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y
make -j5 && make modules_install cp arch/x86_64/boot/bzImage /boot/kernel-2.6.32-gentoo-r7
nano -w /etc/modules.autoload.d/kernel-2.6
ath9k
nano -w /etc/fstab
/dev/sda6 / ext4 defaults,noatime 1 1 /dev/sda7 /home ext4 noatime 0 2
cd /etc/init.d ln -s net.lo net.wlan0 rc-update add net.wlan0 default emerge dhcpcd wpa_supplicantSystem configuration :
emerge syslog-ng vixie-cron rc-update add syslog-ng default rc-update add vixie-cron default rc-update add sshd default
passwd
nano -w /etc/conf.d/clock TIMEZONE="Europe/Paris" nano -w /etc/rc.conf EDITOR="/usr/bin/vim" XSESSION="e16" nano -w /etc/conf.d/rc RC_PARALLEL_STARTUP="yes" nano -w /etc/conf.d/keymaps KEYMAP="fr-latin9"grub :
emerge grub nano -w /boot/grub/grub.conf default 0 timeout 50 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Gentoo root (hd0,5) kernel /boot/kernel-2.6.32-r7 root=/dev/sda6 grub grub> root (hd0,5) grub> setup (hd0,5) grub> quit
dd if=/dev/sda6 of=boot.grub bs=512 count=1Reboot :
exit umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo/home /mnt/gentoo rebootUpdate boot loader :
C:\>bcdedit /export bcdedit-export-100513 L'opération a réussi. C:\>bcdedit /create /d Gentoo /application BOOTSECTOR L'entrée {4bd6ad4c-7c0c-11de-baef-deb9d273c9fa} a été correctement créée. L'entrée {4bd6ad4d-7c0c-11de-baef-deb9d273c9fa} a été correctement créée. C:\>bcdedit /set {4bd6ad4d-7c0c-11de-baef-deb9d273c9fa} device boot L'opération a réussi. C:\>bcdedit /set {4bd6ad4d-7c0c-11de-baef-deb9d273c9fa} path \boot.grub L'opération a réussi. C:\>bcdedit /set {4bd6ad4d-7c0c-11de-baef-deb9d273c9fa} locale fr-FR L'opération a réussi. C:\>bcdedit /displayorder {4bd6ad4d-7c0c-11de-baef-deb9d273c9fa} /addlast L'opération a réussi. C:\>bcdedit -v ... Secteur de démarrage en mode réel --------------------------------- identificateur {4bd6ad4d-7c0c-11de-baef-deb9d273c9fa} device boot path \boot.grub description Gentoo locale fr-FRNow you should be able to select Gentoo on next reboot. Not seen in amd64 guide :
ccache emerge -vuD --newuse world emerge --oneshot libtool dispatch-conf perl-cleaner all python-updaterNotes :
@echo off
set dest_root=E:\usr\wamp\bin\apache
set source_root=%~dp0
set apache_zip=
for /f %%f in ('dir /b/ogn %source_root%httpd-*') do set apache_zip=%%f
if "%apache_zip%"=="" goto :eof
set unzip_dir=%apache_zip%
set unzip_dir=%unzip_dir:~0,-4%
if "%unzip_dir%"=="" goto :eof
if exist "%unzip_dir%" rd /s/q "%unzip_dir%"
e:\usr\7-Zip\7z x -o%unzip_dir% %apache_zip%
echo %unzip_dir%
set ver=%unzip_dir:~6,-14%
set dest_dir=%dest_root%\Apache%ver%
echo %dest_dir%
if exist "%dest_dir%" rd /s/q "%dest_dir%"
set previous_ver=
for /f %%f in ('dir /b/ogn/ad %dest_root%\Apache*') do if not "%%f"=="%ver%" set previous_ver=%%f
set previous_ver=%previous_ver:~6%
set previous_dir=%dest_root%\Apache%previous_ver%
echo %previous_dir%
mkdir %dest_dir%
robocopy /NP /MIR /NFL "%unzip_dir%\Apache2" "%dest_dir%" /XD lib /XD include /XD manual
copy %previous_dir%\wampserver.conf %dest_dir% >nul
copy %previous_dir%\conf\httpd.conf %dest_dir%\conf >nul
rd /s/q %unzip_dir%
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}-rc1.tar.gz"spidermonkey-1.8.0-build.patch :
...
#epatch "${FILESDIR}/${PN}-1.5-build.patch"
epatch "${FILESDIR}/${P}-build.patch"
#epatch "${FILESDIR}/${PN}-1.6-header.patch"
epatch "${FILESDIR}/${P}-threadsafe.diff"
diff -rupN js.ref/js/src/Makefile.ref js.new/js/src/Makefile.refebuild spidermonkey-1.8.0.ebuild digest
--- js.ref/js/src/Makefile.ref 2009-02-25 14:24:29.000000000 +0100
+++ js.new/js/src/Makefile.ref 2010-05-09 00:02:50.000000000 +0200
@@ -363,3 +363,16 @@ TARFILES = files `cat files`
SUFFIXES: .i
%.i: %.c
$(CC) -C -E $(CFLAGS) $< > $*.i
+
+DESTDIR :=
+PREFIX := /usr
+BINDIR := $(PREFIX)/bin
+MY_LIBDIR := $(PREFIX)/$(LIBDIR)
+INCLUDEDIR := $(PREFIX)/include/js
+INSTALL := install -g 0 -o root
+install:
+ $(INSTALL) -m 755 -d $(DESTDIR)$(INCLUDEDIR) $(DESTDIR)$(MY_LIBDIR) $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 755 $(SHARED_LIBRARY) $(DESTDIR)$(MY_LIBDIR)
+ $(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(MY_LIBDIR)
+ $(INSTALL) -m 755 $(OBJDIR)/js $(OBJDIR)/jscpucfg $(DESTDIR)$(BINDIR)
+ $(INSTALL) -m 644 $(HFILES) $(DESTDIR)$(INCLUDEDIR)
diff -rupN elixir-0.1.24.ref/src/modules/bindings/ecore/ecore_module.c elixir-0.1.24.new/src/modules/bindings/ecore/ecore_module.cSetup elixir :
--- elixir-0.1.24.ref/src/modules/bindings/ecore/ecore_module.c 2010-05-09 00:36:48.000000000 +0200
+++ elixir-0.1.24.new/src/modules/bindings/ecore/ecore_module.c 2010-05-09 00:37:37.000000000 +0200
@@ -905,7 +905,7 @@ elixir_ecore_thread_run(JSContext *cx, u
elixir_function_stop(cx);
- result = ecore_thread_run(_elixir_func_heavy, _elixir_func_end, new);
+ result = ecore_thread_run(_elixir_func_heavy, _elixir_func_end, new, NULL);
elixir_function_start(cx);