[Voyage-linux] ALIX.2D2 and I2C EEPROM
Markus Cords
(spam-protected)
Wed May 2 20:39:27 HKT 2012
Hello..
i can see it with:
root at voyage:/tmp# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root at voyage:/tmp#
and i can use i2cget und i2cput.
But with my Code i can not connect to the eeprom.
lg, markus
Am 02.05.2012 14:30, schrieb John Coltrane:
> Hello again,
>
> you have written that your eeprom device is external, connected to the
> Alix via the i2c bus ?!
>
> Are you able to read something from the device, something that makes sense ?
>
> cheers, John
>
>
> On 05/02/2012 11:24 AM, Markus Cords wrote:
>> Hello John,
>>
>> 1. yes, /dev/i2c-0 exist
>> 2. crw-rw---- 1 root i2c 89, 0 Jan 1 2000 /dev/i2c-0
>> 3. user root is using the Software
>>
>> lg, markus
>>
>>
>>
>> Am 02.05.2012 11:15, schrieb John Coltrane:
>>> Hello Markus,
>>>
>>> 1. does /dev/i2c-0 exist ?
>>> 2. what are it's permissions ?
>>> 3. has the user you try to run your software permissions to write to
>>> /dev/i2c-0 ?
>>>
>>> cheers, John
>>>
>>>
>>> On 05/01/2012 01:26 PM, Markus Cords wrote:
>>>> Hello,
>>>>
>>>> I have a ALIX 2D2 Board with Voyage 0.8.
>>>> My Problem is to access the I2C EEPROM (externel) with my programm.
>>>>
>>>> root at voyage:/tmp# i2cdetect -y 0
>>>> 0 1 2 3 4 5 6 7 8 9 a b c d e f
>>>> 00: -- -- -- -- -- -- -- -- -- -- -- -- --
>>>> 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>>> 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>>> 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>>> 40: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
>>>> 50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>>> 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>>>> 70: -- -- -- -- -- -- -- --
>>>> root at voyage:/tmp#
>>>>
More information about the Voyage-linux
mailing list