Sasano,

your patch applies without problems in -current.

This is what I see:

uname -a:
$ uname -a
OpenBSD obsdbox.ticoit.net 5.3 GENERIC.MP#15 amd64

from dmesg:
OpenBSD 5.3-current (GENERIC.MP) #15: Mon Apr  1 13:44:48 CST 2013
.
.
.
uhidev3 at uhub4 port 2 configuration 1 interface 0 "RDing TEMPerV1.2" rev
2.00/0.01 addr 3
uhidev3: iclass 3/1, 1 report id
ugold0 at uhidev3 reportid 1
uhidev4 at uhub4 port 2 configuration 1 interface 1 "RDing TEMPerV1.2" rev
2.00/0.01 addr 3
uhidev4: iclass 3/1
ugold1 at uhidev4
ugold1: type ds75/12bit (temperature)
uhidev5 at uhub3 port 1 configuration 1 interface 0 "RDing TEMPerV1.2" rev
2.00/0.01 addr 3
uhidev5: iclass 3/1, 1 report id
ugold2 at uhidev5 reportid 1
uhidev6 at uhub3 port 1 configuration 1 interface 1 "RDing TEMPerV1.2" rev
2.00/0.01 addr 3
uhidev6: iclass 3/1
ugold3 at uhidev6
ugold3: type ds75/12bit (temperature)

sysctl hw.sensors:
hw.sensors.ugold1.temp0=30.50 degC (inner)
hw.sensors.ugold3.temp0=33.75 degC (inner)

usbdevs -vd:
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
  uhub3
 port 1 addr 3: low speed, power 100 mA, config 1, TEMPerV1.2(0x7401),
RDing(0x0c45), rev 0.01
   uhidev5
   uhidev6
 port 2 addr 2: low speed, power 98 mA, config 1, USB Optical
Mouse(0xc054), Logitech(0x046d), rev 54.00
   uhidev0
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
Intel(0x8086), rev 1.00
  uhub4
 port 1 addr 2: low speed, power 100 mA, config 1, HP USB Multimedia
Keyboard(0x0841), CHICONY(0x04f2), rev 1.00
   uhidev1
   uhidev2
 port 2 addr 3: low speed, power 100 mA, config 1, TEMPerV1.2(0x7401),
RDing(0x0c45), rev 0.01
   uhidev3
   uhidev4

So far so good. Icinga is happy.

-luis




On Sun, Mar 31, 2013 at 2:56 AM, SASANO Takayoshi <u...@mx5.nisiq.net> wrote:

> Hello,
>
> I rewrote patched uthum(4) to new ugold(4) driver.
> Thanks for advice by yuo@ and deraadt@.
>
> The diff for -current's /usr/src/sys is large to send mailing-list,
> so here is the URL:
>
> http://www2192ue.sakura.ne.jp/~uaa/gomitext/2013/20130331/20130331.diff
>
> If you want to try ugold(4) and already use Microdia's-variant-patched
> uthum(4) driver, revert original uthum(4).
>
> ok or comments, please.
>
> Cheers,
> --
> SASANO Takayoshi <u...@mx5.nisiq.net>
>
>

Reply via email to