Toshiba C850D

X11

On BIOS the touchpad is defined as internal mouse (PS/2) /etc/X11/xorg.conf

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/OTF/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
EndSection

Section "ServerFlags"
    Option     "DontZap"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "XkbLayout" "pt"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Device" "/dev/mouse"  
    Option "Protocol"    "PS/2"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"
   DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1366x768" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

/etc/kde/kdm/Xsetup

# Xsetup - run as root before the login dialog appears
setxkbmap pt

ntpd

lilo.conf

append=" vt.default_utf8=1"
boot = /dev/sda

  bitmap = /boot/slack.bmp
  bmp-colors = 255,0,255,0,255,0
  bmp-table = 60,6,1,16
  bmp-timer = 65,27,0,255

prompt
timeout = 1200
change-rules
  reset
vga = 790
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda4
  label = Linux
  read-only
# Linux bootable partition config ends

image = /boot/vmlinuz-generic-3.2.29
  initrd = /boot/initrd.gz
  root = /dev/sda4
  label = SlackGen
  read-only

Sound

/etc/asound.conf

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

Install VirtualBox on Slackware64 14

For 4.3.26 http://download.virtualbox.org/virtualbox/4.3.26/VirtualBox-4.3.26-98988-Linux_amd64.run

As root run the following commands:

Install Vagrant from source

Based on https://github.com/mitchellh/vagrant/wiki/Installing-Vagrant-from-source

As root run the following:

Install libdvdcss

Upgrade from Slack64 14.0 to 14.1

Upgrade from 14.1 to 14.2

Get and burn ISO

Mount ISO

CURRDIR=`pwd`

# upgrade stuff
function upgrade
{  
  # slackware64-14-2 ISO must be mounted in packages
  # mount -o loop slackware64-14.2-install-dvd.iso  /packages/
  # must be in single user mode !!!
  # telinit 1
  mkdir -p /tmp/slack14_2
  cd /tmp/slack14_2
  echo Backup /etc
  tar cvzf backetc14_2.tgz /etc
  
  echo Initial install
  cd /packages
  upgradepkg /packages/slackware64/a/glibc-solibs-*.txz
  upgradepkg /packages/slackware64/a/pkgtools-*.txz
  upgradepkg /packages/slackware64/a/tar-*.txz
  upgradepkg /packages/slackware64/a/xz-*.txz
  upgradepkg /packages/slackware64/a/findutils-*.txz
    
  echo Install other stuff
  upgradepkg --install-new /packages/slackware64/*/*.t?z
  echo Remove old packages
  removepkg ConsoleKit apmd bluez-hcidump cxxlibs foomatic-filters gnome-icon-theme imlib kdeadmin kdenetwork kdesdk kdetoys kwallet lesstif libelf libjpeg libxfcegui4 networkmanagement obex-data-server obexfs open-cobol oxygen-gtk3 phonon-mplayer phonon-xine pil portmap procps qca-cyrus-sasl qca-gnupg qca-ossl udev xchat xf86-input-aiptek xf86-video-modesetting xfce4-mixer xfce4-volumed xfwm4-themes 

  echo Configure kernel
  /usr/share/mkinitrd/mkinitrd_command_generator.sh -k 4.4.14 | bash
 
  echo Check lilo.conf to point to 4.4.14 in image=
  cat /etc/lilo.conf | grep image
  echo Run lilo
  lilo
  echo Probable error above if image does not have the kernel 4.4.14-smp
  echo telinit 3
  # reboot 
  # in case of problems to get a login in lilo after '''boot: SlackwareGen single''' to start in single user mode
  # /etc/rc.d/rc.modules should point to rc.modules.new to use modules for 4.4.14
}

upgrade
echo $CURRDIR
cd $CURRDIR

/etc/kde/kdm/Xsetup

setxkbmap pt

Maximum performance for the cpus

   1 echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor 
   2 echo "performance" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
   3 
   4 cpufreq-set --cpu 0 --governor performance
   5 cpufreq-set --cpu 1 --governor performance

Slackware/Slackware64/ToshibaC850D (last edited 2018-04-03 22:36:16 by localhost)