Saturday, February 28, 2009

simple preamp

Made a simple preamp to the 40 watt power amp module I put in an old speaker to use as a practice guitar amp.

Used vero board, a 741 opamp, 2 pots and 2 tele jacks.
And I got by without using dual supply voltage.



oh, and LED of course. Put it on a 390 ohm resistor on the 9V line.

Monday, February 23, 2009

Controlling fan speeds in ubuntu

Install lm-sensors
Run;
'sensors-detect',
modprobe the recommended modules or reboot,
'pwmconfig' to create the config,
'sensors -s' to activate the config,
'sensors' to check the temp and voltages run
/usr/sbin/fancontrol to start

Sunday, February 1, 2009

jaunty, ctrl-alt-backspace doesn't work

Add
Option "DontZap" "off"

to the "ServerFlags" section in xorg.conf

From my /etc/X11/xorg.conf :

Section "ServerFlags"
Option "Xinerama" "0"
Option "IgnoreABI" "True"
Option "DontZap" "off"
EndSection

jaunty nvidia not working

Add
Option "IgnoreABI" "True"

to the "ServerFlags" section in xorg.conf
(You may have to create one.)

To get both my lcds working i just copy my old xorg.conf since something seems strange with nvidia-settings.


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
Option "IgnoreABI" "True"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"

# HorizSync source: builtin, VertRefresh source: builtin
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"

#
Identifier "Monitor1"
VendorName "Dell"
ModelName "Dell E173FP"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Gamma 1
ModeLine "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
ModeLine "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
ModeLine "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
ModeLine "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
ModeLine "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600"
EndSection

Section "Screen"

# Removed Option "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1024+0"
# Removed Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1024+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: nvidia-auto-select +1280+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Jaunty no sound after login

From http://ubuntulinuxtipstricks.blogspot.com/2009/01/jaunty-no-sound-outputs.html

In short; run
pulseaudio -k ; start-pulseaudio-x11


or just select the "No sounds" theme in System, Preferences, Sound. It's a race condition between pulseaudio and the playing of the login sound. More here:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/322374