Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 23:03:04 -0800 (PST)
From:      admin2@forkthepenguin.com
To:        freebsd-questions@freebsd.org
Subject:   USB Driver Questions
Message-ID:  <Pine.BSI.4.58L.0403092255540.8550@vp4.netgate.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.58L.0403092255540.8550>