Opened 16 years ago

Closed 15 years ago

#8507 closed defect (Works for me)

Channel scanning broken - HDHR DVB

Reported by: Nigel Owned by: Nigel
Priority: minor Milestone: unknown
Component: MythTV - HDHomeRun Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Nigel)

SVN trunk and -r23500 seem to do nothing when scanning in mythtv-setup. -r22957 happily tunes, gets data and prompts to insert.

Change History (15)

in reply to:  1 comment:2 by Nigel, 16 years ago

Description: modified (diff)
Status: newassigned

Revs 23011, 2305, 23099 and 23190 all worked.

comment:3 by Nigel, 16 years ago

Description: modified (diff)

comment:4 by Nigel, 16 years ago

Revs 23259 and 23284 also worked.

comment:5 by Nigel, 16 years ago

Looks like -r23468 is the problem.

comment:6 by Nigel, 16 years ago

Status: assignedaccepted

Have tested on both OS X and Linux - same result. Problem was 20100121 library synch, but recent trunk (25254) does not exhibit the fault on OS X. I tried examining the differences between defective synch and current 20100519beta1, but could not work out what caused the change.
Interestingly, Linux with the updated lib did not find anything in a scan. I will have to dig further :-(

comment:7 by stuartm, 16 years ago

Component: MythTV - Channel ScannerMythTV - HDHomeRun

Changing component to HDHomeRun since Silicon Dust are monitoring it.

comment:8 by Nigel, 16 years ago

Just tested 26257 on OS X. Still broken, but patching in libmythhdhomerun 23467 gives working scan.

comment:9 by Silicondust, 16 years ago

nigel - are you using a wireless network between the HDHomeRun and mythbackend by any chance?

If streaming unfiltered over wireless you will saturate the wireless link, thus delaying or preventing control communication. The newer version of libhdhomerun enforces the communication timeout of 2 seconds. The older version of the library requested a 2 second timeout but we found many operating systems ignored this.

If this is the problem we will need to tweak the way mythtv applies the filter during channel scan - let me know and I will set up a test.

Nick

comment:10 by beirdo, 16 years ago

Status: acceptedinfoneeded

comment:11 by Nigel, 16 years ago

Problem is manifest over wires or wireless nets, different switches, et c. Changing the timeout defaults in your code has no effect.
My primitive testing with hdhomerun_config reveals no filters are set, yet nothing is received. As far as I understand our scanning code, a PID filter is not set until ChannelScanSM::HandlePAT() receives a PAT from the device.

comment:12 by Nigel, 16 years ago

And just to annoy me further, retested at home with trunk and tcpdump, and it scanned OK. Now rolling back & rebuilding to bracket possibly related changes.

comment:13 by Nigel, 16 years ago

Scanned OK under MacOS X (both wired and wirelessly). On a Linux machine with a variety of revisions (25525, 23267, 26400ish), it failed to find anything - either wired or wireless. I'm wondering if an OS update on my Mac changed the socket behaviour, but either way, tracing this is becoming very difficult.

comment:14 by robertm, 16 years ago

Status: infoneededassigned

comment:15 by robertm, 15 years ago

Status: assignedinfoneeded

Nigel,

Can you test this with master? I am able to scan correctly in all permutations of configurations with the HDHR DVB-T model simulator.

comment:16 by robertm, 15 years ago

Resolution: Works for me
Status: infoneededclosed

No response, works with simulator.

Note: See TracTickets for help on using tickets.