Date: Thu, 1 Jun 2000 08:22:10 -0700 (PDT) From: pvh@egenetics.com To: freebsd-gnats-submit@FreeBSD.org Subject: bin/18946: Add support for enabling USB daemon from /stand/sysinstall Message-ID: <20000601152210.35D7E37BCAD@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 18946
>Category: bin
>Synopsis: Add support for enabling USB daemon from /stand/sysinstall
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 01 08:30:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Peter van Heusden
>Release: 4.0-STABLE
>Organization:
Electric Genetics
>Environment:
FreeBSD industrial.egenetics.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Thu Jun 1 09
:24:16 SAST 2000 root@industrial.egenetics.com:/usr/src/sys/compile/MYKERNEL
i386
>Description:
Attached is a patch to allow the USB daemon to be switch on/off from
/stand/sysinstall. This is a fairly commonly required service, and
adding it to sysinstall will make new users immediately aware of its
existence.
>How-To-Repeat:
N/A
>Fix:
Below is a patch to /usr/src/release/sysinstall/menus.c:
*** menus.c.orig Thu Jun 1 17:11:22 2000
--- menus.c Thu Jun 1 17:11:27 2000
***************
*** 1276,1281 ****
--- 1276,1285 ----
dmenuVarCheck, dmenuISetVariable, NULL, "pccard_mem" },
{ " pccard ifconfig", "List of PCCARD ethernet devices to configure",
dmenuVarCheck, dmenuISetVariable, NULL, "pccard_ifconfig" },
+ { " usbd", "Enable USB daemon (detect USB attach / detach)",
+ dmenuVarCheck, dmenuToggleVariable, NULL, "usbd_enable=YES" },
+ { " usbd flags", "Set default flags to usbd (if enabled)",
+ dmenuVarCheck, dmenuISetVariable, NULL, "usbd_flags" },
{ " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
{ " startup dirs", "Set the list of dirs to look for startup scripts",
dmenuVarCheck, dmenuISetVariable, NULL, "local_startup" },
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000601152210.35D7E37BCAD>
