From owner-freebsd-questions@FreeBSD.ORG Sat Jun 4 19:17:11 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95615106564A for ; Sat, 4 Jun 2011 19:17:11 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24B468FC17 for ; Sat, 4 Jun 2011 19:17:10 +0000 (UTC) Received: by bwz12 with SMTP id 12so3779144bwz.13 for ; Sat, 04 Jun 2011 12:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=xTehphAtmwrwsJRyoDB0h1MbZB4DP7gkgMjv56i5Chg=; b=T+Ig2kvVtYaklG3VvSA5BvNwejsJf6NFGpBlKv1RfFCfpzUb4BhoV/XAYyVrDXmZ5u U/yswmZVXC6MvNyPPbO6+yl5ZgkuUAigiycm7SrzkWmoUmewL3V4GkAJij3rxA/EWRr/ eFrQ/9r98Z5K2+mgThaxH3ggB47ly2oHx2sZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=romjoFs1Nw/Pz8zZEHCWnBZBPY5sEoCGa9vK0W7Ajiw2sIbm4eSFjo0BuG7fA2CZxq aQ4NP6TposzTxwzFeOA1Pd+s7YwU5Oyfha25zKpDvBDQ7SU/Dj/pwNynmaoMGgWNBxGj t1omiEcF0c9gg5Pq2/4ANUD20oVcGqbszP1fw= MIME-Version: 1.0 Received: by 10.204.11.22 with SMTP id r22mr3077305bkr.172.1307213194622; Sat, 04 Jun 2011 11:46:34 -0700 (PDT) Received: by 10.204.79.225 with HTTP; Sat, 4 Jun 2011 11:46:34 -0700 (PDT) Date: Sat, 4 Jun 2011 11:46:34 -0700 Message-ID: From: Scott Gasch To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Usb printers take the same port deterministically? 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: Sat, 04 Jun 2011 19:17:11 -0000 Hi, I have two usb printers on my freebsd machine and I'm using cups. One of the things I've done is publish a raw (no driver) printer for each of them and use that to share them with other machines in the house that have drivers. My problem is that every once in a while, when I boot up, the order of the printers on the usb ports seems to change. For example, right now I've got: Jun 4 11:24:34 foo kernel: ulpt0: on uhub1 Jun 4 11:24:34 foo kernel: ulpt0: using bi-directional mode Jun 4 11:28:13 foo kernel: ulpt1: on uhub7 But when I lost power the other night the machine came up with them reversed -- the brother on ulpt1 and the epson on ulpt0. As far as I can tell, cups printers.conf ties to a particular port. So, you can probably see where this is going... when they bind in the wrong order and someone prints I get a ton of crap printed out and waste a ton of paper. How can I make it so that a particular printer binds to a particular usb port deterministically? Thx, Scott