Ville Syrjälä wrote:
> On Mon, Jan 12, 2009 at 06:09:00PM +0100, Duncan Webb wrote:
>> Ville Syrjälä wrote:
>>> On Sun, Jan 04, 2009 at 05:55:57PM +0100, Duncan Webb wrote:
>>>> Duncan Webb wrote:
>>>>> Hi all,
>>>>>
>>>>> Does anyone know how to enable the S-Video output of the Matrox G400
>>>>> DualHead MAX with recent 2.6 kernels?
>>>> The answer to this is clear when looking at the maven_init in
>>>> gfxdrivers/matrox/matrox_maven.c function. The code is looking for
>>>> /sys/class/i2c-dev which has been superseded by i2c-adapter so it cannot
>>>> find the frame buffer device.
>>> I don't think i2c-dev has gone anywhere. At least I still have it w/
>>> 2.6.28. Maybe you just don't have the i2c-dev module loaded.
>> I seems to have come back again, looks like if disappeared at about
>> 2.6.17 and came back again at 2.6.19. Of course I could have messed up
>> my kernel configuration.
> 
> Perhaps. I don't have such old kernel trees around anymore but I would
> expect that I would have used at least some kernels from that era.

I found this problem, it was that the kernel module i2c_dev needed to be
loaded explicitly.
> 
>> May I ask which versions of DirectFB and linux-fusion you are using?
> 
> Latest git.

I'm trying the latest git on kernel 2.6.27.8 and I get this output from
df_dok, takes a bit of time build it all:

(*) DirectFB/Core: Multi Application Core. (2009-01-18 14:02)
(*) Fusion/SHM: Using MADV_REMOVE (2.6.27.8 >= 2.6.19.2)
(*) Direct/Thread: Started 'Fusion Dispatch' (8787) [MESSAGING
OTHER/OTHER 0/0] <8388608>...
(*) Direct/Thread: Started 'VT Switcher' (8789) [CRITICAL OTHER/OTHER
0/0] <8388608>...
(*) Direct/Modules: suppress module 'serialmouse'
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'linux_input'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: Matrox G400 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy
(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy
(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy
(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy
(!) Core/LayerRegion: realize_region() in dfb_layer_region_flip_update()
failed!
    --> Resource is busy!
(!) [ 8786:    0.114] --> Caught signal 8 (at 0xb7f4af87, integer divide
by zero) <--
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] ***
[object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
[object.c:241 in fusion_object_pool_destroy()]
(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
(!) Direct/Thread: Canceling 'Fusion Dispatch' (8787)!
Floating point exception

The directfbrc is:
disable-module=ps2mouse
disable-module=serialmouse
disable-module=lirc
disable-module=joystick
#disable-module=keyboard
disable-module=linux_input
disable-module=x11input

no-debug
no-banner
no-cursor

# TV output stuff
matrox-crtc2
primary-layer=2
matrox-tv-standard=pal
#matrox-tv-standard=ntsc
matrox-cable-type=composite

I've disabled most of the input drivers; joystick complains about shm
errors:

(*) DirectFB/Input: Joystick 0.9 (directfb.org)
(!) Fusion/SHM: ftruncating shared memory file failed!
    --> Invalid argument
 (!!!)  *** WARNING [out of shared memory] *** [input.c:1172 in init_axes()]

Do you know what the problem is with the messages:

(!) DirectFB/Matrox/Maven: Error controlling `/dev/i2c-2'!
    --> Device or resource busy

Thanks,
Duncan
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to