GSoC proposal: Quirinus C library (qc)

2014-02-25 Thread Dmitry Selyutin
Hello everyone! My name is Dmitry, I'm 22 years old student from Lomonosov Moscow State University of Russia. This message is addressed mainly to C connoiseurs, yet I think other people may find it interesting. It's a GSoC proposal. First I've sent it to FreeBSD only since I didn't know that

Re: azalia(4): RIRB DMA engine needs delay after started

2014-02-25 Thread Mark Kettenis
Date: Tue, 25 Feb 2014 06:05:02 +0900 From: SASANO Takayoshi u...@mx5.nisiq.net Hello, I am trying OpenBSD-current/i386 on 86duino EduCake. It uses DMP Vortex86EX SoC and its azalia fails to find ALC262 codec. The diagnostic message says RIRB is not running (at azalia_get_response()),

Re: GSoC proposal: Quirinus C library (qc)

2014-02-25 Thread Thomas Adam
On 25 February 2014 11:39, Dmitry Selyutin ghostman...@gmail.com wrote: It's a pity that for language like C we generally don't have something universal like Boost, so we have to implement some common functions from scratch or introduce new dependencies. We have Glib, which is used mainly by

Re: azalia(4): RIRB DMA engine needs delay after started

2014-02-25 Thread Ted Unangst
Tangent: I don't like the style used for the delay loops in azalia.c. 1. There's an off by one where 0 passes both conditionals. It's unlikely this matters, but it's needless inconsistency. 2. I think i = 0 is a dangerous idiom because any code refactor that changes the variable in question to

Re: azalia(4): RIRB DMA engine needs delay after started

2014-02-25 Thread Ted Unangst
On Tue, Feb 25, 2014 at 15:08, Ted Unangst wrote: Tangent: I don't like the style used for the delay loops in azalia.c. 1. There's an off by one where 0 passes both conditionals. It's unlikely this matters, but it's needless inconsistency. 2. I think i = 0 is a dangerous idiom because any

Re: azalia(4): RIRB DMA engine needs delay after started

2014-02-25 Thread SASANO Takayoshi
Hi, Thanks, here is a slightly reworked diff that does the wait in a way that's more in line with other bits of azalia(4) that wait for a bit in a register to go on or off. Okay, there is no problem with my 86duino EduCake. Thanks. -- SASANO Takayoshi u...@mx5.nisiq.net

Re: azalia(4): RIRB DMA engine needs delay after started

2014-02-25 Thread Mark Kettenis
Date: Tue, 25 Feb 2014 15:08:48 -0500 From: Ted Unangst t...@tedunangst.com Tangent: I don't like the style used for the delay loops in azalia.c. 1. There's an off by one where 0 passes both conditionals. It's unlikely this matters, but it's needless inconsistency. 2. I think i = 0 is

Re: GSoC proposal: Quirinus C library (qc)

2014-02-25 Thread Loganaden Velvindron
On Tue, Feb 25, 2014 at 3:39 PM, Dmitry Selyutin ghostman...@gmail.com wrote: Hello everyone! My name is Dmitry, I'm 22 years old student from Lomonosov Moscow State University of Russia. This message is addressed mainly to C connoiseurs, yet I think other people may find it interesting. It's

Re: azalia(4): RIRB DMA engine needs delay after started

2014-02-25 Thread SASANO Takayoshi
Hello, This can wait til after 5.5, but I made the diff since I was looking at the code. ok by sasano@, it works on my 86duino EduCake! SASANO Takayoshi u...@mx5.nisiq.net

Re: Intel HD Graphics 4000, only one monitor detected

2014-02-25 Thread Markus Bergkvist
2014-02-14 15:15 GMT+01:00 Markus Bergkvist mar...@familjenbergkvist.net: Synced and verified that kettenis patch was there but unfortunately it did not help with a new kernel. 2014-02-14 9:54 GMT+01:00 Jonathan Gray j...@jsg.id.au: On Fri, Feb 14, 2014 at 08:48:04AM +0100, Markus Bergkvist

Re: Intel HD Graphics 4000, only one monitor detected

2014-02-25 Thread Mark Kettenis
Date: Wed, 26 Feb 2014 07:38:29 +0100 From: Markus Bergkvist mar...@familjenbergkvist.net 2014-02-14 15:15 GMT+01:00 Markus Bergkvist mar...@familjenbergkvist.net: Synced and verified that kettenis patch was there but unfortunately it did not help with a new kernel. 2014-02-14