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/Makef

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 comm

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

2013-09-04 Thread SASANO Takayoshi
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. Regards, SASANO Takayoshi

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

2013-05-31 Thread Luis Coronado
Upgraded my icinga/cacti box to -current, latest ugold patch applied. All good: from dmesg OpenBSD 5.3-current (GENERIC.MP) #0: Wed May 29 09:47:39 CST 2013 r...@sbrnms..xxx:/usr/src/sys/arch/amd64/compile/GENERIC.MP uhidev0 at uhub3 port 1 configuration 1 interface 0 "RDing TEMPerV1.2"

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

2013-05-27 Thread Benoit Lecocq
On 05/12/13 20:41, SASANO Takayoshi wrote: > Hello, > > Here is the driver for Microdia's USB TEMPer with some fixes. > > http://www.uaa.org.uk/gomitext/2013/20130513/20130513.diff > > - removed intermediate buffer (sc_ibuf), all USB interrupt responses > will be processed in ugold_intr(). > -

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

2013-05-12 Thread SASANO Takayoshi
Hello, Here is the driver for Microdia's USB TEMPer with some fixes. http://www.uaa.org.uk/gomitext/2013/20130513/20130513.diff - removed intermediate buffer (sc_ibuf), all USB interrupt responses will be processed in ugold_intr(). - use uhidev_set_report() to issue HID command. - add ugold* a

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

2013-05-02 Thread Stuart Henderson
On 2013/05/02 23:57, SASANO Takayoshi wrote: > > >> +int > >> +ugold_issue_cmd(struct ugold_softc *sc, uint8_t *cmd, int len, int delay) > >> +{ > >> + usb_device_request_t req; > >> + > >> + bzero(sc->sc_ibuf, sc->sc_ilen); > >> + > >> + req.bmRequestType = UT_WRITE_CLASS_INTERFACE; > >> + re

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

2013-05-02 Thread SASANO Takayoshi
Hello, sorry for late reply. wow, there is many comments... > But anyway, I think that in your case you don't need it. Why don't you > update directly your sensor values when you receive the data in > ugold_intr() instead of copying to a intermediate buffer? The device always works command (co

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

2013-05-02 Thread Martin Pieuchot
On 30/04/13(Tue) 17:39, Stuart Henderson wrote: > On 2013/04/30 15:06, Stuart Henderson wrote: > > On 2013/03/31 17:56, SASANO Takayoshi wrote: > > > Hello, > > > > > > I rewrote patched uthum(4) to new ugold(4) driver. > > > Thanks for advice by yuo@ and deraadt@. Some comments inline. > Index:

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

2013-04-30 Thread Stuart Henderson
On 2013/04/30 15:06, Stuart Henderson wrote: > On 2013/03/31 17:56, SASANO Takayoshi 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

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

2013-04-30 Thread Stuart Henderson
On 2013/03/31 17:56, SASANO Takayoshi 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/201

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

2013-04-01 Thread Luis Coronado
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 TE

[NEW] ugold(4) driver for Microdia's USB TEMPer variant

2013-03-31 Thread SASANO Takayoshi
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 alrea