Kevin's Mandrake Linux Notes...

Mandrake 10.0 Official
Category Title File Description
Device Drivers umax_pp Umax 1220P sane-backends-1.0.14 The umax_pp driver that comes with Mandrake 10.0 Official (1.0.13-6mdk) does not work. I had to use 1.0.14 in order to get my UMAX 1220P scanner to work. umax1220p.sourceforge.net and www.sane-project.org have information about various versions of the driver.

NOTE: The driver for Mandrake 9.2 was also broken. It was necessary for me to obtain the 1.0.13-4 driver to get the scanner to work. You can read my post about it here.
Firewire ieee1394 raw1394 ohci394 sbp2 For detailed firewire setup, see www.linux1394.org. Once you have the drivers installed, you may use a script I wrote to control the driver. Look for it below.
Configuration Hints umax_pp Umax 1220P /etc/sane.d/dll.conf You must edit the dll.conf file an uncomment the line that contains umax_pp".
/etc/sane.d/umax_pp.conf You must edit the umax_pp.conf file and make sure that there is a line to configure which port the scanner is on. My scanner is on the first printer port so I added port /dev/parport0, but port auto seems perfectly acceptable too.
/etc/modprobe.preload You probably want to make sure the ppdev module loads at boot, so you need to edit this file.
  --- etc/modprobe.preload	2004/09/16 02:42:11	1.1
  +++ etc/modprobe.preload	2004/09/16 02:43:53	1.2
  @@ -7,3 +7,12 @@
   # for old kernel use /etc/modules
   
   amd-k7-agp
  +
  +# UMAX 1220P Scanner and SANE
  +ppdev
      
Note that for earlier versions of Mandrake, you edit /etc/modules instead.
/etc/modules.conf You probably want to make sure the modules related to the scanner are configured properly. This is what my file looks like. Your mileage may vary.
  --- etc/modules.conf	2004/02/22 21:30:02	1.3
  +++ etc/modules.conf	2004/02/28 04:54:01	1.4
  @@ -9,9 +9,15 @@ alias eth0 3c59x
   # Sane Scanner UMAX 1220P
   #   Note:  Parallel port should be in EPP mode.
   #   Also:  man sane-umax_pp
  -alias parport_lowlevel ppdev
  +alias parport_lowlevel parport_pc
   options parport_pc io=0x378 irq=7 dma=auto
   #
      
Set your BIOS settings for the scanner parallel port to EPP mode for best results. The newer drivers are said to work with ECP or ECP/EPP, but I have not bothered to try them since EPP has worked from the get-go.
Firewire / ieee1394 interface management /etc/rc.d/init.d/ieee1394 ieee1394.tar.gz contains a file that you can use to auto-start the firewire interfaces. It also allows you to start, stop, restart and check on the status of the ieee1394 subsystem.

An example command is: service ieee1394 status
Setting a Console / Virtual Terminal Font /etc/rc.d/rc.sysinit These edits let you set the virtual terminal / console fonts with the vga= kernal parameter in /etc/lilo.conf or /boot/grub/menu.lst. Without this patch, the system will alter your settings shortly after boot.
  --- etc/rc.d/rc.sysinit	2004/09/16 02:22:37	1.4
  +++ etc/rc.d/rc.sysinit	2004/09/16 02:30:07	1.5
  @@ -83,7 +83,7 @@ if [ -x /sbin/setsysfont ]; then
                          echo -n -e '\033%G'
                          ;;
                      *)
  -			action "Setting default font ($SYSFONT): " /sbin/setsysfont
  +			: action "Setting default font ($SYSFONT): " /sbin/setsysfont
                          ;;
                  esac
                  ;;
  @@ -790,7 +790,7 @@ if [ "$DELAYED_FONT" = "yes" ]; then
                  action "Setting default font ($SYSFONT): " /bin/unicode_start $SYSFONT
                  ;;
              *)
  -		action "Setting default font ($SYSFONT): " /sbin/setsysfont
  +		: action "Setting default font ($SYSFONT): " /sbin/setsysfont
                  ;;
          esac
      fi
      
/etc/rc.d/rc Without this patch, the system will alter your settings during a system reboot.
  --- etc/rc.d/rc	2004/09/16 02:51:03	1.1
  +++ etc/rc.d/rc	2004/09/16 02:53:16	1.2
  @@ -71,7 +71,7 @@ elif [[ "$newrunlevel" = "0" || "$newrun
       # It has to be after chvt of course. For startup case it really
       # does not matter as tty is not changed between rc.sysinit and rc
       # DO NOT REMOVE THIS. Please :)
  -    /sbin/setsysfont
  +    : /sbin/setsysfont
   fi
      
WARNING: When you edit /etc/rc.d/rc.sysinit or /etc/rc.d/rc and then upgrade to a newer version of Mandrake, the system will freak out because the upgrade will not update altered files. You need to restore the original file before upgrading, or, you need to use the busybox prompt to copy the new rc.sysinit.rpmnew file over your modified file right before rebooting the first time after the upgrade. If you don't do this, you wil have to use rescue mode to fix the system.
Useful Commands Hardware Information lshw This is an awesome command. It will tell you a lot more than you can get out of /proc. Even things like the name of your motherboard.
USB Information lsusb This is a command that show the devices that are on your usb interfaces.
Firewire information gscanbus Graphical X program to show the devices that are on your ieee1394 interfaces.

Back  Top  Home  Credits  What's New 

Humor  Internet  Linux  OS  Projects  Software  Systems  Tools 
Crossfire Site  Kevin's Home Site  KRayWiki 
Resume 


Last edited: January 07th, 2011
Maintainer: Kevin R. Bulgrien
Valid XHTML 1.0 Strict