Re: elantech-v4 clickpad support

2015-01-29 Thread Martin Pieuchot
On 30/01/15(Fri) 01:25, Ulf Brosziewski wrote: > Probably I was too sceptical about synaptics.c. The bug I observed > with the ALPS touchpad seems to be due to a kind of mismatch between > the ALPS code in pms and the event handling in wsconscomm. The patch > below contains the initial change as we

vmstat arg parsing

2015-01-29 Thread Ted Unangst
Often, when I want to type "systat vmstat" I get confused and type "vmstat systat". To my surprise, this actually works. Two things to fix. First, if a drive name is not found, stop and print an error. Don't ignore it. Second, finish converting atoi to strtonum. Index: vmstat.c ==

Re: Allow resuming with closed lid

2015-01-29 Thread Mike Larkin
On Fri, Jan 30, 2015 at 12:42:04AM +0100, Max Fillinger wrote: > Currently, there's code in acpi.c that sends the system back to sleep > when resuming with closed lid and machdep.lidsuspend=1. I often use my > laptop in a docking station with an external monitor and keep the lid > closed, and I'd l

Allow resuming with closed lid

2015-01-29 Thread Max Fillinger
Currently, there's code in acpi.c that sends the system back to sleep when resuming with closed lid and machdep.lidsuspend=1. I often use my laptop in a docking station with an external monitor and keep the lid closed, and I'd like to be able to resume just by pushing the power button on the dockin

Re: elantech-v4 clickpad support

2015-01-29 Thread Ulf Brosziewski
Probably I was too sceptical about synaptics.c. The bug I observed with the ALPS touchpad seems to be due to a kind of mismatch between the ALPS code in pms and the event handling in wsconscomm. The patch below contains the initial change as well as what was necessary to fix this. diff --git a/ws

Re: Only default to cd with cd in drivehghyh Wrd

2015-01-29 Thread Theo de Raadt
> Patch to check for a cd in the drive before defaulting to cd. Nope, that has some bad consequences. There are some potential lock-up situations, where a bad disc in the drive can spin, spin, spin, and there is no easy & obvious way to get out of the loop.

Only default to cd with cd in drivehghyh Wrd

2015-01-29 Thread Martin, Matthew
Patch to check for a cd in the drive before defaulting to cd. Doesn't quite get me another enter during install/upgrade, but I don't know how to distinguish between install.* and the other media that don't have the sets. Index: src/distrib/miniroot/install.sub ===