udevinfo

udevinfo -q env -n /dev/sdc
udevinfo -a -p /sys/class/net/eth2 
udevinfo -a -p $(udevinfo -q path -n /dev/sdc)
Test udev rules
# udevtest /block/sdc
udevadm test /block/sdc
# udevcontrol reload_rules

i/o scheduler for block devices

SSD: NOOP NON-SSD: deadline

pstree

pstree -a
ps auxww --forest

ps -o pid,args -e # show argument

Fedora 18 XFCE 4.10 Experience

I think the XFCE 4.10 in Fedora 18 fixed a couple of things
  • Audio Mixer is now similar to old one (from Gnome).
  • Folder/file browser is faster than before, but there is still a bit lag when I double click it.  I have i7 2600K, so there should be no lag.
Starting up is slower than before, but it acceptable since you only login once in a while...

setpci to disable usb3 ports on TUSB7320

# setpci -d 104c:8241 e0.L
00000000
# setpci -d 104c:8241 e0.L=0300
# setpci -d 104c:8241 e0.L
00000300

read/write eeprom

# $1 = offset
readEEPROM()
{
    setpci -d $DEVICE b1.b=$1
    setpci -d $DEVICE b2.b=a1
    setpci -d $DEVICE b0.b
}

# $1 = offset $2 = value
writeEEPROM()
{
    setpci -d $DEVICE b0.b=$2
    setpci -d $DEVICE b1.b=$1
    setpci -d $DEVICE b2.b=a0
}