From owner-freebsd-questions@FreeBSD.ORG Tue Mar 9 23:03:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FC2A16A4CE for ; Tue, 9 Mar 2004 23:03:04 -0800 (PST) Received: from vp4.netgate.net (vp4.netgate.net [205.214.170.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67FDE43D31 for ; Tue, 9 Mar 2004 23:03:04 -0800 (PST) (envelope-from admin2@forkthepenguin.com) Received: from localhost (ibrew@localhost) by vp4.netgate.net (8.11.6/8.11.7) with ESMTP id i2A734t14835 for ; Tue, 9 Mar 2004 23:03:04 -0800 (PST) Date: Tue, 9 Mar 2004 23:03:04 -0800 (PST) From: admin2@forkthepenguin.com X-X-Sender: ibrew@vp4.netgate.net To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: USB Driver Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 07:03:04 -0000 How does one force the use of a particular driver for a USB device without removing the preferred driver from the kernel conf? For example, I have an HID compliant device that is handled by the uhid driver, however I wish to use the ugen driver temporarily for some testing. I created the appropriate entry in /etc/usbd.conf with : devname "ugen[0-9]+" But uhid0 continues to be used after restarting usbd. I also tried to unload the uhid kernel module with kldunload, but I received an error that the module could not be found even though it showed up under kldstat. Recompiling the kernel without uhid support caused the desired effect, but I'd rather not have to reboot everytime I want to switch drivers. Thanks in advance, Chris