[ Software | Consulting | Ramblings | blog | Photos | Hacks | Humor Archive | Home Automation | Chris Farris ]

SuSE 8.0 on the Dell 8100

Modem
The 8100 uses the lucent winmodem. Download it into /usr/local/src ; untar it, and run build_module. Your modem device will be /dev/ttyL0.

On Board Ethernet
On board ethernet is the e100. It works fine but has problems with APM. I found a solution where I save the pci settings on boot and restore them on every resume. Put this file in /usr/local/sbin. Then add the following line before the "command_available()" function: . /usr/local/sbin/apm_i8000 You'll need to reboot or restart apm, because the pci stuff is saved when apm starts up.

X Windows / Dual Head
Sax2 loads X windows perfectly. However to get dual head functions you need to manually edit your /etc/X11/XF86config file. Here is mine: (whole file as a link)


# Generated by SAX2
Section "Module"
  Load         "freetype"
  Load         "speedo"
  Load         "type1"
  Load         "extmod"
  Load         "dbe"
  Load         "glx"	# JCF: you need this modules loaded for 3d/TwinView
EndSection

# Generated by SAX2 for the Insprion Internal Display
Section "Monitor"
  Identifier   "DELL UXGA"
  DisplaySize  340 270
  HorizSync    24-93.8
  ModelName    "1600X1200@75HZ"
  VendorName   "--> VESA"
  VertRefresh  50-75
  UseModes     "Modes[1]"
  Option       "DPMS"
EndSection

# Generated by SAX2 on my home LCD
Section "Monitor"
  Identifier   "Samsung"
  DisplaySize  340 270
  HorizSync    31-64
  ModelName    "1280X1024@60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection


# Modes generated for the Samsung Monitor
Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"800x600" 48.00 800 832 928 1024 600 604 608 624 -HSync -VSync
  Modeline 	"640x480" 25.20 640 656 752 800 480 490 492 525
  Modeline 	"832x624" 25.20 832 656 752 800 624 490 492 525
  Modeline 	"800x600" 25.20 800 656 752 800 600 490 492 525
  Modeline 	"1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
  Modeline 	"1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
EndSection

Section "Device"
        Identifier      "nVidia GeForce TwinView"
        Driver          "nvidia"
        VendorName      "nVidia"
        BoardName       "nVidia Ge Force Go 2"
        BusID           "PCI:1:0:0"
        ### Available Driver options are:
	Option		"UseEdidFreqs"	"yes"
        Option          "NvAGP"         "0"
        Option          "TwinView"
        Option  "ConnectedMonitor"      "CRT,DFP"       # Digital Flat Panel
        Option  "TwinViewOrientation"   "LeftOf" # or LeftOf or Clone

        # On a Laptop this would be the Internal Display
        Option  "SecondMonitorHorizSync"        "24-93.8"
        Option  "SecondMonitorVertRefresh"      "50-75"

        # MetaModes
        # ,; next
        # Remember on the laptop the internal display is head 1
        #			 Laptop only      Laptop and 1280x1024 display
        Option  "MetaModes"     "1280x1024,1280x1024; NULL, 1600x1200; 1280x1024 @1280x1200 ,1600x1200; "

EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" "1280x1024" "1024x768" "1024x768"
  EndSubSection
  Device       "nVidia GeForce TwinView"
  Identifier   "Screen[0]"
  Monitor      "Samsung"
EndSection


I've removed some sections, so you'll want to manually merge the above with your Sax generated XF86config. A couple of things to note:
  • I've had problems recongizing the external monitor with the "1280x1024, 1600x1200" mode, so if that problem occurs I switch to the "1280x1024, 1280x1024" mode, then to the "1280x1024, 1600x1200" mode.
  • APM is disabled by NVIDIA, but you can edit the source. Here is the change you need to make:
    Add the following lines (about 1762)
    
    printk("NVRM: avoiding suspend request, don't want to shutdown!!\n");
    printk("NVRM: JCF told me to fuck it and suspend anyway!!\n");
    return 0;
    // return 1;
    
    

    USB
    Nothing to report, this seems to work fine /w SuSE 8.0

    Floppy
    You want to recompile your kernel w/ floppy support as a module. Insmod floppy.o to use the drive, rmmod to take it out.

    CD-Bay
    I wrote a script to recan the IDE bus when I put in a new device.

    
    #!/bin/bash
    
    mount | grep cdrom > /dev/null
    if [ $? -eq 0 ] ; then
      echo "CDROM mounted - unmount before rescanning"
      exit 1
    fi
    
    modprobe -r ide-scsi
    modprobe -r cdrom
    
    /usr/local/sbin/idectl 1 rescan
    
    modprobe cdrom
    modprobe ide-scsi
    

    Irda
    From everything I can tell IRDA conflicts with the sound card. Serial Port and IRDA port are both set to COM1. Here is a script to load/unload irda. This only works when the serial port and IRDA are the same; and if you do that the serial port doesn't work - I'm still working on getting IRDA and sound working together

    
    #! /bin/bash
    #
    
    ACTION=$1
    
      case $ACTION in
        start)
          echo "shutting down sound"
          /etc/rc.d/alsasound stop
          sleep 5
          echo "running irattach"
          irattach /dev/ttyS0 -s
          exit 1
          ;;
        stop)
          echo "killing irattach"
          killall irattach
          modprobe -r ircomm-tty
          modprobe -r irtty
          echo "firing up sound"
          /etc/rc.d/alsasound start
          exit 1
          ;;
        check)
          echo "still not implemented"
          exit 1
          ;;
        *)     echo "still not implemented" ;;
      esac
      exit
    fi
    

    Serial Port
    I haven't gotten this to work. Some kinda problem w/ IRDA. Eventually I'll debug it when I have time to reboot the laptop. Works fine when not set to the same COM port as the IRDA.

    i8k.o
    This allows you to control the fans, Hotkeys at the top, and get the internal temp. For example:

     
    patton:~/bin # i8kctl
    1.0 A07 CJ5Y311 65 1 1 7680 7320 1 0
    patton:~/bin #
    
    The first 2 are the BIOS revision, the CJ5Y311 is my asset tag. The next four numbers are for the fan. The i8100 has two fans. This shows both are on low speed (1 - high speed is 2, off is 0), and the RPM each fan is running at. I forget what the last 2 numbers do. The command i8kfan will allow you to turn the fans on and off. Grab the i8k package here.

    APM
    Nothing special to do with APM except as noted above.

    SysProfile
    I wrote a script to handle the configuration differences between home and work. Grab it here.


    Questions or comments should be sent to: Chris Farris chris at room17 dot com
    Copyright 2000, Room17 Enterprises, all rights reserved.
    File Last modified on: Sunday, 11-Aug-2002 10:44:04 EDT