Asus G1Sn laptop
From MatureAsskickers Wiki
Contents |
Overview
This is a page to document the progress of configuring the Asus G1Sn laptop with fedora 9
Hardware Configuration
# lspci 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #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:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (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 82801HEM (ICH8M) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0405 (rev a1) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) 03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61) 07:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) 08:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) 08:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 08:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12) 08:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) 08:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
Wireless
The wireless card is an 'Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)'. There was a driver for this card pre-installed (iwl4965), but it also required a package for the firmware (iwl4965-firmware) to function properly. No more ndiswrapper and 8k stacks for me, yay!
# modprobe --show-depends iwl4965 insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/net/wireless/cfg80211.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/net/mac80211/mac80211.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/net/rfkill/rfkill.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/drivers/net/wireless/iwlwifi/iwl4965.ko
In fedora 9 there is a new default networking subsystem that is 'recommended' for people who frequently use wireless connections with encryption NetworkManager. It is intended to replace the need to manually configure your adapter with iwconfig and wpa_supplicant. My experience was not good. When adding a network via the GUI tool in xfce, the wireless driver caused a kernel panic. After that, I disabled the NetworkManager init script, and configured everything manually without issue.
Sound
- Fixed, finally. See below. Fafhrd 20:24, 11 June 2008 (PDT)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
# modprobe --show-depends snd_hda_intel insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/sound/soundcore.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/sound/core/snd.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/sound/core/snd-hwdep.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/sound/core/snd-page-alloc.ko insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/sound/core/snd-timer.ko install /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss insmod /lib/modules/2.6.25.4-30.fc9.i686.PAE/kernel/sound/pci/hda/snd-hda-intel.ko # lsmod | grep snd snd_hda_intel 337056 0 snd_seq_dummy 6660 0 snd_seq_oss 30364 0 snd_seq_midi_event 9600 1 snd_seq_oss snd_seq 48448 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 10124 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 42496 0 snd_mixer_oss 16768 1 snd_pcm_oss snd_pcm 67204 2 snd_hda_intel,snd_pcm_oss snd_timer 21640 2 snd_seq,snd_pcm snd_page_alloc 11400 2 snd_hda_intel,snd_pcm snd_hwdep 10500 1 snd_hda_intel snd 48312 10 snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep soundcore 9288 1 snd
# ll /dev/snd total 0 crw-rw----+ 1 root root 116, 12 2008-06-10 21:38 controlC0 crw-rw----+ 1 root root 116, 11 2008-06-10 21:38 hwC0D0 crw-rw----+ 1 root root 116, 10 2008-06-10 21:38 hwC0D1 crw-rw----+ 1 root root 116, 9 2008-06-10 23:42 pcmC0D0c crw-rw----+ 1 root root 116, 8 2008-06-10 23:42 pcmC0D0p crw-rw----+ 1 root root 116, 7 2008-06-10 21:38 pcmC0D1p crw-rw----+ 1 root root 116, 6 2008-06-10 21:38 pcmC0D2c crw-rw----+ 1 root root 116, 5 2008-06-10 21:38 pcmC0D6c crw-rw----+ 1 root root 116, 4 2008-06-10 21:38 pcmC0D6p crw-rw----+ 1 root root 116, 3 2008-06-10 21:38 seq crw-rw----+ 1 root root 116, 2 2008-06-10 21:38 timer
# ll /dev | grep dsp crw-rw----+ 1 root root 14, 12 2008-06-10 21:38 adsp crw-rw----+ 1 root root 14, 3 2008-06-10 21:38 dsp
http://www.fedoraforum.org/forum/showthread.php?t=180218
I found that the easiest way to get rid of the pulseaudio errors in /var/log/messages was ' # yum remove *pulse* ' :). I prefer init to start out at runlevel 3 from past problems with video drivers. This creats a problem with device permissions. Normally, I'd install ConsoleKit, but I decided to go with a hack this time found here http://home.nyc.rr.com/computertaijutsu/rhsound.html.
"If this doesn't work, then you can also edit /etc/security/console.perms.d/50-default.perms. Towards the top, where various things are defined, I add the line"
<sound>=/dev/dsp* /dev/snd/* At the bottom, where permissions are defined, I add <console> 0666 <sound> 0600 root
Video
Here's a problem I'm running into: http://www.linuxquestions.org/questions/showthread.php?p=2451662#post2451662
nvidia: version magic '2.6.25.4-30.fc9.i686.PAE SMP mod_unload 686 4KSTACKS ' should be '2.6.25.4-30.local.fc9.i686 SMP mod_unload 686 4KSTACKS '
9500m gs BIOS bug w/ >2GB RAM
http://www.nvnews.net/vbulletin/showthread.php?t=113682
https://bugzilla.redhat.com/show_bug.cgi?id=425794
Here's the kernel patch
diff -Nurp linux-2.6.21/arch/x86/pci/i386.c linux-2.6.22/arch/x86/pci/i386.c
--- linux-2.6.21/arch/x86/pci/i386.c 2007-06-16 20:21:50.000000000 +0200
+++ linux-2.6.22/arch/x86/pci/i386.c 2007-06-16 20:30:20.000000000 +0200
@@ -109,6 +109,10 @@ static void __init pcibios_allocate_bus_
r = &dev->resource[idx];
if (!r->flags)
continue;
+ if ((r->start == 0xbdf00000) && (r->end == 0xddefffff)) {
+ r->start = 0xc0000000;
+ r->end = 0xd0000000;
+ }
pr = pci_find_parent_resource(dev, r);
if (!r->start || !pr ||
request_resource(pr, r) < 0) {
Extras
Asus OLED
Touchpad Enable/Disable
http://acpi4asus.sourceforge.net/
http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html
