On 06/19/2011 04:06 PM, Andrey Nechypurenko wrote:
>> Note that this mailing list is probably not the best place to ask your
>> question, since we mostly talk about Xenomai here, and your issue does
>> not seem to have anything to do with Xenomai.
>
> I understand. Do you have an idea what list might be more appropriate
> for it? I did also post the same question to the BeagleBoard mail
> list.
Ok, maybe you will get better support there. There may also be some IRC
channel somewhere, where you can get a more interactive help.
>> Second stupid questions: are you sure all the clocks needed to get that
>> I2C module running are enabled?
>
> The module works. I think kernel configured it properly because I can
> use user space utility for example i2cdetect and see my sensors
> detected on the bus. At the moment where I was trying to read the
> status I did not made any reconfiguration before. So my assumption was
> that the module is already configured properly and at least an attempt
> to read the status should succede.
To be sure of that, you would have to be sure that the clocks are not
disabled when the device is not opened. To check this, either check the
kernel sources, or try and open the i2c device, and keep it open before
you mmap /dev/mem
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help