hardware

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

HP J4813A ProCurve Switch 2524

Update firmware
1. save firmware file in root dir on a TFTP server
2. telnet SWITCH_IP
3. copy tftp flash TFTP_SERVER_IP FLASH_FILE.svi

TerraTec Aureon 7.1 Space (Optical SPDIF output)

# create /etc/asound.conf
cat <<EOF> /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm {
		type dmix
		ipc_key 1478
		slave {
			pcm "hw:0,1"
	 		format S32_LE
			period_time 0 
			period_size 1024
			buffer_size 8192
		}
	}
}
 
pcm.!iec958 {
   type plug
   slave.pcm "hw:0,1"
}
EOF
 
# test with Mplayer
mplayer -ao alsa:device=iec958 FILE_TO_PLAY
 
# LINKS
http://alsa.opensrc.org/index.php/Ice1724

memtest86+ PXE boot

apt-get install -y pxelinux
 
# check for current version
# http://www.memtest.org/#downiso
 
URL=http://www.memtest.org/download/5.01/memtest86+-5.01.bin
 
wget -q ${URL} -P /tmp/
 
mkdir /var/lib/tftpboot/memtest
mv /tmp/memtest86+-*.bin /var/lib/tftpboot/memtest
cd /var/lib/tftpboot/memtest
ln -s memtest86+-*.bin memtest86+
 
echo "confiure tftpboot..." 
mkdir -p /var/lib/tftpboot/pxelinux.cfg
cat <<EOF>   /var/lib/tftpboot/pxelinux.cfg/memtest86+.conf
LABEL linux
   MENU LABEL memtest86+
   KERNEL /memtest/memtest86+
EOF
 
echo "MENU INCLUDE pxelinux.cfg/memtest86+.conf" >

Create printer on command line

List all installed printer
lpstat -p -d

Kyocera FS-C5016N
lpadmin -p LaserColor -v ipp://192.168.1.11:631/ipp -E -P /usr/share/ppd/openprinting/Kyocera/en/Kyocera_Mita_FS-C5016N_en.ppd.gz

PDF Printer
sudo sudo apt-get install -y cups-pdf
#sudo lpadmin -p PDF -v cups-pdf:/ -E -P /usr/share/ppd/cups-included/postscript.ppd
#/usr/share/ppd/cups-pdf/PostscriptColor.ppd

Define default prnter
lpadmin -d printer1

Compile AVM Fritz!Card USB driver for Ubuntu (fcusb2.ko)

#!/bin/bash
 
# note
# successfully tested on Ubuntu Gutsy 7.10, this driver currently dont work with Hardy 8.04
 
apt-get install -y wget rpm build-essential linux-headers-$(uname -r) avm-fritz-firmware
 
wget http://opensuse.foehr-it.de/rpms/10_3/src/fcusb2-0.1-0.src.rpm -P /tmp
cd /tmp
rpm2cpio fcusb2-0.1-0.src.rpm | cpio -i --make-directories
 
if [ $(uname -m) == "x86_64" ]; then
	# amd64
	tar -xzf fcusb2-suse93-64bit-3.11-07.tar.gz
	cd /tmp/fritz/src/
	patch -p2 < /tmp/fritz-usb.diff
	patch -p2 < /tmp/fritz_init_work.diff
	patch -p2 < /tmp/fritz_urb.diff
	patch -p2 < /tmp/f

HP / Compaq 8710p

Links
Fprint Packages - driver for fingerprint reader

Install on Gutsy
wget http://www.madman2k.net/files/fprint-packages.tar -P /tmp
#extract
#install

vi /etc/pam.d/common-auth
auth sufficient pam_fprint.so

# test
fprint_demo

Fix: "mei_me 0000:00:03.0: unexpected reset: dev_state = RESETTING"
echo "blacklist mei_me" | sudo tee /etc/modprobe.d/blacklist-mei_me.conf

Reset SDCARD reader

Intel D201GLY2 Ubuntu 7.10 Xorg SIS Driver

#!/bin/sh

# install rpm utils
sudo apt-get install -y rpm

# download driver
wget http://downloadmirror.intel.com/13374/eng/4180_sis_drv_suse_10_2-1.0-021307.i586.rpm -P /tmp

# extract
cd /tmp
sudo rpm2cpio /tmp/4180_sis_drv_suse_10_2-1.0-021307.i586.rpm | cpio -ivd ./usr/lib/xorg/modules/drivers/sis_drv.so

# install
sudo mv /usr/lib/xorg/modules/drivers/sis_drv.so /usr/lib/xorg/modules/drivers/sis_drv.so.org
sudo mv /tmp/usr/lib/xorg/modules/drivers/sis_drv.so /usr/lib/xorg/modules/drivers/sis_drv.so

# clean up
rm -r /tmp/usr

Syndicate content