22 Nov 2000
(updated 22 Nov 2000 at 20:54 UTC) »
Finally actually moved in (took a long time for the previous
tenant to leave and to get phone, hydro, gas, etc set up).
I have two sinks and a gas stove. Pity I don't seem to
remember how to cook, not having done it in at least a month
Playing with telephony stuff now. The Linux drivers for the
Quicknet cards, at
least, are seriously nasty and undocumented. All their
sample code seems to use asynchronous I/O for no apparent
reason, and after playing with it a bit I had thought that
maybe this was simply because their interface to select/poll
Thankfully it turns out that the real problem is just that
certain things just fail mysteriously if you don't do the
various ioctls at the right times and in the right order -
among other things you have to set the codec every time you
start playback (and not when you set up the device)
I think it's pretty clear that just providing an "SDK" with
sample code and a README file does not constitute
documentation. If there had been any reference material at
all (there aren't even comments in the sample code
telling you what it does), I wouldn't have had to resort to
the sort of cargo-culting that I wasted the entire day on...
Oh well it is free software after all.