On 2/8/2013 4:43 PM, Joe wrote:
On 2/7/2013 4:03 PM, Ben Drawbaugh wrote:
I've spent countless hours trying to figure out why I'm able to emit IR using my USB-UIRT connected to my Raspberry Pi that is running Raspbian Wheezy(3.2.27+ #250 PREEMPT). Successfully tested the hardware on another computer.

I installed lirc via "sudo apt-get install lirc" and can verify receive IR is working by creating a remote config file using irrecord and then using irw to verify that the learned commands are detected. But I'm not able to emit IR, instead irsend returns:
irsend: command failed: SEND_ONCE NewRemote KEY_UP
irsend: transmission failed


If I run lircd with the --nodameon command, there are some errors, but I haven't found a solution online. 
lircd-0.9.0-pre1[5562]: accepted new client on /var/run/lirc/lircd
lircd-0.9.0-pre1[5562]: uirt2_raw: checksum error
lircd-0.9.0-pre1[5562]: uirt2_raw: UIRT version 0905 ok
lircd-0.9.0-pre1[5562]: uirt2_raw: UIRT version 0905
lircd-0.9.0-pre1[5562]: uirt2_send: remote not supported
lircd-0.9.0-pre1[5562]: error processing command: SEND_ONCE NewRemote KEY_UP
lircd-0.9.0-pre1[5562]: transmission failed
lircd-0.9.0-pre1[5562]: removed client


The best thing I've come up with is that there is something wrong with the kernel driver that is preventing this from working. But all the posts that lead me to believe that are very old and I'm not sure how to verify the problem. 

Any help would be appreciated. Thanks!
Ben


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb

try to run lircd with strace.

ex.

"strace lircd --device=/dev/lirc0 --output=/var/run/lirc/lircd --pidfile=/var/run/lirc/lircd.pid --logfile=/var/log/lircd.log"

then run irsend using your remote name

ex "irsend -d /var/run/lirc/lircd SEND_ONCE NewRemote KEY_UP"

Please reference my experience with USB drivers with a new z77 chipset

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=40935&forum=55

My end solution was going back to a serial blaster from irblaster.info

With any luck the strace will show you where it's failing.

Joe