Author Topic: Lirc stops working after some time  (Read 1375 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
Lirc stops working after some time
« on: September 06, 2005, 08:47:08 am »
Hi,

I have recently spotted problems with running lirc. At the start it worked all the time (when Pluto guys helped me to set it up), but after few days it stopped working - it starts and everything looks OK in the logs, but if started manually I get this :

Code: newbielink:javascript:void(0); [nonactive]

dcerouter_260:~$ /usr/pluto/bin/LIRC_DCE -d 6731 -r localhost
LIRC_DCE, v.2.0.0.28
Visit www.plutohome.com for source code and license information

10      09/06/05 8:40:58.800            Device: 6731 starting.  Connecting to: localhost
10      09/06/05 8:40:58.860            LIRC button: Power will fire: 0 -203 1 194
10      09/06/05 8:40:58.861            LIRC button: 1 will fire: 0 -203 1 28 26 16
10      09/06/05 8:40:58.861            LIRC button: One will fire: 0 -203 1 28 26 16
10      09/06/05 8:40:58.861            LIRC button: 2 will fire: 0 -203 1 28 26 17
10      09/06/05 8:40:58.861            LIRC button: Two will fire: 0 -203 1 28 26 17
10      09/06/05 8:40:58.861            LIRC button: 3 will fire: 0 -203 1 28 26 18
10      09/06/05 8:40:58.861            LIRC button: Three will fire: 0 -203 1 28 26 18
10      09/06/05 8:40:58.861            LIRC button: 4 will fire: 0 -203 1 28 26 19
10      09/06/05 8:40:58.862            LIRC button: Four will fire: 0 -203 1 28 26 19
10      09/06/05 8:40:58.862            LIRC button: 5 will fire: 0 -203 1 28 26 20
10      09/06/05 8:40:58.862            LIRC button: Five will fire: 0 -203 1 28 26 20
10      09/06/05 8:40:58.862            LIRC button: 6 will fire: 0 -203 1 28 26 21
10      09/06/05 8:40:58.862            LIRC button: Six will fire: 0 -203 1 28 26 21
10      09/06/05 8:40:58.862            LIRC button: 7 will fire: 0 -203 1 28 26 22
10      09/06/05 8:40:58.863            LIRC button: Seven will fire: 0 -203 1 28 26 22
10      09/06/05 8:40:58.863            LIRC button: 8 will fire: 0 -203 1 28 26 23
10      09/06/05 8:40:58.863            LIRC button: Eight will fire: 0 -203 1 28 26 23
10      09/06/05 8:40:58.863            LIRC button: 9 will fire: 0 -203 1 28 26 24
10      09/06/05 8:40:58.863            LIRC button: Nine will fire: 0 -203 1 28 26 24
10      09/06/05 8:40:58.863            LIRC button: 0 will fire: 0 -203 1 28 26 25
10      09/06/05 8:40:58.864            LIRC button: Zero will fire: 0 -203 1 28 26 25
10      09/06/05 8:40:58.864            LIRC button: enter will fire: 0 -203 1 28 26 5
10      09/06/05 8:40:58.864            LIRC button: chup will fire: 0 -106 1 65 5 +1
10      09/06/05 8:40:58.864            LIRC button: skipfwd will fire: 0 -106 1 65 5 +1
10      09/06/05 8:40:58.864            LIRC button: ChanUp will fire: 0 -106 1 65 5 +1
10      09/06/05 8:40:58.864            LIRC button: SkipNext will fire: 0 -106 1 65 5 +1
10      09/06/05 8:40:58.864            LIRC button: chdown will fire: 0 -106 1 65 5 -1
10      09/06/05 8:40:58.865            LIRC button: skipback will fire: 0 -106 1 65 5 -1
10      09/06/05 8:40:58.865            LIRC button: ChanDown will fire: 0 -106 1 65 5 -1
10      09/06/05 8:40:58.865            LIRC button: SkipPrior will fire: 0 -106 1 65 5 -1
10      09/06/05 8:40:58.865            LIRC button: fastforward will fire: 0 -106 1 41 43 +2
10      09/06/05 8:40:58.866            LIRC button: Forward will fire: 0 -106 1 41 43 +2
10      09/06/05 8:40:58.866            LIRC button: Rewind will fire: 0 -106 1 41 43 -2
10      09/06/05 8:40:58.866            LIRC button: Pause will fire: 0 -106 1 39
10      09/06/05 8:40:58.866            LIRC button: Play will fire: 0 -106 1 37
10      09/06/05 8:40:58.866            LIRC button: Mute will fire: 0 -106 1 97
10      09/06/05 8:40:58.866            LIRC button: Stop will fire: 0 -106 1 95
10      09/06/05 8:40:58.866            LIRC button: Down will fire: 0 -203 1 201
10      09/06/05 8:40:58.867            LIRC button: Up will fire: 0 -203 1 200
10      09/06/05 8:40:58.867            LIRC button: Left will fire: 0 -203 1 202
10      09/06/05 8:40:58.867            LIRC button: Right will fire: 0 -203 1 203
10      09/06/05 8:40:58.867            LIRC button: ok will fire: 0 -203 1 190
10      09/06/05 8:40:58.867            LIRC button: voldn will fire: 0 -106 1 90
10      09/06/05 8:40:58.868            LIRC button: VolDown will fire: 0 -106 1 90
10      09/06/05 8:40:58.868            LIRC button: VolUp will fire: 0 -106 1 89
10      09/06/05 8:40:58.868            LIRC button: recorded_tv will fire: 0 -203 1 401 29 5
10      09/06/05 8:40:58.868            LIRC button: DVD will fire: 0 -106 1 43
10      09/06/05 8:40:58.868            LIRC button: tv will fire: 0 -106 1 43 29 1
10      09/06/05 8:40:58.868            LIRC button: live_tv will fire: 0 -106 1 43 29 1
10      09/06/05 8:40:58.869            LIRC button: LiveTV will fire: 0 -106 1 43 29 1
10      09/06/05 8:40:58.869            LIRC button: Back will fire: 0 -203 1 240
10      09/06/05 8:40:58.869            LIRC button: Clear will fire: 0 -203 1 363
10      09/06/05 8:40:58.869            LIRC button: epg will fire: 0 -203 1 126
10      09/06/05 8:40:58.869            LIRC button: Guide will fire: 0 -203 1 126
10      09/06/05 8:40:58.869            LIRC button: start will fire: 0 -203 1 5 3 <%=M%>
10      09/06/05 8:40:58.870            LIRC button: Home will fire: 0 -203 1 5 3 <%=M%>
10      09/06/05 8:40:58.870            LIRC button: Music will fire: 0 -203 1 401 29 4
10      09/06/05 8:40:58.870            LIRC button: Radio will fire: 0 -106 1 43 29 6
10      09/06/05 8:40:58.870            LIRC button: Record will fire: 0 -106 1 102
10      09/06/05 8:40:58.870            LIRC button: display will fire: 0 -203 1 399
10      09/06/05 8:40:58.870            LIRC button: info will fire: 0 -203 1 399
10      09/06/05 8:40:58.870            Making hardware config
10      09/06/05 8:40:58.871            No SerialPort selected, selecting default /dev/lirc
10      09/06/05 8:40:58.871            ->Using Driver default in database
10      09/06/05 8:40:58.876            Added remote ATI_Remote_Wonder device 6732 layout B
05      09/06/05 8:40:58.943            Creating Leeching Thread
10      09/06/05 8:40:58.944            Connect OK
10      09/06/05 8:40:58.944            Leeching
10      09/06/05 8:40:58.945            Requesthandler 0x806d5e8 (device: 6731) runThread now running
10      09/06/05 8:41:14.498            Key Pressed. 2 (00000014e30e0000 00 2 ATI_Remote_Wonder
), repeat 0, time diff 1125988874s498013us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:14.498            Sending Message Type 1 ID 28
10      09/06/05 8:41:14.521            Screen type now
10      09/06/05 8:41:14.634            Key Pressed. 2 (00000014e30e0000 01 2 ATI_Remote_Wonder
), repeat 1, time diff 0s135781us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:14.770            Key Pressed. 2 (00000014e30e0000 02 2 ATI_Remote_Wonder
), repeat 2, time diff 0s271757us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:15.858            Key Pressed. 2 (00000014e30e0000 00 2 ATI_Remote_Wonder
), repeat 0, time diff 1s359555us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:15.858            Sending Message Type 1 ID 28
10      09/06/05 8:41:15.994            Key Pressed. 2 (00000014e30e0000 01 2 ATI_Remote_Wonder
), repeat 1, time diff 0s135992us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:16.232            Screen type now
10      09/06/05 8:41:16.785            Key Pressed. 3 (00000014e40f0000 00 3 ATI_Remote_Wonder
), repeat 0, time diff 1s-72152us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:16.786            Sending Message Type 1 ID 28
10      09/06/05 8:41:16.921            Key Pressed. 3 (00000014e40f0000 01 3 ATI_Remote_Wonder
), repeat 1, time diff 0s135970us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:17.705            Key Pressed. 1 (00000014e20d0000 00 1 ATI_Remote_Wonder
), repeat 0, time diff 1s-80171us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:17.705            Sending Message Type 1 ID 28
10      09/06/05 8:41:17.841            Key Pressed. 1 (00000014e20d0000 01 1 ATI_Remote_Wonder
), repeat 1, time diff 0s135977us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:18.393            Key Pressed. 4 (00000014e5100000 00 4 ATI_Remote_Wonder
), repeat 0, time diff 1s-312098us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:18.393            Sending Message Type 1 ID 28
10      09/06/05 8:41:18.529            Key Pressed. 4 (00000014e5100000 01 4 ATI_Remote_Wonder
), repeat 1, time diff 0s135950us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:18.993            Key Pressed. 5 (00000014e6110000 00 5 ATI_Remote_Wonder
), repeat 0, time diff 0s599891us name ATI_Remote_Wonder device 6732
10      09/06/05 8:41:18.993            Sending Message Type 1 ID 28
05      09/06/05 8:41:19.021            Lost connection with lircd
dcerouter_260:~$


and it seems like it looses connections with lircd. It's funny cause it happens after approx 20 secs all the time - regardless if I press buttons or not... Is there any timeout built in?

Since pluto has its own lirc daemon, I would need further instructions how to debug this one.....

2 things changed that I remember and maybe could cause this:
- partial upgrade of system (3 packages are at new versions)
- when setting up lirc with Radu - we switched to stock lirc binary - but it worked for a few days....
of course maybe something else also happened, but I'm not aware of it...

I'm using ATI Remote Wonder (lirc_atiusb kernel module).

Regards,

Rob.