From nobody@FreeBSD.ORG  Thu Jun  1 08:22:10 2000
Return-Path: <nobody@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
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add support for enabling USB daemon from /stand/sysinstall
X-Send-Pr-Version: www-1.0

>Number:         18946
>Category:       bin
>Synopsis:       Add support for enabling USB daemon from /stand/sysinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 01 08:30:02 PDT 2000
>Closed-Date:    Tue Sep 4 17:58:36 PDT 2001
>Last-Modified:  Tue Sep 04 17:58:50 PDT 2001
>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:
Responsible-Changed-From-To: freebsd-bugs->n_hibma 
Responsible-Changed-By: nra 
Responsible-Changed-When: Thu Jul 20 19:53:35 PDT 2000 
Responsible-Changed-Why:  
Nick takes care of the usb bits. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18946 
Responsible-Changed-From-To: n_hibma->jhb 
Responsible-Changed-By: n_hibma 
Responsible-Changed-When: Sun Aug 6 16:03:24 PDT 2000 
Responsible-Changed-Why:  
John has been playing with USB and sysinstall. I bet he has implemented this 
already.:wq 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18946 
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Tue Sep 4 17:58:36 PDT 2001 
State-Changed-Why:  
Your patch has been committed, thanks! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18946 
>Unformatted:
