Hi, guys. I enabled USE_MOUSE_PS2 in fbsup.h, then gnash catch the mouse event(see logs at the last), but.. Could gnash draw this mouse on framebuffer? The sample swf file could only be started when I click left-button on proper area, I just can't determine the right mouse position... Could it be some problems about linux-2.6.25-rc6 configuration? Here is FB part of my .config.
2173 # 2174 # Frame buffer hardware drivers 2175 # 2176 CONFIG_FB_CIRRUS=m 2177 # CONFIG_FB_PM2 is not set 2178 # CONFIG_FB_CYBER2000 is not set 2179 # CONFIG_FB_ARC is not set 2180 # CONFIG_FB_ASILIANT is not set 2181 # CONFIG_FB_IMSTT is not set 2182 CONFIG_FB_VGA16=m 2183 CONFIG_FB_UVESA=y 2184 CONFIG_FB_VESA=y 2185 # CONFIG_FB_EFI is not set 2186 # CONFIG_FB_HECUBA is not set 2187 # CONFIG_FB_HGA is not set 2188 # CONFIG_FB_S1D13XXX is not set 2189 CONFIG_FB_NVIDIA=m 2190 CONFIG_FB_NVIDIA_I2C=y 2191 # CONFIG_FB_NVIDIA_DEBUG is not set 2192 CONFIG_FB_NVIDIA_BACKLIGHT=y 2193 CONFIG_FB_RIVA=m 2194 # CONFIG_FB_RIVA_I2C is not set 2195 # CONFIG_FB_RIVA_DEBUG is not set 2196 CONFIG_FB_RIVA_BACKLIGHT=y 2197 CONFIG_FB_I810=m 2198 CONFIG_FB_I810_GTF=y 2199 CONFIG_FB_I810_I2C=y 2200 # CONFIG_FB_LE80578 is not set 2201 CONFIG_FB_INTEL=m 2202 # CONFIG_FB_INTEL_DEBUG is not set 2203 CONFIG_FB_INTEL_I2C=y 2204 # CONFIG_FB_MATROX is not set 2205 # CONFIG_FB_RADEON is not set 2206 # CONFIG_FB_ATY128 is not set 2207 # CONFIG_FB_ATY is not set 2208 # CONFIG_FB_S3 is not set 2209 CONFIG_FB_SAVAGE=m 2210 CONFIG_FB_SAVAGE_I2C=y 2211 CONFIG_FB_SAVAGE_ACCEL=y 2212 # CONFIG_FB_SIS is not set 2213 # CONFIG_FB_NEOMAGIC is not set 2214 CONFIG_FB_KYRO=m 2215 # CONFIG_FB_3DFX is not set 2216 # CONFIG_FB_VOODOO1 is not set 2217 # CONFIG_FB_VT8623 is not set 2218 CONFIG_FB_CYBLA=m 2219 # CONFIG_FB_TRIDENT is not set 2220 # CONFIG_FB_ARK is not set 2221 # CONFIG_FB_PM3 is not set 2222 # CONFIG_FB_GEODE is not set 2223 # CONFIG_FB_VIRTUAL is not set 2224 CONFIG_BACKLIGHT_LCD_SUPPORT=y 2225 CONFIG_LCD_CLASS_DEVICE=m 2226 CONFIG_BACKLIGHT_CLASS_DEVICE=y 2227 # CONFIG_BACKLIGHT_CORGI is not set 2228 # CONFIG_BACKLIGHT_PROGEAR is not set and here is my display part: 2230 # 2231 # Display device support 2232 # 2233 # CONFIG_DISPLAY_SUPPORT is not set 2234 2235 # 2236 # Console display driver support 2237 # 2238 CONFIG_VGA_CONSOLE=y 2239 CONFIG_VGACON_SOFT_SCROLLBACK=y 2240 CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64 2241 CONFIG_VIDEO_SELECT=y 2242 CONFIG_DUMMY_CONSOLE=y 2243 CONFIG_FRAMEBUFFER_CONSOLE=y 2244 CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y 2245 CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y 2246 CONFIG_FONTS=y 2247 # CONFIG_FONT_8x8 is not set 2248 CONFIG_FONT_8x16=y 2249 # CONFIG_FONT_6x11 is not set 2250 # CONFIG_FONT_7x14 is not set 2251 # CONFIG_FONT_PEARL_8x8 is not set 2252 # CONFIG_FONT_ACORN_8x8 is not set 2253 # CONFIG_FONT_MINI_4x6 is not set 2254 # CONFIG_FONT_SUN8x16 is not set 2255 # CONFIG_FONT_SUN12x22 is not set 2256 # CONFIG_FONT_10x18 is not set 2257 CONFIG_LOGO=y 2258 # CONFIG_LOGO_LINUX_MONO is not set 2259 # CONFIG_LOGO_LINUX_VGA16 is not set 2260 CONFIG_LOGO_LINUX_CLUT224=y 2261 My gnash verbose log: # ./gnash ~/movies/jw.swf -vv 16373] 01:38:57: DEBUG: Verbose output turned on 16373] 01:38:57: DEBUG: No rendering flags specified, using rcfile 16373] 01:38:58: DEBUG: Mouse enabled. 16373] 01:38:58: DEBUG: Keyboard device /dev/input/event0 open 16373] 01:38:58: DEBUG: Framebuffer device uses 3145728 bytes of memory. 16373] 01:38:58: DEBUG: Video mode: 1024x768 with 16 bits per pixel. 16373] 01:38:58: DEBUG: Double buffering enabled 16373] 01:38:58: DEBUG: red channel: 11 / 5 16373] 01:38:58: DEBUG: green channel: 5 / 6 16373] 01:38:58: DEBUG: blue channel: 0 / 5 16373] 01:38:58: DEBUG: Total bits per pixel: 16 16373] 01:38:58: DEBUG: framebuffer pixel format is RGB565 (little-endian host) 16373] 01:38:58: DEBUG: initialized AGG buffer <0xb64d7008>, 3145728 bytes, 1024x768, rowsize is 2048 bytes 16373] 01:38:58: DEBUG: Original TTY NO = 1 16373] 01:38:58: DEBUG: VT 1 ready 16373] 01:38:58: DEBUG: Base url set to: file:///root/movies/jw.swf 16373] 01:38:58: DEBUG: /root/movies/ appended to local sandboxes 16373] 01:38:58: DEBUG: /root/movies/jw.swf appended to local sandboxes 16373] 01:38:58: SECURITY: Load of file /root/movies/jw.swf granted (under local sandbox /root/movies/). 16373] 01:38:58: DEBUG: Movie file:///root/movies/jw.swf (SWF5) added to library 16373] 01:38:58: DEBUG: Global instance list grew to 4 entries 16373] 01:38:59: DEBUG: x/y -34/13 btn 0 16373] 01:38:59: DEBUG: x/y -70/19 btn 0 16373] 01:38:59: DEBUG: x/y -33/25 btn 0 16373] 01:38:59: DEBUG: x/y -16/8 btn 0 16373] 01:38:59: DEBUG: x/y -16/15 btn 0 16373] 01:38:59: DEBUG: x/y 68/0 btn 0 16373] 01:38:59: DEBUG: x/y 100/-41 btn 0 16373] 01:38:59: DEBUG: x/y -39/-2 btn 0 16373] 01:38:59: DEBUG: x/y -127/8 btn 0 16373] 01:38:59: DEBUG: x/y -127/27 btn 0 16373] 01:39:00: DEBUG: x/y 127/39 btn 0 16373] 01:39:00: DEBUG: x/y 44/-1 btn 0 16373] 01:39:00: DEBUG: x/y 0/0 btn 1 16373] 01:39:00: DEBUG: x/y -3/1 btn 0 16373] 01:39:00: DEBUG: x/y -27/5 btn 0 <!--SNIP--!> 16373] 01:40:05: DEBUG: x/y 3/-5 btn 0 16373] 01:40:05: DEBUG: x/y 1/-1 btn 0 16373] 01:40:05: DEBUG: x/y 0/-1 btn 0 16373] 01:40:05: DEBUG: Restoring terminal... 16373] 01:40:05: DEBUG: Closing framebuffer device 16373] 01:40:05: DEBUG: Free'ing offscreen buffer # Thanks a lot, I am new to this field. :) -- FIXME if it is wrong. _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

