From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 20 14:10:42 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8497516A4CE for ; Thu, 20 Jan 2005 14:10:42 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C6C943D31 for ; Thu, 20 Jan 2005 14:10:41 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j0KEAOHo090379 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 20 Jan 2005 15:10:36 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j0KE9gU3054055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jan 2005 15:09:43 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j0KE9gTk006143; Thu, 20 Jan 2005 15:09:42 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j0KE9gN7006142; Thu, 20 Jan 2005 15:09:42 +0100 (CET) (envelope-from ticso) Date: Thu, 20 Jan 2005 15:09:42 +0100 From: Bernd Walter To: Bram Van Steenlandt Message-ID: <20050120140941.GA5661@cicely12.cicely.de> References: <41EF810B.7060301@no-wackos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EF810B.7060301@no-wackos.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: freebsd-hackers@freebsd.org Subject: Re: device id question (usb and scsi) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 14:10:42 -0000 On Thu, Jan 20, 2005 at 10:59:39AM +0100, Bram Van Steenlandt wrote: > Hi, > > I've been having some problems with the following: > ex1: I have two scsi scanners and I use sane to scan all works well my > two scanners are /dev/pass0 and /dev/pass1 however when one of them is > turned of the device are renumbered (wich is a problem because then I > have to change the sane configuration files) > > ex2: Same thing as above happens with usb printer, I work with cups and > printers get mixed from the moment you leave one of. > > I have a support pack for cups and they tell my there is no other > solution then to move to linux or osx because they have device id > numbers (they save the number kinda like a dhcp server and fixed ip > adresses). Or that I have to wait untill freebsd implements this. > > I am a very FreeBSD minded person (but also a newbie) and I find it very > hard to believe that such an advanced OS does not have some solution for > this. Add devd scripts to setup/remove softlinks whenever you identify a specific device. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de