Date: Wed, 12 Jan 2005 20:40:13 +0000 From: Mark Ovens <marko@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: freebsd-usb@freebsd.org Subject: Re: USB camera causing OS crash? Message-ID: <41E58B2D.2040505@freebsd.org> In-Reply-To: <41E58102.8010603@elischer.org> References: <41E54591.70109@freebsd.org> <41E58102.8010603@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote: > > 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. > I guess I can't do that then as I don't have serial console and can only force the crash from within X - and there's no time to switch back to the console before it hangs. Regards, Mark
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E58B2D.2040505>