On Friday 15 April 2005 19:15, Michael Nottebrock wrote:

> Well, we do have a HOWTO-section on freebsd.kde.org - if you'd care to
> write up a guide from your experiences, we'll happily add it to the site.
> Plain text and perhaps a few screenshots is enough, we can do the html
> markup for you.

This is a first draft:

PALM, USB and KPilot HOWTO

This howto will try to help you set up KPilot to access you Palm-device 
through the USB-port.

PREREQUISITES

You need to have <a href="http://www.freshports.org/deskutils/kdepim3/";>KDE 
PIM</a> installed.

CONFIGURING YOUR KERNEL

On FreeBSD 5.3-STABLE you need to compile the kernel with the uvisor and ucom 
devices. So insert the following 2 lines into your kernel-config and 
rebuild/install your new kernel:

device          uvisor
device          ucom

See <a 
href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html";>Configuring
 
the FreeBSD Kernel</a> in the FreeBSD Handbook.

IDENTIFYING YOUR PALM-DEVICE

Next step is to get some identity-data (product, vendor, release) from you 
Palm-device. So open a terminal-window and su/log in as root. Attach the 
Palm-device to the USB-port, push the "HotSync"-button on the device and 
type:

#usbdevs -v

This should reveal a line like this:

port 2 addr 2: full speed, self powered, config 1, Palm Handheld(0x0070), 
Palm, Inc.(0x0830), rev 1.00

This output is for a Palm Zire and translates into: 

product 0x0070
vendor  0x0830
release 0x0100 (ie. rev 1.00)

CONFIGURING /etc/usbd.conf

You need to edit /etc/usbd.conf. Near the end of the file and before the line 
'device "USB device"' insert the following lines:

device "Palm Zire"
  devname "ucom[0-9]+"
  vendor  0x0830
  product 0x0070
  release 0x0100
  attach "rm -f /dev/pilot; \
    chmod 666 /dev/${DEVNAME}; \
    ln -s /dev/${DEVNAME} /dev/pilot"
  detach "rm -f /dev/pilot"

Remember to change the vendor, product and release ID-numbers with the 
ID-numbers you found above, and the device-name to reflect the name of your 
Palm-device.

NOTE: I had issues with the line-breaks in the 'attach' command, so I had to 
remove the '\' and put it all on one line before usbd could handle it.

NOTE: You might be able to omit the 'release 0x0100' part entirely.

CONFIGURING KPilot

Just follow the <a href="help:/kpilot/index.html">KPilot User's Guide</a>.
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to