Re: Initialize v4l2_requestbuffers struct to avoid invalid mmap

2020-05-29 Thread Ingo Feinerer
On Thu, May 28, 2020 at 12:23:58PM +0200, Martin Pieuchot wrote: > On 26/05/20(Tue) 11:30, Ingo Feinerer wrote: > > video(1) supports reading frames from a webcam via mmap(). To inform the > > V4L2 device about the number of desired buffers containing the frames to >

Initialize v4l2_requestbuffers struct to avoid invalid mmap

2020-05-26 Thread Ingo Feinerer
video(1) supports reading frames from a webcam via mmap(). To inform the V4L2 device about the number of desired buffers containing the frames to be memory-mapped, a VIDIOC_REQBUFS ioctl call is used. At the moment the v4l2_requestbuffers struct used for the VIDIOC_REQBUFS ioctl is only partially

Re: problems with libm

2019-07-11 Thread Ingo Feinerer
Moritz Buhl wrote: > ... I noticed that some floating point operations cause failures of other > tests. > ... > Many edge cases for complex floating point operations are not covered at all. Hi, https://marc.info/?l=openbsd-tech=150737856618497=2 is another example of an edge case for complex

if_umb.c: typos

2019-01-14 Thread Ingo Feinerer
A few messsage -> message fixes. Index: if_umb.c === RCS file: /cvs/src/sys/dev/usb/if_umb.c,v retrieving revision 1.21 diff -u -p -r1.21 if_umb.c --- if_umb.c2 Oct 2018 19:49:10 - 1.21 +++ if_umb.c14 Jan 2019

ctan(3) NaN

2017-10-07 Thread Ingo Feinerer
Hi, I think I found a bug/inconsistency/regression in ctan(3) introduced somewhere after 6.1 release. Originally observed in math/R (https://marc.info/?l=openbsd-ports=150728711530471=2) the behavior can be reproduced with following C program:

Re: Sync sys/videoio.h with recent Linux kernel

2017-02-01 Thread Ingo Feinerer
On Sun, Jan 29, 2017 at 11:23:06AM +0100, Martin Pieuchot wrote: > On 28/01/17(Sat) 11:55, Ingo Feinerer wrote: > > in a previous commit > > (http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/videoio.h?rev=1.12=text/x-cvsweb-markup) > > we updated our V4L2 API. However, on

Sync sys/videoio.h with recent Linux kernel

2017-01-28 Thread Ingo Feinerer
Hi, in a previous commit (http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/videoio.h?rev=1.12=text/x-cvsweb-markup) we updated our V4L2 API. However, one file (v4l2-common.h) could not be inlined as it was only GPL2 licensed. After discussion with the authors they agreed to dual license (GPL

Re: List Ericsson N5321gw as supported umb(4) device

2016-11-24 Thread Ingo Feinerer
On Thu, Nov 24, 2016 at 07:01:52PM +0100, Otto Moerbeek wrote: > On Wed, Nov 23, 2016 at 08:56:53PM +0100, Ingo Feinerer wrote: > > the "Lenovo N5321gw" is working for me with umb(4) > > (https://marc.info/?l=openbsd-misc=147992993614369=2). So mention it > >

List Ericsson N5321gw as supported umb(4) device

2016-11-23 Thread Ingo Feinerer
Hi, the "Lenovo N5321gw" is working for me with umb(4) (https://marc.info/?l=openbsd-misc=147992993614369=2). So mention it as a supported device in umb.4? (Lenovo seems to call it Ericsson N5321gw on its support sites, so I'll use this wording.) OK? Best regards, Ingo Index: umb.4

Medion Mobile S4222 works with umb(4)

2016-06-24 Thread Ingo Feinerer
Hi, just a short report that the "Medion Mobile S4222" UMTS stick (attached via USB) works fine with the new umb(4): umsm0 at uhub0 port 2 configuration 1 interface 0 "MediaTek Inc Product" rev 2.00/3.00 addr 10 umsm0 detached umb1 at uhub0 port 2 configuration 1 interface 0 "MediaTek Inc

Adapt video.4 for recent videoio.h change

2016-01-01 Thread Ingo Feinerer
Hi, video.4 manual page diff to cope with recent videoio.h change. OK? Best regards, Ingo Index: video.4 === RCS file: /cvs/src/share/man/man4/video.4,v retrieving revision 1.12 diff -u -p -r1.12 video.4 --- video.4 18 Oct 2014

Update V4L2 API (sys/videoio.h)

2015-12-20 Thread Ingo Feinerer
Hi, I would like to update our V4L2 (Video for Linux Two) API. The plan is to sync sys/videoio.h with a recent version of linux/videodev2.h (which has a BSD license statement in it) from the Linux kernel sources. However, videodev2.h now includes two additional headers: 1) linux/v4l2-common.h:

Add V4L2_FMT_FLAG_EMULATED to videoio.h

2015-11-20 Thread Ingo Feinerer
I would like to add V4L2_FMT_FLAG_EMULATED to sys/videoio.h as libv4l (https://github.com/jasperla/openbsd-wip/tree/master/multimedia/libv4l) returns the flag for emulated (i.e., not natively supported by your webcam) video formats. In turn some userspace applications (like the SIP user-agent

cdce(4) and MBIM

2015-01-20 Thread Ingo Feinerer
Has anyone experiences with USB devices (e.g. UMTS modem) offering Mobile Broadband Interface Model (MBIM) interfaces? According to www.usb.org/developers/docs/devclass_docs/MBIM10Errata1_073013.zip MBIM is comparable to NCM (The largest deviation from NCM 1.0 is that devices transfer raw IP

Add Medion Mobile S4222 to umsm(4)

2015-01-06 Thread Ingo Feinerer
A man page diff corresponding to the recent umsm commit by Martin Pieuchot. Best regards, Ingo Index: share/man/man4/umsm.4 === RCS file: /cvs/src/share/man/man4/umsm.4,v retrieving revision 1.89 diff -u -p -r1.89 umsm.4 ---

MediaTek Inc. UMTS stick

2015-01-05 Thread Ingo Feinerer
Please find attached at the end of this mail a diff for the MediaTek Inc. DC_4COM (that is the product name that the Linux option driver uses: https://raw.githubusercontent.com/torvalds/linux/master/drivers/usb/serial/option.c) UMTS USB stick (= MEDION S4222). It solves the problems described at

Re: MediaTek Inc. UMTS stick

2015-01-05 Thread Ingo Feinerer
On Mon, Jan 05, 2015 at 02:03:38PM +0100, Martin Pieuchot wrote: Thanks for your diff. No need to cross lists, tech@ is the good place for a diff :) OK :) On 05/01/15(Mon) 13:08, Ingo Feinerer wrote: Please find attached at the end of this mail a diff for the MediaTek Inc. DC_4COM