RPM & Kernel Sound

richard at reika.demon.co.uk richard at reika.demon.co.uk
Sun Nov 12 02:46:04 PST 2000

Misquoted from Tom Cashman on Sat, Nov 11, 2000 at 07:30:55PM -0000:
> Three questions:
> a. It says it's detected the mouse port, but the mouse doesn't seem to have
> any effect out of X. For example, when the power saving/screensaver black
> screen pops up, I used to be able to get rid of it by moving the mouse. Now,
> I have to use the keyboard. Is it a problem?

No. The mouse does not do anythnig on a linux console. If you want to
change this:

download gpm:

Look for /usr/bin/gawk. If you do not have one,
ln -s mawk /usr/bin/gawk

Unpack gpm
../configure --prefix=/usr --sysconfdir=/etc

If you do not have tex and dvips:
cd doc
sed -e "s/TEX = tex/TEX = :/" -e s/dvips/:/ \
    -e "s/gawk -f \\\$/: -f \\$/" <Makefile >Makefile~
mv Makefile~ Makefile
cd ..

make install

Create a /etc/sysconfig/mouse file with the options for your mouse.
Here is mine (Look in man gpm for the meanig of the options):

mouse="-m /dev/psmouse -t ps2 -a 3 -d 4 -3"

Add an init script for gpm:
# /etc/init.d/gpm

.. /etc/init.d/functions
.. /etc/sysconfig/mouse

case "$1" in
    ln -s ../init.d/gpm /etc/rc0.d/K10gpm
    ln -s ../init.d/gpm /etc/rc1.d/S90gpm
    ln -s ../init.d/gpm /etc/rc2.d/S90gpm
    ln -s ../init.d/gpm /etc/rc3.d/S90gpm
    ln -s ../init.d/gpm /etc/rc4.d/S90gpm
    ln -s ../init.d/gpm /etc/rc5.d/S90gpm
    ln -s ../init.d/gpm /etc/rc6.d/K10gpm
    rm -f /etc/rc[0123456S].d/[SK][0-9][0-9]gpm
    echo -n "Summoning mouse daemon..."
    eval gpm $mouse
    echo -n "Exorcising mouse daemon..."
    killall -q gpm
    $0 start
    $0 stop
    sleep 1
    $0 start
    $0 reload
    statusproc gpm
    echo "Usage: $0 {start|stop|reload|restart|statusenable|disable}"
    exit 1
# End of /etc/init.d/gpm

Create symlinks to gpm so it stops and starts during reboot:
/etc/init.d/gpm enable

Start up gpm:
/etc/init.d/gpm start

You should now have a mouse in you console. If you don't, try
tail /var/log/sys.log
and man gpm

> c. Does everybody get an 'unknown IDE controller'? What is it? :]

No, it depends on your kernel, kernel options and IDE controller

PCI devices have vendor id's and device id's. eg:
PCI_IDE: unknown IDE controller on PCI bus 00 device 39, VID=1022, DID=7409
Vendor 1022 is AMD
AMD device 7409 is a viper IDE controller

The 2.2.x have an old PCI database, and you can compile bug fixes into the
kernel for older IDE controllers.

The 2.4.0 kernels have modern PCI a database, and will display the vendor
name and device name instead of the id's. You can also compile in support
for extra features in the newer controllers.

You IDE controler is more modern than you PCI database. The kernel
will not be able to use some extra features in the i810 chip set
(I do not know if there are any extra features in that chipset)


Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message

More information about the blfs-support mailing list