Page 1 of 1

Just cannot get irtrans to run under Mythbunto 10.10

PostPosted: Sun 8. May 2011, 06:36
by jollster101
Hi,

I have an irtrans receiver inside an x15e case and for the life of me I have been unable to get it running under Mythbuntu 10.10.

I have completed the following to date but no matter what I try I cannot get irserver to run.

Executed install.sh for irtrans drivers
IRTrans Software was installed in /usr/local/irtrans

If I check this directory then the files are all there. I have then tried to run the irtrans server in debug mode using the following command but I get an error when I do

htpcuser@HTPC:/usr/local/irtrans$ irserver -loglevel 4 -debug_code dev/ttyusb0
irserver: command not found
htpcuser@HTPC:/usr/local/irtrans$

I have tried the command in a few different variations and all come up with exactly the same error. I have followed everything in the PDF manual to the letter without success. No matter what I do I cannot get irserver running.

I have run dmesg and checked the output and ttyusb0 is what the irtrans has been assigned.

Can anybody please provide any help as this is driving me nuts.

Cheers

Re: Just cannot get irtrans to run under Mythbunto 10.10

PostPosted: Sun 8. May 2011, 16:42
by IRTrans
It looks like the current directory is not in your PATH.

Please try "./irserver -loglevel 4 -debug_code dev/ttyusb0"

Maybe you will need to run it as superuser ("root").

IRTrans

Re: Just cannot get irtrans to run under Mythbunto 10.10

PostPosted: Wed 15. Jun 2011, 11:44
by jollster101
Code: Select all
htpcuser@HTPC:/usr/local/irtrans$ sudo ./irserver -loglevel 4 -debug_code dev/ttyusb0
Init Server Socket done
IRServer64 Version 6.03.09
Init Events done
Init communication ...
Init communication ...
Init communication ...
Error opening COM/USB Port / LAN Device
htpcuser@HTPC:/usr/local/irtrans$


Does anybody know what may be the issue with the install I have? The code above is the error message I get when I try to run irserver using the debug mode.

Any ideas anyone?

Thanks

Re: Just cannot get irtrans to run under Mythbunto 10.10

PostPosted: Wed 15. Jun 2011, 12:43
by IRTrans
Please check which device node is assigned to the IRTrans device. There should be a message in the syslog when you connect the USB device.
Please check if /dev/ttyusb0 exists at all.

IRTrans

Re: Just cannot get irtrans to run under Mythbunto 10.10

PostPosted: Mon 4. Jul 2011, 23:07
by jollster101
SUCCESS !!!! :D

I have been able to get the app running in debug mode and happily cycled through the button presses and they all register with the relevant command.

One last thing if I may, I have read the part in your manual about starting the server automatically in the background using the daemon switch within the irserver command. The manual mentions having to put an entry in to one of the rc files.

Does anybody know which one? Being new to all things Linux, I don't want to put it into the wrong spot.

Any help would be appreciated and then hopefully I will be off and running.

Thanks