From owner-freebsd-bugs Thu Jun 1 8:30: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DD1EE37B9A3 for ; Thu, 1 Jun 2000 08:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA90174; Thu, 1 Jun 2000 08:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 35D7E37BCAD; Thu, 1 Jun 2000 08:22:10 -0700 (PDT) Message-Id: <20000601152210.35D7E37BCAD@hub.freebsd.org> Date: Thu, 1 Jun 2000 08:22:10 -0700 (PDT) From: pvh@egenetics.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/18946: Add support for enabling USB daemon from /stand/sysinstall Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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