Moving to MediaWiki
Due to the fact that most of my content is guides and that wordpress isn’t properly displaying some of the text, I’m moving my how-tos over to MediaWiki at http://wiki.control-d.com. The other content will stay over here on WordPress. I’ll be making posts when I add new content to the wiki.
Ubuntu Hardy Heron (8.04) on a Toshiba Portege M400
I’ve been working on getting Hardy running on my M400 and have documented my progress here. The page can also be found under my How-Tos.
Debian, lighttpd, and logrotate
I noticed that everyday I had a defunct logrotate process on one of my servers running Debian and lighttpd. After some searching I found this bug report that said to make the following changes to my /etc/logrotate.d/lighttpd file:
postrotate
if [ -f /var/run/lighttpd.pid ]; then \
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d lighttpd force-reload > /dev/null 2>&1; \
else \
/etc/init.d/lighttpd force-reload > /dev/null 2>&1; \
fi; \
fi;
Changes are in red. Just add “2>&1″ to the end of each command.
Ubuntu Gusty (7.10) and Wacom
I upgraded my Toshiba Protege M400 to Gusty and to my surprise the wacom input stopped working. After searching the internet without much success, I notice that there were two wacom devices, /dev/wacom and /dev/input/wacom. Both were symlinks to /dev/ttyS0, which makes sense as the tablet is basically a serial device attached to the notebook. In my /etc/X11/xorg.conf I had the lines
Option "Device" "/dev/wacom"
under the wacom cursor, stylus, and eraser input devices. After changing the lines to
Option "Device" "/dev/input/wacom"
and restarting X, the input started working again. Why? I don’t know, as they both point to /dev/ttyS0.
Hopefully this is helpful to someone out there.