Re: [3/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-26 Thread Jason McIntyre
On Tue, Mar 26, 2019 at 08:34:11AM +0100, Paul de Weerd wrote: > This may have gotten lost in the noise - but I forgot to update the > DESCRIPTION section of the umbg(4) manpage. > > Diff again: > > Index: umbg.4 > === > RCS file:

Re: [3/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-26 Thread Paul de Weerd
This may have gotten lost in the noise - but I forgot to update the DESCRIPTION section of the umbg(4) manpage. Diff again: Index: umbg.4 === RCS file: /home/OpenBSD/cvs/src/share/man/man4/umbg.4,v retrieving revision 1.5 diff -u -p

Re: usb drivers & arches (Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4))

2019-03-22 Thread Theo de Raadt
Paul de Weerd wrote: > On Fri, Mar 22, 2019 at 11:53:20AM +, Stuart Henderson wrote: > | This is a more general thing actually, the list of USB drivers is rather > | haphazard at the moment. List below (to fit <80 cols I've snipped i386 > | which has all drivers present in any other GENERIC

Re: usb drivers & arches (Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4))

2019-03-22 Thread Paul de Weerd
On Fri, Mar 22, 2019 at 11:53:20AM +, Stuart Henderson wrote: | This is a more general thing actually, the list of USB drivers is rather | haphazard at the moment. List below (to fit <80 cols I've snipped i386 | which has all drivers present in any other GENERIC config, amd64 which | is only

Re: [3/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Whoops. I had missed one change to the manpage that's still needed: the DESCRIPTION section also mentions the supported devices. This now supports two models, but I don't think it makes sense to turn this into a list of supported hardware just yet. Index: umbg.4

Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Peter Hessler
OK On 2019 Mar 22 (Fri) at 10:04:37 +0100 (+0100), Paul de Weerd wrote: :Index: GENERIC :=== :RCS file: /home/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v :retrieving revision 1.466 :diff -u -p -r1.466 GENERIC :--- GENERIC19 Jan

Re: [3/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Peter Hessler
OK On 2019 Mar 22 (Fri) at 10:04:19 +0100 (+0100), Paul de Weerd wrote: : :Index: share/man/man4/umbg.4 :=== :RCS file: /home/OpenBSD/cvs/src/share/man/man4/umbg.4,v :retrieving revision 1.4 :diff -u -p -r1.4 umbg.4 :---

usb drivers & arches (Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4))

2019-03-22 Thread Stuart Henderson
On 2019/03/22 11:55, Paul de Weerd wrote: > On Fri, Mar 22, 2019 at 10:22:15AM +, Stuart Henderson wrote: > | $ for i in */conf/GENERIC; do grep -q ^udcf $i && grep -q ^umbg $i || echo > ${i%%/*}; done > > Did you want to only find archs which DO have udcf(4) but not umbg(4)? > Because not

Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
On Fri, Mar 22, 2019 at 10:22:15AM +, Stuart Henderson wrote: | $ for i in */conf/GENERIC; do grep -q ^udcf $i && grep -q ^umbg $i || echo ${i%%/*}; done Did you want to only find archs which DO have udcf(4) but not umbg(4)? Because not all of those in your list have udcf. This adds ubmg

Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
On Fri, Mar 22, 2019 at 10:22:15AM +, Stuart Henderson wrote: | it's missing on some others too; | | $ for i in */conf/GENERIC; do grep -q ^udcf $i && grep -q ^umbg $i || echo ${i%%/*}; done | alpha | amd64 | arm64 | armv7 | hppa | landisk | loongson | luna88k | socppc Yes. I have some of

Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Stuart Henderson
On 2019/03/22 10:04, Paul de Weerd wrote: > Index: GENERIC > === > RCS file: /home/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v > retrieving revision 1.466 > diff -u -p -r1.466 GENERIC > --- GENERIC 19 Jan 2019 03:24:18 -

[5/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Bonus diff - make explicit in the GENERIC configs that already have umbg(4), that this driver now supports DCF600USB too Index: i386/conf/GENERIC === RCS file: /home/OpenBSD/cvs/src/sys/arch/i386/conf/GENERIC,v retrieving revision

[2/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Index: usbdevs.h === RCS file: /home/OpenBSD/cvs/src/sys/dev/usb/usbdevs.h,v retrieving revision 1.707 diff -u -p -r1.707 usbdevs.h --- usbdevs.h 24 Feb 2019 17:35:44 - 1.707 +++ usbdevs.h 22 Mar 2019 07:48:28 - @@

[4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Index: GENERIC === RCS file: /home/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v retrieving revision 1.466 diff -u -p -r1.466 GENERIC --- GENERIC 19 Jan 2019 03:24:18 - 1.466 +++ GENERIC 22 Mar 2019 08:10:33 - @@

[3/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Index: share/man/man4/umbg.4 === RCS file: /home/OpenBSD/cvs/src/share/man/man4/umbg.4,v retrieving revision 1.4 diff -u -p -r1.4 umbg.4 --- share/man/man4/umbg.4 16 Jul 2013 16:05:49 - 1.4 +++ share/man/man4/umbg.4

[1/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Index: usbdevs === RCS file: /home/OpenBSD/cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.695 diff -u -p -r1.695 usbdevs --- usbdevs 24 Feb 2019 17:35:29 - 1.695 +++ usbdevs 20 Mar 2019 11:55:44 - @@

Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Paul de Weerd
Hi all, After Peter J. Philipp asked about Meinberg DCF clock support on misc@ in https://marc.info/?l=openbsd-misc=155205024420585=2 I was also interested in the question he asked. After some consideration, I decided to try, so I bought a Meinberg DCF600USB which was delivered yesterday. I