Re: efi(4): Support for EFI variables and tables in the kernel

2023-04-21 Thread Landry Breuil
Le Fri, Apr 21, 2023 at 09:27:35AM +0100, Stuart Henderson a écrit : > On 2023/04/20 00:55, Mark Kettenis wrote: > > > Date: Tue, 18 Apr 2023 19:11:40 +0300 > > > From: Sergii Dmytruk > > > > > > Hi there, > > > > > > Pinging to say that this thread is silent for 3 months. EFI runtime and > >

Re: Authentication in OpenIKED

2023-03-02 Thread Landry Breuil
Le Thu, Mar 02, 2023 at 03:44:35PM +, Stuart Henderson a écrit : > On 2023/03/01 22:15, A Tammy wrote: > > > > > > -# Configuration for clients connecting with EAP authentication. > > > +# Configuration for clients connecting with EAP authentication > > > +# and sending all traffic over the

Re: initial 11ac support for iwm(4)

2022-03-20 Thread Landry Breuil
Le Sat, Mar 19, 2022 at 05:21:55PM +0100, Stefan Sperling a écrit : > On Fri, Mar 18, 2022 at 11:36:50AM +0100, Stefan Sperling wrote: > > On Fri, Mar 18, 2022 at 05:25:42AM +0100, Landry Breuil wrote: > > > interestingly, when associated over ac to the livebox the backgroun

Re: initial 11ac support for iwm(4)

2022-03-17 Thread Landry Breuil
Le Wed, Mar 16, 2022 at 11:17:47PM +0100, Stefan Sperling a écrit : > On Wed, Mar 16, 2022 at 04:11:41PM +0100, Stefan Sperling wrote: > > This patch adds initial 11ac support to the iwm(4) driver. > > It allows use of 80 MHz channels and VHT MCS. > > Updated patch. Fixes a fatal firmware error

add openvpn 1194/udp/tcp port to /etc/services

2022-03-01 Thread Landry Breuil
Hi, while looking at other things i noticed OpenVPN wasnt in /etc/services. apparently its listed/registered by IANA since 2004 (i know, not a reason), and i have it on a debian 11 box and on a FreeBSD 12.2 server. i see two reasons: - making sure another service doesnt squat the port for

Re: ucc: ignore get encoding requests

2021-10-20 Thread Landry Breuil
Le Wed, Oct 20, 2021 at 07:43:36AM +0200, Anton Lindqvist a écrit : > Hi, > landry@ reported that he ended up with the wrong encoding in X11 while > having a ucc keyboard attached and /etc/kbdtype being present. The > advertised encoding of a wsmux is a bit fragile as the last attached > device

Re: pf.conf(5) & reply-to

2021-09-22 Thread Landry Breuil
Le Tue, Sep 21, 2021 at 10:40:12PM +0200, Sebastian Benoit a écrit : > Alexander Bluhm(alexander.bl...@gmx.net) on 2021.09.21 22:34:09 +0200: > > On Mon, Sep 20, 2021 at 03:54:58PM +0200, Landry Breuil wrote: > > > did i screwup something somewhere in my config and th

pf.conf(5) & reply-to

2021-09-20 Thread Landry Breuil
hi, on a carp setup with two external links (main & backup), i struggled a bit to accept traffic on the backup interface - after fiddling a bit in pf.conf and looking at the faq (https://www.openbsd.org/faq/upgrade69.html) & manpage (https://man.openbsd.org/pf.conf#reply-to) it wasnt super

Re: iwm(4): Tx aggregation

2021-04-30 Thread Landry Breuil
On Fri, Apr 30, 2021 at 12:03:41AM +0200, Stefan Sperling wrote: > This is another patch for Tx aggregation support in iwm(4). > I have tested 7265, 8265, and 9560, and they seem to work. > > Causes of various fatal firmware errors from my earlier attempts at > getting this to work have been

Re: ping graphical display

2021-02-19 Thread Landry Breuil
On Fri, Feb 19, 2021 at 03:19:49PM +, Stuart Henderson wrote: > This diff adds something similar to cisco's ping display, giving a > visual display of good/dropped pings. Any interest in it? Example > output (with a couple of ^T during the run): fwiw, noping from net/liboping in ports has

Re: use /dev/dri/ in xenocara

2021-02-18 Thread Landry Breuil
On Thu, Feb 18, 2021 at 11:11:15PM +1100, Jonathan Gray wrote: > On Thu, Feb 18, 2021 at 11:34:19AM +, Stuart Henderson wrote: > > On 2021/02/18 22:24, Jonathan Gray wrote: > > > On Thu, Feb 18, 2021 at 12:01:28PM +0100, Mark Kettenis wrote: > > > > > Date: Thu, 18 Feb 2021 21:18:51 +1100 > >

Re: uhidpp(4): logitech hid++ device driver

2021-02-05 Thread Landry Breuil
On Fri, Jan 22, 2021 at 08:18:51AM +0100, Anton Lindqvist wrote: > Hi, > Here's a new driver for Logitech HID++ devices, currently limited to > exposing battery sensors. Here's an example using a Logitech M330 mouse: > > $ dmesg | grep uhidpp > uhidpp0 at uhidev1 device 1 mouse

Re: IPPROTO_SCTP

2021-01-18 Thread Landry Breuil
On Mon, Jan 18, 2021 at 12:13:32PM +, Stuart Henderson wrote: > can I add IPPROTO_SCTP to in.h? only one port wants it at the > moment, but I think I've seen others in the past. https://searchfox.org/mozilla-central/search?q=ipproto_sctp has some hits, especially in the chromium-bundled

Re: WANTLIB problems and possible solution: the libset design

2020-10-11 Thread Landry Breuil
On Sun, Oct 11, 2020 at 05:03:31PM +0200, Marc Espie wrote: > On Sun, Oct 11, 2020 at 04:53:18PM +0200, Christian Weisgerber wrote: > > Marc Espie: > > > > > The new design: > > > > > > The idea behind "libset" is to be able to specify a "set" of wantlib that > > > corresponds to our package,

uvideo_querycap(): set device_caps field to unbreak video device detection with firefox 78

2020-07-04 Thread Landry Breuil
Hi, since firefox 78, video(4) devices arent detected anymore. Upstream added code in https://bugzilla.mozilla.org/show_bug.cgi?id=1637319 to check for the V4L2_CAP_VIDEO_CAPTURE capacity, and the code added in https://hg.mozilla.org/integration/autoland/rev/33facf191f23 checks for that in the

Re: 11n Tx aggregation for iwm(4)

2020-06-27 Thread Landry Breuil
On Fri, Jun 26, 2020 at 06:14:48PM +0200, Landry Breuil wrote: > On Fri, Jun 26, 2020 at 02:45:53PM +0200, Stefan Sperling wrote: > > This patch adds support for 11n Tx aggregation to iwm(4). > > > > Please help with testing if you can by running the patch and using wifi

Re: 11n Tx aggregation for iwm(4)

2020-06-26 Thread Landry Breuil
On Fri, Jun 26, 2020 at 02:45:53PM +0200, Stefan Sperling wrote: > This patch adds support for 11n Tx aggregation to iwm(4). > > Please help with testing if you can by running the patch and using wifi > as usual. Nothing should change, except that Tx speed may potentially > improve. If you have

Re: libossaudio: start using sndio

2020-04-02 Thread Landry Breuil
On Wed, Apr 01, 2020 at 07:27:12PM +0200, Alexandre Ratchov wrote: > ping! > > FWIW, the diff below affects the following ports: > - emulators/gambatte > - gstreamer-0.10 mixer plugin > - sysutils/conky > - sysutils/gkrellm > - sysutil/tpb > -

Re: iked.conf.5: Provide GRE tunnel in transport mode example

2020-02-22 Thread Landry Breuil
On Sat, Feb 22, 2020 at 12:24:36PM +0100, Klemens Nanni wrote: > On Sat, Feb 22, 2020 at 10:19:27AM +0100, Tobias Heider wrote: > > This is not what dstid does. When setting 'dstid D.example.com' the policy > > still > > only applies if the peer sends 'D.example.com' as it's identity in the ID >

Re: Audio control API, part 2: add new sndioctl(1) utility

2020-02-09 Thread Landry Breuil
On Sun, Feb 09, 2020 at 01:14:47PM +0100, Alexandre Ratchov wrote: > Here's a new sndioctl utility similar to mixerctl(1) but using the new > sndio API. Example: > > $ sndioctl > output.level=127 > app/aucat0.level=127 > app/firefox0.level=127

Re: man.cgi(8): turn off HTML5 autocomplete for the query input field

2020-01-09 Thread Landry Breuil
On Thu, Jan 09, 2020 at 09:18:25PM -0600, Tim Baumgard wrote: > This turns off HTML5 autocomplete for the query input field for > man.cgi(8). This essentially makes smartphones and tablets behave the > same as PCs since they otherwise would try to annoyingly capitalize the > first character and

Re: change to bsd.port.mk to help debug packages a bit

2019-12-02 Thread Landry Breuil
On Wed, Nov 27, 2019 at 05:55:47PM +0100, Marc Espie wrote: > This should get rid of the weird error (don't know how to make > .../all/debug-*.tgz) when switching from !DEBUG_PACKAGES to DEBUG_PACKAGES. > > Basically, this introduces a "build two targets at once" in bsd.port.mk. > > make has

Re: [patch] cwm: filter duplicate hostnames in ssh menu

2019-05-06 Thread Landry Breuil
On Mon, May 06, 2019 at 08:04:02AM +0200, Bruno Flückiger wrote: > On 01.05., Marcus MERIGHI wrote: > > Hello, > > > > o...@demirmen.com (Okan Demirmen), 2019.04.29 (Mon) 16:19 (CEST): > > > On Fri 2019.04.26 at 07:15 +0200, Bruno Fl?ckiger wrote: > > > > Hi, > > > > > > > > The ssh menu of cwm(1)

Re: OpenBSD 6.5 released -- Apr 24 2019

2019-04-26 Thread Landry Breuil
On Fri, Apr 26, 2019 at 07:48:26PM +0100, Andrew Grillet wrote: > Install was very quick on my Sun V100. Congratulations to all involved. > > Any news on if/when there will be packages for Sparc64? When they're done, still at least 3 weeks.

Re: Neuter shm calls from X swrast_dri.so

2019-02-24 Thread Landry Breuil
On Sun, Feb 24, 2019 at 10:44:25AM -0500, Todd Mortimer wrote: > A few weeks ago I noticed that firefox tabs were getting killed for > running afoul of pledge(2). It seems that the problem was some calls to > shmget(2) from the X swrast_dri.so lib that seem to have come from the > new mesa code

NMEA: add more gps sensor values (altitude)(take 3)

2019-01-24 Thread Landry Breuil
Hi, simplified diff from my last mail, only adding speed & altitude, now with 100% less floating point in the kernel ! Use a #define KNOTTOMS (51444 / 100) instead of the wrong (1000 / 1.9438) formula to convert from thousands of knots (nmea_atoi() returns an integer which takes 3 extra digits

Re: video(1) pledge

2019-01-21 Thread Landry Breuil
On Mon, Jan 21, 2019 at 09:44:59PM +0100, Matthieu Herrb wrote: > On Mon, Jan 21, 2019 at 09:27:57PM +0100, Landry Breuil wrote: > > Hi, > > > > Hi, > > > now that the 'video' promise is in, looking for okays to pledge > > video(1). > > > > w

video(1) pledge

2019-01-21 Thread Landry Breuil
Hi, now that the 'video' promise is in, looking for okays to pledge video(1). with help & hints from semarie@. Index: video.c === RCS file: /cvs/xenocara/app/video/video.c,v retrieving revision 1.25 diff -u -r1.25 video.c ---

Re: NMEA: add more gps sensor values (2nd take)

2018-12-30 Thread Landry Breuil
On Sun, Dec 30, 2018 at 02:23:59PM -0700, Theo de Raadt wrote: > Landry Breuil wrote: > > > On Sun, Dec 30, 2018 at 01:37:26PM -0700, Theo de Raadt wrote: > > > That's a big step you are taking there > > > > > > "ldattach -t nmea"

Re: NMEA: add more gps sensor values (2nd take)

2018-12-30 Thread Landry Breuil
On Sun, Dec 30, 2018 at 01:37:26PM -0700, Theo de Raadt wrote: > That's a big step you are taking there > > "ldattach -t nmea" was written to extract time information for ntpd. > > It was not written to extract any other information. > > Until you came up with a diff which extracts other

Re: NMEA: add more gps sensor values (2nd take)

2018-12-30 Thread Landry Breuil
On Sun, Dec 30, 2018 at 05:17:54AM -0700, Theo de Raadt wrote: > I think you've gone overboard adding sensors. > > Some of them aren't informing a fact about the world, but about the GPS device > operation. > > Therefore I think nsat, quality, hdop, vdop, pdop are irrelevant. These > are

Re: NMEA: add more gps sensor values (2nd take)

2018-12-30 Thread Landry Breuil
On Sun, Dec 30, 2018 at 06:04:17AM -0700, Theo de Raadt wrote: > Anyways, I haven't seen a specific consumer ready to use this > information from sysctl. I'm sure such programs exist and will be > adapted to use sysctl (or a file, will we make it mode 600 by > default?) rather than some linux

Re: NMEA: add more gps sensor values (2nd take)

2018-12-30 Thread Landry Breuil
On Sun, Dec 30, 2018 at 05:17:54AM -0700, Theo de Raadt wrote: > I think you've gone overboard adding sensors. > > Some of them aren't informing a fact about the world, but about the GPS device > operation. > > Therefore I think nsat, quality, hdop, vdop, pdop are irrelevant. These > are

Re: NMEA: add more gps sensor values (2nd take)

2018-12-30 Thread Landry Breuil
On Sat, Dec 29, 2018 at 12:45:07AM +0200, Paul Irofti wrote: > > so now that the sensor types got adjusted, here's the tty_nmea.c diff > > again, adding 7 new sensors: > > - # satellites (raw) > > - GPS/DGPS fix (or not) (raw) > > - HDOP/VDOP/PDOP (raw) > > - Altitude (m) > > - Speed (m/s) > >

Re: video(1) pledge (& updated kernel diff)

2018-12-30 Thread Landry Breuil
On Sat, Dec 29, 2018 at 09:30:22AM +0100, Sebastien Marie wrote: > On Fri, Dec 28, 2018 at 09:41:06PM +0100, Landry Breuil wrote: > > Hi, > > > > so i've updated my 'video' class for pledge and also did an initial > > naive pledging of xenocara/app/video: >

NMEA: add more gps sensor values (2nd take)

2018-12-28 Thread Landry Breuil
Hi, so now that the sensor types got adjusted, here's the tty_nmea.c diff again, adding 7 new sensors: - # satellites (raw) - GPS/DGPS fix (or not) (raw) - HDOP/VDOP/PDOP (raw) - Altitude (m) - Speed (m/s) i'd welcome eyes on the logic, and especially on the nmea_atoi() implementation - it is

video(1) pledge (& updated kernel diff)

2018-12-28 Thread Landry Breuil
Hi, so i've updated my 'video' class for pledge and also did an initial naive pledging of xenocara/app/video: the kernel diff is the same subset as the diff from some months ago, except that it adds: - VIDIOC_QUERYCTRL/VIDIOC_G_CTRL/VIDIOC_S_CTRL: those 3 are used by video(1) to set

Re: undocumented nfs mount option "intr"

2018-12-20 Thread Landry Breuil
On Thu, Dec 20, 2018 at 09:26:33AM +0100, Solene Rapenne wrote: > Hi > > fstab(5) has an example for a nfs mountpoint using the "intr" option. > > That option isn't documented in mount(8) or mount_nfs(8) and in fact, I've not > been able to find it anywhere. What is it doing? I think it's the

add velocity sensor type, change distance unit

2018-12-08 Thread Landry Breuil
Hi, followup on a diff from last month, updated to -current: - adds SENSOR_VELOCITY, internal unit um/s, display unit m/s - changes SENSOR_DISTANCE to display as meters, with 3 decimals which gives: hw.sensors.nmea0.distance0=335.600 m (Altitude), OK hw.sensors.nmea0.velocity0=18.337 m/s

Re: pvclock(4)

2018-11-22 Thread Landry Breuil
On Thu, Nov 22, 2018 at 05:24:10PM +0100, Landry Breuil wrote: > On Thu, Nov 22, 2018 at 07:44:01AM -0800, Mike Larkin wrote: > > On Thu, Nov 22, 2018 at 04:37:49PM +0100, Reyk Floeter wrote: > > > On Mon, Nov 19, 2018 at 01:12:46PM +0100, Reyk Floeter wrote: > > > >

Re: pvclock(4)

2018-11-22 Thread Landry Breuil
On Thu, Nov 22, 2018 at 07:44:01AM -0800, Mike Larkin wrote: > On Thu, Nov 22, 2018 at 04:37:49PM +0100, Reyk Floeter wrote: > > On Mon, Nov 19, 2018 at 01:12:46PM +0100, Reyk Floeter wrote: > > > the attached diff is another attempt at implementing a pvclock(4) > > > guest driver. This improves

Re: pvclock(4)

2018-11-20 Thread Landry Breuil
On Mon, Nov 19, 2018 at 01:12:46PM +0100, Reyk Floeter wrote: > Hi, > > the attached diff is another attempt at implementing a pvclock(4) > guest driver. This improves the clock on KVM and replaces the need > for using the VM-expensive acpihpet(4). > > While pvclock(4) is available on KVM, Xen,

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-04 Thread Landry Breuil
On Sat, Nov 03, 2018 at 06:21:38PM -0400, Ted Unangst wrote: > Mark Kettenis wrote: > > SENSOR_VELOCITY would make sense. It should be m/s with some > > appropriate scaling. We don't need to represent speeds higer than > > 299792458 m/s, so micrometers per second would be a good choice. > > is

Re: add altitude & speed sensor types

2018-11-03 Thread Landry Breuil
On Sat, Nov 03, 2018 at 08:40:33PM +0100, Mark Kettenis wrote: > > Date: Sat, 3 Nov 2018 20:09:32 +0100 > > From: Landry Breuil > > > > On Sat, Nov 03, 2018 at 05:27:03PM +0100, Landry Breuil wrote: > > > Hi, > > > > > > complement

Re: NMEA: add more gps sensor values (altitude, precision, speed, #satellites...)

2018-11-03 Thread Landry Breuil
On Sat, Nov 03, 2018 at 05:00:47PM +0100, Landry Breuil wrote: > Hi, New diff adding speed and # of satellites, uses SENSOR_VELOCITY as posted in the previous diff, and relies on SENSOR_DISTANCE being shown as meters. I redid the message type matching to account for constellation types wh

Re: add altitude & speed sensor types

2018-11-03 Thread Landry Breuil
On Sat, Nov 03, 2018 at 05:27:03PM +0100, Landry Breuil wrote: > Hi, > > complementary to the previous diff, adds altitude sensor type (in > meters) and speed (in m/s, as it seems that's the common denominator and > most accepted unit, even if it doesnt 'mean' anything to human

Re: NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Landry Breuil
On Sat, Nov 03, 2018 at 05:42:26PM +0100, Mark Kettenis wrote: > > Date: Sat, 3 Nov 2018 17:00:47 +0100 > > From: Landry Breuil > > > > two problems with this display: > > - DOPs are usually decimal values, ie 1.3, 1.53.. but raw sensors only > > support inte

add altitude & speed sensor types

2018-11-03 Thread Landry Breuil
Hi, complementary to the previous diff, adds altitude sensor type (in meters) and speed (in m/s, as it seems that's the common denominator and most accepted unit, even if it doesnt 'mean' anything to humans...) i still have to ponder about the decimals & intervals.. builds, not used yet. Landry

NMEA: add more gps sensor values (altitude, precision...)

2018-11-03 Thread Landry Breuil
Hi, here's a diff to add 5 new sensor values to nmea: altitude, quality, hdop, vdop & pdop. altitude and quality are provided by GGA messages: http://aprs.gids.nl/nmea/#gga, quality is either 0 (no fix), 1 (gps fix) or 2 (dgps fix). The last 3 are 'Dilution of precision' values, respectively

Re: iostat: add "sp" column for CP_SPIN

2018-09-04 Thread Landry Breuil
On Tue, Sep 04, 2018 at 03:27:29PM +0200, Solene Rapenne wrote: > Stuart Henderson wrote: > > On 2018/09/04 14:22, Solene Rapenne wrote: > > > About munin I'm trying to get a diff accepted upstream to fix cpu plugin > > > and > > > talk about this with kirby@. The cpu plugin uses sysctl

Re: nmea(4): support GNRMC messages sent by gps devices supporting multiple networks

2018-08-29 Thread Landry Breuil
On Wed, Aug 29, 2018 at 02:13:01PM -0600, Theo de Raadt wrote: > Landry Breuil wrote: > > > Hi, > > > > was playing with an usb gps that works ootb with gpsd, but our nmea line > > discipline doesnt recognize it, and the 'indicator' sensor stays at its > >

nmea(4): support GNRMC messages sent by gps devices supporting multiple networks

2018-08-29 Thread Landry Breuil
Hi, was playing with an usb gps that works ootb with gpsd, but our nmea line discipline doesnt recognize it, and the 'indicator' sensor stays at its default 'unknown'. The gps is a navilock nl-8002u: umodem0 at uhub3 port 2 configuration 1 interface 0 "u-blox AG - www.u-blox.com u-blox GNSS

Re: Add 'video' pledge

2018-07-25 Thread Landry Breuil
On Wed, Jul 25, 2018 at 12:29:10PM -0600, Theo de Raadt wrote: > >I went over this for a while and i don't see how firefox could be adapted to > >avoid this new pledge class. The other option is to move lots of code around > >so > >that the video device is opened/configured inconditionally by the

Re: Add 'video' pledge

2018-07-25 Thread Landry Breuil
On Thu, May 24, 2018 at 07:15:05PM +0200, Landry Breuil wrote: > Hi, > > here's two simple diffs (one for the kernel, one for the pledge.2 > manpage) that allow me to use my webcam again within firefox when > pledged,, adding 'video' to the main process pledges. > &g

Re: uaudio: fix detection of a bunch of logitech webcams

2018-07-07 Thread Landry Breuil
On Fri, Jul 06, 2018 at 03:38:00PM +0200, Remco wrote: > > @@ -1814,6 +1827,10 @@ > > sc->sc_audio_rev = UGETW(acdp->bcdADC); > > DPRINTFN(2,("%s: found AC header, vers=%03x, len=%d\n", > > __func__, sc->sc_audio_rev, aclen)); > > + > > + /* Some webcams descriptors

Re: uaudio: fix detection of a bunch of logitech webcams

2018-07-06 Thread Landry Breuil
On Fri, Jul 06, 2018 at 01:52:57PM +0200, Landry Breuil wrote: > On Thu, Jul 05, 2018 at 11:13:42AM +0200, Landry Breuil wrote: > > On Thu, Jul 05, 2018 at 11:04:34AM +0200, Martin Pieuchot wrote: > > > On 05/07/18(Thu) 09:28, Landry Breuil wrote: > > > > On Fri, Ju

add logitech c250

2018-07-06 Thread Landry Breuil
Hi, thx to Raf Czlonka who sent me the usb descriptor for this model, it's also affected by the 'wrong feature_unit bLength' issue so should be added to usbdevs too. okay ? I'll of course add it to the other uaudio diff.. Index: usbdevs

Re: uaudio: fix detection of a bunch of logitech webcams

2018-07-05 Thread Landry Breuil
On Thu, Jul 05, 2018 at 11:04:34AM +0200, Martin Pieuchot wrote: > On 05/07/18(Thu) 09:28, Landry Breuil wrote: > > On Fri, Jun 29, 2018 at 01:50:24PM +0200, Landry Breuil wrote: > > > On Fri, Jun 29, 2018 at 09:05:56AM +0200, Remco wrote: > > > > > > If you

uaudio: fix detection of a bunch of logitech webcams

2018-07-05 Thread Landry Breuil
On Fri, Jun 29, 2018 at 01:50:24PM +0200, Landry Breuil wrote: > On Fri, Jun 29, 2018 at 09:05:56AM +0200, Remco wrote: > > > > If you don't find any better solution, I'd suggest using a device ID > > > > check rather than adding a quirk. Because such quirk cannot be ge

Re: add a bunch of logitech webcam ids to usbdevs

2018-07-03 Thread Landry Breuil
On Mon, Jul 02, 2018 at 09:29:04PM +0200, Mark Kettenis wrote: > > Date: Mon, 2 Jul 2018 21:10:26 +0200 > > From: Landry Breuil > > > > ok ? > > Why? How do they show up right now? We typically only add USB IDs > for hardware that needs quirks or doesn'

Re: add a bunch of logitech webcam ids to usbdevs

2018-07-02 Thread Landry Breuil
On Mon, Jul 02, 2018 at 09:29:04PM +0200, Mark Kettenis wrote: > > Date: Mon, 2 Jul 2018 21:10:26 +0200 > > From: Landry Breuil > > > > ok ? > > Why? How do they show up right now? We typically only add USB IDs > for hardware that needs quirks or doesn'

add a bunch of logitech webcam ids to usbdevs

2018-07-02 Thread Landry Breuil
ok ? Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.686 diff -u -r1.686 usbdevs --- usbdevs 28 Jun 2018 15:02:06 - 1.686 +++ usbdevs 2 Jul 2018 19:08:08 - @@ -2575,8 +2575,12 @@

Looking for logitech webcams testers/device info

2018-06-30 Thread Landry Breuil
Hi, sending this to a wider audience on misc@, to fix the microphone (cf https://marc.info/?t=15298427072=1=2) on a variety of logitech webcams (mostly the Cxxx{,HD}?) i'd need the lsusb -v output for the corresponding devices. If you have a logitech webcam where the mic doesnt work (looking

Re: uaudio: fix logitech c310 integrated mic

2018-06-29 Thread Landry Breuil
On Fri, Jun 29, 2018 at 09:05:56AM +0200, Remco wrote: > > > If you don't find any better solution, I'd suggest using a device ID > > > check rather than adding a quirk. Because such quirk cannot be generic. > > > In that case you have an off-by-one, but another device might have a > > >

Re: uaudio: fix logitech c310 integrated mic

2018-06-28 Thread Landry Breuil
On Mon, Jun 25, 2018 at 11:59:46AM +0200, Martin Pieuchot wrote: > On 24/06/18(Sun) 14:15, Landry Breuil wrote: > > Hi, > > > > the logitech c310 is supported by uvideo, but its uaudio fails to > > attach properly and fallbacks to ugen. > > > > from that

Re: ldapd: fix regress

2018-06-25 Thread Landry Breuil
On Mon, Jun 25, 2018 at 11:08:45AM -0300, Gleydson Soares wrote: > On Mon, Jun 25, 2018 at 08:49:31AM +0200, Landry Breuil wrote: > > On Mon, Jun 25, 2018 at 02:25:40AM -0300, Gleydson Soares wrote: > > > unbreak ldapd regress, > > > everything seems to be worki

Re: ldapd: fix regress

2018-06-25 Thread Landry Breuil
On Mon, Jun 25, 2018 at 02:25:40AM -0300, Gleydson Soares wrote: > unbreak ldapd regress, > everything seems to be working fine. the point of the overly complicated grep line was to handle the case where you have a running production ldapd, and you spawn another one for regress.. that's also why

Re: sndiod.8: document how to start with multiple devices

2018-06-24 Thread Landry Breuil
On Sun, Jun 24, 2018 at 06:26:02PM +0200, Alexandre Ratchov wrote: > On Sun, Jun 24, 2018 at 05:38:11PM +0200, Landry Breuil wrote: > > On Sun, Jun 24, 2018 at 05:23:46PM +0200, Landry Breuil wrote: > > > Hi, > > > > > > here's an attempt at document

Re: sndiod.8: document how to start with multiple devices

2018-06-24 Thread Landry Breuil
On Sun, Jun 24, 2018 at 05:23:46PM +0200, Landry Breuil wrote: > Hi, > > here's an attempt at documenting the usecase i always forget when > playing with multiple devices/mics. Feedback/reworking/tweaks welcome. New version after super quick feedback from jmc@, unsure where to p

sndiod.8: document how to start with multiple devices

2018-06-24 Thread Landry Breuil
Hi, here's an attempt at documenting the usecase i always forget when playing with multiple devices/mics. Feedback/reworking/tweaks welcome. Landry Index: sndiod.8 === RCS file: /cvs/src/usr.bin/sndiod/sndiod.8,v retrieving

uaudio: fix logitech c310 integrated mic

2018-06-24 Thread Landry Breuil
Hi, the logitech c310 is supported by uvideo, but its uaudio fails to attach properly and fallbacks to ugen. uaudio0 at uhub0 port 1 configuration 1 interface 2 "Logitech Webcam C310" rev 2.00/0.12 addr 2 uaudio_identify_ac: AC interface is 2 uaudio_identify_ac: found AC header, vers=100,

Add 'video' pledge

2018-05-24 Thread Landry Breuil
Hi, here's two simple diffs (one for the kernel, one for the pledge.2 manpage) that allow me to use my webcam again within firefox when pledged,, adding 'video' to the main process pledges. The kernel changes are similar to what was done for 'audio' pledge, and i took the ioctl list from the

Re: Faster msdosfs read

2018-04-30 Thread Landry Breuil
On Sat, Apr 28, 2018 at 04:55:29PM +0200, Martin Pieuchot wrote: > On 26/04/18(Thu) 23:06, Landry Breuil wrote: > > On Thu, Apr 26, 2018 at 10:01:25PM +0200, Martin Pieuchot wrote: > > > This is the 4th attempt to implement clustering for msdosfs. See [0] > >

Re: Faster msdosfs read

2018-04-26 Thread Landry Breuil
On Thu, Apr 26, 2018 at 10:01:25PM +0200, Martin Pieuchot wrote: > This is the 4th attempt to implement clustering for msdosfs. See [0] > for the previous story. > > This version implements the strict necessary to read a maximum of 64k > per read. Unlike the previous version we no longer mix

Re: net80211: stub SIOCS80211SCAN, make ifconfig scan instant

2018-04-26 Thread Landry Breuil
On Wed, Apr 25, 2018 at 09:14:42PM +0300, Paul Irofti wrote: > On Wed, Apr 25, 2018 at 08:55:26PM +0300, Paul Irofti wrote: > > Hi, > > > > The following diff removes the functionality of the SIOCS80211SCAN ioctl. > > After long discussions with stps@, mpi@, and deraadt@ we decided that > > this

query usb device info at device creation

2018-04-25 Thread Landry Breuil
Hi, prompted by mpi@ i tried simplifying the way we get the vendor/product/serial info from the device. Currently this is done lazily, and sometimes several times. Instead of this, let's query the device in usbd_new_device(), fallback to the global known lists then to the USB IDs, cache the info

Re: fill device description with product name in uvideo(4)

2018-04-24 Thread Landry Breuil
On Tue, Apr 24, 2018 at 04:04:34PM +0100, Stuart Henderson wrote: > On 2018/04/24 16:34, Landry Breuil wrote: > > Hi, > > > > here's a diff to reuse usbd_devinfo_vp() (exposed in usbdivar.h) in > > VIDIOC_QUERYCAP ioctl callback, this way we can fill v4l2_capabi

fill device description with product name in uvideo(4)

2018-04-24 Thread Landry Breuil
Hi, here's a diff to reuse usbd_devinfo_vp() (exposed in usbdivar.h) in VIDIOC_QUERYCAP ioctl callback, this way we can fill v4l2_capability card struct member with the actual usb product name instead of a dummy "Generic USB video class device". Firefox uses that ioctl to get the user-facing

Re: [patch] Remove redundant quotes in sys/sys/resource.h and sys/sys/sysctl.h

2018-04-20 Thread Landry Breuil
On Fri, Apr 20, 2018 at 06:53:44AM -0500, Jimmy Hess wrote: > On Fri, Apr 20, 2018 at 3:57 AM, Theo Buehler wrote: > > I don't think these are "redundant quotes" but rather ditto marks: > > The ditto mark and the quote character are not the same character, > and the comments

document netstart's -n flag

2018-03-02 Thread Landry Breuil
Hi, crude attempt at documenting -n in netstart, the wording can probably be improved. Landry Index: netstart.8 === RCS file: /cvs/src/share/man/man8/netstart.8,v retrieving revision 1.21 diff -u -r1.21 netstart.8 --- netstart.8 5

Re: Fixed sys_socket() plumbing

2018-02-12 Thread Landry Breuil
On Mon, Feb 12, 2018 at 09:22:54AM +0100, Martin Pieuchot wrote: > I found my mistake in the previous diff. `SS_NBIO' was never set on > non blocking sockets. Diff below fixes that by checking `nonblock' > like it is done in sys_socketpair(). > > Tests & oks welcome :) Running with it now on

Re: fixing kvm lapic hangs

2018-02-07 Thread Landry Breuil
On Thu, Feb 08, 2018 at 04:32:29PM +1300, Jonathan Matthew wrote: > This diff (most of which has been around for a while) changes delay_func > when running in KVM to use pvclock (effectively the TSC) to determine when to > stop spinning. Since this is done in a KVM-specific driver, it won't have

Re: syslog.conf(5): example about logging by sender

2018-02-01 Thread Landry Breuil
On Thu, Feb 01, 2018 at 02:26:16PM +0100, Alexander Bluhm wrote: > On Thu, Feb 01, 2018 at 09:08:04AM +0100, Landry Breuil wrote: > > > # Log everything coming from host bastion to a separate file > > > ++bastion

Re: syslog.conf(5): example about logging by sender

2018-02-01 Thread Landry Breuil
On Wed, Jan 31, 2018 at 03:06:13PM -0700, Todd C. Miller wrote: > On Wed, 31 Jan 2018 20:44:10 +0100, Landry Breuil wrote: > > > the default etc/syslog.conf has a commented out example for by-prog > > logging, but nothing for by-host logging. I fighted a bit with it; so >

syslog.conf(5): example about logging by sender

2018-01-31 Thread Landry Breuil
Hi, the default etc/syslog.conf has a commented out example for by-prog logging, but nothing for by-host logging. I fighted a bit with it; so why not providing an example in the EXAMPLES section of the manpage ? Landry Index: syslog.conf.5

Re: [patch] Remove superfluous seek_filesize() from less

2017-09-25 Thread Landry Breuil
On Mon, Sep 25, 2017 at 10:19:16AM +0200, Jesper Wallin wrote: > Shameless bump, now when we're out of beta. :-) being out of beta means we're in release mode..

Re: caesar(6) documents incorrect frequencies

2017-08-03 Thread Landry Breuil
On Thu, Aug 03, 2017 at 11:20:15AM +0200, Daniel Hartmeier wrote: > Maybe you mean Etaoin Shrdlu, it has a fascinating story > > https://archive.org/details/FarewellEtaoinShrdlu Wow, just wow. Thanks for this piece of history :)

Re: make pkg_info -Q work with other flags

2017-08-03 Thread Landry Breuil
On Wed, Aug 02, 2017 at 12:11:13PM -0600, Aaron Bieber wrote: > On Sat, Jul 29, 2017 at 10:40:37AM -0600, Aaron Bieber wrote: > > Hola, > > > > Currently "pkg_info -Q" doesn't respect other flags and the way > > pkg_info(1) reads, it implies that they will work with it. > > > > This diff makes

Re: introduction of an additional non-POSIX function in libpthread

2017-07-18 Thread Landry Breuil
On Tue, Jul 18, 2017 at 01:43:42PM +0100, David CARLIER wrote: > Ah I recognise you you re Mozilla contributor right ? You re probably right > but that was just an example eventhough I admit it s not extremely widely > used ... Note that you'll have to be careful in your arguments for this

Re: introduction of an additional non-POSIX function in libpthread

2017-07-18 Thread Landry Breuil
On Tue, Jul 18, 2017 at 01:24:21PM +0100, David CARLIER wrote: > Hi. > > I sent a diff originally to a smaller audience but finally decided to post > it in the mailing list. > So it is to introduce the pthread_set_name_np's counterpart so > pthread_get_name_np. > Some softwares use it (NSPR for

Re: cwm: remove ssh auto-completion

2017-07-10 Thread Landry Breuil
On Mon, Jul 10, 2017 at 04:04:47PM +0200, Ingo Schwarze wrote: > Hi, > > Bryan Steele wrote on Mon, Jul 10, 2017 at 09:38:32AM -0400: > > > This was a feature added last year by nicm@, not touching emacs.c > > at all.. > > edit.c is a helper file containing common utilities for emacs.c > and

Re: dhcpd: don't reject DHCPINFORM from behind relay

2017-07-07 Thread Landry Breuil
On Thu, Jul 06, 2017 at 11:28:11AM +0200, Landry Breuil wrote: > On Wed, Jul 05, 2017 at 04:37:39PM +0200, Reyk Floeter wrote: > > Hi, > > > > landry@ sees many log messages 'DHCPINFORM from xx but ciaddr yy is > > not consistent with actual address' in a se

Re: dhcpd: don't reject DHCPINFORM from behind relay

2017-07-06 Thread Landry Breuil
On Wed, Jul 05, 2017 at 04:37:39PM +0200, Reyk Floeter wrote: > Hi, > > landry@ sees many log messages 'DHCPINFORM from xx but ciaddr yy is > not consistent with actual address' in a setup where dhcpd runs behind > dhcrelay. > > The code in dhcpd's dhcpinform() seems wrong - it assumes that

Re: ports framework change: readme and rc generation

2017-06-26 Thread Landry Breuil
On Mon, Jun 26, 2017 at 12:36:16PM +0200, Marc Espie wrote: > I need to get this thru my next bulk. > This should work around several existing issues. > > First, PKGDIR must exist. Creating it during fake is no longer possible, > because this doesn't work with dpb in privsep mode. > > Having

Re: [PATCH] cp(1): add -v option for verbosity

2017-06-25 Thread Landry Breuil
On Sun, Jun 25, 2017 at 09:59:35PM +0200, Paul de Weerd wrote: > On Sun, Jun 25, 2017 at 06:22:05PM +0200, Job Snijders wrote: > | Dear Alexander, > | > | On Sun, Jun 25, 2017 at 06:13:40PM +0200, Alexander Hall wrote: > | > On June 25, 2017 2:06:20 PM GMT+02:00, Job Snijders

Re: [PATCH] mv(1): add -v option for verbosity

2017-06-25 Thread Landry Breuil
On Sun, Jun 25, 2017 at 02:41:28PM +0200, Mark Kettenis wrote: > > Date: Sun, 25 Jun 2017 14:06:11 +0200 > > From: Job Snijders > > > > Hi all, > > > > This patch adds a -v option to mv(1) for more verbose output. > > > > $ touch a > > $ mv -v a b > > 'a' -> 'b'

Re: start building clang alongside gcc on amd64

2017-04-17 Thread Landry Breuil
On Mon, Apr 17, 2017 at 09:20:21AM +0200, Mark Kettenis wrote: > After further discussion it Theo, here is a new version of the diff. > It explicitly lists the gcc4 architectures now, introduces BUILD_GCC3 > and BUILD_GCC4 variables and fixes installation of the c++ headers. > > Index:

Re: Xorg stipple

2017-02-26 Thread Landry Breuil
On Wed, Mar 09, 2016 at 05:09:13PM -0600, joshua stein wrote: > Is anyone seriously finding video/Xorg bugs through the default X > stipple pattern anymore? Xorg changed the default to draw a black > background a while ago (with stipple enabled using the -retro flag), > but we have this local

Re: add empty /root/.ssh/authorized_keys to mtree/sets ?

2017-02-10 Thread Landry Breuil
On Fri, Feb 10, 2017 at 09:36:16AM +0100, Antoine Jacoutot wrote: > On Thu, Feb 09, 2017 at 06:19:54PM +0100, Landry Breuil wrote: > > On Sun, Feb 05, 2017 at 08:37:31PM +, Stuart Henderson wrote: > > > On 2017/02/05 09:53, Robert Peichaer wrote: > > > > On S

Re: add empty /root/.ssh/authorized_keys to mtree/sets ?

2017-02-09 Thread Landry Breuil
On Thu, Feb 09, 2017 at 06:19:54PM +0100, Landry Breuil wrote: > On Sun, Feb 05, 2017 at 08:37:31PM +, Stuart Henderson wrote: > > On 2017/02/05 09:53, Robert Peichaer wrote: > > > On Sun, Feb 05, 2017 at 10:46:41AM +0100, Landry Breuil wrote: > > > > Hi, &g

  1   2   >