Re: man ugen error

2012-03-05 Thread Maxim Konovalov
[...]
> > Also, there are some references to ugen.4 in the following man pages:
> >
> > ./usr.sbin/bluetooth/ath3kfw/ath3kfw.8
> > ./usr.sbin/uathload/uathload.8
> >
> > Not sure how to deal with them.
>
> /dev/ugen is still there, but ugen as a separate and configurable kernel
> device was removed in FreeBSD-8.
>
Understood.  But they do have a reference to ugen(4) man page that we
are going to remove, not to /dev/ugen.

-- 
Maxim Konovalov
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: man ugen error

2012-03-05 Thread Hans Petter Selasky
On Monday 05 March 2012 12:07:44 Maxim Konovalov wrote:
> On Fri, 2 Dec 2011, 11:07-, Thomas Mueller wrote:
> > > in FreeBSD 10-current.
> > > 
> > > It should be removed and added to old files. Could you make a patch for
> > > that?
> > > 
> > > --HPS
> > 
> > I found /usr/share/man/man4/ugen.4.gz in FreeBSD 9.0-RC2.
> > What needs to be patched?  What file, where?
> > Might it be /usr/src/ObsoleteFiles.inc ?
> > I have extremely limited experience applying patches, no experience
> > writing a patch. Where do I learn what and how to do?  I might need to
> > see some examples to get me started.
> 
> Something like that should work:
> 
> Index: ObsoleteFiles.inc
> ===
> --- ObsoleteFiles.inc (revision 231431)
> +++ ObsoleteFiles.inc (working copy)
> @@ -38,6 +38,8 @@
>  #   xargs -n1 | sort | uniq -d;
>  # done
> 
> +# 20120305: ugen(4) is now part of usb(4)
> +OLD_FILES+=usr/share/man/man4/ugen.4.gz
>  # 20120113: removal of wtmpcvt(1)
>  OLD_FILES+=usr/bin/wtmpcvt
>  OLD_FILES+=usr/share/man/man1/wtmpcvt.1.gz
> Index: share/man/man4/ng_ubt.4
> ===
> --- share/man/man4/ng_ubt.4   (revision 231431)
> +++ share/man/man4/ng_ubt.4   (working copy)
> @@ -107,7 +107,6 @@
>  This node shuts down when the corresponding USB device is un-plugged.
>  .Sh SEE ALSO
>  .Xr netgraph 4 ,
> -.Xr ugen 4 ,
>  .Xr usb 4 ,
>  .Xr ngctl 8
>  .Sh HISTORY
> Index: share/man/man4/ubtbcmfw.4
> ===
> --- share/man/man4/ubtbcmfw.4 (revision 231431)
> +++ share/man/man4/ubtbcmfw.4 (working copy)
> @@ -93,7 +93,6 @@
>  .El
>  .Sh SEE ALSO
>  .Xr ng_ubt 4 ,
> -.Xr ugen 4 ,
>  .Xr usb 4 ,
>  .Xr bcmfw 8
>  .Sh HISTORY
> Index: share/man/man4/Makefile
> ===
> --- share/man/man4/Makefile   (revision 231431)
> +++ share/man/man4/Makefile   (working copy)
> @@ -477,7 +477,6 @@
>   ufm.4 \
>   ufoma.4 \
>   uftdi.4 \
> - ugen.4 \
>   uhci.4 \
>   uhid.4 \
>   uhso.4 \
> Index: share/man/man9/DEVICE_PROBE.9
> ===
> --- share/man/man9/DEVICE_PROBE.9 (revision 231431)
> +++ share/man/man9/DEVICE_PROBE.9 (working copy)
> @@ -119,9 +119,6 @@
>  treatment for some reason.
>  .It BUS_PROBE_HOOVER
>  The driver matches all unclaimed devices on a bus.
> -The
> -.Xr ugen 4
> -device is one example.
>  .It BUS_PROBE_NOWILDCARD
>  The driver expects its parent to tell it which children to manage
>  and no probing is really done.
> Index: usr.sbin/bluetooth/bcmfw/bcmfw.8
> ===
> --- usr.sbin/bluetooth/bcmfw/bcmfw.8  (revision 231431)
> +++ usr.sbin/bluetooth/bcmfw/bcmfw.8  (working copy)
> @@ -96,8 +96,7 @@
>  .Pp
>  .Dl "bcmfw -n ubtbcmfw0 -m BCM2033-MD.hex -f BCM2033-FW.bin"
>  .Sh SEE ALSO
> -.Xr ubtbcmfw 4 ,
> -.Xr ugen 4
> +.Xr ubtbcmfw 4
>  .Sh AUTHORS
>  .An Maksim Yevmenkin Aq m_evmen...@yahoo.com
>  .Sh BUGS
> %%%
> 
> I'm not sure about the date of ugen.4 removal, so I put the current
> date.
> 
> Also, there are some references to ugen.4 in the following man pages:
> 
> ./usr.sbin/bluetooth/ath3kfw/ath3kfw.8
> ./usr.sbin/uathload/uathload.8
> 
> Not sure how to deal with them.

/dev/ugen is still there, but ugen as a separate and configurable kernel 
device was removed in FreeBSD-8.

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: man ugen error

2012-03-05 Thread Maxim Konovalov
On Fri, 2 Dec 2011, 11:07-, Thomas Mueller wrote:

> > in FreeBSD 10-current.
>
> > It should be removed and added to old files. Could you make a patch for 
> > that?
>
> > --HPS
>
> I found /usr/share/man/man4/ugen.4.gz in FreeBSD 9.0-RC2.
> What needs to be patched?  What file, where?
> Might it be /usr/src/ObsoleteFiles.inc ?
> I have extremely limited experience applying patches, no experience writing a 
> patch.
> Where do I learn what and how to do?  I might need to see some examples to 
> get me started.
>
Something like that should work:

Index: ObsoleteFiles.inc
===
--- ObsoleteFiles.inc   (revision 231431)
+++ ObsoleteFiles.inc   (working copy)
@@ -38,6 +38,8 @@
 #   xargs -n1 | sort | uniq -d;
 # done

+# 20120305: ugen(4) is now part of usb(4)
+OLD_FILES+=usr/share/man/man4/ugen.4.gz
 # 20120113: removal of wtmpcvt(1)
 OLD_FILES+=usr/bin/wtmpcvt
 OLD_FILES+=usr/share/man/man1/wtmpcvt.1.gz
Index: share/man/man4/ng_ubt.4
===
--- share/man/man4/ng_ubt.4 (revision 231431)
+++ share/man/man4/ng_ubt.4 (working copy)
@@ -107,7 +107,6 @@
 This node shuts down when the corresponding USB device is un-plugged.
 .Sh SEE ALSO
 .Xr netgraph 4 ,
-.Xr ugen 4 ,
 .Xr usb 4 ,
 .Xr ngctl 8
 .Sh HISTORY
Index: share/man/man4/ubtbcmfw.4
===
--- share/man/man4/ubtbcmfw.4   (revision 231431)
+++ share/man/man4/ubtbcmfw.4   (working copy)
@@ -93,7 +93,6 @@
 .El
 .Sh SEE ALSO
 .Xr ng_ubt 4 ,
-.Xr ugen 4 ,
 .Xr usb 4 ,
 .Xr bcmfw 8
 .Sh HISTORY
Index: share/man/man4/Makefile
===
--- share/man/man4/Makefile (revision 231431)
+++ share/man/man4/Makefile (working copy)
@@ -477,7 +477,6 @@
ufm.4 \
ufoma.4 \
uftdi.4 \
-   ugen.4 \
uhci.4 \
uhid.4 \
uhso.4 \
Index: share/man/man9/DEVICE_PROBE.9
===
--- share/man/man9/DEVICE_PROBE.9   (revision 231431)
+++ share/man/man9/DEVICE_PROBE.9   (working copy)
@@ -119,9 +119,6 @@
 treatment for some reason.
 .It BUS_PROBE_HOOVER
 The driver matches all unclaimed devices on a bus.
-The
-.Xr ugen 4
-device is one example.
 .It BUS_PROBE_NOWILDCARD
 The driver expects its parent to tell it which children to manage
 and no probing is really done.
Index: usr.sbin/bluetooth/bcmfw/bcmfw.8
===
--- usr.sbin/bluetooth/bcmfw/bcmfw.8(revision 231431)
+++ usr.sbin/bluetooth/bcmfw/bcmfw.8(working copy)
@@ -96,8 +96,7 @@
 .Pp
 .Dl "bcmfw -n ubtbcmfw0 -m BCM2033-MD.hex -f BCM2033-FW.bin"
 .Sh SEE ALSO
-.Xr ubtbcmfw 4 ,
-.Xr ugen 4
+.Xr ubtbcmfw 4
 .Sh AUTHORS
 .An Maksim Yevmenkin Aq m_evmen...@yahoo.com
 .Sh BUGS
%%%

I'm not sure about the date of ugen.4 removal, so I put the current
date.

Also, there are some references to ugen.4 in the following man pages:

./usr.sbin/bluetooth/ath3kfw/ath3kfw.8
./usr.sbin/uathload/uathload.8

Not sure how to deal with them.

-- 
Maxim Konovalov
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: man ugen error

2011-12-02 Thread Thomas Mueller

^ What version of FreeBSD do you run?  Do you not have a ugen manpage?  Can you 
run "man ugen"?

^ I have the manpages for ugen, and "man usb", also "man 4 usb", but no diff as 
such.

^ I guess ugen manpage failed to reflect becoming part of usb.


^ Tom

> There is:

> share/man/man4/ugen.4

> in FreeBSD 10-current.
  
> It should be removed and added to old files. Could you make a patch for that?

> --HPS

I found /usr/share/man/man4/ugen.4.gz in FreeBSD 9.0-RC2.

What needs to be patched?  What file, where?

Might it be /usr/src/ObsoleteFiles.inc ?

I have extremely limited experience applying patches, no experience writing a 
patch.

Where do I learn what and how to do?  I might need to see some examples to get 
me started.


Tom

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: man ugen error

2011-12-01 Thread Hans Petter Selasky
On Thursday 01 December 2011 11:44:13 Thomas Mueller wrote:
> > On Wednesday 30 November 2011 11:24:39 Thomas Mueller wrote:
> > > According to ugen man page, ugen can be compiled into the kernel with
> > > device ugen
> > > in config file.
> > > 
> > > I tried that in the kernel config when upgrading from FreeBSD 9.0-RC1
> > > to RC2, but the kernel build stopped quickly with the message that
> > > ugen was not valid.  After removing that line from kernel config,
> > > "make kernel" was successful.
> > > 
> > > I didn't find "device ugen" anywhere in the conf/NOTES or conf/GENERIC
> > > files.
> > > 
> > > I hope this man page error can be fixed in time for FreeBSD
> > > 9.0-RELEASE.
> > 
> > FYI: "device ugen" is now part of "device usb"
> > 
> > Could you send me a manpage diff?
> 
> --HPS
> 
> What version of FreeBSD do you run?  Do you not have a ugen manpage?  Can
> you run "man ugen"?
> 
> I have the manpages for ugen, and "man usb", also "man 4 usb", but no diff
> as such.
> 
> I guess ugen manpage failed to reflect becoming part of usb.

There is:

share/man/man4/ugen.4

in FreeBSD 10-current.

It should be removed and added to old files. Could you make a patch for that?

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: man ugen error

2011-12-01 Thread Thomas Mueller
> On Wednesday 30 November 2011 11:24:39 Thomas Mueller wrote:
> > According to ugen man page, ugen can be compiled into the kernel with
> > device ugen
> > in config file.

> > I tried that in the kernel config when upgrading from FreeBSD 9.0-RC1 to
> > RC2, but the kernel build stopped quickly with the message that ugen was
> > not valid.  After removing that line from kernel config, "make kernel" was
> > successful.

> > I didn't find "device ugen" anywhere in the conf/NOTES or conf/GENERIC
> > files.

> > I hope this man page error can be fixed in time for FreeBSD 9.0-RELEASE.
 
> FYI: "device ugen" is now part of "device usb"
 
> Could you send me a manpage diff?

--HPS

What version of FreeBSD do you run?  Do you not have a ugen manpage?  Can you 
run "man ugen"?

I have the manpages for ugen, and "man usb", also "man 4 usb", but no diff as 
such.

I guess ugen manpage failed to reflect becoming part of usb.


Tom

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: man ugen error

2011-11-30 Thread Hans Petter Selasky
On Wednesday 30 November 2011 11:24:39 Thomas Mueller wrote:
> According to ugen man page, ugen can be compiled into the kernel with
> device ugen
> in config file.
> 
> I tried that in the kernel config when upgrading from FreeBSD 9.0-RC1 to
> RC2, but the kernel build stopped quickly with the message that ugen was
> not valid.  After removing that line from kernel config, "make kernel" was
> successful.
> 
> I didn't find "device ugen" anywhere in the conf/NOTES or conf/GENERIC
> files.
> 
> I hope this man page error can be fixed in time for FreeBSD 9.0-RELEASE.

FYI: "device ugen" is now part of "device usb"

Could you send me a manpage diff?

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


man ugen error

2011-11-30 Thread Thomas Mueller
According to ugen man page, ugen can be compiled into the kernel with
device ugen
in config file.

I tried that in the kernel config when upgrading from FreeBSD 9.0-RC1 to RC2, 
but the kernel build stopped quickly with the message that ugen was not valid.  
After removing that line from kernel config, "make kernel" was successful.

I didn't find "device ugen" anywhere in the conf/NOTES or conf/GENERIC files.

I hope this man page error can be fixed in time for FreeBSD 9.0-RELEASE.

Tom

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"