40.71 Dell Latitude CPiD300XT (Inka)

Inka is a laptop used essentially as a stand-alone machine with modem connectivity. A docking station provided a 19inch monitor and external keyboard and mouse. Debian GNU/Linux 2.1 was installed from floppies, 15 March 1999. It was upgraded to unstable sometime later.

40.71.1 Inka Specifications

Spec Details
CPU Pentium Pentium II 300MHz
RAM 128MB
Disk 6GB (MS/Windows/NT)
Disk 6GB (additional drive in the internal bay) /dev/hdc
Floppy Parallel port of the docking station
CD-ROM TOSHIBA CD-ROM XM-1802B, ATAPI CDROM drive
(docking station)
NIC 3COM Vortex 3C590/905-series (docking station)
Modem PCMCIA 3COM 56K
Video NeoMagic MagicGraph 128XD (NM2160)
Audio Crystal Semiconductor CS4237B Advanced Audio SRS 3D Sound

The lspci command gives:

00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX 
        Host bridge (AGP disabled) (rev 02)
00:02.0 VGA compatible controller: Neomagic Corporation NM2160 
        [MagicGraph 128XD] (rev 01)
00:03.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
00:03.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
00:07.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 01)
00:11.0 PCI bridge: Intel Corporation 82380FB (rev 01)
01:05.0 IDE interface: CMD Technology Inc PCI0646 (rev 03)
01:07.0 SCSI storage controller: Adaptec AIC-7860 (rev 03)
01:08.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]

40.71.2 Inka Install Log

color
kb      qwerty/us
disks   partition         6GB   Linux N P 6063 B T 83 B hdc1
                        128MB   Swap  N P 125 T 82      hdc2  W Q
swap    /dev/hdc2       scan
linux   /dev/hdc1       scan
root    mount           /dev/hdc1
kernel  from /dev/fd0   Rescue Disk     Drivers Disk
devices misc            psaux
        net             ppp
network host = debian
        connected = no
base    from /dev/fd0   Base Disks 1-7
config  timezone        Australia ACT   GMT no
(skip the "Make Linux boot directly from hard disk")
Make boot floppy        Custom Boot
Reboot

With the initial boot the extra internal bay hard disk drive had to be mentioned to the kernel with the following command line when the boot prompt is displayed (you have about 10 seconds to begin typing):

  boot: linux hdc=13424,15,63

(the numbers were eventually figured out one time when the drive was eventually auto-detected after a kernel upgrade).

40.71.3 ALSA Sound Configuration

Lindsay Haisley supplied the following configuration file for alsa:

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cs4236
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

# Set this to the correct number of cards. 
options snd cards_limit=1

# Options for the Crystal sound card in the Dell Latitude CPi D300XT
options snd-cs4236 index=0 id=CARD_0 port=0x530 cport=0x210 mpu_port=0x330 fm_port=0x388 irq=5 mpu_irq=9 dma1=0 dma2=1 isapnp=0

# OSS/Free portion
alias char-major-14 soundcore

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

40.71.4 XF86 Configuration

Lindsay Haisley supplied the following configuration file (/etc/X11/XF86Config-4) for xserver-xfree86. It is specific to the Dell CPi D300XT laptop with the standard Neomagic Chipset and the example here is a combination of the XF86Config-4 example provided with Gentoo Linux and Dell CPi D300XT laptop details.

For the Dell CPi with the NeoMagic video we do not need to specify a specific ModeLine setting—the X server determines that the VESA standard default video mode for the Neomagic video system in the Dell Latitude CPi D300XT should be as follows:

 (**) NEOMAGIC(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
 (II) NEOMAGIC(0): Modeline "1024x768"   65.00  \
      1024 1048 1184 1344  768 771 777 806 -hsync -vsync

If you are using version 3 of the XFree86 server then the following modeline might help out:

   Modeline    "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync

The video system in this computer seems to be sufficiently flexible to accomodate either setting without apparent video alignment errors, however if your display appears to be misaligned, use the older Modeline setting to see if it solves your problem.

The options for the neomagic driver allow docked and external displays. Internal and external displays don’t work together so you need to manually edit the XF86Config-4 file each time you change between the external and internal display. It is reported that having both enabled can destroy the internal display. It certainly makes it go pretty ugly momentarily.

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "unix/:7100"
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    ModulePath  "/usr/X11R6/lib/modules"
EndSection
Section "Module"
    Load        "dbe"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load  "dbe"             # Double-buffering
    Load  "GLcore"          # OpenGL support
    Load  "dri"             # Direct rendering infrastructure
    Load  "glx"             # OpenGL X protocol interface
    Load  "extmod"          # Misc. required extensions
    Load  "v4l"             # Video4Linux
EndSection
Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
EndSection
Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 20"
    Option      "Xleds" "1 2 3"
    Option      "XkbModel"      "pc105"
EndSection
Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"      "PS/2"
    Option      "Device"        "/dev/mouse"
    Option      "Emulate3Buttons"
    Option      "Emulate3Timeout"       "50"
EndSection
Section "Monitor"
    Identifier  "Dell SyncMaster 17GLi"
    HorizSync   31.5 - 48.5         # multisync
    VertRefresh 55-65
EndSection
Section "Device"
        Identifier "NeoMagic"
        Driver "neomagic"
        BoardName "Unknown"
#   Option     "Rotate"
#   Option     "pciBurst"
#   Option     "ShadowFB"
#   Option     "NoStretch"
#   Option     "LcdCenter"
#    Option     "externDisp"            # Uncomment this for external video
    Option     "internDisp"             # Uncomment this for internal video
    Option     "overrideValidateMode"
#   Option     "noMMIO"
#   Option     "SWcursor"
#   Option     "NoAccel"
#   Option     "NoLinear"
#    Option     "XaaNoScanlineImageWriteRect"
#    Option     "XaaNoScanlineCPUToScreenColorExpandFill"
EndSection
Section "Screen"
    Identifier  "Screen0"
    Device      "NeoMagic"
    Monitor     "Dell SyncMaster 17GLi"
    DefaultColorDepth 16
    Subsection  "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
    EndSubsection
EndSection
Section "ServerLayout"
        Identifier     "XFree86 Dell CPi D300XT"
        Screen         0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0