device "urtw" is unknown

Rob Farmer rfarmer768 at gmail.com
Thu Jul 16 17:03:44 UTC 2009


On Thu, Jul 16, 2009 at 08:22, Paul B. Mahol<onemda at gmail.com> wrote:
> On 7/16/09, Mel Flynn <mel.flynn+fbsd.current at mailing.thruhere.net> wrote:
>> [Redirecting to -current]
>>
>> On Wednesday 15 July 2009 22:30:05 Rob Farmer wrote:
>>
>>> I am trying to build a custom kernel with the urtw device on 8.0 beta
>>> 1 amd64. According to the man page, I should add device urtw to my
>>> config (just Generic plus this) and it should work. But, I get:
>>>
>>> config: Error: device "urtw" is unknown
>>
>> Can reproduce. It is built as module though, so you can kldload if_urtw.
>> Perhaps the ${_urtw} magic in sys/modules/usb/Makefile is not understood by
>> config(8).
>
> Negative, urtw is not mentioned in /sys/conf/files*
>
> --
> Paul
>

Ok , so I added it to /sys/conf/files and it seems to compile and run
fine. Is this correct or is there more to it?

*** ../files    2009-07-16 09:06:48.000000000 -0700
--- files       2009-07-16 09:05:23.000000000 -0700
***************
*** 1625,1634 ****
--- 1625,1635 ----
 # USB WLAN drivers
 #
 dev/usb/wlan/if_rum.c         optional rum
 dev/usb/wlan/if_uath.c                optional uath
 dev/usb/wlan/if_ural.c                optional ural
+ dev/usb/wlan/if_urtw.c                optional urtw
 dev/usb/wlan/if_zyd.c         optional zyd
 #
 # USB serial and parallel port drivers
 #
 dev/usb/serial/u3g.c          optional u3g


More information about the freebsd-current mailing list