From owner-freebsd-questions Fri Aug 24 6:54:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.c.bus.net (65-85-139-3.client.dsl.net [65.85.139.3]) by hub.freebsd.org (Postfix) with ESMTP id 1D83137B40A for ; Fri, 24 Aug 2001 06:54:21 -0700 (PDT) (envelope-from cao@bus.net) Received: from ws100.c.bus.net (ws100.c.bus.net [192.168.1.10]) by mail.c.bus.net (Postfix) with ESMTP id 244697630A; Fri, 24 Aug 2001 09:59:14 -0400 (EDT) Received: (from cao@localhost) by ws100.c.bus.net (8.11.3/8.11.3) id f7ODs7402706; Fri, 24 Aug 2001 09:54:07 -0400 (EDT) (envelope-from cao) Date: Fri, 24 Aug 2001 09:54:07 -0400 From: "Chuck O'Donnell" To: Chip Cc: fbsd Subject: Re: digital camera use on fbsd4.3 Message-ID: <20010824095407.A2673@bus.net> References: <3B8603CF.AB80B5D@wiegand.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B8603CF.AB80B5D@wiegand.org>; from chip@wiegand.org on Fri, Aug 24, 2001 at 12:35:43AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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