Mythtv & lirc
hi folks,
mind giving me a hand and/or a few pointers regarding mythtv & lirc?
i have lirc installed and the correct module loaded for the mce usb remote.
- irw spits out the correct key when i test the remote
- running irexec & mapping the power button to run mythtv also work.
- i have a lircrc file located in ~/.mythtv/lircrc which is a symlink from ~/.lircrc
sample entries
begin
prog = mythtv
button = Down
config = Down
end
begin
prog = mythtv
button = Left
config = Left
end
running mythfrontend and testing the key yield no results.
this is what i get when i run mythfrontend
2007-11-06 21:25:40.672 Using runtime prefix = /usr
2007-11-06 21:25:41.297 Database Hostname: localhost
2007-11-06 21:25:41.316 DPMS is active.
2007-11-06 21:25:41.316 Empty LocalHostName.
2007-11-06 21:25:41.317 Using localhost value of archMyth
2007-11-06 21:25:41.322 New DB connection, total: 1
2007-11-06 21:25:41.326 Connected to database 'mythconverg' at host: localhost
2007-11-06 21:25:41.327 Total desktop dim: 3040x1050, with 2 screen[s].
2007-11-06 21:25:41.338 Using screen 1, 1360x768 at 1680,0
2007-11-06 21:25:41.343 Current Schema Version: 1201
2007-11-06 21:25:41.344 mythfrontend version: 0.21.20071104-1 www.mythtv.org
2007-11-06 21:25:41.344 Enabled verbose msgs: important general
2007-11-06 21:25:41.491 Total desktop dim: 3040x1050, with 2 screen[s].
2007-11-06 21:25:41.492 Using screen 1, 1360x768 at 1680,0
2007-11-06 21:25:41.493 Switching to square mode (G.A.N.T)
2007-11-06 21:25:41.507 Using the OpenGL painter
2007-11-06 21:25:41.507 Joystick disabled.
2007-11-06 21:25:42.228 Loading from: /usr/share/mythtv/themes/G.A.N.T/base.xml
2007-11-06 21:25:42.232 Loading from: /usr/share/mythtv/themes/default/base.xml
2007-11-06 21:25:42.272 Registering Internal as a media playback plugin.
2007-11-06 21:25:42.302 Starting media monitor.
2007-11-06 21:25:42.854 Using NV NPOT texture extension
should there be an entry saying lirc is loaded or something?
also, i built mythtv from SVN. it does indicate that lirc support will be built.
thanks in advance,
cheers.
You need to have a lirc config file in you /home/your_user_name/.mythtv/ folder. Named lircrc (not .lircrc)...
As an example heres how I play / pause and select using my remote.
# OK/Select
begin
prog = mythtv
button = ok
config = Space
end
# Play/Pause
begin
prog = mythtv
button = playpause
config = P
end
Hope this helps
Last edited by clarence (2007-11-08 00:34:31)
Similar Messages
-
Hello again, more problems with mythtv...
First of all, mythfrontend doesn't respond to lirc input. It does however work in mythwelcome (and irw), but the stdout from mythfrontend includes:
LIRC: Successfully initialized '/dev/lircd' using '/home/mythtv/.mythtv/lircrc' config
The other problem is that mythfrontend always freezes when exiting. There is no printouts or anything, it just stops responding (when it should terminate). I believe this might be connected to some settings change, since I don't remember having this problem when first moving to 0.22. But I don't see what could be the cause (opengl painter? change of theme?). But it shouldn't happen, right?
If anyone happens to have any idea of the reason for the problems, solutions, or similar problem, please post. Thanks
Last edited by 1311219 (2009-12-23 13:04:45)After a much experimenting (including resetting the database), I've found the cause for the problem: "media monitoring" in mythfrontend
I've never been able to get this to work, so I've disabled it... When enabled (and causing problems) it seems to complain about pmount not be able to lock directory and similar. Oh well, as long as recording/playing of recordings works, then I'm happy.
I hope this helps other people in the same situation. -
Hi
I have a problem with xine and lirc...
lirc works fine with mythtv and mplayer but not with xine
HELP
Arch Linux Voodoo 0.8
xine-lib 1.1.4-2
xine-ui 0.99.4-3
lirc 0.8.1-2
my .lircrc
begin
prog = mythtv
button = TV
config = !
end
begin
prog = mythtv
button = Music
config = $
end
begin
prog = mythtv
button = Pictures
config = %
end
begin
prog = mythtv
button = Videos
config = ^
end
begin
prog = mythtv
button = RecTV
config = (
end
begin
prog = mythtv
button = Guide
config = &
end
begin
prog = mythtv
button = LiveTV
config = _
end
begin
prog = mythtv
button = DVD
config = (at)
end
# Now the normal keys
begin
prog = mythtv
button = ChanUp
config = Up
end
begin
prog = mythtv
button = ChanDown
config = Down
end
begin
prog = mythtv
button = Power
config = ALT-F4
end
begin
prog = mythtv
button = Home
config = M
end
begin
prog = mythtv
button = Up
repeat = 2
config = Up
end
begin
prog = mythtv
button = Right
repeat = 2
config = Right
end
begin
prog = mythtv
button = Down
repeat = 2
config = Down
end
begin
prog = mythtv
button = Left
repeat = 2
config = Left
end
begin
prog = mythtv
button = OK
config = Enter
end
begin
prog = mythtv
button = Zero
config = 0
end
begin
prog = mythtv
button = One
config = 1
end
begin
prog = mythtv
button = Two
config = 2
end
begin
prog = mythtv
button = Three
config = 3
end
begin
prog = mythtv
button = Four
config = 4
end
begin
prog = mythtv
button = Five
config = 5
end
begin
prog = mythtv
button = Six
config = 6
end
begin
prog = mythtv
button = Seven
config = 7
end
begin
prog = mythtv
button = Eight
config = 8
end
begin
prog = mythtv
button = Nine
config = 9
end
begin
prog = mythtv
button = VolUp
repeat = 1
config = ]
end
begin
prog = mythtv
button = VolDown
repeat = 1
config = [
end
begin
prog = mythtv
button = Mute
config = |
end
begin
prog = mythtv
button = Pause
config = P
end
begin
prog = mythtv
button = Record
config = R
end
begin
prog = mythtv
button = Reverse
config = PgUp
end
begin
prog = mythtv
button = Forward
config = PgDown
end
begin
prog = mythtv
button = Enter
config = C
end
begin
prog = mythtv
button = More
config = I
end
begin
prog = mythtv
button = Back
config = Esc
end
begin
prog = mythtv
button = Play
config = Return
end
begin
prog = mythtv
button = Stop
config = O
end
begin
prog = mythtv
button = Skip
config = Z
end
begin
prog = mythtv
button = Replay
config = Q
end
### Xine lirc setup
begin
prog = xine
button = Play
config = Play
end
begin
prog = xine
button = Stop
config = Stop
end
begin
prog = xine
button = Back
config = Quit
end
begin
prog = xine
button = Pause
config = Pause
end
begin
prog = xine
button = Up
repeat = 3
config = EventUp
end
begin
prog = xine
button = Down
repeat = 3
config = EventDown
end
begin
prog = xine
button = Left
repeat = 3
config = EventLeft
end
begin
prog = xine
button = Right
repeat = 3
config = EventRight
end
begin
prog = xine
button = OK
repeat = 3
config = EventSelect
end
begin
prog = xine
button = Guide
config = Menu
end
begin
prog = xine
button = Home
config = Menu
end
begin
prog = xine
button = Forward
repeat = 2
config = SeekRelative+60
end
begin
prog = xine
button = Reverse
repeat = 2
config = SeekRelative-60
end
begin
prog = xine
button = Skip
repeat = 2
config = SeekRelative+15
end
begin
prog = xine
button = Replay
repeat = 2
config = SeekRelative-15
end
begin
prog = xine
button = VolUp
repeat = 1
config = Volume+
end
begin
prog = xine
button = VolDown
repeat = 1
config = Volume-
end
begin
prog = xine
button = Mute
config = Mute
end
begin
prog = xine
button = DVD
config = RootMenu
end
begin
prog = xine
button = ChanUp
config = EventNext
end
begin
prog = xine
button = ChanDown
config = EventPrior
end
begin
prog = xine
button = Home
config = OSDStreamInfos
end
### MPlayer lirc setup
# Show OSD
begin
prog = mplayer
button = Guide
config = osd
end
begin
prog = mplayer
button = Home
config = osd
end
# Pause playback
begin
prog = mplayer
button = Pause
config = pause
end
# Skip ahead a minute if playing
# If paused, resume playing
begin
prog = mplayer
button = OK
config = seek +1
end
# Stop playback and exit
begin
prog = mplayer
button = Back
config = quit
end
# Mute
begin
prog = mplayer
button = Mute
config = mute
end
# Seek back 10 seconds
begin
prog = mplayer
button = Left
repeat = 1
config = seek -10
end
# Seek forward 30 seconds
begin
prog = mplayer
button = Right
repeat = 1
config = seek +30
end
# Seek forward 10 minutes
begin
prog = mplayer
button = Forward
repeat = 3
config = seek +600
end
# Seek backward 10 minutes
begin
prog = mplayer
button = Reverse
repeat = 3
config = seek -600
end
begin
prog = mplayer
button = VolUp
repeat = 1
config = volume +1
end
begin
prog = mplayer
button = VolDown
repeat = 1
config = volume -1
end
#### Power off ####
begin
prog = irexec
button = Power
repeat = 3
config = /usr/local/bin/poweroff-mythtv.sh
end--enable-lirc <--------- PKGBUILD and it works ^^
-
Where is lirc hardware.conf?
I'm running MythTV on Archlinux and as part of my installation I have lirc running so that I can use a remote control. I recently downloaded Hulu Desktop and in order to get a remote working I'm supposed to change an option in /etc/lirc/hardware.conf. Well, on the lirc installation for arch there is no /etc/lirc/ directory and I cannot find a hardware.conf... Any suggestions?
The item I'm supposed to change is to set LIRCD_ARGS="-r"Mine is found at /etc/lirc/hardware.conf
I need it to configure my remote that's connected through my Hauppauge TV Card and I think I created the file when I set it up.
If your remote doesn't need any specific configuration, I don't think the file gets created.
Just create the file if it's not there and add your line to it, then restart lircd.
Last edited by fastfret79 (2009-10-13 11:39:02) -
Today's Mythtv update broke my setup
Hello,
I had mythtv all setup and working right. today i run a update check and a new version of mythtv was available so i upgrade. now i am unable to change chanele whenever i try to do so i get error opening jump program file. i have tried to uninstall deleted the mythconverge database and reinstalled with same results. what happened...what can i do to fix this?output of mythtvfrontend -v
$ mythfrontend -v important,general
(process:23570): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
2010-11-11 20:54:39.035 mythfrontend version: exported [0.24] www.mythtv.org
2010-11-11 20:54:39.035 Using runtime prefix = /usr
2010-11-11 20:54:39.035 Using configuration directory = /home//.mythtv
2010-11-11 20:54:39.035 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2010-11-11 20:54:39.636 Unable to read configuration file mysql.txt
2010-11-11 20:54:39.636 Empty LocalHostName.
2010-11-11 20:54:39.636 Using localhost value of marc
2010-11-11 20:54:39.643 New DB connection, total: 1
2010-11-11 20:54:39.645 Connected to database 'mythconverg' at host: localhost
2010-11-11 20:54:39.649 Closing DB connection named 'DBManager0'
2010-11-11 20:54:39.652 Connected to database 'mythconverg' at host: localhost
2010-11-11 20:54:39.653 Current locale en_CA
2010-11-11 20:54:39.653 Reading locale defaults from /usr/share/mythtv//locales/en_ca.xml
2010-11-11 20:54:39.861 ScreenSaverX11Private: Gnome screen saver support enabled
2010-11-11 20:54:39.862 DPMS is disabled.
2010-11-11 20:54:39.896 Desktop video mode: 1280x1024 60.020 Hz
2010-11-11 20:54:39.906 Enabled verbose msgs: important general
2010-11-11 20:54:39.908 Loading en_ca translation for module mythfrontend
2010-11-11 20:54:39.915 LIRC, Error: Failed to connect to Unix socket '/var/run/lirc/lircd'
eno: No such file or directory (2)
2010-11-11 20:54:39.915 JoystickMenuThread: Joystick disabled - Failed to read /home/marc/.mythtv/joystickmenurc
2010-11-11 20:54:39.946 Using Frameless Window
2010-11-11 20:54:39.947 Using Full Screen Window
2010-11-11 20:54:39.950 Using the Qt painter
2010-11-11 20:54:40.022 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 6
Name: 'basesmall' Type: 'fontdef'
2010-11-11 20:54:40.032 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 11
Name: 'basemedium' Type: 'fontdef'
2010-11-11 20:54:40.042 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 15
Name: 'baselarge' Type: 'fontdef'
2010-11-11 20:54:40.053 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 19
Name: 'baseextralarge' Type: 'fontdef'
2010-11-11 20:54:40.053 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 28
Name: 'basesmallbrown' Type: 'fontdef'
2010-11-11 20:54:40.053 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 32
Name: 'basesmallgrey' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 36
Name: 'basesmallpurple' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 40
Name: 'basesmallblack' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 44
Name: 'basesmallyellow' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 48
Name: 'basesmallgreen' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 52
Name: 'basesmallblue' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 56
Name: 'basesmallred' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 60
Name: 'basemediumgrey' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 64
Name: 'basemediumgreen' Type: 'fontdef'
2010-11-11 20:54:40.054 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 68
Name: 'basemediumred' Type: 'fontdef'
2010-11-11 20:54:40.055 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 72
Name: 'basemediumpurple' Type: 'fontdef'
2010-11-11 20:54:40.055 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 76
Name: 'basemediumbrown' Type: 'fontdef'
2010-11-11 20:54:40.055 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 80
Name: 'baselargebrown' Type: 'fontdef'
2010-11-11 20:54:40.086 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 502
Name: 'datefont' Type: 'fontdef'
2010-11-11 20:54:40.095 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/base.xml @ 506
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:40.221 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/default/base.xml @ 11
Name: 'basetiny' Type: 'fontdef'
2010-11-11 20:54:40.221 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/default/base.xml @ 36
Name: 'basetinyred' Type: 'fontdef'
2010-11-11 20:54:40.222 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/default/base.xml @ 80
Name: 'basemediumyellow' Type: 'fontdef'
2010-11-11 20:54:40.229 New DB connection, total: 2
2010-11-11 20:54:40.229 New DB connection, total: 3
2010-11-11 20:54:40.230 Connected to database 'mythconverg' at host: localhost
2010-11-11 20:54:40.230 Connected to database 'mythconverg' at host: localhost
2010-11-11 20:54:40.232 Current MythTV Schema Version (DBSchemaVer): 1264
2010-11-11 20:54:40.586 Registering Internal as a media playback plugin.
2010-11-11 20:54:40.587 No plugins directory /usr/lib/mythtv/plugins
2010-11-11 20:54:40.600 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.600 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.600 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.602 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.603 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.603 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.604 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.605 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.605 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.606 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.606 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.607 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.608 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.608 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.608 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.610 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.610 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.610 MediaMonitorUnix::AddDevice() - empty device path.
2010-11-11 20:54:40.715 Found mainmenu.xml for theme 'Terra'
2010-11-11 20:54:40.897 MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2010-11-11 20:54:40.897 Using protocol version 63
2010-11-11 20:54:42.238 TV: Attempting to change from None to WatchingLiveTV
2010-11-11 20:54:42.238 MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2010-11-11 20:54:42.239 Using protocol version 63
2010-11-11 20:54:42.304 Spawning LiveTV Recorder -- begin
2010-11-11 20:54:43.755 Spawning LiveTV Recorder -- end
2010-11-11 20:54:43.760 We have a playbackURL(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205442.nuv) & cardtype(DUMMY)
2010-11-11 20:54:43.760 We have a RingBuffer
2010-11-11 20:54:43.775 AudioPlayer: Disabling Audio, params(0,2,44100)
2010-11-11 20:54:43.890 AudioOutput Error: Aborting Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
2010-11-11 20:54:43.890 AudioPlayer: Disabling Audio, reason is: Aborting Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
2010-11-11 20:54:43.890 playCtx, Error: Aborting Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
2010-11-11 20:54:43.914 VDPAU Error: Error at mythrender_vdpau.cpp:1486 (#1, Unknown)
2010-11-11 20:54:43.914 VDPAU Error: Failed to create VDPAU device.
2010-11-11 20:54:43.914 VDPAU Error: No VDPAU device
2010-11-11 20:54:43.914 Failed to create VDPAU render device.
2010-11-11 20:54:43.914 VidOutVDPAU Error: Failed to initialise VDPAU
2010-11-11 20:54:43.924 VideoOutputXv: Desired video renderer 'vdpau' not available.
codec 'None' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2010-11-11 20:54:43.926 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
2010-11-11 20:54:43.957 OSD: Base theme size: 1280x720
2010-11-11 20:54:43.957 OSD: Scaling factors: 0.5625x0.8
2010-11-11 20:54:44.006 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/osd.xml @ 115
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:44.013 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/osd.xml @ 239
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:44.042 OSD: Base theme size: 1280x720
2010-11-11 20:54:44.042 OSD: Scaling factors: 0.5625x0.8
2010-11-11 20:54:44.043 OSD: Base theme size: 1280x720
2010-11-11 20:54:44.043 OSD: Scaling factors: 0.5625x0.8
2010-11-11 20:54:44.046 Failed to approve 'vdpauadvanceddoublerate' deinterlacer as a software deinterlacer
2010-11-11 20:54:44.046 VideoOutput, Error: Couldn't load deinterlace filter
2010-11-11 20:54:44.048 Player(0): Video timing method: USleep with busy wait
2010-11-11 20:54:44.048 TV: Changing from None to WatchingLiveTV
2010-11-11 20:54:44.048 TV: State is LiveTV & mctx == ctx
2010-11-11 20:54:44.049 TV: UpdateOSDInput done
2010-11-11 20:54:44.049 TV: UpdateLCD done
2010-11-11 20:54:44.049 TV: ITVRestart done
2010-11-11 20:54:44.138 VideoOutput: Created YV12 OSD.
2010-11-11 20:54:44.903 AO: Resampling from 32 kHz to 48 kHz with quality medium
2010-11-11 20:54:44.904 AO: Opening audio device 'default' ch 2(2) sr 48000 sf signed 32 bit reenc 0
2010-11-11 20:54:44.904 Opening ALSA audio device 'default'.
2010-11-11 20:54:44.920 AudioPlayer: Enabling Audio
2010-11-11 20:54:44.969 Player(0), Error: Error opening jump program file
2010-11-11 20:54:44.969 Player(0), Error: JumpToProgram failed.
2010-11-11 20:54:44.969 Player(0), Error: Unknown recorder error, exiting decoder
2010-11-11 20:54:45.041 AudioPlayer: Disabling Audio, params(0,2,44100)
2010-11-11 20:54:45.091 AudioOutput Error: Aborting Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
2010-11-11 20:54:45.091 AudioPlayer: Disabling Audio, reason is: Aborting Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
2010-11-11 20:54:45.091 playCtx, Error: Aborting Audio Reconfigure. Invalid audio parameters ch 2 fmt 0 @ 44100Hz
2010-11-11 20:54:45.158 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205444.nuv) Warning: Not starting read ahead thread, already running
2010-11-11 20:54:45.295 AO: Resampling from 32 kHz to 48 kHz with quality medium
2010-11-11 20:54:45.295 AO: Opening audio device 'default' ch 2(2) sr 48000 sf signed 32 bit reenc 0
2010-11-11 20:54:45.295 Opening ALSA audio device 'default'.
2010-11-11 20:54:45.309 AudioPlayer: Enabling Audio
2010-11-11 20:54:45.400 VDPAU Error: Error at mythrender_vdpau.cpp:1486 (#1, Unknown)
2010-11-11 20:54:45.400 VDPAU Error: Failed to create VDPAU device.
2010-11-11 20:54:45.401 VDPAU Error: No VDPAU device
2010-11-11 20:54:45.401 Failed to create VDPAU render device.
2010-11-11 20:54:45.401 VidOutVDPAU Error: Failed to initialise VDPAU
2010-11-11 20:54:45.406 VideoOutputXv: Desired video renderer 'vdpau' not available.
codec 'NUV RTjpeg' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2010-11-11 20:54:45.408 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
2010-11-11 20:54:45.433 OSD: Base theme size: 1280x720
2010-11-11 20:54:45.433 OSD: Scaling factors: 0.5625x0.666667
2010-11-11 20:54:45.484 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/osd.xml @ 115
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:45.492 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/osd.xml @ 239
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:45.521 OSD: Base theme size: 1280x720
2010-11-11 20:54:45.521 OSD: Scaling factors: 0.5625x0.666667
2010-11-11 20:54:45.521 OSD: Base theme size: 1280x720
2010-11-11 20:54:45.521 OSD: Scaling factors: 0.5625x0.666667
2010-11-11 20:54:45.524 Failed to approve 'vdpauadvanceddoublerate' deinterlacer as a software deinterlacer
2010-11-11 20:54:45.524 VideoOutput, Error: Couldn't load deinterlace filter
2010-11-11 20:54:45.525 Player(0): Video timing method: USleep with busy wait
2010-11-11 20:54:45.576 Failed to approve 'vdpauadvanceddoublerate' deinterlacer as a software deinterlacer
2010-11-11 20:54:45.576 VideoOutput, Error: Couldn't load deinterlace filter
2010-11-11 20:54:45.576 Player(0): Failed to enable deinterlacing
2010-11-11 20:54:45.587 VideoOutput: Created YV12 OSD.
2010-11-11 20:54:45.823 OSD: Base theme size: 1280x720
2010-11-11 20:54:45.823 OSD: Scaling factors: 0.421875x0.525
2010-11-11 20:54:45.904 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/osd.xml @ 115
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:45.913 MythFontProperties, Error: Failed to load 'Liberation Sans', got 'DejaVu Sans' instead
Location: /usr/share/mythtv/themes/Terra/osd.xml @ 239
Name: 'timefont' Type: 'fontdef'
2010-11-11 20:54:45.943 OSD: Base theme size: 1280x720
2010-11-11 20:54:45.943 OSD: Scaling factors: 0.421875x0.525
2010-11-11 20:55:12.355 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205444.nuv): Waited 0.2 seconds for data
to become available... 0 < 12
2010-11-11 20:55:12.355 Checking to see if there's a new livetv program to switch to..
2010-11-11 20:55:13.209 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205444.nuv): Waited 0.5 seconds for data
to become available... 0 < 12
2010-11-11 20:55:13.209 Checking to see if there's a new livetv program to switch to..
2010-11-11 20:55:21.651 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205444.nuv): Waited 0.2 seconds for data
to become available... 0 < 12
2010-11-11 20:55:21.651 Checking to see if there's a new livetv program to switch to..
2010-11-11 20:55:22.216 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205444.nuv): Waited 0.2 seconds for data
to become available... 0 < 12
2010-11-11 20:55:22.216 Checking to see if there's a new livetv program to switch to..
2010-11-11 20:55:31.140 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205444.nuv): Waited 0.2 seconds for data
to become available... 0 < 12
2010-11-11 20:55:31.140 Checking to see if there's a new livetv program to switch to..
2010-11-11 20:56:16.879 RingBuf(/media/TVStorage/RecordedTV/LiveTV/1020_20101111205616.nuv) Warning: Not starting read ahead thread, already running
2010-11-11 20:56:16.880 Player(0): DecoderGetFrame() called with NULL decoder.
2010-11-11 20:56:17.520 Player(0), Error: Couldn't find an A/V decoder for: '/media/TVStorage/RecordedTV/LiveTV/1020_20101111205616.nuv'
2010-11-11 20:56:17.520 Player(0), Error: JumpToProgram failed.
2010-11-11 20:56:17.520 Player(0), Error: Unknown recorder error, exiting decoder
2010-11-11 20:56:17.576 TV: Attempting to change from WatchingLiveTV to None
2010-11-11 20:56:17.584 MythPainter: 14 images not yet de-allocated.
2010-11-11 20:56:18.023 TV: Changing from WatchingLiveTV to None
2010-11-11 20:56:18.047 TV: Attempting to change from None to WatchingLiveTV
2010-11-11 20:56:18.047 MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2010-11-11 20:56:18.048 Using protocol version 63
2010-11-11 20:56:18.102 Spawning LiveTV Recorder -- begin
2010-11-11 20:56:19.487 Spawning LiveTV Recorder -- end
2010-11-11 20:56:19.491 We have a playbackURL(/media/TVStorage/RecordedTV/LiveTV/1036_20101111205618.nuv) & cardtype(DUMMY)
2010-11-11 20:56:19.491 We have a RingBuffer
2010-11-11 20:56:19.492 TV Error: LiveTV not successfully started
2010-11-11 20:56:28.274 Deleting UPnP client...
Error in my_thread_global_end(): 1 threads didn't exit
mythbackend.log from the time i tried before this post:
2010-11-11 20:52:54.641 MainServer::ANN Monitor
2010-11-11 20:52:54.666 adding: marc as a client (events: 0)
2010-11-11 20:52:54.737 MainServer::ANN Monitor
2010-11-11 20:52:54.770 adding: marc as a client (events: 1)
2010-11-11 20:53:33.008 MainServer::ANN Monitor
2010-11-11 20:53:33.022 adding: marc as a client (events: 0)
2010-11-11 20:53:33.064 MainServer::ANN Monitor
2010-11-11 20:53:33.140 adding: marc as a client (events: 1)
2010-11-11 20:53:34.693 MainServer::ANN Playback
2010-11-11 20:53:34.728 adding: marc as a client (events: 0)
2010-11-11 20:53:34.801 TVRec(1): Changing from None to WatchingLiveTV
2010-11-11 20:53:34.839 TVRec(1): HW Tuner: 1->1
2010-11-11 20:53:34.959 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:53:34.980 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:53:37.015 Finished recording We Will Remember Them: channel 1003
2010-11-11 20:53:37.066 SampleRate: Attempted to add a rate 32000 Hz, which is not in the list of allowed rates.
2010-11-11 20:53:37.104 New DB connection, total: 4
2010-11-11 20:53:37.195 Connected to database 'mythconverg' at host: localhost
2010-11-11 20:53:37.198 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:53:37.250 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:53:37.308 Finished recording We Will Remember Them: channel 1003
2010-11-11 20:53:37.914 RecBase(1:/dev/video1): GetKeyframePositions(0,9223372036854775807,#1) out of 1
2010-11-11 20:53:38.377 RecBase(1:/dev/video1): GetKeyframePositions(0,9223372036854775807,#1) out of 1
2010-11-11 20:53:41.431 TVRec(1): HW Tuner: 1->1
2010-11-11 20:53:41.478 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:53:41.481 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:53:41.615 Finished recording We Will Remember Them: channel 1003
2010-11-11 20:53:41.951 MainServer::ANN Monitor
2010-11-11 20:53:41.994 adding: marc as a client (events: 0)
2010-11-11 20:53:42.036 MainServer::ANN Monitor
2010-11-11 20:53:42.078 adding: marc as a client (events: 1)
2010-11-11 20:53:43.501 Finished recording Daily Planet: channel 1036
2010-11-11 20:53:43.528 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:53:43.531 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:53:43.579 Finished recording Daily Planet: channel 1036
2010-11-11 20:54:35.198 TVRec(1): Changing from WatchingLiveTV to None
2010-11-11 20:54:35.426 Finished recording Daily Planet: channel 1036
2010-11-11 20:54:40.897 MainServer::ANN Monitor
2010-11-11 20:54:40.909 adding: marc as a client (events: 0)
2010-11-11 20:54:40.926 MainServer::ANN Monitor
2010-11-11 20:54:40.967 adding: marc as a client (events: 1)
2010-11-11 20:54:42.239 MainServer::ANN Playback
2010-11-11 20:54:42.277 adding: marc as a client (events: 0)
2010-11-11 20:54:42.304 TVRec(1): Changing from None to WatchingLiveTV
2010-11-11 20:54:42.344 TVRec(1): HW Tuner: 1->1
2010-11-11 20:54:42.397 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:54:42.400 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:54:44.238 Finished recording Daily Planet: channel 1036
2010-11-11 20:54:44.280 SampleRate: Attempted to add a rate 32000 Hz, which is not in the list of allowed rates.
2010-11-11 20:54:44.337 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:54:44.340 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:54:44.384 Finished recording Daily Planet: channel 1036
2010-11-11 20:54:44.951 RecBase(1:/dev/video1): GetKeyframePositions(0,9223372036854775807,#1) out of 1
2010-11-11 20:54:45.350 RecBase(1:/dev/video1): GetKeyframePositions(0,9223372036854775807,#1) out of 1
2010-11-11 20:56:14.511 TVRec(1): HW Tuner: 1->1
2010-11-11 20:56:14.541 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:56:14.544 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:56:14.701 Finished recording Daily Planet: channel 1036
2010-11-11 20:56:14.982 MainServer::ANN Monitor
2010-11-11 20:56:15.015 adding: marc as a client (events: 0)
2010-11-11 20:56:15.066 MainServer::ANN Monitor
2010-11-11 20:56:15.115 adding: marc as a client (events: 1)
2010-11-11 20:56:16.568 Finished recording Chronicle "Homecoming": channel 1020
2010-11-11 20:56:16.614 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:56:16.617 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:56:16.663 Finished recording Chronicle "Homecoming": channel 1020
2010-11-11 20:56:17.618 TVRec(1): Changing from WatchingLiveTV to None
2010-11-11 20:56:17.992 Finished recording Chronicle "Homecoming": channel 1020
2010-11-11 20:56:18.048 MainServer::ANN Playback
2010-11-11 20:56:18.081 adding: marc as a client (events: 0)
2010-11-11 20:56:18.103 TVRec(1): Changing from None to WatchingLiveTV
2010-11-11 20:56:18.142 TVRec(1): HW Tuner: 1->1
2010-11-11 20:56:18.196 LoadFromScheduler(): Error, called from backend.
2010-11-11 20:56:18.199 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2010-11-11 20:56:19.494 TVRec(1): Changing from WatchingLiveTV to None
2010-11-11 20:56:19.538 Finished recording Daily Planet: channel 1036
2010-11-11 20:56:19.660 Channel(/dev/video1)::Tune(): Error -1 while setting frequency (v2): Bad file descriptor
2010-11-11 20:56:21.672 Expiring 0 MB for 1003 at 2010-11-11T20:53:35 => "We Will Remember Them"
2010-11-11 20:56:21.712 Expiring 2 MB for 1003 at 2010-11-11T20:53:37 => "We Will Remember Them"
2010-11-11 20:56:21.777 Expiring 0 MB for 1036 at 2010-11-11T20:53:41 => "Daily Planet"
2010-11-11 20:56:21.819 Expiring 45 MB for 1036 at 2010-11-11T20:53:43 => "Daily Planet"
2010-11-11 20:56:21.862 Expiring 0 MB for 1036 at 2010-11-11T20:54:42 => "Daily Planet"
Last edited by grondinm (2010-11-12 00:59:41) -
[Solved] Hauppauge PVR-250 + Lirc = Kernel Oops & Pain
Using:
- Hauppauge PVR-250
--- ivtv
--- lirc_dev
--- lirc_i2c
Modprobe ivtv? Fine.
Modprobe the lirc modules? Fine.
Start lircd service? Fine.
Try to use lirc? FAIL.
This will be my own little self dialog as I get reintroduced to all the pain I use to experience trying to setup MythTV.
lirc_dev: IR Remote Control driver registered, major 61
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
cx88/0: cx2388x v4l2 driver version 0.0.6 loaded
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin: sample_rate: 10
BUG: unable to handle kernel paging request at 52492071
IP: [<c01832e6>] do_sys_open+0x76/0xf0
*pde = 00000000
Oops: 0000 [#1] PREEMPT SMP
Modules linked in: cx8800 cx88xx bttv ir_common compat_ioctl32 videobuf_dma_sg videobuf_core btcx_risc lirc_i2c lirc_dev ipv6 usb_storage msp3400 saa7115 tuner tea5767 tda8290 tda18271 tda827x tuner_xc2028 xc5000 tda9887 firewire_ohci tuner_simple mt20xx tea5761 firewire_core crc_itu_t psmouse ivtv pcspkr serio_raw emu10k1_gp i2c_algo_bit cx2341x v4l2_common tveeprom ppp_generic ohci1394 gameport ieee1394 nvidia(P) i2c_i801 intel_agp i2c_core agpgart ehci_hcd shpchp pci_hotplug uhci_hcd sg thermal evdev processor fan button battery ac snd_usb_audio snd_usb_lib snd_intel8x0 snd_emu10k1 snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore ac97_bus slhc skge gspca usbcore videodev v4l1_compat rtc_cmos rtc_core rtc_lib reiserfs sr_mod cdrom sd_mod ata_piix ata_generic pata_acpi libata scsi_mod dock
Pid: 3412, comm: lircd Tainted: P (2.6.25-ARCH #1)
EIP: 0060:[<c01832e6>] EFLAGS: 00010287 CPU: 0
EIP is at do_sys_open+0x76/0xf0
EAX: 52492065 EBX: 40000020 ECX: 00000043 EDX: f5d83260
ESI: ffffff9c EDI: f5072000 EBP: 00000007 ESP: f5d99f84
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process lircd (pid: 3412, ti=f5d98000 task=f543c000 task.ti=f5d98000)
Stack: bfe01a98 00000000 f5d83260 bfe01a98 00000002 bfe0392f f5d98000 c01833dc
bfe01a98 bfe0392f 00000000 00000002 c01050d8 bfe0392f 00000002 bfe01a98
00000000 00000002 bfe01af8 00000005 0000007b 0000007b c0100000 00000005
Call Trace:
[<c01833dc>] sys_open+0x2c/0x40
[<c01050d8>] sysenter_past_esp+0x6d/0xa5
=======================
Code: 78 78 8b 44 24 20 89 d9 89 fa 89 04 24 89 f0 e8 31 ff ff ff 3d 00 f0 ff ff 89 44 24 08 77 6e 8b 54 24 08 bb 20 00 00 40 8b 42 0c <8b> 70 0c 0f b7 56 72 81 e2 00 f0 00 00 81 fa 00 40 00 00 ba 20
EIP: [<c01832e6>] do_sys_open+0x76/0xf0 SS:ESP 0068:f5d99f84
---[ end trace fbdc5cf39936cc8f ]---
Last edited by georgia_tech_swagger (2008-07-29 17:45:56)This is indeed a problem in the lirc 0.8.2 package in extra. I have submitted a bug with a fixed PKGBUILD of lirc 0.8.3.
http://bugs.archlinux.org/task/11041 -
[SOLVED] LIRC no input with Hauppauge PVR-350
Hey guys
I have the hardware mentioned in the title in a computer connected with the tv (for xbmc)
I recently have re-setup archlinux on this machine to get a clean systemd setup but now Im really stuck getting my remote working again. Sady I forgot to backup my configuration (theres always something that you forget isnt it)^^
configs
/etc/systemd/system/lircd.service
[Unit]
Description=Linux Infrared Remote Control
[Service]
EnvironmentFile=/etc/conf.d/lircd.conf
ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/lircd.pid --device=${LIRC_DEVICE} --driver=${LIRC_DRIVER}
Type=forking
PIDFile=/run/lirc/lircd.pid
[Install]
WantedBy=multi-user.target
/etc/conf.d/lircd.conf
LIRC_DEVICE="/dev/input/event11"
LIRC_DRIVER="devinput"
LIRC_MODULES="ir-kbd-i2c lirc_dev"
LIRC_EXTRAOPTS=""
LIRC_CONFIGFILE="/etc/lirc/lircd.conf
/etc/lirc/lirc.conf
# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
# contributed by
# brand: Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
# Date: 2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350
begin remote
name Hauppauge_350
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 969 811
zero 969 811
plead 1097
gap 114605
toggle_bit 2
begin codes
Go 0x00000000000017BB
Power 0x00000000000017BD
TV 0x000000000000179C
Videos 0x0000000000001798
Music 0x0000000000001799
Pictures 0x000000000000179A
Guide 0x000000000000179B
Radio 0x000000000000178C
Up 0x0000000000001794
Left 0x0000000000001796
Right 0x0000000000001797
Down 0x0000000000001795
OK 0x00000000000017A5
Back/Exit 0x000000000000179F
Menu/i 0x000000000000178D
Vol+ 0x0000000000001790
Vol- 0x0000000000001791
Prev.Ch 0x0000000000001792
Mute 0x000000000000178F
Ch+ 0x00000000000017A0
Ch- 0x00000000000017A1
Record 0x00000000000017B7
Stop 0x00000000000017B6
Rewind 0x00000000000017B2
Play 0x00000000000017B5
Forward 0x00000000000017B4
Replay/SkipBackward 0x00000000000017A4
Pause 0x00000000000017B0
SkipForward 0x000000000000179E
1 0x0000000000001781
2 0x0000000000001782
3 0x0000000000001783
4 0x0000000000001784
5 0x0000000000001785
6 0x0000000000001786
7 0x0000000000001787
8 0x0000000000001788
9 0x0000000000001789
Asterix 0x000000000000178A
0 0x0000000000001780
# 0x000000000000178E
Red 0x000000000000178B
Green 0x00000000000017AE
Yellow 0x00000000000017B8
Blue 0x00000000000017A9
end codes
end remote
$ sudo systemctl restart lircd.service
$ irw
[I can press what I want, nothing]
$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event11) with:
Driver ir-kbd-i2c, table rc-hauppauge
Supported protocols: RC-5
Enabled protocols: RC-5
Name: i2c IR (Hauppauge WinTV PVR-350
bus: 24, vendor/product: 0000:0000, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms
Any help is appreciated!
Last edited by chnuebi (2013-02-12 12:20:01)Hell YEAH!!
/etc/systemd/system/lircd.service
[Unit]
Description=LIRC Daemon
After=network.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/lircd.conf
PIDFile=/run/lirc/lircd.pid
ExecStartPre=/bin/mkdir -p /run/lirc
ExecStartPre=/bin/rm -f /dev/lircd
ExecStartPre=/bin/rm -f /run/lirc/lircd
ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd -d $LIRC_DEVICE -P /run/lirc/lircd.pid -H $LIRC_DRIVER $LIRC_CONFIGFILE
ExecStopPost=/bin/rm -f /dev/lircd
ExecStopPost=/bin/rm -fR /run/lirc
[Install]
WantedBy=multi-user.target
In addition it seems i loaded the wrong driver.
/etc/conf.d/lircd.conf
LIRC_DEVICE="/dev/lirc0"
LIRC_DRIVER="default"
#LIRC_MODULES="ir-kbd-i2c lirc_dev"
#LIRC_MODULES="lirc_i2c lirc_dev"
LIRC_EXTRAOPTS=""
LIRC_CONFIGFILE="/etc/lirc/lircd.conf"
/etc/modules-load.d/lirc.conf
#ir-kbd-i2c
lirc_i2c
lirc_dev
so /dev/lirc0 gets created (did it over /dev/input)
Thank you soo much -> moving forward to xbmc mappings (8 -
Mythtv-setup segfaults on initial install
I'm installing an htpc from new from scratch using archlinux x86_64. I'm using the current stable release kernel 2.6.29 and xorg-server 1.6.1. I have an ati HD 3200 card, which I'm using the driver built from git (both drm and xf86-video-ati)
I'm also using the stable mythtv package there, mythtv 0.21-1, dated from 9/12/08. mythtv-setup gave the following error:
2009-04-19 00:50:19.141 Using runtime prefix = /usr, libdir = /usr/lib
2009-04-19 00:50:19.159 DPMS is active.
2009-04-19 00:50:19.159 Unable to read configuration file mysql.txt
2009-04-19 00:50:19.159 Empty LocalHostName.
2009-04-19 00:50:19.159 Using localhost value of ruyi
2009-04-19 00:50:19.164 New DB connection, total: 1
2009-04-19 00:50:19.167 Connected to database 'mythconverg' at host: localhost
2009-04-19 00:50:19.167 Closing DB connection named 'DBManager0'
2009-04-19 00:50:19.167 Total desktop dim: 1280x720, with 1 screen[s].
2009-04-19 00:50:19.167 Connected to database 'mythconverg' at host: localhost
2009-04-19 00:50:19.168 Using screen 0, 1280x720 at 0,0
2009-04-19 00:50:19.174 New DB connection, total: 2
2009-04-19 00:50:19.175 Connected to database 'mythconverg' at host: localhost
2009-04-19 00:50:19.175 Current Schema Version: 1214
2009-04-19 00:50:19.457 Total desktop dim: 1280x720, with 1 screen[s].
2009-04-19 00:50:19.458 Using screen 0, 1280x720 at 0,0
2009-04-19 00:50:19.459 Switching to square mode (G.A.N.T)
2009-04-19 00:50:19.496 Using the Qt painter
2009-04-19 00:50:19.498 lirc init success using configuration file: /home/ben/.lircrc
2009-04-19 00:50:19.498 JoystickMenuClient Error: Joystick disabled - Failed toread /home/ben/.mythtv/joystickmenurc
Segmentation fault
The system logs show the following cause:
Apr 19 00:36:20 ruyi kernel: mythtv-setup[4663] general protection ip:7f50987550df sp:7fffa55e7f40 error:0 in libGL.so.1.2[7f509872b000+78000]
Any ideas? libgl is about a week old. Would I be better off building mythtv from svn? thanks
BenI have same problem on an old system. Frontend doesnt't start after libgl-1.4 upgrade. I tried building 0.21-fixes and the original PKGBUILD from ABS but they both fail to compile. SVN trunk might work, because it uses QT4, but it's still unstable and under heavy developement.
E: Ubuntu has a bug report about the issue and so does mesa.
Last edited by jase (2009-04-21 11:34:19) -
Hi guys!
I need some help getting my remote to work with vlc. I configured lircd and have entries for mythtv, mplayer and vlc in my ~/.lircrc. The remote works fine with mplayer (after rebuilding using abs) and mythtv but not with vlc.
So far, I downloaded the vlc PKGBUILD using abs and added --enable-lirc:
#PKGBUILD
./configure --prefix=/usr \
--enable-dvdread \
--enable-lirc \
--enable-dvdnav \
--enable-madi \
--enable-ffmpeg \
--disable-rpath \
--enable-qt4 \
--enable-faad \
--enable-alsa \
--enable-skins2 \
--enable-dvb \
--enable-dmo \
--with-ffmpeg-faac \
--with-ffmpeg-vorbis \
--with-ffmpeg-dts \
--with-ffmpeg-ogg \
--with-ffmpeg-theora \
--enable-v4l \
--enable-theora \
--enable-flac \
--enable-snapshot \
--enable-hal \
--enable-dbus \
--enable-ogg \
--enable-dbus-control \
--enable-shared \
--enable-nls \
--enable-lirc \
--enable-shout \
--enable-pvr \
--enable-release \
--program-suffix= \
--with-dv-raw1394=/usr/include/libraw1394 ${EXTRAFEATURES} || return 1
I rebuilt vlc using makepkg and pacman -U'd the new package. I added entries like
#~/.lircrc
# Mute
begin
prog = vlc
button = mute
repeat = 3
config = key-vol-mute
end
for vlc in my ~/.lircrc and restarted lircd. Somehow, im still missing something. Could you please give me a hint?
Cheers
zimtThank you for the hint. I did not find specific debugging utilities, but I did something else. I did
sudo /etc/rc.d/lircd stop
sudo /usr/sbin/lircd -n
to prevent lircd from going in the background. After starting, lircd prompted
lircd: lircd(all) ready
Then I started an .avi movie with vlc. The prompt did not show any output while startup or pressing any buttons of my remote control. Then I stopped vlc and opened the same movie with mplayer. This made lircd prompt
lircd: accepted new client on /dev/lircd
and
lircd: removed client
after I killed mplayer. I guess this is the correct output that should also be there when I start vlc. So it's not a button specific problem and rather me not being able to build vlc in a way that it supports lirc. Anyone any idea?
Last edited by zimt (2008-12-26 12:23:35) -
Mythtv and Arch - a few problems
Hi fellow Arch users
I have a few dilemmas I wish to share about Arch and Mythtv and hopefully receive some feedback/answers for.
Some background info:
After trying Fedora, K/Ubuntu, and Zenwalk I settled on ArchLinux for both my main distro and my HTPC (mainly because of the start up speed and the lightweight feeling). I have been using Linux for a month or so now, so my knowledge is not all that great but I have managed to get most programs working with a bit of research. Its just I have a few problems with Mythtv that I am unable to solve.
HTPC Specs
Asrock mATX board (cant remember the model No.)
AMD 1800+ Socket A
512MB RAM
80MB WD 7200RPM
12x DVD ROM
Geforce MX400
DVICO Fusion HDTV Dual PCI
Software
Arch 2.6.16-20(latest available kernel)
KDE (wish to switch to fluxbox when everything is working)
Mythtv + plugins
Questions & Problems:
I've managed to get a functional Mythbox going. The small problems I am having include
1. No working remote/lirc
2. I can start mtd but when I press 0 to rip a DVD it does nothing.
3. when I quit out of mythtv-setup I get an error about ~/recordings/.test is not writable
4. cant get the 2nd tuner working – I managed to download the dvb-usb-bluebird firmware but I'm unsure where it goes (in Arch)
5. if I try to make the latest v4l-dvb it say I am missing lsmod or lnmod cant remember which
6. I get all channels at 10-15% but quality is very good, no hiccups, freezes etc. I cant get one channel though (SBS - I'm in Sydney, Australia)
1. I haven't really tried yet but any advice would be great
2. I imagine this might be a permission issue ie I have to run mythbackend under root
3. doesn't seem to be a problem (yet!)
4. running dmesg tells me it cant find the firmware for the usb-dvb but the pci part of the card works okay
5. I managed to compile an older v4l-dvb source (about a month old, the source that is). I didn't need it as everything is built into the 2.6.16 kernel (I was looking for get_usb_firmware but didn't realise I didn't need to compile it to use it)
6. I know its not my aerial because with a set-top-box I can get all channels including SBS with a signal strength of 80-100%
If anyone can help I will be very grateful and if you require more info and I'll get it to you once I'm near the computer.
Regards
JarrodHi. I have the same card and I managed to get the USB part working following the instructions here
http://www.linuxtv.org/pipermail/linux- … 09869.html
I got the quincy tree and applied the patch attached to the post.
But confusingly/fustratingly, I havent been able to get the pci part working. Can you tell me how you actually got the pci part to work?
Check this post for the Dual remote
http://www.linuxtv.org/pipermail/linux- … 08469.html
I have a remote that came with a Dvico Plus board for which I have a custom patched and packged version of lirc that works if you need it. -
LIRC not working on Thinkpad 600e
Hi,
I recently bought a simple infrared-receiver (attached to the serial port - ttyS0). It works very well with my Desktop (runnung arch linux), but, unfortunately, not with my old thinkpad (also running arch).
I followed the lirc-article from the wiki. i had to add the line
install lirc_serial /usr/bin/setserial /dev/ttyS0 uart none; /sbin/modprobe -- ignore-install lirc_serial;
to /etc/modprobe.conf, and now modprobe lirc_serial works and the lirc_serial module is shown by lsmod. my config file for my remote control works on my desktop, so i think, it should work on my thinkpad, too. i start the lircd-daemon, but when i test my remote control with irw, it shows no reaction and no error message.
i searched the forums, there are some similar (or almost the same problems) described, but nu solution...
oh, and i checked the serial port with the ps2 dos utility -> serial port is enabled.
well...maybe someone has an idea, what's going wrong? would be great, cos i'd like to use my thinkpad as a music-box ;-)
thx,
psebHi,
I recently bought a simple infrared-receiver (attached to the serial port - ttyS0). It works very well with my Desktop (runnung arch linux), but, unfortunately, not with my old thinkpad (also running arch).
I followed the lirc-article from the wiki. i had to add the line
install lirc_serial /usr/bin/setserial /dev/ttyS0 uart none; /sbin/modprobe -- ignore-install lirc_serial;
to /etc/modprobe.conf, and now modprobe lirc_serial works and the lirc_serial module is shown by lsmod. my config file for my remote control works on my desktop, so i think, it should work on my thinkpad, too. i start the lircd-daemon, but when i test my remote control with irw, it shows no reaction and no error message.
i searched the forums, there are some similar (or almost the same problems) described, but nu solution...
oh, and i checked the serial port with the ps2 dos utility -> serial port is enabled.
well...maybe someone has an idea, what's going wrong? would be great, cos i'd like to use my thinkpad as a music-box ;-)
thx,
pseb -
LIRC-0.9.1: Remote not working, scancodes, config issues
Hi,
I'm using arch (kernel 3.16.0-2-ARCH #1 SMP PREEMPT x86_64 GNU/Linux), a TechnoTrend USB IR Receiver and my custom remote (not covered by existing configs). I installed lirc and lirc-utils via testing repo (lirc-0.9.1). My problem is that I can access my device, but irw gives me no output at all.
At first some outputs:
ir-keytable:
Found /sys/class/rc/rc0/ (/dev/input/event17) with:
Driver ttusbir, table rc-tt-1500
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: RC-5
Name: TechnoTrend USB IR Receiver
bus: 3, vendor/product: 0b48:2003, version: 0x0101
Repeat delay = 500 ms, repeat period = 125 ms
output of "ir-keytable -t" for numbers 1-6 on my remote:
Testing events. Please, press CTRL-C to abort.
1408117586.815011: event type EV_MSC(0x04): scancode = 0x01
1408117586.815011: event type EV_SYN(0x00).
1408117586.934967: event type EV_MSC(0x04): scancode = 0x01
1408117586.934967: event type EV_SYN(0x00).
1408117587.702986: event type EV_MSC(0x04): scancode = 0x02
1408117587.702986: event type EV_SYN(0x00).
1408117588.366958: event type EV_MSC(0x04): scancode = 0x03
1408117588.366958: event type EV_SYN(0x00).
1408117588.486983: event type EV_MSC(0x04): scancode = 0x03
1408117588.486983: event type EV_SYN(0x00).
1408117589.094926: event type EV_MSC(0x04): scancode = 0x04
1408117589.094926: event type EV_SYN(0x00).
1408117589.214920: event type EV_MSC(0x04): scancode = 0x04
1408117589.214920: event type EV_SYN(0x00).
1408117590.926837: event type EV_MSC(0x04): scancode = 0x05
1408117590.926837: event type EV_SYN(0x00).
1408117591.046834: event type EV_MSC(0x04): scancode = 0x05
1408117591.046834: event type EV_SYN(0x00).
1408117592.446769: event type EV_MSC(0x04): scancode = 0x06
1408117592.446769: event type EV_SYN(0x00).
1408117592.566769: event type EV_MSC(0x04): scancode = 0x06
1408117592.566769: event type EV_SYN(0x00).
My remote config file looks like this:
# Please make this file available to others
# by sending it to <[email protected]>
# this config file was automatically generated
# using lirc-0.9.0(devinput) on Thu Aug 7 15:10:35 2014
# contributed by
# brand: Test
# model no. of remote control:
# devices being controlled by this remote:
begin remote
name BlackFlatOne
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_POWER 0x0c
KEY_MUTE 0x0a
KEY_SELECT 0x38
KEY_Z 0x0f
KEY_1 0x01
KEY_2 0x02
KEY_3 0x03
KEY_4 0x04
KEY_5 0x05
KEY_6 0x06
KEY_7 0x07
KEY_8 0x08
KEY_9 0x09
KEY_0 0x00
KEY_TV 0x1e
KEY_LEFT 0x11
KEY_RIGHT 0x10
KEY_UP 0x20
KEY_DOWN 0x21
KEY_ENTER 0x0d
KEY_CHANNELUP 0x12
KEY_CHANNELDOWN 0x13
KEY_VOLUMEUP 0x2b
KEY_VOLUMEDOWN 0x2c
KEY_STOP 0x0b
KEY_RECORD 0x1f
KEY_CAMERA 0x0e
KEY_ESC 0x29
end codes
end remote
I start lirc manually with
lircd --driver=devinput --device=/dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir BlackFlatOne -n
After starting lirc, I start irw, but I get no response at all when pressing buttons on my remote.
I already tried a
cat /dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir
(lirc and irw not running, of course) and this gives me cryptic symbols when pressing buttons on my remote, so the IR receiver doesn't seem to be the problem.
I'm wondering if the scancodes in my config are ok for a devinput-device, because the latest "official" lircd.conf.devinput looks like that:
# generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_0 11
KEY_102ND 86
KEY_1 2
KEY_2 3
KEY_3 4
KEY_4 5
KEY_5 6
KEY_6 7
KEY_7 8
KEY_8 9
KEY_9 10
KEY_A 30
KEY_AB 0x196
KEY_ADDRESSBOOK 0x1ad
KEY_AGAIN 129
So I'm wondering about the different lengths of the keycodes (e.g. 0x0d vs 0x1ad -> 2 vs 3 digits).
Can anyone help me out with this issue ?
Am I missing something ?
How do I have to format the scancodes/keycodes the correct way for version 0.9.1 ?Hi,
I'm using arch (kernel 3.16.0-2-ARCH #1 SMP PREEMPT x86_64 GNU/Linux), a TechnoTrend USB IR Receiver and my custom remote (not covered by existing configs). I installed lirc and lirc-utils via testing repo (lirc-0.9.1). My problem is that I can access my device, but irw gives me no output at all.
At first some outputs:
ir-keytable:
Found /sys/class/rc/rc0/ (/dev/input/event17) with:
Driver ttusbir, table rc-tt-1500
Supported protocols: NEC RC-5 RC-6 JVC SONY SANYO LIRC other
Enabled protocols: RC-5
Name: TechnoTrend USB IR Receiver
bus: 3, vendor/product: 0b48:2003, version: 0x0101
Repeat delay = 500 ms, repeat period = 125 ms
output of "ir-keytable -t" for numbers 1-6 on my remote:
Testing events. Please, press CTRL-C to abort.
1408117586.815011: event type EV_MSC(0x04): scancode = 0x01
1408117586.815011: event type EV_SYN(0x00).
1408117586.934967: event type EV_MSC(0x04): scancode = 0x01
1408117586.934967: event type EV_SYN(0x00).
1408117587.702986: event type EV_MSC(0x04): scancode = 0x02
1408117587.702986: event type EV_SYN(0x00).
1408117588.366958: event type EV_MSC(0x04): scancode = 0x03
1408117588.366958: event type EV_SYN(0x00).
1408117588.486983: event type EV_MSC(0x04): scancode = 0x03
1408117588.486983: event type EV_SYN(0x00).
1408117589.094926: event type EV_MSC(0x04): scancode = 0x04
1408117589.094926: event type EV_SYN(0x00).
1408117589.214920: event type EV_MSC(0x04): scancode = 0x04
1408117589.214920: event type EV_SYN(0x00).
1408117590.926837: event type EV_MSC(0x04): scancode = 0x05
1408117590.926837: event type EV_SYN(0x00).
1408117591.046834: event type EV_MSC(0x04): scancode = 0x05
1408117591.046834: event type EV_SYN(0x00).
1408117592.446769: event type EV_MSC(0x04): scancode = 0x06
1408117592.446769: event type EV_SYN(0x00).
1408117592.566769: event type EV_MSC(0x04): scancode = 0x06
1408117592.566769: event type EV_SYN(0x00).
My remote config file looks like this:
# Please make this file available to others
# by sending it to <[email protected]>
# this config file was automatically generated
# using lirc-0.9.0(devinput) on Thu Aug 7 15:10:35 2014
# contributed by
# brand: Test
# model no. of remote control:
# devices being controlled by this remote:
begin remote
name BlackFlatOne
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_POWER 0x0c
KEY_MUTE 0x0a
KEY_SELECT 0x38
KEY_Z 0x0f
KEY_1 0x01
KEY_2 0x02
KEY_3 0x03
KEY_4 0x04
KEY_5 0x05
KEY_6 0x06
KEY_7 0x07
KEY_8 0x08
KEY_9 0x09
KEY_0 0x00
KEY_TV 0x1e
KEY_LEFT 0x11
KEY_RIGHT 0x10
KEY_UP 0x20
KEY_DOWN 0x21
KEY_ENTER 0x0d
KEY_CHANNELUP 0x12
KEY_CHANNELDOWN 0x13
KEY_VOLUMEUP 0x2b
KEY_VOLUMEDOWN 0x2c
KEY_STOP 0x0b
KEY_RECORD 0x1f
KEY_CAMERA 0x0e
KEY_ESC 0x29
end codes
end remote
I start lirc manually with
lircd --driver=devinput --device=/dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir BlackFlatOne -n
After starting lirc, I start irw, but I get no response at all when pressing buttons on my remote.
I already tried a
cat /dev/input/by-id/usb-TechnoTrend_AG_TT-USB_Infrared_Device-event-ir
(lirc and irw not running, of course) and this gives me cryptic symbols when pressing buttons on my remote, so the IR receiver doesn't seem to be the problem.
I'm wondering if the scancodes in my config are ok for a devinput-device, because the latest "official" lircd.conf.devinput looks like that:
# generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
pre_data_bits 16
pre_data 0x0001
post_data_bits 32
post_data 0x00000001
gap 132799
toggle_bit 0
begin codes
KEY_0 11
KEY_102ND 86
KEY_1 2
KEY_2 3
KEY_3 4
KEY_4 5
KEY_5 6
KEY_6 7
KEY_7 8
KEY_8 9
KEY_9 10
KEY_A 30
KEY_AB 0x196
KEY_ADDRESSBOOK 0x1ad
KEY_AGAIN 129
So I'm wondering about the different lengths of the keycodes (e.g. 0x0d vs 0x1ad -> 2 vs 3 digits).
Can anyone help me out with this issue ?
Am I missing something ?
How do I have to format the scancodes/keycodes the correct way for version 0.9.1 ? -
[SOLVED] LIRC config looks fine but my remote doesn't work.
Following the steps of the wiki and this post I've created the configs file for lirc. But something is not working and I don't know how to find out what.
I'm going to post some info so you guys can help me:
➜ ~ cat /usr/lib/systemd/system/lirc.service
[Unit]
Description=Linux Infrared Remote Control
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/lircd.conf
PIDFile=/run/lirc/lircd.pid
ExecStartPre=/bin/mkdir -p /run/lirc
ExecStartPre=/bin/rm -f /dev/lircd
ExecStartPre=/bin/rm -f /run/lirc/lircd
ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd -d $LIRC_DEVICE -P /run/lirc/lircd.pid -H $LIRC_DRIVER $LIRC_CONFIGFILE
ExecStopPost=/bin/rm -f /dev/lircd
ExecStopPost=/bin/rm -fR /run/lirc
[Install]
WantedBy=multi-user.target
➜ ~ cat /etc/conf.d/lircd.conf
LIRC_DEVICE="/dev/lirc0"
LIRC_DRIVER="default"
LIRC_EXTRAOPTS=""
LIRC_CONFIGFILE="/etc/lirc/lircd.conf"
My lircd.conf
➜ ~ cat /etc/lirc/lircd.conf
# Please make this file available to others
# by sending it to <[email protected]>
# this config file was automatically generated
# using lirc-0.9.0(default) on Sun Sep 29 15:25:37 2013
# contributed by
# brand: /tmp/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
begin remote
name /tmp/lircd.conf
bits 16
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2750 800
one 487 374
zero 487 374
pre_data_bits 21
pre_data 0x37FF0
gap 105336
toggle_bit_mask 0x0
rc6_mask 0x100000000
begin codes
KEY_OK 0xFBDD
KEY_PLAY 0x7B91
KEY_PLAYPAUSE 0xFB91
KEY_REWIND 0x7BEA
KEY_PREVIOUS 0xFBE4
KEY_FORWARD 0x7BEB
KEY_NEXT 0xFBE5
KEY_STOP 0x7BE6
KEY_MUTE 0xFBF1
KEY_VOLUMEUP 0x7BEF
KEY_VOLUMEDOWN 0xFBEE
KEY_PAGEUP 0x7BED
KEY_PAGEDOWN 0xFBEC
KEY_DOWN 0x7BE0
end codes
end remote
The service seems to be running fine:
➜ ~ systemctl status lirc.service
lirc.service - Linux Infrared Remote Control
Loaded: loaded (/usr/lib/systemd/system/lirc.service; enabled)
Active: active (running) since Sun 2013-09-29 16:38:49 ART; 20min ago
Process: 248 ExecStart=/usr/sbin/lircd -d $LIRC_DEVICE -P /run/lirc/lircd.pid -H $LIRC_DRIVER $LIRC_CONFIGFILE (code=exited, status=0/SUCCESS)
Process: 246 ExecStartPre=/bin/ln -s /run/lirc/lircd /dev/lircd (code=exited, status=0/SUCCESS)
Process: 244 ExecStartPre=/bin/rm -f /run/lirc/lircd (code=exited, status=0/SUCCESS)
Process: 240 ExecStartPre=/bin/rm -f /dev/lircd (code=exited, status=0/SUCCESS)
Process: 234 ExecStartPre=/bin/mkdir -p /run/lirc (code=exited, status=0/SUCCESS)
Main PID: 250 (lircd)
CGroup: /system.slice/lirc.service
└─250 /usr/sbin/lircd -d /dev/lirc0 -P /run/lirc/lircd.pid -H default /etc/...
➜ ~ cat /var/log/lircd
Sep 29 17:02:31 arch-HP lircd: caught signal
Sep 29 17:02:31 arch-HP lircd: lircd(default) ready, using /var/run/lirc/lircd
When I test it nothing happens
➜ ~ irw
the journalctl shows:
Sep 29 17:04:47 arch-HP systemd[1]: Stopping Linux Infrared Remote Control...
Sep 29 17:04:47 arch-HP systemd[1]: Starting Linux Infrared Remote Control...
Sep 29 17:04:47 arch-HP systemd[1]: Started Linux Infrared Remote Control.
Any clue?
Thanks in advance.
Last edited by Kummo666 (2013-09-30 18:10:19)Solve it!
Looks like my /etc/lirc/lircd.conf was wrong.
The irrecord is generating a wrong config with my hp rc-6 remote.
I was able to fix it with this post -
How can I improve NFSv3 file performance with MythTV thru a NAS Drive?
Basically, I have both my MythTV combined frontend/backend machine and a NAS Drive connected via gigabit ethernet connections.
The NAS drive stores my recordings, shared via NFSv3 (because that's all the NAS drive came with, unfortunatly).
Now, my problem is that I can record or watch multiple *seperate* HD files simultaneously, travelling back and forth from the NAS without problem.
However when I try to watch the same file *While it's still being recorded*, after around 20 minutes the network connection is full/overloaded (between the mythserver and the NAS drive) and playback grinds to a halt (It doesn't stop the recording, just the playback).
It used to happen much quicker when I was only using a 100mb connection.
As i've said, this doesn't happen at ALL with seperate files, just only if i watch the *same* file that's being recorded at the same time.
Is there anyway (bar just having the recordings on a Hard Drive within my backend) that I can stop this problem? Is it because I use NFSv3 on the NAS drive? are there any options I can change in the /etc/exports file on the NAS drive that would help? Thanks
If you want me to post what my NAS drive (Readynas Duo V2) has in its /etc/exports file, I willPost the file but I dunno how many Archer are using NFSv3... ;/
-
Lirc doesn't work (Lifeview FlyVideo 98FM LR50) SOLVED
Hi. (Solution below).
I've a problem with lirc. My card used to work with exactly the same configuration for years (first on Slack, then Ubuntu).
That's what I've done (btw it's my first day with Arch, and I'm impressed):
cp /usr/share/lirc/remotes/life-view/lircd.conf.flyvideo /etc/lircd.conf
[root@greblushq greblus]# uname -r
2.6.19-ARCH
[root@greblushq greblus]# pacman -Q | grep lirc
lirc 0.8.0.20061009-2
lirc-utils 0.8.0.20061009-2
i'm loading the bttv module this way:
modprobe bttv card=56 radio=1 pll=1
(I've added bttv lirc_dev lirc_gpio to the rc.conf MODULES and lircd to DAEMONS, also options bttv card=56 radio=1 pll=1 went to /etc/modprobe.conf, but doing this manually should be the same)
then
modprobe lirc_dev
modprobe lirc_gpio
[root@greblushq greblus]# /etc/rc.d/lircd start
:: Starting LIRC Daemon [DONE]
now, when i start irexec (as a normal user or root) and then irw, it's starting, but irw doesn't show buttons i press and it's... not working.
One thing that bothers me is the lack of lifevideo among the drivers supported by lircd (lircd --drivers=help).
I was trying to recompile it with configure --with-driver=flyvideo and lirc builds fine, but I'm unable to build lirc-utils (no linux.h header). What's strange they're compiled --with-driver=all so flyvideo should be compiled-in.
What should I do? Were there any changes I'm simply not aware of, or I'm doing something wrong?
---SOLVED---
Finally I have it working.
Something must have changed in the recent kernels. My card isn't automatically detected when loading bttv module (and never was), so I was loading the module as above, with card=56 modprobe option. It was working, but recently (2.6.19) mode2 -d /dev/lirc0 showed that there was nothing going on when buttons were pressed.
I started fiddling with different card ids and with card=35 mode2 outputed some keycodes. That was it.
All I had to do, was to generate a new lircd.conf using irrecord. Now it works even better than before (i can press buttons when the remote is in an arbitrary position).
lspci says it's 01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11), the card is a flyvideo 98 with fm tuner.
Now i've a perfectly working Arch installation (lirc was the last thing missing from my previous distro).
Automatically generated lircd.conf file:
begin remote
name flyvideo
bits 8
eps 30
aeps 100
one 0 0
zero 0 0
gap 199963
toggle_bit 0
begin codes
1 0x18
2 0x04
3 0x14
4 0x1C
5 0x02
6 0x12
7 0x1A
8 0x06
9 0x16
0 0x1E
POWER 0x00
FULL_SCREEN 0x08
CHAN_PLUS 0x09
CHAN_MINUS 0x19
SQUARE 0x17
MUTE 0x1B
MOUSE_MODE 0x10
ENTER 0x01
DOWN 0x13
UP 0x0E
ESC 0x0B
RETURN 0x03
VOL_PLUS 0x05
VOL_MINUS 0x1D
MENU 0x0C
RIGHT 0x15
INC 0x0A
DEC 0x0D
end codes
end remoteDid you try to build it directly from the source from the lirc site? or did you recompile it with abs? abs should normally not give any problem.
I recommend srcpac to make updates easy.
This is really neat .
Here's what I've done:
1. first, to be absolutely sure i've what i need I ran abs to get the build system files.
2. installed srcpac, then added:
conf_lirc=('#--with-driver=all#--with-driver=flyvideo#')
conf_lircXutils=('#--with-driver=all#--with-driver=flyvideo#')
to the srcpac.conf, srcpac -So shows that the substitutions are correct.
srcpac -Sb lirc went fine, but lirc-utils failed:
/var/abs/extra/system/lirc-utils/src/lirc/drivers/lirc_dev/lirc_dev.c:35:26: error: linux/config.h: No such file or directory
make[5]: *** [/var/abs/extra/system/lirc-utils/src/lirc/drivers/lirc_dev/lirc_dev.o] Error 1
I found on Google that linux/config.h should be replaced by linux/autoconf.h, after this change it builds, but still lircd --driver=help shows only the default driver (no flyvideo) and it doesn't work.
Maybe you are looking for
-
Hello I just trying to run a java program in Mandrake Linux 8.2. Everythings work well except the fonts. I did read this page http://java.sun.com/j2se/1.3/docs/guide/intl/fontprop.html but the problem still there. Because I don't know how to modify t
-
What version of QuickTime?
I have assembled a Director projector application that features a handful of QuickTime video files. In my projector app, I've considered people who may not have QuickTime installed on their computer, so I've put the install file for the latest versio
-
Hi I have the following menu item and the script to go with it. The itemCick event is not firing. <menuitem label="Blogs and News" selected="false" itemClick="itemClick(event);" /> <mx:Script> <![CDATA[ import mx.controls.Menu; import mx.events.MenuE
-
Finding the Crystal Reports version?
Assuming CR XI R2, but if someone upgrades Crystal on the PC.... I have even seen instances where apps have actually downgraded Crystal.. Is there a call to find the version of Crystal Installed?
-
Hi, running 9.0.4.0.99 on windows: I found that when using a ui template, the survey form portlet won't work: once you press the first 'next' button and it calls the opc_survey_form_portlet.answer procedure you get an error: page cannot be found. Als