From owner-freebsd-usb@FreeBSD.ORG Wed Jan 12 15:40:47 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 ED27416A4CE for ; Wed, 12 Jan 2005 15:40:47 +0000 (GMT) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id A882E43D39 for ; Wed, 12 Jan 2005 15:40:47 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from [80.229.231.20] (helo=[192.168.254.25]) by ptb-relay02.plus.net with esmtp (Exim) id 1Cokby-000OY1-HP for freebsd-usb@freebsd.org; Wed, 12 Jan 2005 15:40:42 +0000 Message-ID: <41E54591.70109@freebsd.org> Date: Wed, 12 Jan 2005 15:43:13 +0000 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (X11/20050110) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 15:40:48 -0000 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. BTW, this problem also happens when trying to connect to the camera in Konqueror using camera:/ both as root and non-root users. I imagine it would also occur in digikam as root but for some reason the OK button is disabled in the configure dialogue when running as root so I can't save the camera in order to connect to it. I don't know if this is related, but I see this error 8 times when booting: ACPI-0252: *** Error: No object was returned from [\\_SB_.PCI0.UAR2._STA] (Node 0xc22e14a0), AE_NOT_EXIST Can anyone shed any light on this please? Regards, Mark