Jul. 24th, 2016

solarbird: (pingsearch)

I’ve been trying to find out whether there’s any sort of difference between USB 2.0 cards, specifically as addresses the needs of digital audio workstations on Linux.

Very few people in linux communities seem to have addressed this question at all, and none I can find on the audio side. (Firewire, oh my gods yes – huge lists. Just not USB.)

But I did a lot (a lot) of digging, and discovered via the Linux USB kernel driver dev mailing list(!) that while there’s not much difference on the USB 2.0 side, there are important differences on the 1.1 side. These difference manifest in two different driver models. That still matters at least a little bit in 2.0, because those 1.1 drivers still get loaded.

Anyway, that difference is that there are two very different driver interface models. One is UHCI, created by Intel and used by Intel and Via, mostly. The other is OHCI, which Compaq pushed when it was still around, and Microsoft preferred; it has less intellectual-property load, and NEC, SiS, and some other makers use it. If you see a “Mac compatible” card? It’s going to be OHCI.

The OHCI model puts a lot more of the business of doing USB into hardware on the card. UHCI has the processor do that work. And while that isn’t a heavy load, it is a nonzero load, and more importantly means that UHCI chipsets require more CPU attention than OHCI chipsets, on a recurring basis. And that is something we don’t need in a digital audio workstation; there are only so many board interrupt opportunities; I want them for moving data, not servicing USB mechanics.

Once I knew that, I did more searching and found people saying how switching to a NEC chipset card had (in one case in particular) ‘saved their bacon’ specifically on their digital audio workstation. They were using ProTools on Windows, not Linux, but it was still with a USB audio interface.

The chipset used by my on-motherboard USB ports is, of course, Intel, and therefore UHCI. (And UHCI drivers are actually loaded, I checked.) There’s also an on-motherboard hub between the outside world and the one true root device; that doesn’t help anything either. So there’s a nonzero chance I’ll see improvement both from changing from UHCI to OHCI, and from moving to a true root USB device instead of a hub device. It won’t be much, but I’m only looking for a few milliseconds of latency here. And even that’s more for… reliability buffer, I suppose? Yeah. Reliability buffer, rather than pure necessity.

I’m mostly posting this 1) so I remember it and 2) so other people looking for this data can find it. HI! I can’t be the only one!

I’ll update this post if I get interesting results.

eta: INTERESTING RESULTS AHOY: CHIPSETS MATTER SO MUCH OMG. I’ll write up a post with details, post it tomorrow.

Mirrored from Crime and the Blog of Evil. Come check out our music at:
Bandcamp (full album streaming) | Videos | iTunes | Amazon | CD Baby

solarbird: (Default)
White supremacists loved the GOP convention:

http://www.orlandosentinel.com/news/politics/ct-white-supremacists-trump-20160723-story.html

"'I don't think people have fully recognized the degree to which he's transformed the party,' said Richard Spencer, a clean-cut 38-year-old from Arlington, Virginia, who sipped Manhattans as he matter-of-factly called for removing African-Americans, Hispanics and Jews from the United States."
solarbird: (Default)
Can somebody take this apart? I'd like it if somebody could take this apart.

Trump & Putin. Yes, It's Really a Thing
Talking Points Memo
By Josh Marshall
PublishedJuly 23, 2016, 4:15 PM EDT

http://talkingpointsmemo.com/edblog/trump-putin-yes-it-s-really-a-thing

"Let's start with the basic facts. There is a lot of Russian money flowing into Trump's coffers and he is conspicuously solicitous of Russian foreign policy priorities."
solarbird: (korra-on-the-air)
"A final response to the 'Tell me why Trump is a fascist'."

https://www.reddit.com/r/EnoughTrumpSpam/comments/4teoxl/a_final_response_to_the_tell_me_why_trump_is_a/

I would add, "Because a member of his inner circle and someone on his shortlist for vice president just retweeted yet another overtly anti-Semitic Jewish conspiracy theory tweet."

I keep saying this, but the unforgivable crime of the Trump campaign is bringing overt white supremacists back into the political process. I mean it: this is unforgivable.

September 2025

S M T W T F S
 123456
789101112 13
14151617 18 1920
21 2223 24252627
282930    

Most Popular Tags