MMS CXFE Lirc back to Menu

problems with keyboard, lirc or evdev

Moderator: Moderator

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

MMS CXFE Lirc back to Menu

Postby smt7020s » Tue Sep 16, 2008 6:33 am

Hi,

I´m using mms-1.0.8.5 with Cxfe (xine) as Videoplayer and lirc as input-device. I can start a movie via mms. If I quit the movie via EXIT button, the movie is stopped but the mms menu is not appearing.

Does someone has experience with MMS in conjunction with Cxfe and has an idea to solve the problem?

In lircrc exit is defined as:

begin
button = EXIT
prog = cxfe
repeat = 0
config = Quit
end

The mms.log contains following messages:

Initializing LIRC.
No user specific LIRC settings, loading cxfe defaults.
LIRC initialization complete.
LIRC command "VOL_UP"
Volume: 36
LIRC command "VOL_UP"
Volume: 37
LIRC command "Quit"
post_deinterlace
_pplugin_unwire
_pplugin_rewire
**_pplugin_join_deinterlace_and_post_elements

Exitting!

dj
veteran
Posts: 111
Joined: Thu Jan 12, 2006 2:11 pm
Location: At the keyboard

Re: MMS CXFE Lirc back to Menu

Postby dj » Tue Sep 16, 2008 10:02 am

Please upgrade to 1.1.0 series. I think it has been fixed there.

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

Re: MMS CXFE Lirc back to Menu

Postby smt7020s » Tue Sep 16, 2008 3:02 pm

MMS-1.1.0 is to big for my project (mms+vdr on a 32 MB DOM).

Other ideas or solution?

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: MMS CXFE Lirc back to Menu

Postby Uatschitchun » Tue Sep 16, 2008 8:27 pm

Leave out irrelevant plugins and create a slim theme (theme is real huge in 1.1.0!) ... maybe that'll fit? What's the difference between 1.0.8.5 and 1.1.0 in size?
Lg
Roman

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

Re: MMS CXFE Lirc back to Menu

Postby smt7020s » Tue Sep 16, 2008 8:49 pm

Hi Uatschitchun,

mms-1.0.8.5 needs 6,5 MB, 1.1.0 needs 14 MB in my environment. I use only basis features for playing videos, music or viewing pictures.

lorenzodes
master
Posts: 772
Joined: Sun Mar 11, 2007 4:50 pm
Location: move.l 4.w,a6

Re: MMS CXFE Lirc back to Menu

Postby lorenzodes » Tue Sep 16, 2008 9:04 pm

smt7020s wrote:Hi Uatschitchun,

mms-1.0.8.5 needs 6,5 MB, 1.1.0 needs 14 MB in my environment. I use only basis features for playing videos, music or viewing pictures.


Post your configure/compile options for 1.1.0, maybe we will find a way to shrink mms a little.
"I’m not frightened of dying, anytime will do, I don’t mind. Why should I be frightened of dying? There’s no reason for it, you gotta go sometime"

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: MMS CXFE Lirc back to Menu

Postby Uatschitchun » Wed Sep 17, 2008 8:28 am

You're right! MMS is app. 15MB here, too! and theme is another 16MB ... I second lorenzodes' request ;)

Btw:
# ll /usr/local/lib/mms/plugins/ -h
insgesamt 49M
-rwxr-xr-x 1 root root 646K 2008-09-15 14:44 lib_ainput_keyboard.so
-rwxr-xr-x 1 root root 571K 2008-09-15 14:44 lib_ainput_replay.so
-rwxr-xr-x 1 root root 576K 2008-09-15 14:44 lib_feature_audio_player_alsaplayer.so
-rwxr-xr-x 1 root root 11M 2008-09-15 14:44 lib_feature_audio.so
-rwxr-xr-x 1 root root 2,2M 2008-09-15 14:44 lib_feature_clock.so
-rwxr-xr-x 1 root root 3,0M 2008-09-15 14:44 lib_feature_epg.so
-rwxr-xr-x 1 root root 2,6M 2008-09-15 14:44 lib_feature_game.so
-rwxr-xr-x 1 root root 5,5M 2008-09-15 14:44 lib_feature_movie_collection.so
-rwxr-xr-x 1 root root 851K 2008-09-15 14:44 lib_feature_movie_player_genericplayer.so
-rwxr-xr-x 1 root root 1,2M 2008-09-15 14:44 lib_feature_movie_player_mplayer.so
-rwxr-xr-x 1 root root 730K 2008-09-15 14:44 lib_feature_movie_player_xine.so
-rwxr-xr-x 1 root root 8,3M 2008-09-15 14:44 lib_feature_movie.so
-rwxr-xr-x 1 root root 2,8M 2008-09-15 14:44 lib_feature_pictures.so
-rwxr-xr-x 1 root root 5,2M 2008-09-15 14:44 lib_feature_python.so
-rwxr-xr-x 1 root root 870K 2008-09-15 14:44 lib_feature_tv.so
-rwxr-xr-x 1 root root 1,3M 2008-09-15 14:44 lib_feature_vbox.so
-rwxr-xr-x 1 root root 1,2M 2008-09-15 14:44 lib_feature_weather.so
-rwxr-xr-x 1 root root 827K 2008-09-15 14:44 lib_output_opengl.so
-rwxr-xr-x 1 root root 490K 2008-09-15 14:44 lib_output_sdl.so


Do plugins like Movie-Collection, Clock, Python, etc. be that huge?
Lg

Roman

User avatar
arj
Site Admin
Posts: 2316
Joined: Thu Dec 01, 2005 8:51 pm
Location: Denmark
Contact:

Re: MMS CXFE Lirc back to Menu

Postby arj » Wed Sep 17, 2008 7:52 pm

Ehm, disabling debugging helps a lot on the size:

total 4,6M
-rwxr-xr-x 1 root root 74K 2008-09-16 22:24 lib_ainput_keyboard.so
-rwxr-xr-x 1 root root 64K 2008-09-16 22:24 lib_ainput_replay.so
-rwxr-xr-x 1 root root 71K 2008-09-16 22:24 lib_feature_audio_player_alsaplayer.so
-rwxr-xr-x 1 root root 1,4M 2008-09-16 22:24 lib_feature_audio.so
-rwxr-xr-x 1 root root 434K 2008-09-16 22:24 lib_feature_epg.so
-rwxr-xr-x 1 root root 674K 2008-09-16 22:24 lib_feature_movie_collection.so
-rwxr-xr-x 1 root root 90K 2008-09-16 22:24 lib_feature_movie_player_genericplayer.so
-rwxr-xr-x 1 root root 202K 2008-09-16 22:24 lib_feature_movie_player_mplayer.so
-rwxr-xr-x 1 root root 56K 2008-09-16 22:24 lib_feature_movie_player_xine.so
-rwxr-xr-x 1 root root 1,1M 2008-09-16 22:24 lib_feature_movie.so
-rwxr-xr-x 1 root root 480K 2008-09-16 22:24 lib_feature_pictures.so
-rwxr-xr-x 1 root root 60K 2008-09-16 22:24 lib_output_sdl.so

ls -l /usr/bin/mms
-rwxr-xr-x 1 root root 1370788 2008-09-16 22:24 /usr/bin/mms

Meaning around 6mb total without theme.

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: MMS CXFE Lirc back to Menu

Postby Uatschitchun » Wed Sep 17, 2008 8:10 pm

Ah yes ... have forgotten debug ;) That's why my debs are that large now, too, as I have them debug-enabled ...

Nevertheless, a slim theme would be a nice to have!
Lg

Roman

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

Re: MMS CXFE Lirc back to Menu

Postby smt7020s » Sat Sep 20, 2008 3:19 pm

Hi Uatschitchun,

the files lib_feature_movie.so and mms-movie-library are the big files.

total 8664
-rwxr-xr-x 1 root root 59200 Sep 20 09:34 lib_ainput_keyboard.so
-rwxr-xr-x 1 root root 87804 Sep 20 09:34 lib_ainput_lirc.so
-rwxr-xr-x 1 root root 46660 Sep 20 09:34 lib_ainput_replay.so
-rwxr-xr-x 1 root root 728400 Sep 20 09:34 lib_feature_audio.so
-rwxr-xr-x 1 root root 55000 Sep 20 09:34 lib_feature_audio_player_xine.so
-rwxr-xr-x 1 root root 7348340 Sep 20 09:34 lib_feature_movie.so
-rwxr-xr-x 1 root root 46640 Sep 20 09:34 lib_feature_movie_player_xine.so
-rwxr-xr-x 1 root root 404240 Sep 20 09:34 lib_feature_pictures.so
-rwxr-xr-x 1 root root 42604 Sep 20 09:34 lib_output_sdl.so
-rw-r--r-- 1 root root 0 Sep 20 15:15 plugins.lst

total 10908
-rw-r--r-- 1 root root 0 Sep 20 15:18 bin.lst
-rwxr-xr-x 1 root root 1268532 Sep 20 09:34 mms
-rwxr-xr-x 1 root root 1161940 Sep 20 09:34 mms-audio-library
-rwxr-xr-x 1 root root 7569880 Sep 20 09:34 mms-movie-library
-rwxr-xr-x 1 root root 1137332 Sep 20 09:34 mms-pic-library

I install mms under gentoo by following emerge:

ROOT="/zensysgen-glibc-"${PACKAGE} \
USE=" cpudetection xine lirc sdl -fbcon -svga -dxr3 -dvb -debug -ipv6 -python -berkdb -gdbm -zlib mmx sse" \
ACCEPT_KEYWORDS="~x86" \
MAKEOPTS="-j2" \
INSTALL_MASK="*.h *.a *.o /usr/local/include /usr/local/man /usr/local/share/man /usr/local/share/doc /usr/local/share/info /etc/conf.d /etc/init.d" \
emerge mms -v

During emerge I get following message: Coult this be the problem od these large movie-files.

Skipping external ffmpeg check, using internal

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

Re: MMS CXFE Lirc back to Menu

Postby smt7020s » Thu Sep 25, 2008 6:47 am

Hi Uatschitchun,

with mms-1.1.0-rc8 I have the same problem. ...by the way: how can I start mplayer as video player in version 1.1.0. I always get xine (cxfe) as player.

Is there someone around who is using mms with cxfe and framebuffer and could help me.

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

Re: MMS CXFE Lirc back to Menu

Postby smt7020s » Fri Sep 26, 2008 6:16 am

Again:

Does someone has a working mms with cxfe (xibe-lib) and framebuffer.

I welcome every responce!!!

Thanks!

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: MMS CXFE Lirc back to Menu

Postby Uatschitchun » Fri Sep 26, 2008 6:14 pm

That's my .lircrc for CXFE

Code: Select all

#
# Beginning of cxfe key bindings
#
begin
    button = PREV
    prog   = cxfe
    repeat = 0
    config = PREV_EVENT
end
begin
    button = NEXT
    prog   = cxfe
    repeat = 0
    config = NEXT_EVENT
end
begin
    button = hoch
    prog   = cxfe
    repeat = 0
    config = UP_EVENT
end
begin
    button = runter
    prog   = cxfe
    repeat = 0
    config = DOWN_EVENT
end
begin
    button =
    prog   = cxfe
    repeat = 0
    config = LEFT_EVENT
end
begin
    button =
    prog   = cxfe
    repeat = 0
    config = RIGHT_EVENT
end
begin
    button = gut
    prog   = cxfe
    repeat = 0
    config = SELECT_EVENT
end
begin
    button = pause_vcr
    prog   = cxfe
    repeat = 0
    config = Pause
end
begin
    button = stop_vcr
    prog   = cxfe
    repeat = 0
    config = Stop
end
begin
    button = raus
    prog   = cxfe
    repeat = 0
    config = Quit
end
begin
    button = ff_vcr
    prog   = cxfe
    repeat = 1
    config = FF
end
begin
    button = rew_vcr
    prog   = cxfe
    repeat = 1
    config = REW
end
begin
    button = 8
    prog   = cxfe
    repeat = 1
    config = VOL_UP
end
begin
    button = 7
    prog   = cxfe
    repeat = 1
    config = VOL_DOWN
end
begin
    button = 1
    prog   = cxfe
    repeat = 0
    config = ASPECT_CHANGE
end
begin
    button = menue
    prog   = cxfe
    repeat = 0
    config = Menu
end
begin
    button = TITLE
    prog   = cxfe
    repeat = 0
    config = Title
end
begin
    button = LANG
    prog   = cxfe
    repeat = 0
    config = Language
end
begin
    button = ANGLE
    prog   = cxfe
    repeat = 0
    config = Angle
end
begin
    button = SUB
    prog   = cxfe
    repeat = 0
    config = Subtitles
end


to use mplayer enter options within main-menu or movie-plugin and choose the player you want
Lg

Roman

smt7020s
Posts: 36
Joined: Tue Sep 16, 2008 6:01 am

Re: MMS CXFE Lirc back to Menu

Postby smt7020s » Sat Sep 27, 2008 4:34 am

Hi roman,

I believe that the problem lies in the use of the framebuffer. After a quit in cxfe it is killed correctly an no longer seen in memory (top). The problem seams to be that mms is not coming back in the right way. May be their should be a command, that the menu of mms has to be refresh after returning from cxfe. But I´m not familiar with linux/C-Programming so I don´t know how to fix this problem.

User avatar
Uatschitchun
Overlord
Posts: 3189
Joined: Tue Dec 06, 2005 6:55 pm
Location: Germany
Contact:

Re: MMS CXFE Lirc back to Menu

Postby Uatschitchun » Sat Sep 27, 2008 8:05 am

Is MMS compiled with "--disable-x11-sdl" ?
Lg

Roman


Return to “input”

Who is online

Users browsing this forum: No registered users and 1 guest