I have been tinkering with
my old 486 box. I successfully reconfigured the original Windows for Workgroups (WFWG) operating system. All hardware functions --- CD drive, network card, mouse, video, and the PC speaker for a sound card.
I'm having less success with Slackware 11.0.
With Slackware 11.0 the network card and CD drive function. SSH works too.
Unresolved problems:
1. I see a mouse cursor but no cursor movement.
2. The kernel does not see all of the 16 MB of RAM. The kernel reports only 13.1 MB (/proc/meminfo).
3. Is there a way to configure the PC speaker as a sound card as I did in WFWG?
The mouse is a 400 dpi three button busmouse with no scroll wheel. The mouse port is on the video card. The video card is an ATI Graphics Ultra with 1MB of on-board RAM.
In WFWG I used the 8514/a video driver at 1024x768. The mouse works. Therefore hardware is not an issue.
Running
xorgsetup failed to help. I always received a black screen and I could not toggle to other consoles. I then tried
xorgconfig. That got me started but I have no mouse cursor movement.
I would like to use a better video driver than vga. If WFWG can use the 8514/a driver, I should find something comparable in X. The system will not load X with the generic ati driver, which xorgconfig provided after I selected the ATI Graphics Ultra option.
For simplicity at this stage I am using
twm. I'm using the 4-bit depth.
The
/dev/mouse node is linked to
/dev/atibm. After starting X,
/proc/interrupts shows the atibm at interrupt 5. I tried changing
Option "Device" "/dev/mouse" to
Option "Device" "/dev/inportbm" because in WFWG the msd utility reported an Inport mouse.
The
mouse-test tool does not find a mouse, but the utility warns of being incomplete.

I have a two-button serial mouse that mouse-test does not find either.
Both the
atixlmouse and
busmouse kernel modules are being loaded and are listed by lsmod.
I'm guessing the problem is a missing option in xorg.conf.
I'm using an old Viewsonic 7 17-inch CRT. Horizontal and vertical specs are straight from the user manual.
Having the kernel see all of the RAM would be nice. Before running X I am using about 11 MB. After loading twm, I am using about 4MB of swap. Reclaiming the missing 3 MB would be nice. The box has 4 4Mx9 30-pin SIMMs for a total of 16 MB.
I added
mem=16M to the boot loader options but to no avail. In WFWG, all of the usual memory detection methods (mem, msd, etc.) all find the full 16 MB of RAM. The
dmesg log shows the following:
Memory: 12956k/16384k available (1867k kernel code, 3040k reserved, 562k data, 120k init, 0k highmem)
Freeing unused kernel memory: 120k freed
The kernel seems to know the full 16MB exists and the 3040K reserved part would seem to be the missing memory. I understand that the kernel must use some of the 16 MB. I don't understand why /proc/meminfo does not report the full amount.
This is the stock
bare.i 2.4.33.3 kernel that came with 11.0.
Here is my xorg.conf:
Code:
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "extmod"
Load "record"
Load "xtrap"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/local/share/fonts/ttf"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection
Section "ServerFlags"
Option "NoPM" "true"
AllowMouseOpenFail
Option "DontZoom"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "250 50"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "BusMouse"
Option "Device" "/dev/mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
# Option "Buttons" "5"
# Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Viewsonic 7"
VendorName "Viewsonic"
ModelName "Viewsonic"
HorizSync 30-64
VertRefresh 50-90
EndSection
Section "Device"
Identifier "Standard VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI Graphics Ultra"
Driver "ati"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Standard VGA"
# Device "ATI Graphics Ultra"
Monitor "Viewsonic 7"
DefaultDepth 4
Subsection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
This is hardly a mission-critical project. Just doing what Slackers tend to do --- tinkering because I can.
Thanks.