From owner-freebsd-usb@FreeBSD.ORG Wed Jan 12 19:56:50 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C03D16A4CE; Wed, 12 Jan 2005 19:56:50 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AC3F43D2D; Wed, 12 Jan 2005 19:56:50 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 4C22C7A403; Wed, 12 Jan 2005 11:56:50 -0800 (PST) Message-ID: <41E58102.8010603@elischer.org> Date: Wed, 12 Jan 2005 11:56:50 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Mark Ovens References: <41E54591.70109@freebsd.org> In-Reply-To: <41E54591.70109@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-usb@freebsd.org Subject: Re: USB camera causing OS crash? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 19:56:50 -0000 Mark Ovens wrote: > Canon Powershot A70 > > FreeBSD redshift 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Jan 1 18:37:13 > GMT 2005 mark@redshift:/usr/obj/usr/src/sys/REDSHIFT i386 > > ugen1: Canon Inc. Canon Digital Camera, rev 1.10/0.01, addr 2 > > This camera used to work just fine in digikam but now doesn't (can't > say exactly when it stopped though). Keep getting "Can't connect to > camera" error when trying to open the camera although digikam does > auto-detect it. > > Googling threw up some info at > http://gphoto.org/doc/manual/permissions-usb.html about allowing USB > devices to be accessed by non-root users (section 4.3.3.1. FreeBSD 5.x > near the bottom of the page) which says to add the following to > /etc/rc.local: > > /sbin/devfs ruleset 10 > /sbin/devfs rule applyset > /sbin/devfs rule add path ugen1* mode 666 > /sbin/devfs rule show > > I've done that, but now instead of "Can't connect to camera" the > computer locks up and after about 10 seconds reboots - all the > filesystems are reported as not being properly dismounted on reboot. > Nothing is written to any logs (obviously) so I can't provide any info. you probably need to run with ddb, kdb and a serial console, or at least from the console, outside of X11 so you can see the error messages. The system will not go int ddb if the console is being controlled by X11.