Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 11:57:02 +0100 (CET)
From:      "Julien Gabel" <jpeg@thilelli.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: USB + palm setup.
Message-ID:  <48933.145.248.192.30.1106909822.squirrel@145.248.192.30>
In-Reply-To: <200501251139.56869.probertm@acm.org>
References:  <200501251139.56869.probertm@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am having troubles getting my Palm m505 working via USB under 5.3
> RELEASE. For the basic setup, I have been following:
>   http://www.geekhome.net/palm.html
> [...]
> My problem is with /dev/ucom0  and /dev/pilot.  How do I create these
> correctly?  I have the following entry in /etc/usbd.conf:
>   device "PalmOS Device"
>         devname "ucom0"
>         vendor 0x0830
>         product 0x0002
>         release 0x0100
>
> This create /dev/ucom0 on connection but with permissions 660, so
> pilot-link as a user fails.

For the device rights, you can use the following entries in the config
file /etc/devfs.conf:
  # Allow members of group operator to r/w things to the palm
  link   ucom0 pilot
  own    ucom  root:operator
  perm   ucom  0660

And put the desired 'username' in the 'operator' group (or whatever you
want):
  # pw groupmod -n operator -m username

The only drawback i found is that since the ucom device is created on
"demand", you need to restart devfs each time you plug the palm in:
  # /etc/rc.d/devfs restart


I personaly don't have this problem since i use the "sync over ppp"
method.  The proposed method from geekhome did not work for me the
last time i try it; but i can give it an other try just to see).

-- 
-jpeg.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48933.145.248.192.30.1106909822.squirrel>