pcidevs for AMD 17h and Raven Ridge APUs (Ryzen)

2018-07-07 Thread Thomas Frohwein
Hi, This is a diff to add a bunch of AMD Summit Ridge (17h) and Raven Ridge PCI devices. It's in preparation of an upcoming diff for these that I've worked on in collaboration with brynet@. The link to http://www.pcidatabase.com/ in the comments for pcidevs isn't retrievable anymore. I have

Re: systat(1) iostat vs. iostat(1)

2018-07-07 Thread Jason McIntyre
On Sat, Jul 07, 2018 at 08:28:52AM +0200, Marcus MERIGHI wrote: > Hello, > > when I run 'iostat(1) sd1 1' I get the transfer speed in MB/s. Running > 'systat(1) iostat 1' in parallel I get the transfer speed in bytes, as > calculations show. Therefore adjust the manual of systat(1): > kilobytes

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

2018-07-07 Thread Remco
Now, i'm pretty sure i managed to properly test the device some days ago and record sound with it, but now i only manage to produce 68-bytes empty wav files, using 'aucat -f rsnd/1 -o /tmp/test.wav' after having ensured kern.audio.record was 1. Something is fishy Oks, testing & feedback

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

2018-07-07 Thread Alexandre Ratchov
On Fri, Jul 06, 2018 at 02:56:37PM +0200, Landry Breuil wrote: > > > > To test: > > > > sysctl kern.audio.record=1 > > aucat -f rsnd/1 -o /tmp/foo.wav (if the uaudio device attaches as audio1) > > > > If this actually records sound (mplayer /tmp/foo.wav to check), you've > > won. if foo.wav is

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

2018-07-07 Thread Alexandre Ratchov
On Fri, Jul 06, 2018 at 01:52:57PM +0200, Landry Breuil wrote: > > New diff adding the C250 which also exhibits the same issue. I have an > okay from mpi@ on the previous diff, but i'd like actual reports that it > makes the audio device actually working (mine doesnt now, i'm digging > into it,

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: pthread_create: fix segfault when attr is NULL

2018-07-07 Thread Anthony J. Bentley
Ingo Schwarze writes: > Hi Jason, > > Jason McIntyre wrote on Sat, Jul 07, 2018 at 07:17:29AM +0100: > > > the 2/3 pages should really reference the most recent standards too. > > it's just the work hasn;t been done. > > According to my understanding, the difference in policy is deliberate. > Some

Re: pthread_create: fix segfault when attr is NULL

2018-07-07 Thread Jason McIntyre
On Sat, Jul 07, 2018 at 08:25:07AM +0200, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Sat, Jul 07, 2018 at 07:17:29AM +0100: > > > the 2/3 pages should really reference the most recent standards too. > > it's just the work hasn;t been done. > > According to my understanding,

systat(1) iostat vs. iostat(1)

2018-07-07 Thread Marcus MERIGHI
Hello, when I run 'iostat(1) sd1 1' I get the transfer speed in MB/s. Running 'systat(1) iostat 1' in parallel I get the transfer speed in bytes, as calculations show. Therefore adjust the manual of systat(1): kilobytes -> bytes. Marcus Index: systat.1

Re: pthread_create: fix segfault when attr is NULL

2018-07-07 Thread Ingo Schwarze
Hi Jason, Jason McIntyre wrote on Sat, Jul 07, 2018 at 07:17:29AM +0100: > the 2/3 pages should really reference the most recent standards too. > it's just the work hasn;t been done. According to my understanding, the difference in policy is deliberate. Some people may want to write C code

Re: pthread_create: fix segfault when attr is NULL

2018-07-07 Thread Jason McIntyre
On Sat, Jul 07, 2018 at 07:42:44AM +0200, Ingo Schwarze wrote: > Hi, > > Scott Cheloha wrote on Fri, Jul 06, 2018 at 07:31:36PM -0500: > > On Fri, Jul 06, 2018 at 03:07:12PM +0200, Mark Kettenis wrote: > >> Paul Irofti wrote on Fri, 6 Jul 2018 15:36:07 +0300: > >>> somebody wrote: > > POSIX