Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-26 Thread Sviatoslav Chagaev
On Sun, 10 Jan 2016 21:28:31 +0100 Joerg Jung wrote: > On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > > So below is a driver for TI LP8550. ... > > If there's any chance for it to be commited, please tell me what I need to > > fix/improve to get it comm

Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-12 Thread Sviatoslav Chagaev
On Tue, 12 Jan 2016 01:37:39 +0200 Sviatoslav Chagaev <sviatoslav.chag...@gmail.com> wrote: > On Sun, 10 Jan 2016 21:28:31 +0100 > Joerg Jung <m...@umaxx.net> wrote: > > On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > > > > >

Re: [diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-11 Thread Sviatoslav Chagaev
On Sun, 10 Jan 2016 21:28:31 +0100 Joerg Jung <m...@umaxx.net> wrote: > On Sun, Jan 10, 2016 at 04:59:22AM +0200, Sviatoslav Chagaev wrote: > > Hi, > > > > I'm running -current on Apple MacBook Air 6,2. I installed using Jasper's > > instructions [1], OpenBSD

[diff] lpbl(4): driver for TI LP8550 backlight controller (found in e.g. MacBook Air 6,2)

2016-01-09 Thread Sviatoslav Chagaev
4/lpbl.4 10 Jan 2016 01:52:55 - @@ -0,0 +1,48 @@ +.\" +.\" Copyright (c) 2016 Sviatoslav Chagaev <sviatoslav.chag...@gmail.com> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is he

ld.so: shared objects with same-name global function symbol

2015-05-07 Thread Sviatoslav Chagaev
Hi, I'm investigating Alf Schlichting's report [1] of regression in ld.so caused by my diff [2]. This regression reproduces on amd64-current too. I found errors in my diff which break the dlclose/test1/prog2 test. But what's really interesting -- is the dlclose/test1/prog3 test. I found that

local user can peek on key being set by ifconfig(8)

2011-09-05 Thread Sviatoslav Chagaev
Hi, you can set various keys/passphrases using ifconfig(8), e.g. WPA key: # ifconfig iwn0 wpakey 'hunter2' The problem with that is that any local user can scan the process table and see this password. Here's a retarded shell script which continously scans the output of ps and prints out

Re: mixerctl(1) diff: sort output

2011-05-14 Thread Sviatoslav Chagaev
On Mon, 9 May 2011 14:55:36 +0200 Alexandre Ratchov a...@caoua.org wrote: On Mon, May 09, 2011 at 02:56:28PM +0300, Sviatoslav Chagaev wrote: On Mon, May 9, 2011 at 4:48 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Mon, May 09, 2011 at 01:32:49AM +0300, Sviatoslav Chagaev wrote

Re: mixerctl(1) diff: sort output

2011-05-14 Thread Sviatoslav Chagaev
On Mon, 9 May 2011 12:44:54 + Jacob Meuser jake...@sdf.lonestar.org wrote: On Mon, May 09, 2011 at 02:56:28PM +0300, Sviatoslav Chagaev wrote: On Mon, May 9, 2011 at 4:48 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Mon, May 09, 2011 at 01:32:49AM +0300, Sviatoslav Chagaev

Re: aucat(1) mixing: saturating-addition instead of add-and-divide-by-n_inputs

2011-05-14 Thread Sviatoslav Chagaev
On Sat, 14 May 2011 17:55:06 +0200 Alexandre Ratchov a...@caoua.org wrote: On Sat, May 14, 2011 at 06:26:57PM +0300, Sviatoslav Chagaev wrote: Then the only thing that remains -- is to add clipping in mix_badd(). Yes, if the other diff goes in, handling clipping makes sense

Re: aucat(1) mixing: saturating-addition instead of add-and-divide-by-n_inputs

2011-05-11 Thread Sviatoslav Chagaev
. Explain why it's not important to adhere to the least surprise principle. Explain why is it better to force the users to choose between two evils when they could be offered one good. Explain why aucat should not model real world sound physics. On Wed, May 11, 2011 at 02:50:36AM +0300, Sviatoslav

Re: aucat(1) mixing: saturating-addition instead of add-and-divide-by-n_inputs

2011-05-11 Thread Sviatoslav Chagaev
On Wed, 11 May 2011 13:07:12 +0200 Alexandre Ratchov a...@caoua.org wrote: On Wed, May 11, 2011 at 02:50:36AM +0300, Sviatoslav Chagaev wrote: below are few comments about the diff itself Index: aparams.h === RCS file

Re: aucat(1) mixing: saturating-addition instead of add-and-divide-by-n_inputs

2011-05-11 Thread Sviatoslav Chagaev
On Wed, 11 May 2011 13:25:47 +0200 Alexandre Ratchov a...@caoua.org wrote: On Wed, May 11, 2011 at 09:45:05AM +0300, Sviatoslav Chagaev wrote: On Wed, 11 May 2011 03:35:56 + Jacob Meuser jake...@sdf.lonestar.org wrote: clipping is better than normalizing? really? Clipping

Re: aucat(1) mixing: saturating-addition instead of add-and-divide-by-n_inputs

2011-05-11 Thread Sviatoslav Chagaev
On Wed, 11 May 2011 19:58:56 + Jacob Meuser jake...@sdf.org wrote: On Wed, May 11, 2011 at 09:45:05AM +0300, Sviatoslav Chagaev wrote: On Wed, 11 May 2011 03:35:56 + Jacob Meuser jake...@sdf.lonestar.org wrote: clipping is better than normalizing? really? Clipping might

aucat(1) mixing: saturating-addition instead of add-and-divide-by-n_inputs

2011-05-10 Thread Sviatoslav Chagaev
I'm sitting at work, listening to music, debugging a web-application with JavaScript alert()s. Each time an alert window pops up, the browser plays a sound. For a brief moment, the volume drops twicefold then goes back to normal. This is annoying and doesn't make sense. In real life, if you are

Re: mixerctl(1) diff: sort output

2011-05-09 Thread Sviatoslav Chagaev
On Mon, May 9, 2011 at 4:48 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: On Mon, May 09, 2011 at 01:32:49AM +0300, Sviatoslav Chagaev wrote: * sorted output looks cleaner, prettier; * it's easier to find the variable you're looking for in a sorted output; * hierarchical variable names yet

Re: mixerctl(1) diff: sort output

2011-05-09 Thread Sviatoslav Chagaev
On Mon, May 9, 2011 at 3:27 AM, Abel Abraham Camarillo Ojeda acam...@verlet.org wrote: On Sun, May 8, 2011 at 5:32 PM, Sviatoslav Chagaev sviatoslav.chag...@gmail.com wrote: ... Am I missing something? $ sysctl | sort /tmp/sysctl_sorted $ sysctl | cmp -s /tmp/sysctl_sorted /dev/stdin

cwm diff: some fixes and improvements

2011-03-16 Thread Sviatoslav Chagaev
[calmwm.h, conf.c, mousefunc.c, parse.y] When a window is being moved with the mouse, if the window comes within SNAPDIST pixels of the screen's edge -- snap the window to the screen's edge. [kbfunc.c] Suppose moveamount=1, then bigmoveamount=10. The window is 3 pixels away from the screen's

Re: cwm diff: some fixes and improvements

2011-03-16 Thread Sviatoslav Chagaev
On Wed, 16 Mar 2011 22:31:06 +0200 Sviatoslav Chagaev 0x1...@gmail.com wrote: [calmwm.h, conf.c, mousefunc.c, parse.y] When a window is being moved with the mouse, if the window comes within SNAPDIST pixels of the screen's edge -- snap the window to the screen's edge. [kbfunc.c] Suppose

Re: ral(4) diff

2011-03-12 Thread Sviatoslav Chagaev
On Thu, 10 Mar 2011 22:07:09 +0100 Tim van der Molen tb...@xs4all.nl wrote: I have the following ral(4): ral0 at pci0 dev 13 function 0 Ralink RT2561S rev 0x00: irq 5, address 00:1d:7d:49:28:92 ral0: MAC/BBP RT2561C, RF RT2527 After a commit from August 2010 (see

fix wsmoused(8) too-high-speed issue

2010-09-04 Thread Sviatoslav Chagaev
Tested on amd64-current, with a standard Logitech USB mouse and an A4Tech serial mouse (detects as microsoft type), seems to work nicely. Index: wsmoused.8 === RCS file: /cvs/src/usr.sbin/wsmoused/wsmoused.8,v retrieving revision

Re: (another) Intel driver change needs testing.

2010-05-18 Thread Sviatoslav Chagaev
On Mon, 17 May 2010 22:16:54 +0100 Owain Ainsworth zer...@googlemail.com wrote: The diff found at http://xenocara.org/xvmc.diff could do with some testing. This is some stuff that I didn't backport back to 2.9.1 when I did the intial intel driver backport pile. This contains a huge cleanup

correction to video.4?

2010-04-27 Thread Sviatoslav Chagaev
Not sure if this should be patched, since from what I understand, ioctl never has direct parameters, but always only pointers? Well, I didn't know that and I actually tried to pass an int, since descriptions of other ioctl's of this dev explicitly state that a pointer must be passed, but these

Re: New intel X driver requires testing.

2010-04-17 Thread Sviatoslav Chagaev
DELL Latitude D400 laptop reporting in! At first, I accidentally compiled the kernel without the GEM option, as a result, when I ran X, the screen just went black, and even when I killed the server through ssh, the screen never recovered. Everything seems to be working ok. I played with

Re: drm for r600 and r700

2010-04-09 Thread Sviatoslav Chagaev
On Sat, 10 Apr 2010 00:35:09 +0100 Owain Ainsworth zer...@googlemail.com wrote: On Sat, Apr 10, 2010 at 02:24:43AM +0300, Sviatoslav Chagaev wrote: On Wed, 24 Mar 2010 02:28:24 + Owain Ainsworth zer...@googlemail.com wrote: This diff doesn't have all of the pcidevs that it could

[patch] fix a few ksh auto-completion bugs

2010-03-03 Thread Sviatoslav Chagaev
Greetings and felicitations! Two things about auto-completion annoyed me in ksh for almost 4 years: ( `|' shows the position of cursor after auto-completion) 1) tilde bug: $ ls ~/nonexistTAB $ ls ~/nonexist\* | (i.e. it expands to something insensible, instead of doing nothing like in

Re: [patch] fix a few ksh auto-completion bugs

2010-03-03 Thread Sviatoslav Chagaev
On Wed, 3 Mar 2010 18:14:51 -0500 Brad b...@comstyle.com wrote: On Thursday 04 March 2010 03:00:03 Sviatoslav Chagaev wrote: Greetings and felicitations! Ensure the diffs are created as a unified diff (.e.g. cvs diff -upRN) if you actually want anyone to look at them