Hi William - Yeah, sorry about that...I was being lazy. The output of perror says "Connection timed out" though the first time the write is called, errno is 22. In the next write attempts, errno is 110 (agreeing with perror). I'm trying to write an 8 to register 45 (POWER_CTL).
But, before we worry too much about this error, let me ask this: if bit banging isn't a good idea, can you point me to a reference that describes the workings of the file I/O to the I2C? I'm new to embedded Linux (used to an RTOS) so bit-banging is more natural to me. I need to learn a little about what's "under the hood" of the Linux technique for this kind of I/O. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7a4c20fb-b758-44ef-948c-c95454038179%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
