You are here: / neerv106.speed.planet.nl / serverconfig / hermiod >

Hermiod

REST OF THIS PAGE IS INFO FOR HADES, NOT HERMOID!

(23-03-2007)   Hermiod is the replacement for Hermes. Got it in march 2007. I just unpacked it..


Hades - hardware

Model/form HP Compaq nx 7400 laptop
Motherboard?
Processor ?
Memory 512M
Video ?
Storage ? HD 40 "GB" (40007MB/7877KB) UDMA 100
24x DVD-ROM, CD-R/RW UDMA 33

Hermiod - lspci

?00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 01)
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:0e.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

Hades - kernelconfig

Subject Module? Works? Kernelconfig
Network ? yes
Ext2/Ext3 filesystems - yes <more..>
Remote automount autofs4 untested, not configured <more..>
CD-R/RW / DVD / USB pktcdvd, [sd_mod, usbcore, ehci-hcd, uhci_hcd, usb-storage], usbhid USB: ok,
DVD: ok,
CD-R: ok
CD-RW: ok
<more..>
Video agp_intel, i915, intelfb GLXgears:>6650/5sec : good
Open GL works
For some reason, DRI doesn't always work
<more..>
Sound snd, snd_ac97_codec, snd_i810 yes <more..>
Wireless ipw2200, ieee80211, ieee80211_crypt yes <more..>
Bluetooth (PC <-> Phone) bluetooth, l2cap, rfcomm, hci_usb yes (I can send and receive files) <more..>
Webcam (Trust 320 Spacecam) videodev, ov511, sn9c102 Working on it <more..>
ACPI ac, battery, fan, processor, thermal, acpi, button KDE tells me ACPI not configured (fixme: expand)
(fixme: helpfull page?


Ext2/3

Hades has two ext3 partitions: / and /boot. I started with ext3 as a module and including in the initrd, but since I'm never going without ext3 and I'm compiling my own kernel, they might as well be part of the kernel:
[File Systems]
  [x] Second extended fs support
      [ ] Ext2 extended attributes
  [x] Ext3 journalling file system support
      [x] Ext3 extended attributes
          [ ] Ext3 POSIX Access Control Lists
          [ ] Ext3 Security Labels
(fixme: mount alle fs met noatime optie (fstab). Dit is een laptop. )

Remote Automounter

Eventually, I'd like to be able to use this feature to be able to connect to my file-servers when the laptop is plugged in at home. I may get around to configuring it.
[File Systems]
  [M] Kernel automounter version 4 support (also supports v3)

CD-ROM / DVD / USB

A case could be made for compiling CD-ROM support as a module. For a gain of 27 KB in kernel size, I can't be bothered.
For the moment, I don't think I'll come accross compressed CD's or UDF (packet mode?) CD's / DVD's.
I found the packet writing thing in my .config. Not sure if this is actually needed (can't test right now), but sounds logical..
Most USB support goes straight into the kernel, don't want to worry about modprobing when some device is plugged in. USB memory sticks are treated as SCSI devices and show up as /dev/sda/ etc.
(07-01-2006)   For some reason the permissions to /dev/hdc are set to 660, which means only root can mount CD's. To do that as a user, I'd have to chmod 666 it.. did that, but reboot resets it.
Of course, the correct solution is to add myself to the correct group (cdrom). Problem solved.

[Device Drivers]
  [Block devices]
    [M] Packet writing on CD/DVD media                 pktcdvd
    (8)   Free buffers for data gathering
  [SCSI device support]
    [*] SCSI disk support                              sd_mod
  [USB support]
    [*] Support for Host-side USB                      usbcore
    [*] USB device filesystem
    [*] EHCI HCD (USB 2.0) support                     ehci-hcd
    [ ] OHCI HCD support 
    [*] UHCI HCD (most Intel and VIA) support          uhci-hcd
    [*] USB Mass Storage support                       usb-storage
    [M] USB Human Interface Device (full HID) support  usbhid
    [*]   HID input layer support

[File Systems]
  [CD-ROM/DVD Filesystems]
    [x] ISO 9660 CDROM file system support
        [x] Microsoft Joliet CDROM extensions
        [ ] Transparent decompression extension
    [ ] UDF file system support

Video

Video - kernelmodules

This laptop has an Intel 82852/855GM integrated video chip(set). First select the module for that chip(set), then enable the laptop to boottime video mode selection (the "vga=773" in /etc/lilo.conf) and the penguin (needs more work).
[Device Drivers]
  [Character devices]
    [*] /dev/agpgart (AGP Support)
      [M] Intel 440LX/BX/GX, I8xx and E7x5 chipset support    agp_intel
    [*] Direct Rendering Manager (XFree 4.1.0 and higher DRI support)
      [M] Intel 830M, 845G, 852GM, 855GM, 856G
        [M] i915 driver                                       i915

  [Graphics support]
#   [ ] Frame buffer support
    [*] Frame buffer support
      [M] Intel 830M/845G/852GM/855GM/856G support            intelfb
    [Console display driver support]
      [*] Video mode selection support
      [Logo Configuration]
        [*] Bootup logo
        [*] Standard 224-color Linux logo

Video - Direct Rendering

To enable direct rendering in X, make sure the DRI module is loaded:
In X86Config.conf / xorg.conf (/etc/X11/xorg.conf):
  Load  "dri"
The following allows anybody (not just root) to use direct rendering.
  Section DRI
    Mode 0666
  EndSection

Video - Open GL

Remaining problems: I don't think OpenGL is working as it should: the OpenGL screensavers won't start :-(.

(21-09-2005)
For some reason, Open GL now works (it didn't for quite a while). I suspect upgrades on X11 and kernel recompile (2.6.13).

Sound

This is the current, working, config:
[Device Drivers]
  [Sound]
    [M] Sound card support
    [Advanced Linux Sound Architecture]
      [M] Advanced Linux Sound Architecture
      [ ]   Sequencer support
      [ ]   OSS Mixer API
      [ ]   OSS PCM (digital audio) API
      [PCI Devices]
        [M] Intel/SiS/nVidiaAMD/ALi AC97 Controller
According to lspci, I have an Intel 82801DB (ICH4) integrated sound chip. According to KNOPPIX, I should be loading the i810_audio module. According to xconfig, there is no such module..
In Sound:Open Sound System there is an option for "Intel ICH (i8xx) audio support" which is probably the one that Knoppix uses, but it's an OSS module (I'm trying to use ALSA only) and deprecated.

(17-10-2005)  I "fixed" it! Don't have the details right now (I think the configuration above is the right one), but I finally got sound working by telling kmix not to check for the "phone jack sense"-thingy. Klicked it off (in the advanced tab) and voila, sound works!
(29-12-2005)  Annoying: On startup, I see stuff like "FATAL: snd_pcm_oss not found". These are left-overs from when I used OSS. Sound works though. Probably somewhere in /etc/modules.conf.
(07-06-2006)   Very annoying: after upgrading to KDE 3.5.3, my sound is gone. Again.. This time, there's no more "phone jack sens"-thingy and Xine freezes after about 4 seconds of soundless play..
Two reboots later: sound works again.. uhm.. No idea why..

Wireless

(30-04-2007)   The wireless chipset in this laptop (Intel 3945ABG) is not directly supported by the current kernel (2.6.21.1, hopes are high for 2.6.22). Also, due to to various bullshit legal reasons, a binary blob of firmware needs to be installed. On top of all that, a regulatory deamon needs to be present to regulate .. things.

Starting with the kernel support, the driver module can be downloaded from Sourceforge. Unpack, compile and install it as if it were part of the kernel:

  mkdir /usr/src/firmware
  cd /usr/src/firmware
  .. download ..
  tar xzvf ipw3945-1.2.1.gtar
  cd ipw3945-1.2.1
  make modules
  make install

Now, download the firmware and unpack it in /lib/firmware (location determined by /etc/hotplug/firmware.agent):

  cd /usr/src/firmware
  .. download ..
  tar xvzf ipw3945-ucode-1.14.2.tgz
  cp ipw3945-ucode /lib/firmware

(29-12-2005)   We have a IPW2200 chipset that we can use with a native driver + firmware (no ndis-wrapper needed). Select the driver and allow firmware to be loaded. For WEP and WPA, a number of cryptograhic algorithms needs to be selected.

[Networking]
  [M] Generic IEEE 802.11 Networking stack                           ieee80211
    [M] Enable IEEE 802.11 WEP encryption (802.1x)                   ieee80211_crypt
    [M] Enable IEEE 802.11i CCMP encryption
    [M] Enable IEEE 802.11i TKIP encryption
[Device Drivers]
  [Network Device Support]
    [*] Network device support
      [*] Wireless LAN (non-hamradio) & Wireless Extensions
        [M] Intel PRO/Wireless 2200BG and 2915ABG Network Connection ipw2200
  [Generic Driver Options]
    [M] Hotplug firmware loading support                             firmware_class
[Cryptographic options]
  [M] AES cipher algorithms (i586)
  [M] ARC4 cipher algorithm
  [M] Michael MIC keyed digest algorithm

Next, download the firmware from (http://ipw2200.sf.net). Apparently, 2.6.15rc5 uses version 1.8 of the ipw2200 driver, so download the firmware firmware v2.4 and unpack the files in /lib/firmware (location determined by /etc/hotplug/firmware.agent).

(30-12-2005)   Although kwifimanager seems to use the driver and actually picks up traces of my neighbours network, it crashes as soon as I try to 'Scan for networks'. Nothing in syslog or messages. Need more verification before I'm calling this a bug though. Unfortunately, I know next to nothing about wifi..

(21-03-2005)   Changed /etc/rc.d/rc.inet1.conf, so that it now says
    USE_DHCP[1]="YES"
meaning that eth1 (the wireless connection) should try and get a connection. It now picks up my neighbours network reliably :-), and even prefers it to my utp-cable. Whenever it connects that way, the routing table and /etc/resolv.conf are overwritten. Had to write a script to revert those changes and use my own network.

(19-06-2006)   2.6.17 arrived and wireless stopped working. Yay. Found it. 2.6.17 uses the "3.0 image format", so get that version of the firmware.
(15-02-2007)   2.6.20 arrived and although wireless networking works, ipw2200 fails to hibernate / resume. Downloaded the new 3.0 version of the firmware (filesize differs from the previous 3.0) unpacked in /lib/firmware, reboot, but problem persists.. when hibernating, dmesg says:
  eth1: Going into suspend...
  ipw2200: Failed to send ASSOCIATE: Command timed out.
  ipw2200: Failed to send CARD_DISABLE: Command timed out.
When resuming, dmesg says:
  eth1: Coming out of suspend...
  ipw2200: Failed to send TX_POWER: Command timed out.
  ipw2200: Unable to initialize device after 5 attempts.
Help!

Bluetooth

I have a Sweex bluetooth-usb dongle and I would like to download the pictures off of my Samsung D720 (mobile phone).
The kernel needs to know about the bluetooth protocol that transfers files and also how talk to a USB-bluetooth device.

[Networking]
  [M] Bluetooth subsystem support     bluetooth
    [M] L2CAP protocol support        l2cap
    [ ] SCO links support
    [M] RFCOMM protocol support       rfcomm
    [ ] BNEP protocol support
    [M] HIDP protocol support
    Bluetooth device drivers
      [M] HCI USB driver              hci_usb
        [ ] SCO voice support

The SDP deamon and the HCI damon need to run, so that bluetooth devices can advertise their services (sdpd "Secure Devices Paired Daemon?") and the Bluetooth Host Controller Interface can be managed (hcid). In /etc/rc.d/rc.local, add these lines (note to self: there has to be a better way to do this):

# Bluetooth services and devices
/usr/sbin/hcid
/usr/sbin/sdpd

Notes:
kdebluetooth, kde-extragear-3
downloaded package kdebluetooth-1.0beta1-i486-1bmr.tgz from linuxpackages
downloaded packages bluez-libs-2.25-i686-1.tgz, bluez-utils-2.25-i686-1.tgz, openobex-1.0.1-i686-1.tgz from develia.org (directed there by www.bluez.org)
On KDE startup kbluetooth complains about how I should replace "pin" for "kbluepin". This might refer to a line in /etc/bluetooth/hcid.conf, but after pointing to the KDE version (/opt/kde/lib/kdebluetooth/kbluepin), the complaining continues.
Downloaded package dbus-0.60-i486-2sdd.tgz from linuxpackages.. hcid wants a file libdbus-1.so.
Send files to phone: use kbtobexclient
Receive files from phone: use konquerer (!) URL: obex://[00:..:06]/
Why do I need separate programs? So close..

Webcam

I want to be able to use a webcam when chatting. I have a Trust 320 Spacecam, lets see if I can get Kopete to use it.
First, we need to let the kernel know about the USB camera. Enable Video4Linux, and in V4L USB devices, check the OV511 driver. This driver supports the OV511 USB-only chip used in many "webcam" devices. And since lsusb says it's an OmniVision Technologies device, I guess this is the one we want.
I wonder about using the deprecated stuff though: if I uncheck it, I can no longer select the OV511 driver. Does that mean it's selected by default? I don't think so..

[Device Drivers]
  [Multimedia devices]
    [M] Video For Linux                                    videodev
    [*]   Enable Video For Linux API 1 (DEPRECATED)
    [ ]   Enable Video For Linux API 1 compatible Layer
      [Video Capturre Adapters]
        [V4L USB devices]
          [M] USB OV511 Camera support                     ov511
          [M] USB SN9C10x PC Camera Controller support     sn9c102

Force the videodev and ov511 modules to load at startup (this should really happen at the moment the camera is plugged in) by adding this to /etc/rc.d/rc.local:
# Webcam drivers
modprobe videodev
modprobe ov511

Notes
lsusb says Bus 3 Device 3: ID 05a9:8519 OmniVision Technologies, Inc.
There is a "USB OV511 Camera support" kernel option
See ../problems.html. The other webcam (sn9c102) finally worked (although both hades and hermes freeze when it is plugged in, removed and then plugged again) although xawtv and kopete fail to produce an image. Only a viewer downloaded from the driverwriter's website actually worked. He claims none of the applications I tried use the V4L API correctly. Apparently, if no one can use your product, but you can, everybody else is wrong.


Non-official packages

These are the applications I have installed that are not part of the default Slackware installation. I try to find my software at www.linuxpackages.net in the form of a slackware package. If not there, I try to get a package from the source (opera). If there's no package, I get and compile source.

Project Name Package Found where Problems
Networking Ethereal ethereal-0.99.0-i486-1kjz www.linuxpackages.net none
Chat aMSN 0.94 - www.linuxpackages.net none
Opera Opera 9.02 - www.opera.com none
Open Office Open Office 2 openoffice.org-2.1.0-i586-1kjz www.linuxpackages.net none
CD ripping Lame lame-3.97b2-i486-1kjz www.linuxpackages.net none
DVD ripping DVD::RIP 0.97.6 (unstable) - www.exit1.org/dvdrip not yet working
Players Mplayer mplayer-1.0pre8-asz www.linuxpackages.net none
Camera SQLite3 3.2.7 - www.linuxpackages.net none
Camera Imlib2 1.2.1 - www.linuxpackages.net none
Camera GPhoto2 2.1.6 - www.linuxpackages.net none
Camera LibGPhoto2 2.1.6 - www.linuxpackages.net none
Camera Libkexif 0.2.2 - www.linuxpackages.net none
Camera Libkipi 0.1.2 - www.linuxpackages.net none
Camera DigiKam 0.8.1 - www.linuxpackages.net none
Webcam Webcam driver sn-webcam 0.8.0 sn-webcam.sourceforge.net No, don't buy cheap Trust webcams..
USB Bluetooth KDE bluetooth kdebluetooth-1.0beta1-i486-1bmr www.linuxpackages.net none
USB Bluetooth BlueZ Libs bluez-libs-2.25-i686-1 www.linuxpackages.net none
USB Bluetooth BlueZ Utils bluez-utils-2.25-i686-1 www.linuxpackages.net /etc/bluetooth/hcid.conf: point to kbluepin
USB Bluetooth Open OBEX push client openobex-1.0.1-i686-1 www.linuxpackages.net none
USB Bluetooth D-BUS message framework dbus-0.60-i486-2sdd www.linuxpackages.net none

Camera

After installing the libgphoto packages, do this (as root):
cp  /usr/doc/libgphoto2/linux-hotplug/usbcam.group  /etc/hotplug/usb/usbcam
chmod  755  /etc/hotplug/usb/usbcam
/usr/lib/libgphoto2/print-usb-usermap  >  /etc/hotplug/usb/usbcam.usermap
The first two put a script in place that will make your camera accessible to anyone in the group 'camera' (you have to make the group) when you plug it in, the third one lets libgphoto identify your camera.

aMSN

aMSN is at 0.95. Waiting for package

Back to top


@Hans © Copyright 2005-2006 Hans Neervoort