У юзера не работает клавиатура после просмотра кино в консольном mplayer с directfb

Имеется DirectFB 1.2.7, MPlayer 1.0rc2-4.1.2, Linux htpc 2.6.30-gentoo-r5
Если запускать кино под root, то проблем нет
Если запускать кино из под юзера, то ПОСЛЕ выхода из mplayer, отваливается клавиатура. При этом, до и во время показа фильма, клавиатура работает


htpc ~ # dfbinfo

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.7 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-09-18 18:03)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>...
(*) 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: MMX Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 0) at offset 0 and pitch 3200.


Screen (00) FBDev Primary Screen            (primary screen)
   Caps: VSYNC POWER_MANAGEMENT

     Layer (00) FBDev Primary Layer             (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION


Input (00) Keyboard                        (primary keyboard)
   Type: KEYBOARD
   Caps: KEYS
   Min. Keycode: 0
   Max. Keycode: 127
htpc ~ # cat /etc/directfbrc
fbdev=/dev/fb0
mode=800x600
# глубина цвета
#depth 16
# не показывать баннер перед запуском приложений
#no banner
# включить аппаратное ускорение
hardware
# возможность переключения на другой терминал во время работы приложения
#switching
# протокол работы с мышью (Microsoft для трехкнопочной мыши)
#mouse protocol MS3

А где dmesg?

А где dmesg?
Да и сам вывод mplayer

Working on Gentoo Linux for Asus P535 and Qtopia :-)

dmesg [ 2.834763] hub

dmesg

[    2.834763] hub 2-0:1.0: no power switching (usb 1.0)
[    2.834768] hub 2-0:1.0: individual port over-current protection
[    2.834774] hub 2-0:1.0: power on to power good time: 2ms
[    2.834788] hub 2-0:1.0: local power source is good
[    2.834795] hub 2-0:1.0: trying to enable port power on non-switchable hub
[    2.835015] drivers/usb/core/inode.c: creating file '001'
[    2.835404] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    2.838146] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[    2.838154] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    2.840974] drivers/usb/core/inode.c: creating file '003'
[    2.841216] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[    2.843946] uhci_hcd 0000:00:1d.1: detected 2 ports
[    2.846611] uhci_hcd 0000:00:1d.1: uhci_check_and_reset_hc: cmd = 0x0000
[    2.846617] uhci_hcd 0000:00:1d.1: Performing full reset
[    2.846635] uhci_hcd 0000:00:1d.1: supports USB remote wakeup
[    2.846655] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002060
[    2.849405] usb usb3: default language 0x0409
[    2.849425] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.852150] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.854925] usb usb3: Product: UHCI Host Controller
[    2.857633] usb usb3: Manufacturer: Linux 2.6.30-gentoo-r5 uhci_hcd
[    2.860373] usb usb3: SerialNumber: 0000:00:1d.1
[    2.863156] usb usb3: uevent
[    2.863317] usb usb3: usb_probe_device
[    2.863325] usb usb3: configuration #1 chosen from 1 choice
[    2.866037] usb usb3: adding 3-0:1.0 (config #1, interface 0)
[    2.866082] usb 3-0:1.0: uevent
[    2.866246] hub 3-0:1.0: usb_probe_interface
[    2.866253] hub 3-0:1.0: usb_probe_interface - got id
[    2.866261] hub 3-0:1.0: USB hub found
[    2.868939] hub 3-0:1.0: 2 ports detected
[    2.871575] hub 3-0:1.0: standalone hub
[    2.871581] hub 3-0:1.0: no power switching (usb 1.0)
[    2.871586] hub 3-0:1.0: individual port over-current protection
[    2.871592] hub 3-0:1.0: power on to power good time: 2ms
[    2.871606] hub 3-0:1.0: local power source is good
[    2.871612] hub 3-0:1.0: trying to enable port power on non-switchable hub
[    2.871836] drivers/usb/core/inode.c: creating file '001'
[    2.872187] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    2.874928] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[    2.874936] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    2.877840] drivers/usb/core/inode.c: creating file '004'
[    2.878072] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[    2.880837] uhci_hcd 0000:00:1d.2: detected 2 ports
[    2.883538] uhci_hcd 0000:00:1d.2: uhci_check_and_reset_hc: cmd = 0x0000
[    2.883544] uhci_hcd 0000:00:1d.2: Performing full reset
[    2.883562] uhci_hcd 0000:00:1d.2: supports USB remote wakeup
[    2.883603] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00002040
[    2.886391] usb usb4: default language 0x0409
[    2.886412] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.889121] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.891831] usb usb4: Product: UHCI Host Controller
[    2.894528] usb usb4: Manufacturer: Linux 2.6.30-gentoo-r5 uhci_hcd
[    2.897241] usb usb4: SerialNumber: 0000:00:1d.2
[    2.900067] usb usb4: uevent
[    2.900161] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0000
[    2.900253] usb usb4: usb_probe_device
[    2.900263] usb usb4: configuration #1 chosen from 1 choice
[    2.902971] usb usb4: adding 4-0:1.0 (config #1, interface 0)
[    2.903030] usb 4-0:1.0: uevent
[    2.903177] hub 4-0:1.0: usb_probe_interface
[    2.903183] hub 4-0:1.0: usb_probe_interface - got id
[    2.903189] hub 4-0:1.0: USB hub found
[    2.905873] hub 4-0:1.0: 2 ports detected
[    2.908474] hub 4-0:1.0: standalone hub
[    2.908479] hub 4-0:1.0: no power switching (usb 1.0)
[    2.908485] hub 4-0:1.0: individual port over-current protection
[    2.908491] hub 4-0:1.0: power on to power good time: 2ms
[    2.908505] hub 4-0:1.0: local power source is good
[    2.908511] hub 4-0:1.0: trying to enable port power on non-switchable hub
[    2.908740] drivers/usb/core/inode.c: creating file '001'
[    2.909100] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 16 (level, low) -> IRQ 16
[    2.911825] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[    2.911834] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[    2.914663] drivers/usb/core/inode.c: creating file '005'
[    2.914886] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[    2.917616] uhci_hcd 0000:00:1d.3: detected 2 ports
[    2.920271] uhci_hcd 0000:00:1d.3: uhci_check_and_reset_hc: cmd = 0x0000
[    2.920277] uhci_hcd 0000:00:1d.3: Performing full reset
[    2.920295] uhci_hcd 0000:00:1d.3: supports USB remote wakeup
[    2.920314] uhci_hcd 0000:00:1d.3: irq 16, io base 0x00002020
[    2.923107] usb usb5: default language 0x0409
[    2.923128] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    2.925832] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.928544] usb usb5: Product: UHCI Host Controller
[    2.931225] usb usb5: Manufacturer: Linux 2.6.30-gentoo-r5 uhci_hcd
[    2.933942] usb usb5: SerialNumber: 0000:00:1d.3
[    2.936754] usb usb5: uevent
[    2.936831] hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0000
[    2.936915] usb usb5: usb_probe_device
[    2.936924] usb usb5: configuration #1 chosen from 1 choice
[    2.939637] usb usb5: adding 5-0:1.0 (config #1, interface 0)
[    2.939691] usb 5-0:1.0: uevent
[    2.939837] hub 5-0:1.0: usb_probe_interface
[    2.939843] hub 5-0:1.0: usb_probe_interface - got id
[    2.939849] hub 5-0:1.0: USB hub found
[    2.942531] hub 5-0:1.0: 2 ports detected
[    2.945132] hub 5-0:1.0: standalone hub
[    2.945137] hub 5-0:1.0: no power switching (usb 1.0)
[    2.945142] hub 5-0:1.0: individual port over-current protection
[    2.945148] hub 5-0:1.0: power on to power good time: 2ms
[    2.945162] hub 5-0:1.0: local power source is good
[    2.945169] hub 5-0:1.0: trying to enable port power on non-switchable hub
[    2.945387] drivers/usb/core/inode.c: creating file '001'
[    2.945932] usbcore: registered new interface driver usblp
[    2.948578] Initializing USB Mass Storage driver...
[    2.951422] usbcore: registered new interface driver usb-storage
[    2.954101] USB Mass Storage support registered.
[    2.956950] usbcore: registered new interface driver libusual
[    2.960007] PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
[    2.962735] PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
[    2.969063] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.972081] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[    2.972415] mice: PS/2 mouse device common for all mice
[    2.976317] rtc_cmos 00:03: RTC can wake from S4
[    2.979423] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    2.982342] rtc0: alarms up to one month, 114 bytes nvram, hpet irqs
[    2.985524] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[    2.988470] i801_smbus 0000:00:1f.3: SMBus using PCI Interrupt
[    2.988664] i2c-adapter i2c-3: adapter [SMBus I801 adapter at 2000] registered
[    2.989170] Linux telephony interface: v1.00
[    2.992763] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: 
[    2.996345] cpuidle: using governor ladder
[    2.997476] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[    3.002633] cpuidle: using governor menu
[    3.006295] sdhci: Secure Digital Host Controller Interface driver
[    3.009081] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0000
[    3.009529] sdhci: Copyright(c) Pierre Ossman
[    3.012697] wbsd: Winbond W83L51xD SD/MMC card interface driver
[    3.015902] wbsd: Copyright(c) Pierre Ossman
[    3.024172] usbcore: registered new interface driver hiddev
[    3.027683] usbcore: registered new interface driver usbhid
[    3.030895] usbhid: v2.6:USB HID core driver
[    3.034673] Netfilter messages via NETLINK v0.30.
[    3.037916] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    3.042002] ctnetlink v0.93: registering with nfnetlink.
[    3.044118] hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
[    3.047206] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.050463] TCP cubic registered
[    3.053622] Initializing XFRM netlink socket
[    3.057696] NET: Registered protocol family 10
[    3.065372] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.068725] IPv6 over IPv4 tunneling driver
[    3.074076] NET: Registered protocol family 17
[    3.078057] RPC: Registered udp transport module.
[    3.081143] RPC: Registered tcp transport module.
[    3.084779] PM: Resume from disk failed.
[    3.084818] registered taskstats version 1
[    3.087973]   Magic number: 10:382:494
[    3.091144] md: Waiting for all devices to be available before autodetect
[    3.094055] md: If you don't use raid, use raid=noautodetect
[    3.097534] md: Autodetecting RAID arrays.
[    3.100429] md: Scanned 0 and added 0 devices.
[    3.103282] md: autorun ...
[    3.106037] md: ... autorun DONE.
[    3.137667] kjournald starting.  Commit interval 5 seconds
[    3.137694] EXT3-fs: mounted filesystem with writeback data mode.
[    3.137736] VFS: Mounted root (ext3 filesystem) readonly on device 8:3.
[    3.137818] Freeing unused kernel memory: 640k freed
[    3.138305] Write protecting the kernel read-only data: 7720k
[    3.688446] stty used greatest stack depth: 4464 bytes left
[    3.954033] usb usb2: suspend_rh (auto-stop)
[    3.954062] usb usb3: suspend_rh (auto-stop)
[    3.954086] usb usb4: suspend_rh (auto-stop)
[    3.954109] usb usb5: suspend_rh (auto-stop)
[    4.508358] udev: starting version 141
[    4.569192] usb usb2: uevent
[    4.569308] usb 2-0:1.0: uevent
[    4.569840] usb usb3: uevent
[    4.569937] usb 3-0:1.0: uevent
[    4.570483] usb usb4: uevent
[    4.570585] usb 4-0:1.0: uevent
[    4.571196] usb usb5: uevent
[    4.571305] usb 5-0:1.0: uevent
[    4.571846] usb usb1: uevent
[    4.571953] usb 1-0:1.0: uevent
[    4.825242]   alloc irq_desc for 22 on cpu 0 node 0
[    4.825254]   alloc kstat_irqs on cpu 0 node 0
[    4.825281] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[    4.825406] HDA Intel 0000:00:1b.0: setting latency timer to 64
[    4.923420] hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
[    5.695074] hub 1-0:1.0: hub_suspend
[    5.695093] usb usb1: bus auto-suspend
[    5.695099] ehci_hcd 0000:00:1d.7: suspend root hub
[    5.695129] hub 2-0:1.0: hub_suspend
[    5.695138] usb usb2: bus auto-suspend
[    5.695144] usb usb2: suspend_rh
[    5.695165] hub 3-0:1.0: hub_suspend
[    5.695173] usb usb3: bus auto-suspend
[    5.695178] usb usb3: suspend_rh
[    5.695197] hub 4-0:1.0: hub_suspend
[    5.695205] usb usb4: bus auto-suspend
[    5.695210] usb usb4: suspend_rh
[    5.695230] hub 5-0:1.0: hub_suspend
[    5.695238] usb usb5: bus auto-suspend
[    5.695243] usb usb5: suspend_rh
[    6.083657] EXT3 FS on sda3, internal journal
[    6.901200] kjournald starting.  Commit interval 5 seconds
[    6.901222] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
[    6.902085] EXT3 FS on sda4, internal journal
[    6.902097] EXT3-fs: mounted filesystem with writeback data mode.
[    7.027921] Adding 9767512k swap on /dev/sda2.  Priority:-1 extents:1 across:9767512k
[    9.233830] bash used greatest stack depth: 4440 bytes left
[   12.120430] gzip used greatest stack depth: 4360 bytes left
[   12.182522] dumpkeys used greatest stack depth: 4312 bytes left
[   24.856497] r8169: eth0: link up
[   24.856511] r8169: eth0: link up
[   35.031051] eth0: no IPv6 routers present


Вывод mplayer

MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Atom(TM) CPU  330   @ 1.60GHz (Family: 6, Model: 28, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing supernatural.s05e01.proper.hdtvrip.rus.novafilm.tv.avi.
Cache fill:  0.00% (0 bytes)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
[aviheader] Audio stream found, -aid 2
VIDEO:  [DX50]  624x352  24bpp  23.976 fps  1053.1 kbps (128.6 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.10.2 (build 2542/release)
DirectFB: Preinit entered
DirectFB: Keyboard init OK
DirectFB: Preinit OK
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Planar I420
DirectFB: Test format - layer 0 scale/pos 0
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
DirectFB: Format query: Planar YV12
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Planar I420
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Packed YUY2
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: Packed UYVY
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
VDec: using Planar YV12 as output csp (no 0)
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
[swscaler @ 0xdab830]SwScaler: using unscaled yuv420p -> rgb32 special converter
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
VO: [directfb] 624x352 => 800x600 BGRA
DirectFB: Format query: BGRA
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Config entered [624x352]
DirectFB: With requested format: BGRA
DirectFB: Config - looking for suitable layer
DirectFB: Test format - layer 0 scale/pos 0
DirectFB: Test format - added layer 0 scale/pos 0
DirectFB: Config - layer 0
DirectFB: Config - switching layer to exclusive mode
DirectFB: Layer reports format:400c03
DirectFB: Double buffering is active
DirectFB: Requested field parity: Don't care
DirectFB: Config - flipping = 1
DirectFB: Config - surface size = 800x600
DirectFB: Frame is active.
DirectFB: Config finished [800x600] - [624x352]
DirectFB: Uninit entered0.000 ct:  0.005 302/302  9% 13%  1.0% 2 0 48%
DirectFB: Releasing frame
DirectFB: Releasing layer
DirectFB: Releasing primary
DirectFB: Uninit done.

Exiting... (Quit)

Ахтунг!

Ахтунг! http://gentoo.ru/node/14464

Working on Gentoo Linux for Asus P535 and Qtopia :-)

Когда гуглю выводы программ,

Когда гуглю выводы программ, часто натыкаюсь на логи, выложенные на pastebin
это очень обидно, т.к. понятно, что у кого то была такая же проблема, но не понятно, как он её решил

Может стоит

Может стоит попробывать?

mplayer -vo fbdev kino.avi
mplayer -vo fbdev2 kino.avi

Working on Gentoo Linux for Asus P535 and Qtopia :-)

В таком случае, видео

В таком случае, видео проигрывается не в полный экран

а почитать man mplayer

а почитать man mplayer потыкать параметры типа scale acpect и т.д. ??? работает без проблем и без лишних прослоек ;)

* dev-libs/DirectFB

* dev-libs/DirectFB
     Available versions:  1.4.2 ~1.4.3
     Homepage:            http://www.directfb.org/
     Description:         Thin library on top of the Linux framebuffer devices

хм может стоит обновиться?

Working on Gentoo Linux for Asus P535 and Qtopia :-)

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".