Re: uhidpp(4): logitech hid++ device driver

2021-01-29 Thread Ville Valkonen
Hello Anton, either I failed to use git or then files have changed since the first patch: $ git apply -p0 --check hid_plusplus.patch error: patch failed: share/man/man4/Makefile:83 error: share/man/man4/Makefile: patch does not apply error: patch failed: share/man/man4/uhidev.4:40 error: share/man

Re: uhidpp(4): logitech hid++ device driver

2021-01-29 Thread Ville Valkonen
n 1-5 added (std, vt100 emulation) +iwm0: hw rev 0x210, fw ver 17.3216344376.0, address 60:57:18:6a:df:8d -- Kind regards, Ville On Fri, 2021-01-29 at 19:23 +0200, Ville Valkonen wrote: Hello Anton, either I failed to use git or then files have changed since the first patch: $ git apply -p0 --che

Re: uhidpp(4): logitech hid++ device driver

2021-01-30 Thread Ville Valkonen
On Sat, 2021-01-30 at 08:36 +0100, Anton Lindqvist wrote: > On Fri, Jan 29, 2021 at 10:15:05PM +0200, Ville Valkonen wrote: > > Hi, > > > > I have a bit oldish Logitech M705 mouse, bought around 2010-2011. > > Regarding the dmesg (on below) I can see it gets attached c

Re: uhidpp(4): logitech hid++ device driver

2021-01-30 Thread Ville Valkonen
On Sat, 2021-01-30 at 13:18 +0200, Ville Valkonen wrote: > On Sat, 2021-01-30 at 08:36 +0100, Anton Lindqvist wrote: > > On Fri, Jan 29, 2021 at 10:15:05PM +0200, Ville Valkonen wrote: > > > Hi, > > > > > > I have a bit oldish Logitech M705 mouse, bought a

Re: uhidpp(4): logitech hid++ device driver

2021-02-03 Thread Ville Valkonen
On Tue, 2021-02-02 at 19:55 +0100, Anton Lindqvist wrote: > On Tue, Feb 02, 2021 at 01:00:48PM +0100, Marcus Glocker wrote: > > On Tue, Feb 02, 2021 at 08:23:29AM +0100, Anton Lindqvist wrote: > > > > > On Sat, Jan 30, 2021 at 01:18:07PM +0200, Ville Valkonen wrote: >

Re: Pass -U to pgrep and pkill in rc.subr(8)

2021-11-25 Thread Ville Valkonen
Hello, I would guess the main reason is privilege separation. There will be privileged (owner root) and unprivileged (dedicated user) processess and both needs to be killed. -- Kind regards, Ville Valkonen On Fri 26. Nov 2021 at 2.24, Vincent Lee wrote: > Hey all, > > I noticed that

Re: iwm(4) WPA2 crypto hardware offload

2019-08-02 Thread Ville Valkonen
On Fri, 2 Aug 2019 at 14:18, Stefan Sperling wrote: > > This diff enables HW offload for WPA2 CCMP (AES) encrypted unicast > frames in iwm(4). This is in preparation for Tx aggregation support. > > WEP and WPA1/TKIP ciphers are still handled in software, which mirrors > what the older iwn(4) drive

Re: iwm(4) WPA2 crypto hardware offload

2019-08-02 Thread Ville Valkonen
Forgot to mention this was on Intel Dual Band Wireless AC 7265" rev 0x59 On Fri, 2 Aug 2019 at 21:52, Ville Valkonen wrote: > > On Fri, 2 Aug 2019 at 14:18, Stefan Sperling wrote: > > > > This diff enables HW offload for WPA2 CCMP (AES) encrypted unicast > >

Re: new USB audio class v2.0 driver

2019-01-02 Thread Ville Valkonen
d0b dump on sd0b iwm0: hw rev 0x210, fw ver 16.242414.0, address 60:57:18:6a:df:8d uaudio0 at uhub1 port 2 configuration 1 interface 1 "Cambridge Audio Cambridge Audio USB Audio 2.0" rev 2.00/3.26 addr 4 uaudio0: class v2, high-speed, async, channels: 2 play, 0 rec, 0 ctls audio1 at uaudio0 ugen1 at uhub1 port 2 configuration 1 "Cambridge Audio Cambridge Audio USB Audio 2.0" rev 2.00/3.26 addr 4 uaudio0: request failed: TIMEOUT uaudio0: failed to set clock rate audio1: failed to start playback uaudio0: request failed: TIMEOUT uaudio0: failed to set clock rate audio1: failed to start playback -- Regards, Ville Valkonen

[PATCH] Remove an obsolete function tty_cmd_linefeed in tmux

2019-01-26 Thread Ville Valkonen
yoff + ctx->ocy); -else -tty_cursor(tty, tty->rright, ctx->yoff + ctx->ocy); -} else -tty_cursor_pane(tty, ctx, ctx->ocx, ctx->ocy); - -tty_putc(tty, '\n'); -} - void tty_cmd_scrollup(struct tty *tty, const struct tty_ctx *ctx) { -- Kind regards, Ville Valkonen

[PATCH] Double free in ldapclient.c

2019-01-26 Thread Ville Valkonen
, } printf("%s: %s\n", key, p); -free(p); } free(p); -- Kind regards, Ville Valkonen

Ext4 and suspend

2019-03-18 Thread Ville Valkonen
Hello, just a hint for those who are having ext4 partitions mounted: that will prohibit suspend to work. Pardon for my unscientific claim, but If I'm not correctly mistaken this was related to changes that made syncing disks faster in halting. For a long time I thought that also was affecting ext

[PATCH] Parallelize sysupgrade downloads

2019-05-07 Thread Ville Valkonen
unpriv -f $f ftp -Vmo ${f} ${URL}${f} +unpriv -f $f done +cd - echo Verifying sets. [[ -n ${DL} ]] && unpriv cksum -qC SHA256 ${DL} -- Kind regards, Ville Valkonen

[PATCH] Extra lines in ssh-pkcs11-client.c file

2019-11-18 Thread Ville Valkonen
L; if (helper_ecdsa != NULL) -- Kind regards, Ville Valkonen

[PATCH] unsignedness comparison in brconfig.c

2016-01-13 Thread Ville Valkonen
nvalid arg for ifcost: %s", val); -- Regards, Ville Valkonen --- brconfig.c.old Wed Jan 13 16:35:39 2016 +++ brconfig.c Wed Jan 13 16:36:26 2016 @@ -563,7 +563,7 @@ bridge_ifcost(const char *ifname, const char *val) errno = 0; v = strtoul(val, &endptr, 0); if (val[0] == '\0' |

[PATCH] Missing break in audio.c

2016-01-13 Thread Ville Valkonen
proc case AUDIO_DEV_MIXER: case AUDIO_DEV_AUDIOCTL: error = 0; +break; default: error = ENXIO; } -- Kind regards, Ville Valkonen --- sys/dev/audio.c.old Wed Jan 13 17:55:32 2016 +++ sys/dev/audio.c Wed Jan 13 17:55:48 2016 @@ -1704,6 +1704,7 @@ audioclose(dev_

Re: Firefox, malloc(3) and threads

2016-01-24 Thread Ville Valkonen
> cpu3: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz, 1895.62 MHz > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x0b > running Intel Haswell Mobile for the gfx card. > > Regards, > Adam > > [1] - https://twitter.com/mulander/status/691327370985345024 Hi, pretty much the same results here, though running Lenovo X250 with i7-5600U. Dankuwel Mark, nice finding. -- Regards, Ville Valkonen

Re: snapshot installs

2016-12-30 Thread Ville Valkonen
On Dec 30, 2016 20:32, "Theo de Raadt" wrote: I'm wondering if anyone doing an install/upgrade has noticed any behaviour changes in the last week... There's a secret diff being tested :-) Hello, so far I haven't noticed anything peculiar. Two or three distinct machines, two for surfing and on

Typo in etc.i386/sysctl.conf

2015-06-16 Thread Ville Valkonen
osing #machdep.userldt=1 # allow userland programs to play with ldt, # required by some ports #kern.emul.linux=1 # enable running Linux binaries -- Regards, Ville Valkonen

Re: Typo in etc.i386/sysctl.conf

2015-06-16 Thread Ville Valkonen
On 16 June 2015 at 23:02, Ville Valkonen wrote: > Hello, > > a simple typo in etc.i386/sysctl.conf. Simple enough to fix manually > even Gmail mangles the diff: > --- etc/etc.i386/sysctl.confTue Jun 16 22:58:11 2015 > +++ etc/etc.i386/sysctl.conf.orig Tue Jun 16 22:57

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-07-21 Thread Ville Valkonen
On Jul 21, 2015 9:32 AM, "Maxime Villard" wrote: > > Hi, > I put here a bug among others: > > - sys/kern/kern_exec.c - > > char *pathbuf = NULL; > > [...] > > pathbuf = pool_get(&namei_pool, PR_WAITOK); > > [..

Re: OpenBSD::Tame perl wrapper for tame(2)

2015-07-21 Thread Ville Valkonen
On Jul 21, 2015 11:21 PM, wrote: > > > Wrant.. Go away. > > On my way out can I gently kick the usual ruby wrapper to death? > Several times. I'd come for more. > > > Your attitude is offensive to all of us who work on this project. > > Why is open speech offensive, we're not that old already?

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-08 Thread Ville Valkonen
Hello Maxime, On Aug 7, 2015 10:56 PM, "Maxime Villard" wrote: > > Well, I guess I'll have to admit that I find your attitude extremely > disrespectful. But I don't tend to feel particularly offended by this > kind of things, so it probably does not matter. > > > > Le 21/07/2015 12:31, sam a écri

Add Sparkfun ATtiny programmer in to usbdevs

2017-10-24 Thread Ville Valkonen
01eeWLI-UC-G /* MetaGeek tagged products */ product MECANIQUE WISPY0x083eMetaGeek Wi-Spy product MECANIQUE TELLSTICK0x0c30Telldus Tellstick +product MECANIQUE AVRPROGRAMMER0x0c9fSparkfun Tiny AVR programmer /* MetaGeek products */ product METAGEEK WISPY24I0

Re: patch 1/4 add generic keyboard backlight support

2015-12-11 Thread Ville Valkonen
e_parent, enc); > > #endif > > return (0); > > + > > + case WSKBDIO_GETBACKLIGHT: > > + if (wskbd_get_backlight != NULL) > > + return (*wskbd_get_backlight)((struct > wskbd_backlight *)data); > > + error = ENOTTY; > > + break; > > + > > + case WSKBDIO_SETBACKLIGHT: > > + if (wskbd_set_backlight != NULL) > > + return (*wskbd_set_backlight)((struct > wskbd_backlight *)data); > > + error = ENOTTY; > > + break; > > } > > > > /* > > > Hello Joerg, not sure if this diff has been applied in the snapshots but lately brightness keys started to work on Lenovo X250. Could be completely unrelated, though. -- Regards, Ville Valkonen

Re: PATCH: misc mkstemp and fdopen fixes

2014-07-11 Thread Ville Valkonen
uot;); > +int fd; > + > +if ((fd = mkstemp(name)) == -1 || > +(result = fdopen(fd, "w")) == NULL) { > +if (fd != -1) { > +unlink(name); > +close(fd); > +} > +return (NULL); > +} > #else > if (tmpnam(name) != 0) > result = fopen(name, "w"); > Index: usr.sbin/user/user.c > === > RCS file: /cvs/src/usr.sbin/user/user.c,v > retrieving revision 1.98 > diff -u -p -d -r1.98 user.c > --- usr.sbin/user/user.c23 Nov 2013 17:14:05 - 1.98 > +++ usr.sbin/user/user.c11 Jul 2014 09:14:31 - > @@ -721,6 +721,8 @@ setdefaults(user_t *up) > } > if ((fp = fdopen(fd, "w")) == NULL) { > warn("can't fdopen `%s' for writing", CONFFILE); > + unlink(template); > + close(fd); > return 0; > } > ret = 1; Hello Doug, not sure whether it's my eyes or the Gmail client but looks like you are using spaces for indention. Preferred way is to use tabs. -- Kind regards, Ville Valkonen

Re: lynx: disable old protocols

2014-07-18 Thread Ville Valkonen
On 17 July 2014 00:10, Stuart Henderson wrote: > On 2014/07/16 16:00, Jean-Philippe Ouellet wrote: >> Oh come on... It's not like the URLs are some giant uuid-based madness >> or something. All the mirrors have the same simple layout. If you install >> lots of boxes regularly, it doesn't take long

Re: lynx: disable old protocols

2014-07-20 Thread Ville Valkonen
list | some > script, or maybe your eyes and pick one. > > On Fri, Jul 18, 2014 at 4:29 PM, Ville Valkonen wrote: >> On 17 July 2014 00:10, Stuart Henderson wrote: >>> On 2014/07/16 16:00, Jean-Philippe Ouellet wrote: >>>> Oh come on... It's not like the U

Re: Allow resuming with closed lid

2015-01-30 Thread Ville Valkonen
Hello Mike and Max, my work laptop is running Windows and on there one must press power button to wake up the machine. If I connect the dots right, current behaviour was implemented to prevent a "hot bag" problem. Mimicking the Windows behaviour would also prevent laptop wake ups on a bumpy road.

Typo in faq4.html

2015-02-05 Thread Ville Valkonen
Hello, if I haven't completely mistaken, the correct form is unattended: --- faq4.html.orig 2015-02-05 13:04:57.444046000 +0200 +++ faq4.html 2015-02-05 13:05:12.268171000 +0200 @@ -2240,7 +2240,7 @@ applications which can use much, much mo While this directory is world-writable, when it

Re: Journal Implementation

2015-06-02 Thread Ville Valkonen
Hi, On Jun 3, 2015 3:17 AM, "Walter Neto" wrote: > > Thanks guys.. > > I will read all the tips, and start to code.. > > Once I have a diff I share.. > > > On Jun 2, 2015, at 9:06 PM, Walter Neto wrote: > > > > > >> On Jun 2, 2015, at 5:03 PM, Paul de Weerd wrote: > >> > >> On Tue, Jun 02, 2015

Re: Iso image integrity verification

2013-09-11 Thread Ville Valkonen
two cents: why not to check SHA256 sums from the various mirrors and perform the comparison? -- Cheers, Ville Valkonen

Re: memset.S for amd64

2013-09-19 Thread Ville Valkonen
(Pardon top-posting) I can spot few differences: http://www.openbsd.org/cgi-bin/cvsweb/src/sys/lib/libkern/arch/amd64/memset.S?rev=1.3;content-type=text%2Fplain and http://svnweb.freebsd.org/base/release/8.2.0/lib/libc/amd64/string/memset.S?revision=218742&view=markup though I am not familiar wit

Re: Amd64 relocation R_X86_64_32S in a static lib

2013-11-06 Thread Ville Valkonen
On 7 November 2013 04:24, Philip Guenther wrote: > On Wed, 6 Nov 2013, Torbjorn Granlund wrote: > ... >> The change makes be quite worried, since it *seems* to be done without >> proper understanding of the issues involved. > > Appearances can be deceiving. > > >> Furthermore, the ABI change has n

Re: Scheduler improvements

2012-10-08 Thread Ville Valkonen
Hi, Seems to be a bit snappier, though more thorough testing needed. Many web pages became more usable after the patch (chrome as browser) and some gains in desktop too. System is amd64 @ Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz and 4G RAM. -- cheers, Ville

PATCH: merge.c white space cleanup

2013-01-24 Thread Ville Valkonen
Hi, save a few precious bytes by removing unnecessary white spaces from libc/merge.c. http://weezel.fsck.fi/merge.patch> -- Sincerely, Ville Valkonen

[PATCH] amd.8 default configuration file

2013-06-05 Thread Ville Valkonen
el.fsck.fi/amd8_defaultconfig.patch -- Sincerely, Ville Valkonen

Re: CVS: cvs.openbsd.org: src

2013-06-07 Thread Ville Valkonen
Hi, did you compile the recent Xenocara too? On Jun 8, 2013 9:30 AM, "Scott McEachern" wrote: > On 06/07/13 16:46, Mark Kettenis wrote: > >> CVSROOT:/cvs >> Module name:src >> Changes by: kette...@cvs.openbsd.org2013/06/07 14:46:15 >> >> Modified files: >> sys/uvm

Re: drm bits on 54.html

2013-08-10 Thread Ville Valkonen
On 10 August 2013 12:09, Brad Smith wrote: > - Original message - >> On Sat, Aug 10, 2013 at 11:58 AM, Brad Smith wrote: >> > - Original message - >> > > Hi tech@. >> > > >> > > 54.html says: >> > > >> > > > Now mostly in sync with Linux 3.8.13 >> > > >> > > But there's no such th

Add support for the Intel Atom D-7200 processor

2012-02-10 Thread Ville Valkonen
Hello, This patch adds support for the Intel Atom D-2700 processor. The patch is originally from Jonathan Gray (jsg[ at ]jsg.id.au), tested by me. Patch: Index: sys/arch/i386/i386/machdep.c === RCS file: /cvs/src/sys/arch/i386/i386/m

typo in sysctl.8

2012-03-11 Thread Ville Valkonen
Fix typo in sysctl.8. Sysctl machdep prints osfxsr but I couldn't find this from the man page. Also grepping through /usr/include found osfxsr matches but no osxsfr. --- sysctl.8.orig Sun Mar 11 13:24:29 2012 +++ sysctl.8Sun Mar 11 13:25:13 2012 @@ -353,7 +353,7 @@ and a few require a ke

Atom D-2700 support

2012-03-18 Thread Ville Valkonen
sent reminder to @jsg (no reply yet). So, if some kernel developer could review and commit this, I and Joerg would be very happy at least :) Best wishes, Ville On 11 March 2012 18:30, Ville Valkonen wrote: > Hello Joerg, > > I haven't received any feedback from the patch yet. Appa

Re: cwm tiling

2012-06-09 Thread Ville Valkonen
+1 On Jun 9, 2012 5:46 AM, "Christiano F. Haesbaert" wrote: > On Jun 8, 2012 9:22 PM, "Jérémie Courrèges-Anglas" > wrote: > > > > Antoine Jacoutot writes: > > > I for one would love cwm to have tiling management. > > > I don't care avout the alternative, they are not in base. > > > > Same he