From owner-freebsd-questions@FreeBSD.ORG Mon Jan 5 04:08:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9D4816A4D0 for ; Mon, 5 Jan 2004 04:08:59 -0800 (PST) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687DF43D31 for ; Mon, 5 Jan 2004 04:08:58 -0800 (PST) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from gaff.hhhr.ision.net (localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.10/8.12.10) with ESMTP id i05C90OL088889; Mon, 5 Jan 2004 13:09:00 +0100 (CET) (envelope-from ohoyer@gaff.hhhr.ision.net) Received: from localhost (ohoyer@localhost)i05C90i8088886; Mon, 5 Jan 2004 13:09:00 +0100 (CET) (envelope-from ohoyer@gaff.hhhr.ision.net) Date: Mon, 5 Jan 2004 13:08:59 +0100 (CET) From: Olaf Hoyer To: Ken Seggerman In-Reply-To: Message-ID: <20040105130545.X88779@gaff.hhhr.ision.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: How do I read digital camera on USB port with hppsmtools? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 12:09:00 -0000 On Mon, 5 Jan 2004, Ken Seggerman wrote: > I have a USB port on my old laptop running FreeBSD 4.3 Release. > > usb0: OHCI version 1.0 > usb0: on ohci0 > usb0: USB revision 1.0 > usb0: OHCI version 1.0 > usb0: on ohci0 > usb0: USB revision 1.0 > > I plug the camera into the USB port, turn on the camera, it beeps and says > it is connected to a computer. > > When I use the hppsmtools-1.0 command "psmdir -port /dev/usb0 all", > or change PSM_DIR to /dev/usb0 (the default is the serial port), and > issue the command "psmdir all", I get "Error raising DTR. Errno 22". hi! Well, seems like problems with the software, that thinks it is still a RS232 serial... otherwise, have a look at: /usr/ports/graphics/gphoto2 BTW, since 4.3-R is a bit old, there might also be a slight possibility, that in case gphoto has problems, whether your camera is not supported by gphoto, or you should upgrade to 4.9, since there were some works in the usb stack between 4.3 und now... HTH Olaf -- Olaf Hoyer ohoyer@gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)