2009-08-26, 22:12
Hello All,
I'm kind of wet behind the ears when it comes to linux but, I'm trying to catch on by searching and reading this forum. However, I have an issue with trying to get the "mode2" command to work so I can see what button presses my dongle (Xbox DVD Dongle converted to USB) is receiving from my Harmony 520.
I'm able to login to my console successfully and I can run "irw" with no problems and get the feed back from button presses on my remote that are in the lircd.conf. Now the remote and dongle are working flawlessly with the basic functions in XBMC but, I wanted to access more buttons that came with the remote layout (Universal up to 256 commands).
When I try to run "mode2" I get a Permission denied. Now before I ran "mode2" I attempted to kill daemon with this command:
"start-stop-daemon --stop --exec /dev/lircd -- --device=/dev/lirc0"
This command came back with: "No /dev/lircd found running: none killed."
So I went along and put in this command:
"mode2 --device=/dev/lirc0 -- raw"
It come back with "Permission Denied"
I have also tried: "sudo mode2 --device=/dev/lirc0 -- raw" but, it just says: "Device or resource busy."
Now can somebody please enlighten me on what I maybe am doing wrong because I would like to take advantage of my universal remote.
Any help would be appreciated.
P.S. I have searched for weeks for a solid answer
I'm kind of wet behind the ears when it comes to linux but, I'm trying to catch on by searching and reading this forum. However, I have an issue with trying to get the "mode2" command to work so I can see what button presses my dongle (Xbox DVD Dongle converted to USB) is receiving from my Harmony 520.
I'm able to login to my console successfully and I can run "irw" with no problems and get the feed back from button presses on my remote that are in the lircd.conf. Now the remote and dongle are working flawlessly with the basic functions in XBMC but, I wanted to access more buttons that came with the remote layout (Universal up to 256 commands).
When I try to run "mode2" I get a Permission denied. Now before I ran "mode2" I attempted to kill daemon with this command:
"start-stop-daemon --stop --exec /dev/lircd -- --device=/dev/lirc0"
This command came back with: "No /dev/lircd found running: none killed."
So I went along and put in this command:
"mode2 --device=/dev/lirc0 -- raw"
It come back with "Permission Denied"
I have also tried: "sudo mode2 --device=/dev/lirc0 -- raw" but, it just says: "Device or resource busy."
Now can somebody please enlighten me on what I maybe am doing wrong because I would like to take advantage of my universal remote.
Any help would be appreciated.
P.S. I have searched for weeks for a solid answer