Re: video(1) and modesetting driver

2019-02-14 Thread Raphael Graf
On Wed, Feb 13, 2019 at 04:09:10PM -0200, Martin Pieuchot wrote: > On 07/02/19(Thu) 13:52, Raphael Graf wrote: > > [...] > > The new diff below solves this yuy2/yuyv problem by defining them both under > > the same name 'yuy2'. > > That's great. I would just ch

Re: video(1) and modesetting driver

2019-02-07 Thread Raphael Graf
On Fri, Jan 25, 2019 at 09:09:29AM -0200, Martin Pieuchot wrote: > On 25/01/19(Fri) 11:16, Raphael Graf wrote: > > On Wed, Jan 23, 2019 at 12:54:51PM -0200, Martin Pieuchot wrote: > > > > Index: video.c > > > > ===

Re: pckbc(4) diff

2019-01-29 Thread Raphael Graf
On Mon, Jan 28, 2019 at 08:14:09PM +0100, Marcus Glocker wrote: > On some machines when the pckbc(4) keyboard controller driver attaches > to the console, it's possible to inject characters by moving your mouse > in to the keyboard channel. When injecting enough noise the keyboard > will stop

Re: video(1) and modesetting driver

2019-01-25 Thread Raphael Graf
On Fri, Jan 25, 2019 at 12:52:38PM +0200, Artturi Alm wrote: > On Fri, Jan 25, 2019 at 11:16:49AM +0100, Raphael Graf wrote: > > Hi Martin, > > Thanks for your feedback! > > > > On Wed, Jan 23, 2019 at 12:54:51PM -0200, Martin Pieuchot wrote: > > > Hello Rapha

Re: video(1) and modesetting driver

2019-01-25 Thread Raphael Graf
On Fri, Jan 25, 2019 at 09:09:29AM -0200, Martin Pieuchot wrote: > On 25/01/19(Fri) 11:16, Raphael Graf wrote: > > On Wed, Jan 23, 2019 at 12:54:51PM -0200, Martin Pieuchot wrote: > > > > Index: video.c > > > > ===

Re: video(1) and modesetting driver

2019-01-25 Thread Raphael Graf
Hi Martin, Thanks for your feedback! On Wed, Jan 23, 2019 at 12:54:51PM -0200, Martin Pieuchot wrote: > Hello Raphael, > > On 16/01/19(Wed) 12:41, Raphael Graf wrote: > > Here is an attempt to make video(1) work with the modesetting driver. > > See https://marc

video(1) and modesetting driver

2019-01-16 Thread Raphael Graf
Here is an attempt to make video(1) work with the modesetting driver. See https://marc.info/?l=openbsd-bugs=152231686416039=2 The general idea: If there is no common encoding for input (device) and output (Xv), the encoding is converted to something supported by the output. No conversion is done

mandoc -T html -O toc, nested anchor tags

2018-12-22 Thread Raphael Graf
The html output contains nested anchor tags if the TABLE OF CONTENTS has a second level. For example, see http://man.openbsd.org/mdoc The diff closes the anchor tag before printing the 'ul' of the second level. Index: mdoc_html.c

Re: mandoc -T html default style

2018-12-21 Thread Raphael Graf
Hi Ingo, On Thu, December 20, 2018 11:53 pm, Ingo Schwarze wrote: > Hi Ted, hi Raphael, > > Ted Unangst wrote on Thu, Dec 20, 2018 at 11:36:06AM -0500: >> Raphael Graf wrote: > >>> The diff inserts some space above the footer. >>> This improves readability and

mandoc -T html default style

2018-12-20 Thread Raphael Graf
The diff inserts some space above the footer. This improves readability and makes it similar to the other output formats. Here is an example found in the wild, demonstrating the problem: https://webassembly.github.io/wabt/doc/wasm-objdump.1.html Index: html.c

Re: armv7: banana pi, Allwinner A20 board

2014-10-20 Thread Raphael Graf
On Thu, October 16, 2014 11:40 pm, Patrick Wildt wrote: I do believe that this is a pmap issue. I just got hands on an Allwinner A20 and suffered the same issues: pool_setlowat crashing randomly, same for ahci and so on. I believe we are not syncing the PTEs correctly. Here?s the snippet

Re: Patch: fix high capacity ( 2GB) eMMC support

2014-09-22 Thread Raphael Graf
On Sun, September 21, 2014 2:09 pm, Raphael Graf wrote: On Sat, September 20, 2014 7:45 pm, Jonathan Gray wrote: On Sat, Sep 20, 2014 at 06:01:51PM +0200, Cédric Tessier wrote: Hi, I've bought a BeagleBone Black rev. C board, and I was trying to install OpenBSD on it, but the internal eMMC

Re: Patch: fix high capacity ( 2GB) eMMC support

2014-09-21 Thread Raphael Graf
On Sat, September 20, 2014 7:45 pm, Jonathan Gray wrote: On Sat, Sep 20, 2014 at 06:01:51PM +0200, Cédric Tessier wrote: Hi, I've bought a BeagleBone Black rev. C board, and I was trying to install OpenBSD on it, but the internal eMMC was causing errors. sdmmc1: unknown CARD_TYPE 0x17

Re: run(4) firmware update; please test

2014-05-16 Thread Raphael Graf
On Thu, May 15, 2014 11:35 am, Stefan Sperling wrote: This firmware update to version 0.33 is a prequisite for newer run(4) devices which are not yet supported. Can active users of run(4) devices please test this update to make sure no regressions are introduced for already working devices?

Re: Update the sdmmmc stack to take care of the SMC_CAPS_SINGLE_ONLY capability

2013-10-19 Thread Raphael Graf
On Fri, October 18, 2013 9:54 am, Sylvestre Gallon wrote: Hi tech@ Here is a diff to allow the sdmmc SMC_CAPS_SINGLE_ONLY caps to do something. The bits I take are from NetBSD and it works well with ommmc(4) on my Beagle Bone Black. This capability force the sdmmc stack to only issue single

azalia acer quirks

2013-09-14 Thread Raphael Graf
Without this diff, I just get silence from an Acer Extensa 6700. I don't know if this is the right way to fix it.. Comments? Index: sys/dev/pci/azalia_codec.c === RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v retrieving revision

Re: beaglebone

2013-04-26 Thread Raphael Graf
On Thu, April 25, 2013 7:30 pm, Alexey E. Suslikov wrote: Raphael Graf r at undefined.ch writes: I have a beaglebone (AM3359) running OpenBSD, see below. Is there any interest in such code? Diffs are interesting. Teasers are not. So here's what I have at the moment. Some parts are just

beaglebone

2013-04-25 Thread Raphael Graf
I have a beaglebone (AM3359) running OpenBSD, see below. Is there any interest in such code? OpenBSD/beagle booting ... arg0 0x0 arg1 0xe05 arg2 0x8100 atag core flags 0 pagesize 0 rootdev 0 atag mem start 0x8000 size 0x1000 atag cmdline [sd0] bootfile: sd0 bootargs: memory size

Re: beaglebone JTAG (FT2232H)

2013-01-31 Thread Raphael Graf
On Thu, January 31, 2013 10:31 am, Martin Pieuchot wrote: On 30/01/13(Wed) 13:19, Raphael Graf wrote: On Wed, January 30, 2013 10:52 am, Martin Pieuchot wrote: On 27/01/13(Sun) 16:13, Raphael Graf wrote: The diff below makes the jtag and serial interfaces of the beaglebone (FT2232H

Re: beaglebone JTAG (FT2232H)

2013-01-29 Thread Raphael Graf
FT2232 with 'xds100v2' layout in procedure 'init' Raphael Graf r...@undefined.ch wrote: The diff below makes the jtag and serial interfaces of the beaglebone (FT2232H) work simultaneously. This is how the beaglebone shows up: uhub8 at uhub0 port 1 Standard Microsystems product 0x2412 rev 2.00

beaglebone JTAG (FT2232H)

2013-01-27 Thread Raphael Graf
The diff below makes the jtag and serial interfaces of the beaglebone (FT2232H) work simultaneously. This is how the beaglebone shows up: uhub8 at uhub0 port 1 Standard Microsystems product 0x2412 rev 2.00/b.b2 addr 3 uftdi0 at uhub8 port 1 configuration 1 interface 1 FTDI BeagleBone/XDS100V2

uftdi baud rates

2012-09-20 Thread Raphael Graf
This diff is about the baud rate divisor calculation. The driver should now support the full range of possible baud rates for FT232BM and later devices. (The calculation is described in the document AN_120 Aliasing VCP Baud Rates from ftdi.) Index: sys/dev/usb/uftdireg.h

FTDI FT2232H

2012-09-08 Thread Raphael Graf
This adds support for the FT2232H and FT4232H serial adapters. (FT2232H found on the BeagleBone). These devices have a 120MHz base clock for the baud rate generator and need a different encoding for the baud rate divisor. The values for ibufsize/obufsize are now taken from the endpoint