On Thursday 14 April 2005 01:06, Michael Nottebrock wrote:
> On Wednesday, 13. April 2005 14:26, Bjarne Wichmann Petersen wrote:
> > Hi
> >
> > Just got myself a Palm Zire and I'm trying to get it to connect with
> > kpilot, but i'm not having any success. And I'm a bit at a loss as what
> > I'm supposed to setup before running kpilot.
> >
> > This is what I know:
> >
> > 1) I'm running 5.3-STABLE and KDE 3.3.2
> > 2) The Zire connects to /dev/ugen0 when I activates the HotSync on the
> > Zire. 3) I've only readpermissons to /dev/ugen0, even though I've put
> > "perm 666 ugen0" into /etc/devfs.conf
>
> Afterthought: If manually changing permissions (with chmod) works, then you
> probably need to write a rule for ugen in /etc/devfs.rules instead.
> devfs.conf doesn't work for dynamically created devices.

After some more google-digging, mixing of solutions etc. I've managed to solve 
it.

First I need to compile the kernel with uvisor and ucom devices. Secondly, I 
inserted this into /etc/usbd.conf:

device "Palm Zire"
  devname "ucom[0-9]+"
  vendor  0x0830
  product 0x0070
  release 0x0100
#No linebreaks from here
  attach "rm -f /dev/pilot; chmod 666 /dev/${DEVNAME}; ln 
-s /dev/${DEVNAME} /d
ev/pilot"
#To here
  detach "rm -f /dev/pilot"

Reboot and voila... it works! ;)

Now for some comments:

1) The vendor, product and release entries I'm not sure if they are needed. I 
just stumbled over them here: 
<http://lists.freebsd.org/pipermail/freebsd-questions/2004-April/044826.html>

I couldn't figure out how to retrieve those information from the Zire myself.

2) The rest I took from <http://www.slac.com/pilone/kpilot_home/faq-bsd.html> 
with the small change that I needed to remove the linebreaks from the 
attach-command, because usbd couldn't read it (why not?).

3) Why do FreeBSD have both devfs.conf devfs.rules and usbd.conf? It seems to 
me there is some heavy overlap in functionality between them?

4) I used 3-4 hours on this due to lack of documentation. So, how do are go 
about making an entry to the FAQ at freebsd.kde.org?

Bjarne
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to