--- In [email protected], Thomas Treyer <[EMAIL PROTECTED]> wrote:
>
> > When I tried to use "I2C_WRITE", the kernel freezes, all processes  
> are stopped and I have to reboot the FOX board. Therefore my simple  
> question is, whether you tested the I2C driver with no HW connected.  
> If yes, I have a problem in my setup.
> 

Well, to be honest... no, I didn't...

I'll check it tonight and see where things go wrong at my side.

Sorry for the possible trouble caused...

> In both cases I did a I2C_Open () before the code above. Oh, and I  
> switched your code to static Major number:
> //#define DYNAMIC_MAJOR_I2CDEV_NUMBER_ALLOC
> #undef  DYNAMIC_MAJOR_I2CDEV_NUMBER_ALLOC

If you don't want the "hassle" of adapting the make mechanism, then
indeed this is the best option. Hence, the reason why I used that
"compiler switch".

Best rgds,

--Geert

Reply via email to