Re: USB + palm setup.

2005-01-28 Thread Julien Gabel
> 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
  ownucom  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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB + palm setup

2005-01-26 Thread Mark Probert
Hi ..

On Tuesday 25 January 2005 22:49, Jonathan Chen wrote:
> On Tue, Jan 25, 2005 at 11:39:56AM -0800, [EMAIL PROTECTED] wrote:
>
> > This create /dev/ucom0 on connection but with permissions 660, so
> > pilot-link as a user fails.
>
> You have 2 choices. Either add the user in question to the 'dialer'
> group in /etc/group, or create an devfs rule (which I'm afraid I have
> no idea about - someone more knowlegable about this will have to add
> an answer).
>

Thanks for the note.  It is the devfs solution that I am looking for.  I 
managed to find a Linux doc on the topic 

  http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html

Which may help.  

Regards,

-- 
-mark.  (probertm at acm dot org)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: USB + palm setup

2005-01-25 Thread Jonathan Chen
On Tue, Jan 25, 2005 at 11:39:56AM -0800, [EMAIL PROTECTED] wrote:

[...]
> This create /dev/ucom0 on connection but with permissions 660, so pilot-link 
> as a user fails.

You have 2 choices. Either add the user in question to the 'dialer'
group in /etc/group, or create an devfs rule (which I'm afraid I have
no idea about - someone more knowlegable about this will have to add
an answer).

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


USB + palm setup

2005-01-25 Thread probertm

Hi, 

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

I have a new kernel and it recognises the Palm unit during hot sync:

Jan 24 16:20:03 kant kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, 
addr 3
Jan 24 16:20:03 kant kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, 
addr 3
Jan 24 16:20:23 kant kernel: ucom0: at uhub1 port 4 (addr 3) disconnected
Jan 24 16:20:23 kant kernel: ucom0: detached

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.

Any help appreciated.

-mark.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"