Probably, the only reason for running a 32-bit Puppy OS on 64-bit hardware is if you want a single OS that can run on the old MBR 32-bit hardware and the current GPT 64-bit hardware, i.e., one flash drive does all.
This requires a different xorg.conf depending on the hardware. Currently, I have two different personal save files one with the xorg.conf for the 32-bit Asus and the other with the xorg.conf for the 64-bit Dell. This is not ideal. So, I thought I could solve this by customizing the "xwin" script to symbolically link the correct xorg.conf to xorg.conf depending on the hardware type.
The problem is I cannot find a way to determine if the hardware is 32-bit or 64-bit.
"uname -m" reports "i686" probably because its reporting the bitness of the kernel not the bitness of the hardware.
The command "lscpu" doesn't exists in "Precise Light" even though PPM says that the "util-linux" package is installed.
The file "/proc/cpuinfo" is empty as are many other items in this directory. Why is that?
Is there a way to determine the bitness of the hardware in "Precise Light"?
A tangential question: Would running a 32-bit OS on 64-bit hardware reduce memory usage since the integers are smaller?
Here is the xorg.conf that worked on the Dell.
Code: Select all
#barry Kauler 2011
#pre-constructed xorg.conf, for use by /usr/sbin/xorgwizard-automatic
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
EndSection
# **********************************************************************
# Files section. This allows default font paths to be set
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed
FontPath "/usr/share/X11/fonts/misc/"
FontPath "/usr/share/X11/fonts/Type1/"
FontPath "/usr/share/X11/fonts/TTF/"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Enables mode switching with xrandr
Option "RandR" "on"
# With this, Xorg won't talk to udev to add evdev devices
# and you'll be back with the old Xorg behavior (pre-7.4)...
Option "AutoAddDevices" "false"
# Xorg 7.4, Ubuntu Jaunty, CTRL-ALT-BACKSPACE is disabled by default...
Option "DontZap" "false"
EndSection
# ===============================================================
Section "InputClass"
Identifier "keyboard-all"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbRules" "evdev"
Option "XkbModel" "pc104" #xkbmodel0
Option "XkbLayout" "us"
Option "XkbVariant" "" #xkbvariant0
Option "XkbOptions" "terminate:ctrl_alt_bksp" #xkboptions0
EndSection
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
# HorizSync 35-81
# VertRefresh 59-76
#UseModes "Modes0" #monitor0usemodes
# Option "PreferredMode" "1024x768" #monitor0prefmode
EndSection
Section "Modes"
Identifier "Modes0"
#modes0modeline0
EndSection
Section "Device"
Identifier "Card0"
Driver "fbdev" #card0driver
# VendorName "Unknown Vendor"
# BoardName "Unknown Board"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# DefaultDepth 24
#Option "metamodes" "1280x800_60 +0+0" #METAMODES_0
Subsection "Display"
Depth 24 #screen0depth
Modes "1366x768" #screen0modes
EndSubsection
EndSection