From: Neil B. <nb...@ix...> - 2007-12-04 17:45:16
|
No ideas yet, but we get the same errors trying to load the TSC2003 touchscreen driver. This would seem to suggest that the problem lies with i2c_pxa itself. -o- Neil Fabian Seitz wrote: > Hi > > Actually the i2c program is working, but I get the following as output: > > # ./i2c 0x21 writebyte 0x08 0xAA > -sh: ./i2c: not found > # > # ./i2c 0x21 writebyte 0x08 0xAA > i2c: error: timeout > i2c: msg_num: 1 msg_idx: 0 msg_ptr: 0 > i2c: ICR: 00002fe9 ISR: 00000004 > i2c: log: > i2c_adapter i2c-0: i2c_pxa_set_slave: wait timedout > > Trying again results in this: > > # ./i2c 0x21 writebyte 0x08 0xAA > i2c_adapter i2c-0: i2c_pxa: timeout waiting for bus free > i2c_adapter i2c-0: i2c_pxa: timeout waiting for bus free > i2c_adapter i2c-0: i2c_pxa: timeout waiting for bus free > i2c_adapter i2c-0: i2c_pxa: timeout waiting for bus free > i2c_adapter i2c-0: i2c_pxa: timeout waiting for bus free > i2c_adapter i2c-0: i2c_pxa: timeout waiting for bus free > i2c: error: exhausted retries > i2c: msg_num: 1 msg_idx: 0 msg_ptr: 0 > i2c: ICR: 00002fe9 ISR: 00000004 > i2c: log: > ERROR: I2cTransfer: ioctl failed: Remote I/O error (121) > ERROR: I2cWriteBytes failed: -1 > > Does anyone have any ideas? > Thanks > > Fabian > > > >> -----Original Message----- >> From: gum...@li... on behalf of Dave Hylands >> Sent: Mon 03.12.2007 15:42 >> To: General mailing list for gumstix users. >> Subject: Re: [Gumstix-users] How to use i2c on breakout-vx?? >> >> Hi Fabian, >> >> >>> # ./i2c 0x21 writebyte 0x08 0xAA >>> ./i2c: can't resolve symbol '__register_frame_info' >>> >> This normally means that the version of buildroot that was used to >> build the i2c program doesn't match the version of buildroot actually >> running on your gumstix. >> >> You can check the version of buildroot on your gumstix by doing: >> >> cat /etc/gumstix-release >> >> You can check the version of buildroot on your development machine: >> >> cd gumstix-buildroot >> svnversion >> >> -- >> Dave Hylands >> Vancouver, BC, Canada >> http://www.DaveHylands.com/ >> >> -------------------------------------------------------------------------SF.Net email is sponsored by: The Future of Linux Business White Paper >> > >from Novell. From the desktop to the data center, Linux is going > >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> >> >> >> > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |