Pages: 1 2 3 4 5 6 7 8 9 10
Th3R00st3r Wrote:irrecord works by running
but I don't know where it's putting a config file!
irw doesn't pick up the codes which leaves me to believe it's my lircd.conf or hardware.conf files.
Anyone have USBUIRT working with a Harmony Remote that I could use their .conf files as a template?
check
this thread for some ideas. It has a pretty good description of the entire process as well as some troubleshooting.
The relevant section:
Quote:Follow the instructions on the screen and when you are finished you should have a new config file "mceusb" or "mcesub.conf" in your current directory. Just copy this config file to your /etc/lirc/ directory:
I checked this myself and it does drop the config file with the name you specify into the directory you are in when you begin the irrecord process.
OK thanks for the tip. What I may end up doing is buying a Microsoft Media Center Edition remote & USB dongle (as I am also setting a Revo up for a friend) and using it to create the files I need. Then I can program my harmony remote to emulate the Microsoft Media Center Edition remote and then give the Microsoft Media Center Edition remote to my friend..
Yep, that should work if you can't get it working as is (or just don't care to spend the time troubleshooting since you have to get another remote anyway)
I am only posting this here as I used the Revo image from the first post and finally got the last part working...
I found my Microsoft IR reciever I had from a while back and am using a Xbox 360 Universal remote.
I checked to see if my IR Reciever was recognized.
Code:
sudo lsusb
Bus 002 Device 002: ID 0471:0815 Philips eHome Infrared Receiver
so I knew it recognized it.
Then I ran irrecord
Code:
sudo irrecord -d /dev/lirc0 /etc/lirc/mce360.conf
and it allowed me to record the button presses by following the on screen instructions.
I copied the recorded file to the lircd.conf file:
Code:
sudo cp /etc/lirc/mce360.conf /etc/lirc/lircd.conf
Change the remote name in my hardware.conf
Code:
REMOTE="Microsoft_Xbox360"
REMOTE_MODULES="lirc_dev lirc_mceusb2"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
START_LIRCMD=""
LOAD_MODULES=""
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
Changed the name in my lircd.conf to match
Code:
# TV button sends no signal and toggles Xbox 360/TV mode. TV mode can be
# signals for any device the remote supports. Volume Up, Volume Down and
# Mute always use the TV mode while the Xbox live guide button always sends
# to the xbox.
begin remote
name Microsoft_Xbox360
bits 13
flags RC6|CONST_LENGTH
eps 30
aeps 100
header 2682 906
one 438 451
zero 438 451
pre_data_bits 24
pre_data 0x1BFF80
gap 107066
toggle_bit_mask 0x8000
rc6_mask 0x100000000
begin codes
OpenClose 0x8BD7
XboxFancyButton 0x0B9B
OnOff 0x8BF3
Stop 0x0BE6
Pause 0x8BE7
Rewind 0x0BEA
FastForward 0x8BEB
Prev 0x0BE4
Next 0x8BE5
Play 0x0BE9
Display 0x8BB0
Title 0x0BAE
DVD_Menu 0x8BDB
Back 0x0BDC
Info 0x8BF0
UpArrow 0x0BE1
LeftArrow 0x8BDF
RightArrow 0x0BDE
DownArrow 0x8BE0
OK 0x0BDD
Y 0x8BD9
X 0x0B97
A 0x8B99
B 0x0BDA
PgDown 0x0B92
PgUp 0x0B93
VolDown 0x0bee
VolUp 0x0bef
Mute 0x0bf1
TV 0x0bb9
Start 0x0BF2
Play 0x8BE9
Enter 0x0BF4
Record 0x8BE8
Clear 0x0BF5
1 0x8BFE
2 0x0BFD
3 0x8BFC
4 0x0BFB
5 0x8BFA
6 0x0BF9
7 0x8BF8
8 0x0BF7
9 0x8BF6
100 0x0BE2
0 0x8BFF
Reload 0x8BE3
end codes
end remote
Ran
and lo and behold I saw button codes when I pressed them..I about crapped myself..
I ran
and restarted the machine. Xbmc came up on the monitor and I started pressing up...nothing..down...nothing..any button..nothing...!
SOOO I figured I had to get the Lircmap.xml and Keymap.xml files configured to map the lirc remote codes to the xbmc codes. I didn't have these files in ~/USER/.xbmc/userdata/ so I copied the ones from
this post and created them. Rebooted the Revo and Viola! Remote is now working...
Thank you to everyone..this was very difficult as all the different parts were scattered about the forums..My Revo is now useable from the couch! I hope my post helps others through the same issues I had. Most of it was my inexperience in liunx commands and directory structure.
Thanks for posting back Rooster. Congrats on getting it working!
Did anyone get round to creating a cut down version of the partimage file? (Not sure if it was lost in the great crash of '010'). I'm interested to playing around with this but I boot my system from a 16Gb flash drive and would prefer to image it to that.
Tolax
Nope, hasn't happened and I haven't heard anyone volunteering to, sorry.
Myrison,
What version of the SVN are you running on your box? Sadly, the image that is being used on this thread is only R26018 and doesn't contain the fix for MPEG2 video in MKV containers that you helped identify on TRAC.
Thanks,
Bahndit
Hi Bahndit. I settled on version 27287, which includes the MKV audio sync fix as well as the fix that allows for PGS subs to be viewed in MKV files.
I haven't noticed any negative effects of that SVN, so I just stuck with it as I didn't need many of the later changes that came in SVN after that revision.
Edit: Nevermind, I finally figured it out.
Myrison,
Do you know how to check out an older SVN, ie 27287, and use it instead of the latest. I know how to check out the latest and compile it myself but I don't know how to use older revisions. If I can get something solid put together maybe I can put up a newer image for this thread. Thanks for your help in advance.
Sincerely,
Bahndit
Just for others who are interested:
Code:
> svn update -r 27287
Would do what Bahndit was asking about.
I use utorrent to grab tv shows that I may have missed and\or not recorded.
Is utorrent an option with this setup if it boots directly into XBMC?
Is there a way to have utorrent running and manage it through the utorent web interface? or do I need to manage that from another pc?
Sorry, I'm not familiar with utorrent. If it runs in Linux and requires a GUI to operate, then you could change the setup to autostart GDM (the GUI) when the machine boots, and then setup an autostart of utorrent from GDM.
You'd be adding the load of running both the GUI and Utorrent on the background though, so it might introduce video judder or other side effects to have more things going on in the background than just running XBMC.
ok, nevermind then. I'll just have to run utorrent on another machine and map the external usb on the Revo to load the files. Thanks!
Can anyone repost the xbmcbuild.zip with the screenshots please? rapidshare is claiming the limit is hit
Cheers,
Matt
Pages: 1 2 3 4 5 6 7 8 9 10