View Full Version : XBMC doesn't respond to Samsung remote
Hello,
I'm running XBMC build 16164 on Ubuntu 8.10. I have a USB IR receiver connected to my computer, and have LIRC configured and working correctly with that; i.e. I'm able to use LIRC with VLC without any trouble. I've edited "~/.xbmc/userdata/Lircmap.xml" to match the keycodes that IRW shows for the buttons on my remote.
My problem is that XBMC doesn't respond to any buttons on my remote. If I tail the xbmc log file I see entries like this when I press buttons on the remote:
19:54:40 T:3067041584 M:608063488 DEBUG: Update - NEW at 12528:00000000a0a0827d 00 Enter samsung
I found one post by a user with a similar problem here (http://xbmc.org/forum/showthread.php?p=212651). I removed leading spaces and tabs from my "Lircmap.xml" file, but I'm still having the same problem.
Lircmap.xml: pastebin (http://pastebin.com/f168a4ca4).
Keymap.xml: pastebin (http://pastebin.com/f373bb16f)
Anyone have any suggestions (other than using a different remote)?
Thanks!
frostwork
2009-03-09, 12:41
hi!
I use a
ID 0419:0001 Samsung Info. Systems America, Inc. IrDA Remote Controller
with the default /etc/lircd.conf for samsung coming with lirc-0.8.4.
(it's located under /usr/share/lirc/remotes/samsung/lircd.conf.samsung
on my gentoo system)
my very basic ~/.xbmc/userdata/Lircmap.xml looks like this:
<lircmap>
<remote device="Samsung">
<pause>Pause</pause>
<stop>Stop</stop>
<forward>Forward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>OK</select>
<pageplus>Ch+</pageplus>
<pageminus>Ch-</pageminus>
<back>Back</back>
<menu>Menu</menu>
<title>Play</title>
<info>#</info>
<skipplus>SkipForward</skipplus>
<skipminus>Replay/SkipBackward</skipminus>
<display>Full</display>
<start>Prev.Ch</start>
<record>Record</record>
<volumeplus>Vol+</volumeplus>
<volumeminus>Vol-</volumeminus>
<mute>Mute</mute>
<power>Power</power>
<myvideo>Video_Archive</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>TV</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<mytv>Red</mytv>
<mymusic>Green</mymusic>
<mypictures>Yellow</mypictures>
<myvideo>Blue</myvideo>
</remote>
</lircmap>
The remote works quiet fine, but there seems to be no way to "keep a button pressed", f.e. to scroll down a menu in one go.
rodercot
2009-03-09, 15:24
If you check the wiki for the advancedsettings.xml, I think there is a repear feature you can use, I am not sure if it a global setting or you can customize it for specific buttons.
http://xbmc.org/wiki/?title=AdvancedSettings.xml
The other option maybe is a ~/.lircrc file for the buttons you want to repeat. I am not 100% sure if xbmc will respond to this or not. I have not used one for xbmc before.
something like
begin
remote = samsung
prog = xbmc
button = vol_up
config = vol_up
repeat = 3
delay = 0
end
The higher the number the slower the repeat and the lower the faster. 3 is usually a good start.
frostwork
2009-03-09, 16:35
hey, rodercot!
oh, this behaviour of the remote is global, not xbmc specific.
I already played around a bit with repeat and similar settings, but
with no luck so far.
This wasn't a problem with the remote/IR-receiver I used before.
The samsung receiver also requires some in-kernel quirks, so maybe the "problem" is there and wontfix.
In fact I do not care too much, as I always have a keyboard/mouse near, but I just wanted to add this info, in case ajchace is noticing a similar behaviour.
In any case thanks for trying to help!
If I find a way to "repeat" with this remote next time I try, I'll post it here of course :)
@frostwork
The remote that I'm using came with a Samsung TV that I purchased; it's just plain IR, not IRDA. If I hold down a button, it repeats about once per second; although I think this is configurable in lircd.conf. The format of your Lircmap.xml file is similar to mine, although the device name is different, and most of the button names are different. To be clear, I don't think this is problem with my remote (especially since it works well with other applications). I think that I've made an error in my configuration somewhere, but for the life of me I can find it...
Did you have to modify your Keymap.xml file to get your remote working with XBMC?
frostwork
2009-03-10, 12:26
ajchace,
as the remote works with your other apps, the problem is indeed somewhere
in your Lircmap.xml. Maybe worth a try to use the default samsung lircd.conf
and my above Lircmap.xml.
I didn't touch the Keymap.xml, although it should work to use the remote as
a keyboard without using lirc.
Regarding my repeat "problem".
I guessed right with blaming the required kernel-quirks for my remote.
repeat is not supported:
http://www.nabble.com/-PATCH---USB-IRDA--Bus-001-Device-002:-ID-0419:0001-Samsung-Info.-Systems-America,-Inc.-IrDA-Remote-Controller-td15401649.html