On Mon, Aug 27, 2007 at 11:01:54PM +0200, Lucian Muresan wrote: > Ville Syrjälä wrote: > > On Mon, Aug 27, 2007 at 10:32:44PM +0200, Lucian Muresan wrote: > >> Ville Syrjälä wrote: > >>> On Mon, Aug 27, 2007 at 07:40:50PM +0200, Lucian Muresan wrote: > >>>> Hi folks, > >>>> > >>>> I just upgraded my htpc box to DirectFB-1.1.0 from last night's git > >>>> snapshot, and to the 2.6.22 kernel. I still carry the > >>>> CONFIG_SYSFS_DEPRECATED kernel config option for several kernel versions > >>>> with me, and now I also tried to put directfbrc under /usr/local/etc as > >>>> suggested in this thread, but I no longer have a CRTC2 on my G400 DH. > >>>> What's wrong, how to debug further? > >>> What do you have under /sys/class/i2c-dev? > >> htpc i2c-3 # ls -al /sys/class/i2c-dev/ > >> > >> drwxr-xr-x 8 root root 0 Aug 27 19:07 . > >> drwxr-xr-x 46 root root 0 Aug 27 19:07 .. > >> drwxr-xr-x 3 root root 0 Aug 27 22:27 i2c-0 > >> drwxr-xr-x 3 root root 0 Aug 27 22:27 i2c-1 > >> drwxr-xr-x 3 root root 0 Aug 27 22:27 i2c-2 > >> drwxr-xr-x 3 root root 0 Aug 27 22:27 i2c-3 > >> drwxr-xr-x 3 root root 0 Aug 27 22:28 i2c-4 > >> drwxr-xr-x 3 root root 0 Aug 27 22:28 i2c-5 > >> > >> > >> > >>> It should have directories (or symlinks to such) named i2c-N and each > >>> directory should have a file called 'name'. One of those files should > >>> contain "MAVEN:fbX". Also make sure the correcsponding /dev/i2c-N device > >>> file exitst. > >>> > >> and i2c-3 contains > >> > >> drwxr-xr-x 3 root root 0 Aug 27 22:27 . > >> drwxr-xr-x 8 root root 0 Aug 27 19:07 .. > >> -r--r--r-- 1 root root 4096 Aug 27 22:27 dev > >> lrwxrwxrwx 1 root root 0 Aug 27 22:27 device -> > >> ../../../class/i2c-adapter/i2c-3 > >> -r--r--r-- 1 root root 4096 Aug 27 22:27 name > >> drwxr-xr-x 2 root root 0 Aug 27 19:07 power > >> lrwxrwxrwx 1 root root 0 Aug 27 22:27 subsystem -> > >> ../../../class/i2c-dev > >> -rw-r--r-- 1 root root 4096 Aug 27 22:27 uevent > >> > >> with name containing MAVEN:fb0 > >> > >> Also, the /dev/i2c/3 device file exists (there are 6 of them, 0-5). > > > > What about /dev/i2c-3? > > > > Hm, it's there, too, along with all the other 5, as symlinks: > > ls -al /dev/i2c* > ... > /dev/i2c-3 -> i2c/3
OK. You should see some error message from the matrox driver about this issue. It should complain about not finding the device file or failing to open it. If there is no error message it seems like the config file is not read. Use strace to see if it looks for the config file in the right place (and it can also show you the i2c file search). -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
