Re: [NEW] ugold(4) driver for Microdia's USB TEMPer variant (take 3)

2013-09-05 Thread Martin Pieuchot
On 05/09/13(Thu) 05:23, SASANO Takayoshi wrote:
 Hi all,
 
 Here is the driver for Microdia's USB TEMPer, take 3.
 
 http://www.uaa.org.uk/gomitext/2013/20130905/20130905.diff
 
 Thanks to mpi@ and testers of tech@.
 
 man is not yet, sorry.

I'm ok with your diff, here's a man. I can commit it once your diff
is in if it's ok.

Index: Makefile
===
RCS file: /home/ncvs/src/share/man/man4/Makefile,v
retrieving revision 1.555
diff -u -p -r1.555 Makefile
--- Makefile4 Sep 2013 19:39:18 -   1.555
+++ Makefile5 Sep 2013 09:10:30 -
@@ -57,7 +57,8 @@ MAN=  aac.4 ac97.4 acphy.4 \
tlphy.4 thmc.4 tqphy.4 trm.4 trunk.4 tsl.4 tty.4 tun.4 twe.4 txp.4 \
txphy.4 uaudio.4 uark.4 uath.4 uberry.4 ubsa.4 ubsec.4 ubt.4 \
ucom.4 uchcom.4 ucycom.4 udav.4 udcf.4 udfu.4 udl.4 udp.4 udsbr.4 \
-   uftdi.4 ugen.4 uguru.4 uhci.4 uhid.4 uhidev.4 uipaq.4 uk.4 ukbd.4 \
+   uftdi.4 ugen.4 ugold.4 uguru.4 uhci.4 uhid.4 uhidev.4 uipaq.4 uk.4 \
+   ukbd.4 \
ukphy.4 ulpt.4 umass.4 umbg.4 umct.4 umidi.4 umodem.4 ums.4 umsm.4 \
unix.4 uow.4 uoaklux.4 uoakrh.4 uoakv.4 \
upgt.4 upl.4 uplcom.4 ural.4 urio.4 url.4 urlphy.4 \
Index: ugold.4
===
RCS file: ugold.4
diff -N ugold.4
--- /dev/null   1 Jan 1970 00:00:00 -
+++ ugold.4 5 Sep 2013 09:10:30 -
@@ -0,0 +1,46 @@
+.\$OpenBSD$
+.\
+.\ Copyright (c) 2009 Yojiro UO y...@nui.org
+.\
+.\ Permission to use, copy, modify, and distribute this software for any
+.\ purpose with or without fee is hereby granted, provided that the above
+.\ copyright notice and this permission notice appear in all copies.
+.\
+.\ THE SOFTWARE IS PROVIDED AS IS AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\
+.Dd $Mdocdate$
+.Dt UGOLD 4
+.Os
+.Sh NAME
+.Nm ugold
+.Nd TEMPer Gold HID temperature sensor
+.Sh SYNOPSIS
+.Cd ugold* at uhidev?
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for pcsensors TEMPer gold devices.
+The following devices are supported by the
+.Nm
+driver:
+.Bl -column RDing TEMPer1V1.2 1 Temperature -offset indent
+.It Em Device Ta Em Sensors
+.It Li RDing TEMPer1V1.2 Ta 1 Temperature
+.El
+.Pp
+The driver possesses a collection of sensor values which are
+made available through the
+.Xr sysctl 8
+interface.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr uhidev 4 ,
+.Xr uthum 4 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8



Re: [NEW] ugold(4) driver for Microdia's USB TEMPer variant (take 3)

2013-09-05 Thread SASANO Takayoshi
Hello,

I commited ugold(4) driver code.

 I'm ok with your diff, here's a man. I can commit it once your diff
 is in if it's ok.

Thank you for writing man, but authors in header is still yuo@.
Others are ok.

Here is fixed version, please commit.

Best regards,


Index: share/man/man4/Makefile
===
RCS file: /cvs/src/share/man/man4/Makefile,v
retrieving revision 1.554
diff -u -p -r1.554 Makefile
--- share/man/man4/Makefile 20 Aug 2013 14:27:32 -  1.554
+++ share/man/man4/Makefile 5 Sep 2013 19:58:45 -
@@ -57,7 +57,8 @@ MAN=  aac.4 ac97.4 acphy.4 \
tlphy.4 thmc.4 tqphy.4 trm.4 trunk.4 tsl.4 tty.4 tun.4 twe.4 txp.4 \
txphy.4 uaudio.4 uark.4 uath.4 uberry.4 ubsa.4 ubsec.4 ubt.4 \
ucom.4 uchcom.4 ucycom.4 udav.4 udcf.4 udfu.4 udl.4 udp.4 udsbr.4 \
-   uftdi.4 ugen.4 uguru.4 uhci.4 uhid.4 uhidev.4 uipaq.4 uk.4 ukbd.4 \
+   uftdi.4 ugen.4 ugold.4 uguru.4 uhci.4 uhid.4 uhidev.4 uipaq.4 uk.4 \
+   ukbd.4 \
ukphy.4 ulpt.4 umass.4 umbg.4 umct.4 umidi.4 umodem.4 ums.4 umsm.4 \
unix.4 uow.4 uoaklux.4 uoakrh.4 uoakv.4 \
upgt.4 upl.4 uplcom.4 ural.4 urio.4 url.4 urlphy.4 \
Index: share/man/man4/ugold.4
===
RCS file: share/man/man4/ugold.4
diff -N share/man/man4/ugold.4
--- /dev/null   1 Jan 1970 00:00:00 -
+++ share/man/man4/ugold.4  5 Sep 2013 19:58:45 -
@@ -0,0 +1,47 @@
+.\$OpenBSD$
+.\
+.\ Copyright (c) 2013 Takayoshi SASANO sas...@openbsd.org
+.\ Copyright (c) 2013 Martin Pieuchot m...@openbsd.org
+.\
+.\ Permission to use, copy, modify, and distribute this software for any
+.\ purpose with or without fee is hereby granted, provided that the above
+.\ copyright notice and this permission notice appear in all copies.
+.\
+.\ THE SOFTWARE IS PROVIDED AS IS AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\
+.Dd $Mdocdate$
+.Dt UGOLD 4
+.Os
+.Sh NAME
+.Nm ugold
+.Nd TEMPer Gold HID temperature sensor
+.Sh SYNOPSIS
+.Cd ugold* at uhidev?
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for pcsensors TEMPer gold devices.
+The following devices are supported by the
+.Nm
+driver:
+.Bl -column RDing TEMPer1V1.2 1 Temperature -offset indent
+.It Em Device Ta Em Sensors
+.It Li RDing TEMPer1V1.2 Ta 1 Temperature
+.El
+.Pp
+The driver possesses a collection of sensor values which are
+made available through the
+.Xr sysctl 8
+interface.
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr uhidev 4 ,
+.Xr uthum 4 ,
+.Xr sensorsd 8 ,
+.Xr sysctl 8

-- 
SASANO Takayoshi u...@mx5.nisiq.net