Advertisement

Helvetica 'Foofers' Bold - Ah, bugger.

Apr. 3rd, 2008

11:29 pm - Ah, bugger.

Previous Entry Add to Memories Tell a Friend Next Entry

Okay, after much banging of head on desk, I think I figured out the problem.

Discovered in the fine print of the Apple developer documentation somewhere that whether or not a user-space application can address the outside I2C bus is entirely optional and at the whim of whomever implements the specific video driver, but with no clear outside indication. It just so happened that the first system I tested this stuff on permitted this (MacBook w/Intel GMA950 graphics) and that initial success led me down a path of irrational exuberance. Same code on the Apple TV, no such luck (NVIDIA GeForce Go 7300). My roommate’s current-generation iMac worked (ATI video), while my prior-generation did not (NVIDIA). Took a while before I noticed the pattern and correlated it with the initial fact.

This still has a great deal of usefulness for some specific things I want to do, and I’ll still write up about it because, c’mon, it’s a pretty funny hack. But the willy-nilly driver support does limit its general utility outside these walls, and I’m a bit bummed that it can’t work on the Apple TV, which really needed a set of mechanized spider legs, y’know?

Need to get caught up on some other projects, but I’ll come back to this later and see if and how the same capability exists in Linux…hopefully more uniformly regardless of the graphics card vendor. It’s the kind of thing that might appeal to the tinkery Linuxy Lego Mindstormsy sort of mindset…it’s just code, wire and cheap sensors then to put together a data-logging weather monitor or things like that. Then you just need a gray beard, suspenders, recumbent bicycle and subscription to Home Power magazine to complete the effect.

(Leave a comment)

Comments:

[User Picture]
From:[info]fjmccloud
Date:April 4th, 2008 04:11 pm (UTC)
(Link)
The other thing is despite its simplicity, I2C isn't immune from the age-old problem of compatibility. It's surprising how sensitive alot of devices are.
(Reply) (Thread)
[User Picture]
From:[info]thoughtsdriftby
Date:April 4th, 2008 04:27 pm (UTC)
(Link)
Darn, still don't have a recumbent, but I think Mother Earth News would be a fair substitute. Mmmm, maybe that's why I prefer belts still. :-)
(Reply) (Thread)
[User Picture]
From:[info]taral
Date:April 5th, 2008 07:47 am (UTC)
(Link)
Check the X server code for how to do it reliably. You may need a root-privileged module.
(Reply) (Thread)

Advertisement