發表文章

目前顯示的是 6月, 2005的文章

Configure jogdial on my debian box

Several days ago, I have modified jdmouse to fit my need.(Add i810switch support) Because my ubuntu warty laptop have a harddisk fail happend, I installed recent released sarge on my laptop. But after I install sarge, I realized that I didn't leave a configuration file backup. Let's do it again... 1. Go get jdmouse and jouston's patch from here 2. untar them and patch $ tar zxvf jdmouse.tar.gz $ gunzip jdmouse.diff.gz $ patch -p0 < jdmouse.diff 4. make and install $ cd ./jdmouse $ make $ cp ./src/jdmouse /usr/sbin/ 5. Add support for sonypi. $ vi /etc/modutils/aliases add these lines: alias char-major-10-250 sonypi options sonypi minor=250 8. Prepare i810swith $ apt-get install i810switch 7. Download my init.d script and install $ mv jdmouse.gz /etc/init.d/ $ cd /etc/init.d/ $ gunzip jdmouse.gz $ chown root.root jdmouse $ chmod 755 jdmouse $ cd /etc/ $ for i in 2 3 4 5 ;\ do cd rc5.d/ && sudo ln -s ../init.d/jdmouse S99jdmouse && cd .. ;\ don