9.11 b2 XBOX remote woes - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: 9.11 b2 XBOX remote woes (/showthread.php?tid=63939) Pages:
1
2
|
9.11 b2 XBOX remote woes - newb2linux - 2009-12-12 hey guys. First I would love to say great job on B2!! Woot.. I just finished a fresh install and was trying to setup my XBOX remote with b2. No luck!! I had save a tutorial and tried to edit lirc to add my original xbox remote with usb IR mod. (worked before the update) Has anyone been able to get it to work with XBMC 9.11 yet?? If so how.. - newb2linux - 2009-12-12 Here is what I used to do.. but no longer works with 9.11 Steps needed to get it all to work after you’ve connected it to the computer. 1. WinSCP has FTP and Putty. (freeware) 2. Get root access 3. Setup files STEP 1 Download WinSCP (freeware) http://winscp.net/eng/download.php STEP 2 1- Open Putty (freeware) 2- type in the field "Hostname (or IP adress)" the IP of your xbmc then press open 3- it will ask you for name type: xbmc 4- then the actual password type: xbmc then press enter (note it will seem like your not typing but you are) 5- you are loged in 6- Now type: sudo passwd root 7- Follow the instructions Enter old password then new one Your all done STEP 3 First off some vim commands to understand what your doing w Write (Save) q Quit (Close) wq Write and Quit. (Save and Close) q! Force Quit (Close without saving changes) To get started 1- Open Putty (freeware) 2- type in the field "Hostname (or IP adress)" the IP of your xbmc then press open 3- it will ask you for name type: root 4- then the NEW password (note it will seem like your not typing but you are) 5- you are loged in type: sudo rm /etc/lirc/hardware.conf type: sudo pico /etc/lirc/hardware.conf copy and paste ( if there is anything in the file delete everything then paste): __________________________________________________ ________ # /etc/lirc/hardware.conf # # Arguments which will be used when launching lircd LIRCD_ARGS="" #Don't start lircmd even if there seems to be a good config file #START_LIRCMD=false #Try to load appropriate kernel modules LOAD_MODULES=true # Run "lircd --driver=help" for a list of supported drivers. DRIVER="" # If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be # automatically used instead DEVICE="/dev/lirc0" MODULES="lirc_atiusb lirc_dev lirc_i2c" # Default configuration files for your hardware if any LIRCD_CONF="/etc/lirc/lircd.conf" LIRCMD_CONF="" # /etc/lirc/hardware.conf __________________________________________________ ________ type: ctrl x, y, then enter type: sudo rm /etc/lirc/lircd.conf type: sudo pico /etc/lirc/lircd.conf copy and paste ( if there is anything in the file delete everything then paste): __________________________________________________ ________ # # LIRCD configuration file for Xbox DVD Kit # # Marko Friedemann <mfr|bmx-chemnitz.de> # # # brand: Microsoft # model: Xbox DVD Remote # supported devices: Xbox DVD Remote via xpad-ir driver # # comment: EXPERIMENTAL # begin remote name XboxDVDDongle bits 8 begin codes SELECT 0x0b UP 0xa6 DOWN 0xa7 RIGHT 0xa8 LEFT 0xa9 INFO 0xc3 9 0xc6 8 0xc7 7 0xc8 6 0xc9 5 0xca 4 0xcb 3 0xcc 2 0xcd 1 0xce 0 0xcf DISPLAY 0xd5 BACK 0xd8 SKIP- 0xdd SKIP+ 0xdf STOP 0xe0 REVERSE 0xe2 FORWARD 0xe3 TITLE 0xe5 PAUSE 0xe6 PLAY 0xea MENU 0xf7 end codes end remote __________________________________________________ ________ press ctrl x, y , then enter. Now you need to remove Xpad type: sudo pico /etc/modprobe.d/blacklist.conf (NOTE do not delete anything in this file just add) press i then press down arrow until you reach the end of the writing. now type:blacklist xpad pres ctrl x, y , then enter Close down Putty restart you xbmc system All done should work - markcleveland - 2009-12-12 I've had all types of woes with getting the remote to to work since 9.11 alpha 1... I installed beta 2 today, and it works! a little bit of background on what I have running. ASRock Ion 330-BD Superjoy Box 10 (http://www.mayflash.com/pc/pc019/images/10-2.jpg) Xbox DVD Dongle A Harmony remote (and an original Xbox DVD Remote) I currently have a triple-boot system going, Windows 7, Ubutnu 9.10, & xbmc. I deleted the beta 1 installation I had of xbmc during installation of and did a clean install of xbmc. after the install was complete I booted in to Ubuntu and mounted the xbmc file system, went in to the /etc/lirc folder and renamed these 3 files in there. hardware.conf -> hardware.conf.bak lircd.conf -> lircd.conf.bak lircmd.conf -> lircmd.conf.bak now using gedit (the built in text editor in ubuntu), I created 3 files (in the same /etc/lirc folder) hardware.conf Code: # /etc/lirc/hardware.conf lircd.conf Code: # lircmd.conf Code: # Using gedit I also created 2 files in this same (/etc/lirc) folder called Keymap.xml & Lircmap.xml (yes, they're exactly the same). Code: <keymap> And finally using gedit again, i opened up the etc/modprobe.d/blacklist.conf file and added Code: blacklist xpad I rebooted, and it worked! I couldn't believe it.. after ages of trying and trying with alpha 2 & beta 1, it finalfuckingly worked! the only issue I'm having now is that when I press 3, 6 and 9, it doesn't control the volume in xbmc, but I haven't bothered to mess with that yet.. should be a simple fix. I've probably added a few extra steps to getting this working, but it's all very simple to do.. I would highly suggest doing the file editing and creation through ubuntu, I've tried ftp'ing from windows and using putty.exe.. much simpler, cleaner and easier through ubuntu. - voltage53 - 2009-12-12 I have tried markcleveland's suggestions and now I receive information when I type "sudo irw" ... i.e. each button responds and shows up in the console however when I run xbmc the remote does not do anything. Any suggestions? The keymaps appear to be correct, however the xbmc.log file says the lirc connection is refused. I'm definately missing something! - markcleveland - 2009-12-12 voltage53, you're installing beta 2? installing to hard drive? rebooted? - gswarriorfan - 2009-12-13 mark, I'm close to buying an ASRock Ion 330, and I really like the idea of triple booting windows 7, ubuntu, and xbmc live. I also have a harmony remote that I would like to use. Do you have a write-up anywhere that is easy to follow for a set up like yours? If not, do you have anywhere you can point me? Thanks! - voltage53 - 2009-12-13 yup :| I just did a complete format/reinstall of the b2 live cd. Following your instructions to the note has no effect. Running irw gives me "connect: No such file or directory" I can get the irw program to work by doing the following: sudo lircd sudo irw However, nothing shows up in irw when I push a button. Creating a symbolic link makes the remote respond: sudo ln -s /dev/lirc0 /dev/lirc gives: 00000000000000a7 00 DOWN XboxDVDDongle 00000000000000a7 00 DOWN XboxDVDDongle But it still refuses to work in xbmc, the logs show: 13:26:06 T:3078309776 M:2028773376 INFO: LIRC Initialize: connect failed: No such file or directory 13:26:06 T:3078309776 M:2028773376 DEBUG: Failed to connect to LIRC. Retry in 10s. What am I doing wrong!? I have checked my /etc/lirc/hardware.conf and START_LIRCD="true" is set, so I don't understand why I have to manually start lircd. My lsusb is as follows: Bus 003 Device 003: ID 045e:0284 Microsoft Corp. Xbox DVD Playback Kit Dmesg: [ 7.217750] lirc_dev: IR Remote Control driver registered, major 61 [ 7.226011] lirc_atiusb: USB remote driver for LIRC $Revision: 1.85 $ [ 7.226013] lirc_atiusb: Paul Miller <pmiller9@users.sourceforge.net> [ 7.226034] lirc_dev: lirc_register_driver: sample_rate: 0 [ 7.226070] lirc_atiusb[3]: on usb3:3 [ 7.226087] usbcore: registered new interface driver lirc_atiusb Heh, at the moment its the ony thing stopping me from moving this computer into the lounge room! - newb2linux - 2009-12-13 Couldnt get it working here either. . SADFACE! - Bagger - 2009-12-13 voltage53 Wrote:What am I doing wrong!? that was roughly the problem I was having after following the above guide by markcleveland LIRCD just wouldn't start, just kept getting "Failed" when it tried to start Managed to fix it though Code: sudo dpkg-reconfigure lirc This will re-write your lircd.conf Once done I then added this to the bottom of the new lircd.conf Code: # rebooted and then the remote worked fine in xbmc - newb2linux - 2009-12-13 This isnt working for me either.. Does it matter that Im using the XBOX IR mounted to a usb header ? - Bagger - 2009-12-13 newb2linux Wrote:This isnt working for me either.. Does it matter that Im using the XBOX IR mounted to a usb header ? Thats exactly how I did mine. Took apart an old USB back plate, removing the usb sockets and soldering the wires to the IR dongle, then its plugged straight onto a usb header. - newb2linux - 2009-12-13 I removed and reinstalled LIRC.. I jsut cant get this dam thing to work. . What are the steps that I would need to do from a fresh install.. I need to see what Im missing. . - Bagger - 2009-12-13 Looking a my hardware.conf it seems as if i selected ="Actisys Act200L SIR driver support" by mistake when doing the sudo dpkg-reconfigure lirc. but it works I can post my hardware.conf, lircd.conf, lircmd.conf If you think it`ll help - Bagger - 2009-12-13 Code: sudo nano /etc/lirc/hardware.conf Code: # /etc/lirc/hardware.conf Code: sudo nano /etc/lirc/lircd.conf Code: #This configuration has been automatically generated via Code: sudo nano /etc/lirc/lircmd.conf Code: # - markcleveland - 2009-12-14 After a bit of experimenting last night.. turns out I didn't need any keymap.xml or lircmap.xml files at all.. just the hardware.conf, lircd.conf, lircmd.conf, and the modification to the blacklist.conf file. I would strongly suggest going through ubuntu to create/modify those files, maybe create entirely new files through gedit in ubutnu. /usr/share/xbmc/system/keymaps/remote.xml the configuration of what the remote does is stored in there, i was able to change what 3, 6 & 9 do. http://forum.xbmc.org/showthread.php?tid=64047 |