Opened 12 years ago

Closed 11 years ago

#5350 closed defect (fixed)

mythwelcome not working with lirc post QT4

Reported by: Matthew Wire <devel@…> Owned by: paulh
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Since the QT4 merge lirc does not work with mythwelcome.

It works fine with mythfrontend and mythtv-setup and claims to initialise with mythwelcome: "lirc init success using configuration file: /home/mythtv/.lircrc"

The code looks identical and I have been unable to change anything to make it work. This is with latest svn.

Attachments (1)

5350.diff (389 bytes) - added by paulh 11 years ago.
Ignore SIGCHLD patch

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by shiftypowers@…

I can confirm that this is indeed a bug. I am using Feisty Fawn and QT4 compiled SVN version of mythtv

comment:2 Changed 11 years ago by paulh

Owner: changed from Isaac Richards to paulh
Status: newassigned
Version: unknownhead

I can reproduce this also.

Interestingly if it's started as 'mythwelcome -s' then it works on the settings screen. If you start it as 'mythwelcome' and press F11 to show the settings screen it doesn't work! So it appears it's something WelcomeDialog? is/isn't doing that is the problem.

Like you say it initializes properly it is just that lirc_nextcode() in LircClient::Process(void) is blocking and never returns anything.

It's got me stumped for the moment :-(

Changed 11 years ago by paulh

Attachment: 5350.diff added

Ignore SIGCHLD patch

comment:3 Changed 11 years ago by paulh

Matthew, Could you try the attached patch to see if it fixes this problem for you.

comment:4 Changed 11 years ago by Matthew Wire <devel@…>

I've just tried that patch and unfortunately it doesn't seem to have made any difference here.

comment:5 Changed 11 years ago by paulh

(In [17810]) Switch the Lirc, Joystick and AppleRemote? pthreads to QThreads.

Nigel you may want to check the AppleRemote? stuff I couldn't test any of that.

Refs #5350,#5501

comment:6 Changed 11 years ago by paulh

(In [17811]) Initialise the LCD earlier in MythWelcome?. Refs #5350.

comment:7 Changed 11 years ago by paulh

Matthew, Could you please update and try again. It working for me now.

comment:8 Changed 11 years ago by anonymous

It works! Thanks very much for tracking this one down Paul. I guess this ticket can be closed now..

comment:9 Changed 11 years ago by paulh

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.