From: Dave H. <dhy...@gm...> - 2008-07-20 03:53:16
|
Hi Paul, On Sat, Jul 19, 2008 at 6:30 PM, plicato <pl...@wi...> wrote: > If I encounter an I2C error, every subsequent I2C transaction fails in a similar > way. Is it possible to reload or restart the I2C driver/module? > > ERROR: I2cTransfer: ioctl failed: Connection refused (111) > ERROR: I2C_IO_WriteReg16: I2cWriteBlockFailed: Connection refused (111) > ERROR: Error writing to 4800 > > I know this may sound unusual, but I am finding that if I wait a few minutes > after reboot before issuing an I2C command, every works fine. If I do it right > after reboot, I often see these type of errors. So I'd like to reset I2C > somehow rather than have to reboot. Any suggestions? rmmod i2c-pxa rmmod i2c-dev modprobe i2c-pxa modprobe i2c-dev -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |