Skip to contentSkip to conversation

i2c adapter on i852/855

DISCUSSION Hans-Jürgen Koch 1 participant 3 messages Jan 18, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

I'm using intelfb from 2.6.20-rc3 on an embedded board with an i852/855 and an i801. My .config contains

CONFIG_FB_INTEL=y
CONFIG_FB_INTEL_I2C=y
CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y

Problem is that no i2c adapter from this driver shows up
in /sys/class/i2c-adapter, while the adapter registered by i2c_i801 is there.

I can make the i2c adapter of the i852/855 work with a modified version of i2c-i810, but this module is deprecated, so I'd like to use intelfb only.

Can somebody confirm that it actually works? What could be wrong?

Hans

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#1 lore raw

Am Donnerstag, 18. Januar 2007 15:35 schrieb Hans-Jürgen Koch:

Quoted 12 lines

I'm using intelfb from 2.6.20-rc3 on an embedded board with an i852/855 and an i801. My .config contains

CONFIG_FB_INTEL=y
CONFIG_FB_INTEL_I2C=y
CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y

Problem is that no i2c adapter from this driver shows up
in /sys/class/i2c-adapter, while the adapter registered by i2c_i801 is there.

Quoted 6 lines

I can make the i2c adapter of the i852/855 work with a modified version of i2c-i810, but this module is deprecated, so I'd like to use intelfb only.

Can somebody confirm that it actually works? What could be wrong?

Hans

Alright, should have had a look at the logs first. There's a message saying

intelfb: Cannot reserve FB region.

So intelfb is probably not running at all. Video comes from a vesafb or vga16fb that are also loaded...

Hans

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

#2 lore raw

Am Donnerstag, 18. Januar 2007 17:42 schrieb Hans-Jürgen Koch:

Quoted 21 lines

Am Donnerstag, 18. Januar 2007 15:35 schrieb Hans-Jürgen Koch:

Quoted 12 lines

I'm using intelfb from 2.6.20-rc3 on an embedded board with an i852/855 and an i801. My .config contains

CONFIG_FB_INTEL=y
CONFIG_FB_INTEL_I2C=y
CONFIG_I2C=y
CONFIG_I2C_ALGOBIT=y

Problem is that no i2c adapter from this driver shows up
in /sys/class/i2c-adapter, while the adapter registered by i2c_i801 is there.

Quoted 7 lines

I can make the i2c adapter of the i852/855 work with a modified version of i2c-i810, but this module is deprecated, so I'd like to use intelfb only.

Can somebody confirm that it actually works? What could be wrong?

Hans

Quoted 8 lines

Alright, should have had a look at the logs first. There's a message saying

intelfb: Cannot reserve FB region.

So intelfb is probably not running at all. Video comes from a vesafb or vga16fb that are also loaded...

Hans

I compiled a new kernel without vesafb and vga16fb, now intelfb initializes cleanly, and the i2c adapter is visible. These drivers don't work together too well...

Problem is solved for me, sorry for the noise.

Hans

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV