From nobody@FreeBSD.org  Fri Feb 25 21:22:45 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0FB5B106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Feb 2011 21:22:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id F40F08FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Feb 2011 21:22:44 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p1PLMi8x025929
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 25 Feb 2011 21:22:44 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p1PLMimp025923;
	Fri, 25 Feb 2011 21:22:44 GMT
	(envelope-from nobody)
Message-Id: <201102252122.p1PLMimp025923@red.freebsd.org>
Date: Fri, 25 Feb 2011 21:22:44 GMT
From: Carl <k0802647@telus.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: usb/uep kernel module not getting built
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         155044
>Category:       kern
>Synopsis:       [modules] [patch] usb/uep kernel module not getting built
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    glebius
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 25 21:30:11 UTC 2011
>Closed-Date:    Sat Mar 05 08:57:12 UTC 2011
>Last-Modified:  Sat Mar  5 09:00:22 UTC 2011
>Originator:     Carl
>Release:        FreeBSD-8.1-RELEASE-amd64/i386
>Organization:
>Environment:
FreeBSD xxxxxxxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The FreeBSD 8.1-RELEASE Release Notes
(http://www.freebsd.org/releases/8.1R/relnotes-detailed.html) claim
"The uep(4) driver for USB onscreen touch panel from eGalax has been
added". Although the source code and make file for that driver can be
found in the source tree, the kernel module uep.ko does not get built
and is not included in the standard distribution because
/usr/src/sys/modules/usb/Makefile was not updated to include a reference
to 'uep'.

Carl                                                            / K0802647
>How-To-Repeat:
Fail to find /boot/kernel/uep.ko[.symbols] in a standard 8.1-RELEASE
install. Rebuild kernel. Fail to find them again.
>Fix:
Apply attached patch. Rebuild kernel. Note presence of
/boot/kernel/uep.ko[.symbols].

Patch attached with submission follows:

--- 8.1-RELEASE/sys/modules/usb/Makefile	2011-02-24 21:41:54.000000000 -0800
+++ 8.1-RELEASE-patched/sys/modules/usb/Makefile	2011-02-24 21:49:38.000000000 -0800
@@ -28,7 +28,7 @@
 SUBDIR = usb
 SUBDIR += ehci musb ohci uhci uss820dci ${_at91dci} ${_atmegadci}
 SUBDIR += rum run uath upgt ural zyd ${_urtw}
-SUBDIR += atp uhid ukbd ums udbp ufm
+SUBDIR += atp uhid ukbd ums udbp ufm uep
 SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
 	  umct umodem umoscom uplcom uslcom uvisor uvscom
 SUBDIR += uether aue axe cdce cue kue rue udav uhso


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->glebius 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Feb 26 09:20:55 UTC 2011 
Responsible-Changed-Why:  
over to committer who added the driver. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155044 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/155044: commit references a PR
Date: Sat, 26 Feb 2011 17:22:19 +0000 (UTC)

 Author: glebius
 Date: Sat Feb 26 17:22:11 2011
 New Revision: 219059
 URL: http://svn.freebsd.org/changeset/base/219059
 
 Log:
   Connect uep.ko to build
   
   PR:		kern/155044
   Submitted by:	Carl <k0802647 telus.net>
   MFC after:	1 week
 
 Modified:
   head/sys/modules/usb/Makefile
 
 Modified: head/sys/modules/usb/Makefile
 ==============================================================================
 --- head/sys/modules/usb/Makefile	Sat Feb 26 15:44:03 2011	(r219058)
 +++ head/sys/modules/usb/Makefile	Sat Feb 26 17:22:11 2011	(r219059)
 @@ -28,7 +28,7 @@
  SUBDIR = usb
  SUBDIR += ehci musb ohci uhci xhci uss820dci ${_at91dci} ${_atmegadci}
  SUBDIR += rum run uath upgt ural zyd ${_urtw}
 -SUBDIR += atp uhid ukbd ums udbp ufm
 +SUBDIR += atp uhid ukbd ums udbp ufm uep
  SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
  	  umct umodem umoscom uplcom uslcom uvisor uvscom
  SUBDIR += uether aue axe cdce cue kue mos rue udav uhso ipheth
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: eadler 
State-Changed-When: Tue Mar 1 10:11:12 EST 2011 
State-Changed-Why:  
committed in head (r219059) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155044 
State-Changed-From-To: patched->closed 
State-Changed-By: glebius 
State-Changed-When: Sat Mar 5 08:56:52 UTC 2011 
State-Changed-Why:  
Merged to stable/8. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155044 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/155044: commit references a PR
Date: Sat,  5 Mar 2011 08:56:54 +0000 (UTC)

 Author: glebius
 Date: Sat Mar  5 08:56:42 2011
 New Revision: 219302
 URL: http://svn.freebsd.org/changeset/base/219302
 
 Log:
   MFHead 219059:
     Connect uep.ko to build
   
     PR:           kern/155044
     Submitted by: Carl <k0802647 telus.net>
 
 Modified:
   stable/8/sys/modules/usb/Makefile
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
 
 Modified: stable/8/sys/modules/usb/Makefile
 ==============================================================================
 --- stable/8/sys/modules/usb/Makefile	Sat Mar  5 04:33:42 2011	(r219301)
 +++ stable/8/sys/modules/usb/Makefile	Sat Mar  5 08:56:42 2011	(r219302)
 @@ -28,7 +28,7 @@
  SUBDIR = usb
  SUBDIR += ehci musb ohci uhci xhci uss820dci ${_at91dci} ${_atmegadci}
  SUBDIR += rum run uath upgt ural zyd ${_urtw}
 -SUBDIR += atp uhid ukbd ums udbp ufm
 +SUBDIR += atp uhid ukbd ums udbp ufm uep
  SUBDIR += ucom u3g uark ubsa ubser uchcom ucycom ufoma uftdi ugensa uipaq ulpt \
  	  umct umodem umoscom uplcom uslcom uvisor uvscom
  SUBDIR += uether aue axe cdce cue kue rue udav uhso ipheth
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
