Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Applications suddenly refuse to cooperate with lirc [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Koxta
Retired Dev
Retired Dev


Joined: 19 Mar 2004
Posts: 204
Location: Warszawa

PostPosted: Thu Oct 27, 2005 3:36 pm    Post subject: Applications suddenly refuse to cooperate with lirc [SOLVED] Reply with quote

Hi!

I've been succesfully using lirc with xine and xmms for a long time now. However, xmms and xine suddenly refuse to work with lirc. I haven't touched my .lircrc for ages. irw seems to collect correct information:

Code:
koxta@hell ~ $ irw
0000000083227a85 00 next rm1000w
0000000083227e81 00 step rm1000w
0000000083227f80 00 prev rm1000w
000000008322857a 00 stop rm1000w
0000000083227986 00 play rm1000w
0000000083227d82 00 slow rm1000w


my /etc/make.conf:

Code:
# These settings were set by the catalyst build script that automatically built this stage
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
USE="-3dnow aalib accessibility -acl acpi acpi4linux alsa apache2 -apm \
     arts audiofile avi autofs bidi bitmap-fonts browserplugin \
     cdinstall cdparanoia cdr css cups crypt devfs dga doc divx4linux \
     dvb dvd dvdr dvdread escreen fbcon flac flash foomaticdb gcj \
     gdbm gif gimpprint -gnome gphoto2 gpm imlib ipv6 kadu-modules \
     kadu-voice kde libwww lirc md5sum midi mjpeg mozilla mpeg mmx \
     ncurses -nptl -nptlonly nvidia objc odbc oggvorbis opengl \
     oss -pcmcia pda perl ppds png pnp python quicktime qt readline \
     real ruby samba scanner sdl slang sse sse2 svga tcltk tiff \
     timidity truetype type1 usb v4l videos vim-with-x wxwindows \
     -Xaw3d xine xml xml2 xmms xv xvid win32codecs zlib"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
GENTOO_MIRRORS="http://src.gentoo.pl"
FEATURES="ccache candy"
CCACHE_SIZE="2G"
CONFIG_PROTECT="/etc"

LIRC_OPTS="--with-driver=livedrive_midi"


my .lircrc:

Code:
# XMMS

begin
     button = play
     prog = xmms
     config = PLAYPAUSE
end

begin
     button = stop
     prog = xmms
     config = STOP
end

begin
     button = next
     prog = xmms
     config = NEXT
end

begin
     button = prev
     prog = xmms
     config = PREV
end

begin
     button = mute
     prog = xmms
     config = MUTE
end
       
begin   
     button = vol+
     prog = xmms
     config = VOL_UP 10
end

begin
     button = vol-
     prog = xmms
     config = VOL_DOWN 10
end     

begin
     button = left
     prog = xmms
     config = BWD 15
end

begin
     button = right
     prog = xmms
     config = FWD 15
end

begin   
     button = power
     prog = xmms
     config = QUIT
end

##
# xine key bindings.
# Automatically generated by xine-ui version 0.9.22.
##

# Visibility toggle of control window.
#begin
#       remote = xxxxx
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = ControlShow
#end

# Playback pause toggle.
begin
        button = play
        prog   = xine
        repeat = 0
        config = Pause
end

# Visibility toggle of UI windows.
begin
        button = options
        prog   = xine
        repeat = 0
        config = ToggleVisiblity
end

# Fullscreen toggle.
begin
        button = display
        prog   = xine
        repeat = 0
        config = ToggleFullscreen
end

# Interlaced mode toggle.
#begin
#       remote = xxxxx
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = ToggleInterleave
#end

# Quit the program.
begin
        button = power
        prog   = xine
        repeat = 0
        config = Quit
end

# Start playback.
begin
        button = slow
        prog   = xine
        repeat = 0
        config = Play
end

# Stop playback.
begin
        button = stop
        prog   = xine
        repeat = 0
        config = Stop
end

# Enter the number 0.
begin
        button = 0
        prog   = xine
        repeat = 0
        config = Number0
end

# Enter the number 1.
begin
        button = 1
        prog   = xine
        repeat = 0
        config = Number1
end

# Enter the number 2.
begin
        button = 2
        prog   = xine
        repeat = 0
        config = Number2
end

# Enter the number 3.
begin
        button = 3
        prog   = xine
        repeat = 0
        config = Number3
end

# Enter the number 4.
begin
        button = 4
        prog   = xine
        repeat = 0
        config = Number4
end

# Enter the number 5.
begin
        button = 5
        prog   = xine
        repeat = 0
        config = Number5
end

# Enter the number 6.
begin
        button = 6
        prog   = xine
        repeat = 0
        config = Number6
end

# Enter the number 7.
begin
        button = 7
        prog   = xine
        repeat = 0
        config = Number7
end

# Enter the number 8.
begin
        button = 8
        prog   = xine
        repeat = 0
        config = Number8
end

# Enter the number 9.
begin
        button = 9
        prog   = xine
        repeat = 0
        config = Number9
end

# Audio muting toggle.
begin
        button = mute
        prog   = xine
        repeat = 0
        config = Mute
end

# Increment audio volume.
begin
        button = vol+
        prog   = xine
        repeat = 1
        config = Volume+
end

# Decrement audio volume.
begin
        button = vol-
        prog   = xine
        repeat = 1
        config = Volume-
end

# Take a snapshot (Internal image fetch and save).
#begin
#       remote = xxxxx
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = Snapshot
#end

# Jump to Menu.
#begin
#       remote = xxxxx
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = Menu
#end

# Jump to Title Menu.
#begin
#       remote = xxxxx
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = TitleMenu
#end

# Jump to Root Menu.
#begin
#       remote = xxxxx
#       button = xxxxx
#       prog   = xine
#       repeat = 0
#       config = RootMenu
#end

# Up event.
begin
        button = up
        prog   = xine
        repeat = 0
        config = EventUp
end

# Down event.
begin
        button = down
        prog   = xine
        repeat = 0
        config = EventDown
end

# Left event.
begin
        button = left
        prog   = xine
        repeat = 0
        config = EventLeft
end

# Right event.
begin
        button = right
        prog   = xine
        repeat = 0
        config = EventRight
end

# Previous event.
begin
        button = prev
        prog   = xine
        repeat = 0
        config = EventPrior
end


# Next event.
begin
        button = next
        prog   = xine
        repeat = 0
        config = EventNext
end

# Select event.
begin
        button = ok
        prog   = xine
        repeat = 0
        config = EventSelect
end

##
# End of xine key bindings.
##

_________________
Willst du dich von etwas trennen
Dann musst du es verbrennen
Willst du es nie wiedersehen
Lass es schwimmen in Benzin!


Last edited by Koxta on Fri Oct 28, 2005 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Koxta
Retired Dev
Retired Dev


Joined: 19 Mar 2004
Posts: 204
Location: Warszawa

PostPosted: Fri Oct 28, 2005 8:43 pm    Post subject: Reply with quote

hm... it suddenly started working again. Maybe kernel upgrade helped here? Really, dunno :roll:
_________________
Willst du dich von etwas trennen
Dann musst du es verbrennen
Willst du es nie wiedersehen
Lass es schwimmen in Benzin!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum