|
|
VisiteurMenuDistributions
Linux4GadzLinuxEmbedded
Ovh hébergementLinux on laptopDivers |
Acer 5720 ZGintroductionlaptop bought in France in October 2007 tested with Kubuntu 7.10 / 8.04 hardware
current state
device, kernel and modulesoverviewA great amount of devices : nicolas@reca:~$ 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 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 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) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS (rev a1) 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 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 07:00.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (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 12) Double core Intel is well : nicolas@reca:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz stepping : 13 cpu MHz : 800.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 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 lm constant_tsc pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 2929.52 clflush size : 64 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz stepping : 13 cpu MHz : 800.000 cache size : 1024 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 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 lm constant_tsc pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm bogomips : 2926.02 clflush size : 64 After Kubuntu 7.10 first boot, we get nicolas@reca:~$ uname -a Linux reca 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux nicolas@reca:~$ lsmod Module Size Used by ipv6 273892 10 af_packet 24840 2 rfcomm 42136 2 l2cap 26240 11 rfcomm bluetooth 57060 4 rfcomm,l2cap ppdev 10244 0 acpi_cpufreq 10568 1 cpufreq_stats 7232 0 cpufreq_powersave 2688 0 cpufreq_ondemand 9612 1 freq_table 5792 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand cpufreq_conservative 8072 0 cpufreq_userspace 5280 0 container 5504 0 sbs 19592 0 ac 6148 0 video 18060 0 button 8976 0 dock 10656 0 battery 11012 0 sbp2 24072 0 parport_pc 37412 0 lp 12580 0 parport 37448 3 ppdev,parport_pc,lp joydev 11328 0 snd_hda_intel 263712 2 snd_pcm_oss 44672 0 snd_mixer_oss 17664 1 snd_pcm_oss snd_pcm 80388 2 snd_hda_intel,snd_pcm_oss snd_seq_dummy 4740 0 snd_seq_oss 33152 0 snd_seq_midi 9600 0 snd_rawmidi 25728 1 snd_seq_midi snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event ath_pci 98336 0 wlan 206660 1 ath_pci i2c_core 26112 0 uvcvideo 48644 0 snd_timer 24324 2 snd_pcm,snd_seq snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq compat_ioctl32 2304 1 uvcvideo videodev 29312 1 uvcvideo v4l1_compat 15364 2 uvcvideo,videodev ath_hal 192720 1 ath_pci serio_raw 8068 0 sdhci 18828 0 snd 54660 13 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 8800 1 snd v4l2_common 18432 2 uvcvideo,videodev psmouse 39952 0 mmc_core 28420 1 sdhci shpchp 34580 0 pci_hotplug 32704 1 shpchp snd_page_alloc 11400 2 snd_hda_intel,snd_pcm intel_agp 25620 0 agpgart 35016 1 intel_agp evdev 11136 6 ext3 133896 2 jbd 60456 1 ext3 mbcache 9732 1 ext3 sr_mod 17828 0 cdrom 37536 1 sr_mod sg 36764 0 sd_mod 30336 7 ata_piix 17540 0 usbhid 29536 0 hid 28928 1 usbhid ohci1394 36528 0 ieee1394 96312 2 sbp2,ohci1394 tg3 110980 0 ehci_hcd 36492 0 ahci 23300 6 ata_generic 8452 0 libata 125168 3 ata_piix,ahci,ata_generic scsi_mod 147084 5 sbp2,sr_mod,sg,sd_mod,libata uhci_hcd 26640 0 usbcore 138632 5 uvcvideo,usbhid,ehci_hcd,uhci_hcd thermal 14344 0 processor 32072 2 acpi_cpufreq,thermal fan 5764 0 fuse 47124 7 apparmor 40728 0 commoncap 8320 1 apparmor Videoubuntu nvidia installation works fine Wifisome usefull links :
Madwifi drivers are now compliant :Just remove your ndiswrapper nicolas@reca:~$ grep ndis /etc/modprobe.d/* /etc/modprobe.d/blacklist-common:# blacklist ndiswrapper /etc/modprobe.d/ndiswrapper:#alias wlan0 ndiswrapper just verify madwifi is allow : nicolas@reca:~$ grep ath /etc/modprobe.d/* /etc/modprobe.d/blacklist-local:#blacklist ath_hal /etc/modprobe.d/blacklist-local:#blacklist ath_pci /etc/modprobe.d/blacklist-wifi:#blacklist ath_pci /etc/modprobe.d/blacklist-wifi:#blacklist ath_hal have a look to http://doc.ubuntu-fr.org/atheros_ar5007eg and launch this commands : cd /usr/src sudo wget http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz sudo tar xvzf madwifi-nr-r3366+ar5007.tar.gz cd madwifi-ng-r3366+ar5007 sudo make clean sudo make make install compilation has to be performed at each kernel upgrade old way with ndiswarpperremove ath driver and blacklist it : sudo rmmod ath_pci nicolas@reca:~$ cat /etc/modprobe.d/blacklist-common blacklist ath_pci Then reboot Download the following binairy Drivers-32bits or Drivers-64bits Unzip them and choice 32 bits or 64 bits as required by your OS. Load binary file in ndiswrapper sudo ndiswrapper -i net5211.inf Then launch the driver (may the laptop) nicolas@reca:~$ modprobe ndiswrapper You will get nice wlan0 interface nicolas@reca:~$ sudo ndiswrapper -l net5211 : driver installed device (168C:001C) present (alternate driver: ath_pci) checking if ndiswrapper can help nicolas@reca:~$ sudo iwconfig wlan0 wlan0 IEEE 802.11g ESSID:"Merlin" Mode:Managed Frequency:2.462 GHz Access Point: 00:11:D8:01:CD:E8 Bit Rate=54 Mb/s Encryption key:0120-0340-05 Security mode:restricted Power Management:off Link Quality:50/100 Signal level:-64 dBm Noise level:-96 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 Add Ndiswrapper on boot load module nicolas@reca:~$ grep ndiswrapper /etc/modules ndiswrapper Reboot Now just setup your network and wireless with wireless tools... SoundYou need to add in /etc/modprobe.d/alsa-base options snd-hda-intel model=acer Upgrade you kernel module to alsa-driver >= 1.0.15 or backports-modules-2.6.22-14-generic then reboot Hard disk issueDue to some faulty bios and hardisk firmware, I've diseable power management of my harddisk according to http://www.lesdelliens.com/forums/index.php?showtopic=6662 http://doc.ubuntu-fr.org/laptop_mode Just add the following script and link cat /etc/acpi/start.d/99-hdd-longlife.sh #!/bin/sh hdparm -B 255 /dev/sda chmod +x /etc/acpi/start.d/99-hdd-longlife.sh ln -s /etc/acpi/start.d/99-hdd-longlife.sh /etc/acpi/resume.d/99-hdd-longlife.sh ln -s /etc/acpi/start.d/99-hdd-longlife.sh /etc/acpi/suspend.d/99-hdd-longlife.sh Then Load_Cycle_Count will not so much increase (each 5s before) smartctl -a `mount | grep '/ ' | cut -d' ' -f1 | sed -e 's#[0-9]##'` | egrep 'Cycle|Power' 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 227 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 144 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 13 193 Load_Cycle_Count 0x0012 099 099 000 Old_age Always - 12677 Acer Aspire 1500introductionlaptop bought in France in november 2004 works perfectly with Kubuntu 7.10 with ati driver and wifi |