KPMP

Kate Project Manager Plugin

installing KPMP on a pretty stock standard kubuntu system

kate should already be installed but unlikely that kate-plugins isn’t installed if you use kate of programing it’s worth it..

so start with

sudo apt-get install kate-plugins

you’ll now find some cool plugins for kate in settings -> configure kate then explain application and select plugins personal favourite so far is the kate make plugin.

now lets look at our kate project managemet plugin
download the source from sourceforge
sourceforge

now we need to grab some devel files and some compile tools
apt-get install kde-devel automake1.9 build-essential

now we can compile the project manager
as root use sudo -s or su or whatever you like to get root rights

tar jxvf projectmanager-0.1.2-24.tar.bz2
cd projectmanager
./configure
make
make install

open up kate again and hey presto it works

USB-to-Serial in *buntu

ok i purchased a cheap usb-to-serial converter off ebay.. very generic HK thing. of course it only came with windows drivers and no indication that it would work in linux so i’ll go through the process of trying to get one of these things to work.

start off with a terminal and run lsusb this list all your usb devices

kubuntu2:~# lsusb
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 4348:5523
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

From this output we can see that my usb-to-serial connector is plugged into bus 004

So we’ll try and get it running using the generic kernel module. as root or sudo on both this lines go.

modprobe usbserial vendor=0x4348 product=0x5523
modprobe pl2303

as you can see we’ve taken the 4348 and 5523 numbers from our lsusb output and used them as our vendor and product identifiers

we can how check dmesg

[ 285.140496] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
[ 285.231366] usbserial_generic 4-2:1.0: generic converter detected
[ 285.232808] usb 4-2: generic converter now attached to ttyUSB0
[ 285.232989] usbcore: registered new interface driver usbserial_generic
[ 285.232993] drivers/usb/serial/usb-serial.c: USB Serial Driver core
[ 304.352347] drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
[ 304.353133] usbcore: registered new interface driver pl2303
[ 304.353142] drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver

well it looks like it did something. i know how a usb device in my dev folder now to test it.

At the moment I’m trying to test it with my ups so far it’s no good… i changed the port=/dev/ttyS0 to port=/dev/ttyUSB0
and i get error messages back saying that it can’t find the ups… bummer

Linux.conf.au 2008

Most of you know read my blog, you know who you are (kym…) know i’m off to linux.conf.au is in Melbourne this year

Registrations are open and I’ve booked my ticket with linux.conf.au and 7 night accommodation in Trinity so that totalled to about $609 .

And Tiger airways have decided to set up shop in Newcastle so we decided to book tickets with them and take advantage of there 50% off sale so flights to Melbourne was $25 per person and $50 to come home again.

With in all this booking and credit card purchases i had to ring netbank (commonwealth bank) to get them to reset a password as i forgot mine. seems every time i ring tech support they try to sell me something this time it was a $500 increase on my Credit card.

So now i can spend even more money in Melbourne 😀