Page 1 of 1

fanctl not working

Posted: Mon Dec 05, 2005 4:58 pm
by kevinherring
Apologies for this noobie post. I am trying to compile fanctl on Xebian, (2.6.14.2) on a 1.1 xbox.

It builds fine with the wizard, but when I try to run it I get the following error:

Error - failed to open EITHER /dev/i2c/0 or /dev/i2c-0
- you must be root and have the correct i2c modules loaded.
and xboxtemp gives:
Error: Could not set address to 112: Bad file descriptor

when I run testi2c it runs, but doesnt say anything.
I am logged in as root.
When I look in /dev/ there is no i2c.

What have I done wrong?
Thanks
Kevin

Posted: Mon Dec 05, 2005 5:08 pm
by cheesyboofs
Got the wrong forum!

Posted: Mon Dec 05, 2005 11:31 pm
by orochi
is there support in the kernel for the i2c? (donno if there should be or not havent poked around there)

Posted: Tue Dec 06, 2005 7:48 am
by kevinherring
oops, ok so it probably should have gone in Q&A. can someone move it please?

Posted: Thu Dec 08, 2005 3:47 pm
by clpalmer
He's not saying you should have posted in Q&A, he's saying you should have posted on the xebian forums, not gentoox =)

Posted: Thu Mar 02, 2006 1:13 pm
by Carlewy
Just a guess but are you using a 1.6 Xbox?

Posted: Fri Mar 03, 2006 1:49 am
by ShALLaX
It wouldnt crap out so badly on a 1.6 box. It sounds like a kernel issue:

Code: Select all

Xbox linux # cat /usr/src/linux/.config | grep -i i2c
# I2C support
CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=m
# CONFIG_I2C_PHILIPSPAR is not set
CONFIG_I2C_ELV=m
CONFIG_I2C_VELLEMAN=m
# CONFIG_SCx200_I2C is not set
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ELEKTOR=m
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_PROC=y
CONFIG_I2C_AMD756=y
CONFIG_I2C_EXTSMI=y
# CONFIG_I2C_PARPORT is not set
Hope this helps.

Posted: Wed Feb 28, 2007 6:41 am
by Guest