Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 09:54:07 -0400
From:      "Chuck O'Donnell" <cao@bus.net>
To:        Chip <chip@wiegand.org>
Cc:        fbsd <freebsd-questions@freebsd.org>
Subject:   Re: digital camera use on fbsd4.3
Message-ID:  <20010824095407.A2673@bus.net>
In-Reply-To: <3B8603CF.AB80B5D@wiegand.org>; from chip@wiegand.org on Fri, Aug 24, 2001 at 12:35:43AM -0700
References:  <3B8603CF.AB80B5D@wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 24, 2001 at 12:35:43AM -0700, Chip wrote:
> I am trying to get camediaplay to work with an Olympus D220L
> digital camera, which is supported, but am having a bit of a
> problem figuring out how to get it to communicate with fbsd.
> I am using ttyd1 to connect it to. ttyd1 is set with execute
> permissions for everyone (I am everyone on my machine).
> The message looks like this:
> /usr/local/bin/camediaplay -o ttyd1
> inappropriate device specified, or device permission error.
> 
> permissions look like this:
> crwx--x--x 1 root wheel ....... ttyd1

I believe you need read/write bits set, not execute.

crw-rw----  1 uucp  dialer   28, 129 Jul 19 11:06 /dev/cuaa1
crw-------  1 root  wheel    28,   1 May 23 05:13 /dev/ttyd1

Also, are you sure you don't want cuaa1?

From http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html,
section 16.2.2.2.2 Port Names:

 * Call-in ports are named /dev/ttydN where N is the port number,
   starting from zero. Generally, you use the call-in port for
   terminals. Call-in ports require that the serial line assert the
   data carrier detect (DCD) signal to work.

 * Call-out ports are named /dev/cuaaN. You usually do not use the
   call-out port for terminals, just for modems. You may use the
   call-out port if the serial cable or the terminal does not support
   the carrier detect signal.

Maybe try to get it working as root, then fiddle with permissions
later.

Chuck

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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