add usb quirk to attach foo2zjs printers as ugen

2013-01-25 Thread Stefan Sperling
Printers using the foo2zjs driver (in ports/print/foo2zjs) need to attach as ugen so that a firmware file can be downloaded to them with a command such as 'cat firmware.dl /dev/ugen0.01. I got a HP LaserJet 1020 which needs this driver, and currently attaches as ulpt(4) which doesn't work. It is

Re: add usb quirk to attach foo2zjs printers as ugen

2013-01-25 Thread Stefan Sperling
On Fri, Jan 25, 2013 at 03:11:57PM +0100, Stefan Sperling wrote: If this diff goes in I'll later add more printers listed at http://www.openprinting.org/driver/foo2zjs/ once I've obtained their device IDs. It seems only 4 HP printers really need this quirk, so that's easy enough to do right

Re: add usb quirk to attach foo2zjs printers as ugen

2013-01-25 Thread Martin Pieuchot
On 25/01/13(Fri) 15:11, Stefan Sperling wrote: Printers using the foo2zjs driver (in ports/print/foo2zjs) need to attach as ugen so that a firmware file can be downloaded to them with a command such as 'cat firmware.dl /dev/ugen0.01. I got a HP LaserJet 1020 which needs this driver, and

Re: add usb quirk to attach foo2zjs printers as ugen

2013-01-25 Thread Stuart Henderson
On 2013/01/25 15:36, Stefan Sperling wrote: On Fri, Jan 25, 2013 at 03:11:57PM +0100, Stefan Sperling wrote: If this diff goes in I'll later add more printers listed at http://www.openprinting.org/driver/foo2zjs/ once I've obtained their device IDs. It seems only 4 HP printers really

Re: vfs_syscall: doreadlinkat()

2013-01-25 Thread Maxime Villard
Le 24/01/2013 19:10, Matthew Dempsky a écrit : On Thu, Jan 24, 2013 at 9:57 AM, Maxime Villard rusty...@gmx.fr wrote: Hum here, if vp-v_type != VLNK, auio is untouched, but before returning we use auio.uio_resid, which is not initialized. Is it? Nice catch. We should probably move the

Re: bge(4) support for BCM57{18,19,20}

2013-01-25 Thread Christian Weisgerber
David Gwynne da...@gwynne.id.au wrote: It totally kills NFS performance in at least one of my usage cases. i believe the problem is the change to the COAL_BDS_INT values. Ooh, that sounds plausible. the diff below reverts them to our previous values. it also includes a few whitespace and

Re: add usb quirk to attach foo2zjs printers as ugen

2013-01-25 Thread Antoine Jacoutot
On Fri, Jan 25, 2013 at 04:00:51PM +0100, Martin Pieuchot wrote: On 25/01/13(Fri) 15:11, Stefan Sperling wrote: Printers using the foo2zjs driver (in ports/print/foo2zjs) need to attach as ugen so that a firmware file can be downloaded to them with a command such as 'cat firmware.dl

Re: [PATCH] pfctl configuration file parser

2013-01-25 Thread sven falempin
printf $? On Thu, Jan 24, 2013 at 2:45 AM, Janne Johansson icepic...@gmail.comwrote: Yes, I think the usual programs should not print if the normal operation went fine style should keep pfctl -f some-file quiet. Having output in the specific config test mode would not hurt, but it's not

[PATCH] Support for virtio random device

2013-01-25 Thread Stefan Fritsch
Hi, qemu 1.3 has added a virtio entropy device. Here is a driver for it. Comments? OKs? As the entropy reserve of the host may not be unlimited, the OpenBSD guest should only ask for entropy when it actually needs it. Would it make sense to add an API that allows a driver to determine how

last(1) nit

2013-01-25 Thread Jacob L. Leifman
The last(1) utility allows for an alternate data file to be specified with -f switch which is particularly useful for reviewing rotated versions of wtmp or forensic analysis. What I found distracting (and made me briefly think it was not working) is that regardless this specification, at the

Re: [PATCH] Support for virtio random device

2013-01-25 Thread Janne Johansson
2013/1/25 Stefan Fritsch s...@sfritsch.de: qemu 1.3 has added a virtio entropy device. Here is a driver for it. Comments? OKs? As the entropy reserve of the host may not be unlimited, the OpenBSD guest should only ask for entropy when it actually needs it. Would it make sense A few of my