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
fanctl not working
-
- Power user
- Posts: 239
- Joined: Wed Jan 26, 2005 1:32 pm
- Location: Luton UK
- Contact:
Got the wrong forum!
Go fully native, it's the destiny of all Mk1 Xboxes
The needs of the many out way the needs of the few or the one ...
The needs of the many out way the needs of the few or the one ...
-
- Newbie
- Posts: 2
- Joined: Mon Dec 05, 2005 4:50 pm
It wouldnt crap out so badly on a 1.6 box. It sounds like a kernel issue:
Hope this helps.
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
The original Xbox adaptation of Gentoo