From owner-freebsd-questions@FreeBSD.ORG Thu Aug 20 21:29:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C863E106568D for ; Thu, 20 Aug 2009 21:29:00 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 50F5F8FC65 for ; Thu, 20 Aug 2009 21:29:00 +0000 (UTC) Received: by mail-ew0-f209.google.com with SMTP id 5so240357ewy.36 for ; Thu, 20 Aug 2009 14:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=rm7o6FfPELZid1qHbpStSUR0BEyJE19zgyyRu5HumKU=; b=hIBfs8+ffYQKshKEHWSlXFwH1bYF9s+wrAQy67B4IuGgJ5kk4Lusvn/EQAtjsfLwct VyjpQ8vEeyVr0UzVmCcUwx1hQMCq3RaC+6ebxHGUKvUNItO9LBPimSTmmlAS4sQh4ClR v3/1erefx6DG/lr4cwUg1ggmvXHEsMnZmPv+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Mcf82MwUPzRlBo5NJ0bejU+FVvS5CMAlH7xhy/sPR/jWRdBWRiRhqx570pByWUB3lm YN16CbikyLR5sl5Emp/JG3ybtTFAxm2USSuWm7iqSlEm6N9Xq14Dks+XiDUBChL1k/h7 +HsVzNhzouhdYFMEmb1CxHndVFkjSY72IZAAk= Received: by 10.210.41.16 with SMTP id o16mr584058ebo.80.1250803739725; Thu, 20 Aug 2009 14:28:59 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 7sm617286eyg.25.2009.08.20.14.28.57 (version=SSLv3 cipher=RC4-MD5); Thu, 20 Aug 2009 14:28:58 -0700 (PDT) Date: Thu, 20 Aug 2009 22:28:54 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090820222854.3e8825a5@gumby.homeunix.com> In-Reply-To: <4A8DA9FD.6080904@infosec.pl> References: <4A8DA9FD.6080904@infosec.pl> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: digital camera and devd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 21:29:00 -0000 On Thu, 20 Aug 2009 19:54:37 +0000 Michal wrote: > Hello, > > I've got a Canon digital camera set up and working with gphoto2 via > devfs+devd but it's not elegant/clean enough: > ... > Problem with this solution is that it changes owner for all /dev/usb > files i.e. usb, usb0, usb1, usb2 and usb3. > > How can I check exactly which /dev/usb* entry corresponds to my > camera? And by the way /dev/usb3 means port 3, hub 3 or what are they? I'm not very familiar with devfs+devd, but can you not use glabel to give the camera a persistent name.