earth tech

[software and hardware technology originating from or otherwise pertinent to planet earth]

use these buttons to share this blog on portal sites:

Add to Google

Tuesday, September 8, 2009

 

Posting from KNOPPIX v6.0.1 on USB

The method shown in the previous post worked – now posting from system running from USB stick.

This is a hybrid USB file system – partition one is 750M FAT16, partition two is the rest of the 4G USB stick, formatted as ext2, I believe.

Here are some vital stats copied from a console:

knoppix@Microknoppix:~$ sudo su
root@Microknoppix:/home/knoppix# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:6e:6c:d0:dc  
          inet addr:192.168.0.185  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:6eff:fe6c:d0dc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1512 (1.4 KiB)  TX bytes:1536 (1.5 KiB)
          Interrupt:22 Base address:0x6000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@Microknoppix:/home/knoppix# host host.earthside.org
host.earthside.org has address 67.43.9.226
root@Microknoppix:/home/knoppix# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             716M  645M   71M  91% /mnt-system
tmpfs                 1.0G  2.8M 1022M   1% /ramdisk
/dev/cloop            1.7G  1.7G     0 100% /KNOPPIX
unionfs               1.0G  2.8M 1022M   1% /UNIONFS
unionfs               1.0G  2.8M 1022M   1% /home
tmpfs                  10M   60K   10M   1% /UNIONFS/var/run
tmpfs                  10M     0   10M   0% /UNIONFS/var/lock
tmpfs                 100M   48K  100M   1% /UNIONFS/var/log
tmpfs                 1.0G   12K  1.0G   1% /tmp
udev                   20M   56K   20M   1% /dev
tmpfs                 1.0G  4.0K  1.0G   1% /dev/shm
root@Microknoppix:/home/knoppix# cat /etc/fstab 
# DEFAULT BASE FSTAB, UNCONFIGURED
proc       /proc         proc       noauto             0 0
sysfs      /sys          sysfs      noauto             0 0
# Added by KNOPPIX
/dev/sda1 /media/sda1 vfat noauto,users,exec,umask=000,shortname=winnt,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/sda2 /media/sda2 ext2 noauto,users,exec 0 0
# Added by KNOPPIX
/dev/sr0 /media/sr0 auto ro,noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdd /media/hdd auto ro,noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hdc /media/hdc auto ro,noauto,users,exec 0 0
root@Microknoppix:/home/knoppix#  cat /etc/mtab
rootfs / rootfs rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/sda1 /mnt-system vfat rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp850,iocharset=iso8859-1,shortname=winnt 0 0
tmpfs /ramdisk tmpfs rw,size=1048576k 0 0
/dev/cloop /KNOPPIX iso9660 ro 0 0
unionfs /UNIONFS aufs rw,noatime,si=e57182f3,xino=/ramdisk/.aufs.xino,noplink,br:/ramdisk=rw:/KNOPPIX=ro 0 0
unionfs /home aufs rw,noatime,si=e57182f3,xino=/ramdisk/.aufs.xino,noplink,br:/ramdisk=rw:/KNOPPIX=ro 0 0
usbfs /proc/bus/usb usbfs rw 0 0
tmpfs /UNIONFS/var/run tmpfs rw,size=10240k 0 0
tmpfs /UNIONFS/var/lock tmpfs rw,size=10240k 0 0
tmpfs /UNIONFS/var/log tmpfs rw,size=102400k 0 0
tmpfs /tmp tmpfs rw,size=1048576k 0 0
udev /dev tmpfs rw,size=20480k 0 0
tmpfs /dev/shm tmpfs rw,size=1048576k 0 0
devpts /dev/pts devpts rw,mode=1777 0 0
root@Microknoppix:/home/knoppix# 

Labels: , , , , ,

Friday, March 20, 2009

 

xorg.conf file for hp pavilion zd7000

#
#  X-server configuration file.
#
#  Place this file at /etc/X11/xorg.conf and restart the X server 
#  in order to start using the provided configuration.
#
#  This is the xorg.conf file that fixes the X-server config 
#  problems on the hp pavilion zd7000 laptop running OpenSuSE 11.0
#
#  The source of this file is/was: 
#    http://www.ccs.neu.edu/home/jpatota/linux/knoppix/xorg.conf
#
#
Section "ServerLayout"
 Identifier     "XFree86 Configured"
 Screen      0  "Screen0" 0 0
 InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
 Option "AllowMouseOpenFail"  "true"
 
EndSection

Section "Files"
 RgbPath      "/usr/share/X11/rgb"
 ModulePath   "/usr/lib/xorg/modules"
 FontPath     "/usr/share/fonts/X11/misc:unscaled"
 FontPath     "/usr/share/fonts/X11/75dpi:unscaled"
 FontPath     "/usr/share/fonts/X11/100dpi:unscaled"
 FontPath     "/usr/share/fonts/X11/Type1"
 FontPath     "/usr/share/fonts/X11/Speedo"
 FontPath     "/usr/share/fonts/X11/PEX"
# Additional fonts: Locale, Gimp, TTF...
 FontPath     "/usr/share/fonts/X11/cyrillic"
# FontPath     "/usr/share/fonts/X11/latin2/75dpi"
# FontPath     "/usr/share/fonts/X11/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
 FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath     "/usr/share/fonts/truetype"
 FontPath     "/usr/share/fonts/latex-ttf-fonts"
EndSection

Section "Module"
# Comments: see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346408
 Load  "dbe" # Double Buffering Extension, very important.
 Load  "dri" # This shouldn't be available choice if user has selected driver vga, vesa or nv.
 Load  "glx" # GLX Extension.
 Load  "freetype" # Freetype fonts.
 Load  "type1"  # Type 1 fonts
 Load  "record" # Developer extension, usually not needed
# Load  "extmod" # This is okay, but if you look into "man xorg.conf" you'll find option NOT to include DGA extension with extmod, and for a good reason.. DGA causes instability as it access videoram without consulting X about it.
 SubSection      "extmod"
  Option          "omit xfree86-dga"
 EndSubSection
# Load  "speedo" # Speedo fonts, this module doesn't exist in Xorg 7.0.17
# The following are deprecated/unstable/unneeded in Xorg 7.0
#       Load  "ddc"  # ddc probing of monitor, this should be never present, as it gets automatically loaded.
# Load  "GLcore" # This should be never present, as it gets automatically loaded.
#       Load  "bitmap" # Should be never present, as it gets automatically loaded. This is a font module, and loading it in xorg.conf makes X try to load it twice.
EndSection

Section "InputDevice"
 Identifier  "Keyboard0"
 Driver      "kbd"
        Option      "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "us"

EndSection

Section "InputDevice"
 Identifier  "Serial Mouse"
 Driver      "mouse"
 Option      "Protocol" "Microsoft"
 Option      "Device" "/dev/ttyS0"
 Option      "Emulate3Buttons" "true"
 Option      "Emulate3Timeout" "70"
 Option     "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
 Identifier  "PS/2 Mouse"
 Driver      "mouse"
 Option      "Protocol" "auto"
Option          "ZAxisMapping"          "4 5"
 Option      "Device" "/dev/psaux"
 Option      "Emulate3Buttons" "true"
 Option      "Emulate3Timeout" "70"
 Option     "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
 Option  "SendCoreEvents" "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
 Identifier "Monitor0"
 Option "DPMS" "true"
 HorizSync    30 - 64
 VertRefresh  50 - 100
 Modeline "1440x900" 97.54 1440 1472 1840 1872 900 919 927 946
EndSection

Section "Device"
 ### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
        #Option     "sw_cursor"
        #Option     "hw_cursor"
        #Option     "NoAccel"
        #Option     "ShowCache"
        #Option     "ShadowFB"
        #Option     "UseFBDev"
        #Option     "Rotate"
 Identifier  "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
 Driver      "nv"
 VendorName  "All"
 BoardName   "All"
# BusID       "PCI:1:0:0"
 Option "MetaModes" "1440x900"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device     "Card0"
 Monitor    "Monitor0"
 DefaultColorDepth 16
  SubSection "Display"
  Viewport 0 0
  Depth 24
  Modes "1440x900"
 EndSubSection
EndSection

Section "DRI"
 Mode 0666
EndSection

Labels: , , , , , , ,

 

NVIDIA X-server problems with hp pavilion zd7000

http://www.ccs.neu.edu/home/jpatota/linux/knoppix/index.html

A week or so ago I managed to munge the X-server configuration on the hp pavilion zd7000 linux laptop I've been using for about a month now. The X-server quit working after some set of package installs and/or system updates wherein I was trying to get the correct NVIDIA™ display drivers installed such that I could use the various "transparency" and "translucency" settings on the shiny new KDE 4.x desktop.

The fix given on the page Configuring and Running Knoppix on the HP Pavilion zd7000 works, even though the OS distribution listed as the application environment for the fix is given as KNOPPIX. and the distro I have on the hp is OpenSuSE 11.0.

For the record, the fix is/was:

Download the xorg.conf from http://www.ccs.neu.edu/home/jpatota/linux/knoppix/xorg.conf and install it as /etc/X11/xorg.conf

I have posted a copy of the xorg.conf file recommended above at http://blogs.earthside.org/earth_tech/2009/03/xorgconf-file-for-hp-pavilion-zd7000.html.

I have downloaded the file in question, and am uploading attached to this post as an "enclosure" …

Or, "just–in–case" the enclosure doesn't enclose, I will paste a copy of the file into a subsequent posting on this blog.

Labels: , , , , , , , ,

Sunday, July 15, 2007

 

More about KNOPPIX and the HP a220n

The X log file on the HP Pavilion a220n running KNOPPIX:

uploads/Xorg.0.log.TXT

This file is found at /var/log/Xorg.0.log on the system while the system is running.

Labels: , , , , ,

Archives

2006/12   2007/01   2007/05   2007/06   2007/07   2007/08   2007/10   2008/01   2008/02   2008/03   2008/05   2008/11   2008/12   2009/01   2009/02   2009/03   2009/04   2009/05   2009/07   2009/09   2009/10   2009/11   2009/12   2010/01  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]