2010-01-07, 17:17
gekados Wrote:add this to /etc/init/tty2.conf :
/path.to/xboxdrv --wid 0 -s -l 2 --dpad-as-button --deadzone 12000
(edit the path to match your setup)
should do the trick.
thanks! i tried many different things with this file but nothing worked.
do i need to replace
"exec /sbin/getty ..."
with
"exec /home/mityama/xboxdrv_for_XBMC_live.v1/xboxdrv_for_XBMC_live.9.04.jaunty.sh --wid 0 -s -l 2 --dpad-as-button --deadzone 12000"
or just ad the above line?
Can I just add a command like I would in the command line? (Then I would at least know the command should work.) Like:
cd /home/mityama/xboxdrv_for_XBMC_live.v1 && sudo ./xboxdrv_for_XBMC_live.9.04.jaunty.sh
EDIT: Got it working! In the end it was so easy that I'd like to bump my head into the next wall. I just added the following line to /etc/rc.local to call the script:
cd /home/mityama/xboxdrv_for_XBMC_live.v1 && sh ./xboxdrv_for_XBMC_live.9.04.jaunty.sh