This page gives some hints on how I installed and configured RedHat 7.2 on my ASUS L7300 Laptop. I provide this information in the hope that it might be useful to others. For more information see also the TuxMobil page. The information on my previous Gericom laptop is still available.
I still have some troubles. Any advice would be highly appreciated!
image=/boot/vmlinuz-2.4.2-2 label=new root=/dev/hda? read-only vga=791Now run lilo, reboot and say "new" at the lilo prompt. If everything went right, you should see a little pinguin during boot. If you are using grub, the entry in /boot/grub/grub.conf should look something like this
title Red Hat Linux (2.4.7-6) root (hd0,?) kernel /boot/vmlinuz-2.4.7-6 ro root=/dev/hda? vga=791 initrd /boot/initrd-2.4.7-6.img
Next, make sure the XFree86_FBDev rpm (from RedHat) is installed and the link in /etc/X11/X points to the correct server (i.e., ln -fs /usr/X11R6/bin/XF86_FBDev /etc/X11/X). You can use the following /etc/X11/XF86Config file. It is configured for using the xfs font server (RedHat 6) and for a us keyboard. You might want to change this part and the keyboard layaout (XkbLayout).
Option "NoMTRR"to the /etc/X11/XF86Config-4 file it will work.
options sound dmabuf=1 alias synth0 opl3 options opl3 io=0x388 options opl3sa2 ymode=2 isapnp=1In addition, you need to activate the card before the module gets inserted. This can be done by saving the following script as /etc/isapnp.sh
#!/bin/sh echo "card 0 YMH0800 dev 0 YMH0021 port 0 0x220 port 1 0x530 port 2 0x388 port 3 0x330 port 4 0x370 irq 0 5 dma 0 0 dma 1 1 activate dev 0 YMH0022 port 0 0x201 activate " > /proc/isapnpand making sure it gets executed before the sound module gets loaded, e.g, use the following patch: Now sound should work. In addition, I have disabled IRQ 5 in /etc/pcmcia/config.opts.
In additon, it is also possible to fix the isapnp activation of the card in the kernel as follows: First of all, the kernel disallows a dma value of 0, so here is a patch which adds an option isapnp_allow_dma0 to the isapnp subsystem. Second, here is a patch which activates this for this sound card. Finnaly, the following patch removes the isapnp ids of this card from the ad1848 driver, such that tools like sndconfig choose the correct driver (opl3sa2 rather than ad1848) for this card.