From: Mike B. <ip...@sn...> - 2004-04-08 06:59:47
|
Does anyone know why irw seems to work fine when I press buttons on the remote, however when I run irxevent (even as root), it doesn't seem to work at all. By not working, its not printing keys on the screen when the button is pressed on the remote. (ie: button 5) As well in MythTV, the remote doesn't work. However, when I strace irxevent, it shows its getting the button press. I tried using "RootWindow" and "CurrentWindow" in the .lircrc file, neither made a difference. I tried kernel 2.6.2 with LIRC 0.7.0pre1 (which currently works using my WinFast2000 remote), and 2.4.25 with LIRC 0.6.6. Both do exactly the same thing. strace output (notice at the bottom, I pressed buttons: 1,2,3,4,5,6): socket(PF_UNIX, SOCK_STREAM, 0) = 4 connect(4, {sa_family=AF_UNIX, path="/tmp/.lircd"}, 110) = 0 open("/root/.lircrc", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0600, st_size=1655, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(5, "begin\n prog = irxevent\n button = Power Quit\n config = Key Escape RootWindow\n repeat = 1\nend\n \nbegin\n prog = irxevent\n button = Pause\n config = Key p RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = ChanUp\n config = Key Up RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = ChanDown\n config = Key Down RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = Up\n config = Key Page_Up RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = Down\n conf ig = Key Page_Down RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = Right\n config = Key 7 RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = Left\n config = Key 1 RootWindow\n repeat = 1\nend\n\nbegin\n prog = irxevent\n button = Guide Menu\n config = Key m RootWindow\n repeat = 1\n end\n\nbegin\n prog = irxevent\n button = OK Ent\n config = Key KP_Enter RootWindow\n repeat = 1\nend\n\nbe gin\n prog = irxevent\n butt"..., 4096) = 1655 read(5, "", 4096) = 0 close(5) = 0 munmap(0x40018000, 4096) = 0 read(4, "0000000001fc708f 00 1 lircd.conf\n", 100) = 33 read(4, "0000000001fc708f 01 1 lircd.conf\n", 100) = 33 read(4, "0000000001fcb04f 00 2 lircd.conf\n", 100) = 33 read(4, "0000000001fcb04f 01 2 lircd.conf\n", 100) = 33 read(4, "0000000001fc30cf 00 3 lircd.conf\n", 100) = 33 read(4, "0000000001fc30cf 01 3 lircd.conf\n", 100) = 33 read(4, "0000000001fc6a95 00 4 lircd.conf\n", 100) = 33 read(4, "0000000001fc6a95 01 4 lircd.conf\n", 100) = 33 read(4, "0000000001fcaa55 00 5 lircd.conf\n", 100) = 33 read(4, "0000000001fcaa55 01 5 lircd.conf\n", 100) = 33 read(4, "0000000001fc2ad5 00 6 lircd.conf\n", 100) = 33 read(4, "0000000001fc2ad5 01 6 lircd.conf\n", 100) = 33 read(4, 0x804ce80, 100) = ? ERESTARTSYS (To be restarted) --- SIGINT (Interrupt) @ 0 (0) --- +++ killed by SIGINT +++ Thanks. -- Mike <ip...@sn...> |