Installation of Mandrake 9.0 on ACER ASPIRE 1300X/LX
September 28, 2008
Installation of Mandrake 9.0 on ACER ASPIRE 1300X/LX
First, this document has wrote with lot of search and work, on internet, book and …
No garanty is done with this text, anyone install this modifications on server or importante computer.
Thanks for Linux community for help!
Table:
1) Model and technic
2) Install a new kernel
3) Compilation of a new kernel
4) ACPI test and instalation auto of the modules
5) Specials keys for X Windows
6) Install a USB mouse
7) Key’s config for console up and down
1) Model and technic
the difference bitween 1300x and 1300LX is the cdrom, the 1300LX have a DVD-ROM
Processor: Athlon XP1400+
Memory: 128Mo
Monitor: LCD 14,1″ 1024×768 16M colors
Video Card: S3 Twister K (Savage4 Pro +)
Sound Card: Via VT82C686 AC97 (snd-via686)
Network Card: Via VT6102 (Rhine II) (via-rhine)
Modem Card: VIA VT? AC97 Modem Controlleur
Touchepad: (PS/2)
CDROM: QSI CD-ROM SCR-242
Hard Disk: Toshiba MK2018GAP
2) Install a new kernel
No problem for install Mandrake 9.0.
All work (modem not tested), but for ACPI management, the kernel must be compiling manually.
3) Compilation of a new kernel
more simple: find the rpm kernel source on mandrake’s cd and install them by:
rpm -ivh lenomdupackagerpm
nice way: find kernel source on http://www.kernel.org and untar them on /usr/src with tar zxvf kernelname.gz or tar jxvf kernelname.bz2
create symlink with source in /usr/src with:
/usr/src$ cp -l kernelname linux
And go to source, with “cd /usr/src/linux” and::
$ make clean
and
$ make config for question console config (hard …)
$ make menuconfig for console menu config ![]()
$ menu xconfig for XWindows config
on config, go to GENERAL SETUP and:
[*] ACPI Support
[*] ACPI Debug Statements
<M> ACPI Bus Manager
<M> System
<M> Processor
<M> Button
<M> AC Adapter
<M> Embedded Controller
<M> Control Method Battery
<M> Thermal
et activate:
<M> Advanced Power Management BIOS support
and all APM options
For other option, Mandrake active all, in module or in kernel, so don’t touch now the other option.
My config file ofr the kernel (put it on /usr/src/linux/.config):
to put on : /usr/src/linux/.config
Create the dependances:
$ make dep
And Compiling the kernel:
$ make bzImage
Compiling and install the Modules:
$ make modules
$ make modules_install
that’s it!!
Now, test your config, copy your new kernel in /boot
$ cp /sur/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-perso
And in /etc/lilo.conf, add:
other=/boot/vmlinuz_perso
label=mylinux
root=/dev/hda6 <—— modify /dev/hda6 for your config (look your first root= in lilo.conf)
initrd=/boot/initrd.img
vga=791 <—— for a 1024×768 terminal
read-only
And re-install lilo with:
$ lilo
that’s it, the new kernel is installed, now reboot your machine with:
$ reboot
on the lilo’s men, choose “mylinux” and look if there are errors
4) ACPI test and instalation auto of the modules.
For test ACPI, try:
$ modprobe ospm_ec
$ modprobe ospm_battery
$ modprobe ospm_ac_adapter
$ modprobe ospm_system
$ modprobe ospm_processor
if it’s ok:
$ acpid -d
And look in /proc/acpi/battery/0/info
it’s look like this:
Present: yes
Design Capacity: 4016 mAh
Last Full Capacity: 4011 mAh
Battery Technology: secondary (rechargeable)
Design Voltage: 9600 mV
Design Capacity Warning: 602 mAh
Design Capacity Low: 401 mAh
Capacity Granularity 1: 201 mAh
Capacity Granularity 2: 3409 mAh
Model Number: QT08
Serial Number:
Battery Type: NiMH
OEM Info: SANYO
if you are this, it’s ok, the ACPI work!!!
Now install module at the boot
open and edit /etc/modules and add:
ospm_ec
ospm_battery
ospm_ac_adapter
ospm_system
ospm_processor
ok, now reboot for test the auto ACPI boot.
5) Specials keys for X Windows
The keys:
I find this with /usr/X11R6/lib/X11/XKeysymDB.
this is my personnal config, try yours:
mail: code: 236 : XF86Mail
Internet: code: 178 : XF86HomePage
P1: code: 244 : XF86AudioMedia
P2: code: 243 : (no use for me)
Fn+vol_sup: code: 176 : XF86AudioRaiseVolume
Fn+vol_min: code: 174 : XF86AudioLowerVolume
Fn+mute: code: 160 : XF86AudioMute
So, first, edit the /etc/X11/Xmodmap and add:
keycode 236 = XF86Mail
keycode 178 = XF86HomePage
keycode 244 = XF86AudioMedia
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 160 = XF86AudioMute
Edit /etc/X11/xinit/xinitrc and add:
xmodmap /etc/X11/Xmodmap
With Gnome:
Go to Gnome menu, System, Configuration editor, and at the key apps/metacity/global_keybindings, edit the command run_command_1, write XF86AudioMedia.
Edit key apps/metacity/keybinding_commands and edit the key command_1 and write xmms.
schem of key press: XF86AudioMedia –> run_command_1 –> command_1 –> xmms for other keys, do the same.
‘aumix -v -10′ for down volume
‘aumix -v +10′ for up volume
‘aumix -v 0′ for mute
That’s all for Gnome
My key config files for Gnome:
to put on: $HOME/.gconf/apps/metacity/global-keybindings/%gconf.xml
to put on: $HOME/.gconf/apps/metacity/keybinding_commands/%gconf.xml
With KDE:
In KDE, open a terminal and write “kmenuedit”, puis:
Search the program you want to execute with the shortkey ad at right-bottom, click on button to change the shortcut key and press your button.
So click on Apply to save your shortkey..
For volume control, create 3 entry menu, VOl+, Vol-, and Vol0 (exemple), with programs, “aumix -v +10″, “aumix -v -10″ and “aumix -v 0″, and affect shortkey to this programs, that’s all
that’s all for KDE
My key config files for KDE:
to put on: $HOME/.kde.share.config/khotkeysrc
With WindowMaker:
In config panel, choose keyboad config and on windows pop pup, click on “Yes discard and update”.
choose the program you want and click on capture and press your button.
FOr the volume, drag a “run program” button to the menu and at the place of “run program” write “Vol+”, in “program to run” write “aumix -v +10″ and click on capture en press your button. do the same for other button.
For volume, the program is:
‘aumix -v 0′ pour le mute
‘aumix -v -10′ for down volume
‘aumix -v +10′ for up volume
That’s all for WindowMaker
My key config for WindowMaker:
to put on: $HOME/GNUstep/Defaults/WMRootMenu
6) Install a USB mouse
more simple is impossible, in Mandrake, insert your mous BEFORE then boot, and in a Xterminal, run mousedrake, and choice your USB mouse (generic or with wheel), that’s all, and your touchpad work too!!!
re-run your Xwindows and it’s OK!!!
7) Key’s modification for terminal up and down
this modif is for French keyboard, fr-latin1 or fr-latin0, but for other the modif is the same, but file name change.
The keyboard, by default, up and down consol with 2 windows keys, but on laptop, there are one window key, so i propose to change that by 1 windows key ad 1 menu key.
Look in /etc/sysconfig/keyboard for view your key table (fr-latin1 or fr-latin0)
so ungzip , the file: /usr/lib/kbd/keymaps/i386/azerty/fr-latin0.kmap.gz (or fr-latin0.kmap.gz)by:
gzip -d /usr/lib/kbd/keymaps/i386/azerty/fr-latin0.kmap.gz (or /usr/lib/kbd/keymaps/i386/azerty/fr-latin1.kmap.gz)
and change or add,
keymap 127 = Incr_Console
if there is a ligne with keymap 127, comment it with #
gzip it by:
gzip /usr/lib/kbd/keymaps/i386/azerty/fr-latin0.kmap.gz
so reboot your machine.
That’s all
———————————————————–
TODO
* Install and test of the modem with PCTEL Driver
* correction of blank screen problem (black screen)
* Test of the powerSaver of the Athlon
Entry Filed under: acer, linux. Tags: ACER Aspire, laptop, linux, Mandrake, notebook.
Trackback this post | Subscribe to the comments via RSS Feed