{"id":108,"date":"2010-12-31T00:22:52","date_gmt":"2010-12-31T00:22:52","guid":{"rendered":"http:\/\/www.fbcs.co.uk\/wp\/?p=108"},"modified":"2010-12-31T00:22:52","modified_gmt":"2010-12-31T00:22:52","slug":"hauppauge-nova-s-plus-and-the-22khz-tone","status":"publish","type":"post","link":"https:\/\/wp.fbcs.co.uk\/hauppauge-nova-s-plus-and-the-22khz-tone\/","title":{"rendered":"Hauppauge Nova-S-Plus and the 22KHz tone"},"content":{"rendered":"

Yes, this works:<\/p>\n

http:\/\/www.whizzy.org\/2010\/08\/hauppauge-wintv-nova-s-plus-on-linux\/<\/a><\/pre>\n

I downloaded the patch from https:\/\/bugzilla.kernel.org\/show_bug.cgi?id=9476<\/a> where it's included as the attachment at the top of the page.  For the record, the patch is this:<\/p>\n

--- isl6421.c\t2009-06-12 11:25:45.000000000 +0200\n+++ isl6421.c\t2009-06-12 14:16:52.000000000 +0200\n@@ -89,6 +89,30 @@\n \treturn (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO;\n }\n \n+static int isl6421_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone)\n+{\n+    struct isl6421 *isl6421 = (struct isl6421 *) fe->sec_priv;\n+    struct i2c_msg msg = {    .addr = isl6421->i2c_addr, .flags = 0,\n+                \t      .buf = &isl6421->config,\n+              \t\t      .len = sizeof(isl6421->config) };\n+\n+    switch (tone) {\n+    case SEC_TONE_ON:\n+        isl6421->config |= ISL6421_ENT1;\n+        break;\n+    case SEC_TONE_OFF:\n+        isl6421->config &= ~ISL6421_ENT1;\n+        break;\n+    default:\n+        return -EINVAL;\n+    }\n+\n+    isl6421->config |= isl6421->override_or;\n+    isl6421->config &= isl6421->override_and;\n+\n+    return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO;\n+}\n+\n static void isl6421_release(struct dvb_frontend *fe)\n {\n \t\/* power off *\/\n@@ -130,6 +154,7 @@\n \n \t\/* override frontend ops *\/\n \tfe->ops.set_voltage = isl6421_set_voltage;\n+\tfe->ops.set_tone = isl6421_set_tone;\n \tfe->ops.enable_high_lnb_voltage = isl6421_enable_high_lnb_voltage;\n \n \treturn fe;\n<\/pre>\n
    \n
  1. Get set up for compiling a kernel (there's documentation on the net about how to do that for your system).  Compile and install a 'vanilla' kernel to prove that it will work before applying the patch.<\/li>\n
  2. cd \/usr\/src\/linux\/drivers\/media\/dvb\/frontends<\/li>\n
  3. patch < whatever\/you\/saved\/the\/patch<\/li>\n
  4. recompile the kernel, reboot to use it, and then try to scan the extra transports using 'scan' or mythtv-setup or whatever.<\/li>\n<\/ol>\n

    (This post isn't finished yet)<\/p>\n","protected":false},"excerpt":{"rendered":"

    Yes, this works: http:\/\/www.whizzy.org\/2010\/08\/hauppauge-wintv-nova-s-plus-on-linux\/ I downloaded the patch from https:\/\/bugzilla.kernel.org\/show_bug.cgi?id=9476 where it's included as the attachment at the top of the page.  For the record, the patch is this: — isl6421.c 2009-06-12 11:25:45.000000000 +0200 +++ isl6421.c 2009-06-12 14:16:52.000000000 +0200 @@ -89,6 +89,30 @@ return (i2c_transfer(isl6421->i2c, &msg, 1) == 1) ? 0 : -EIO; } +static […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[24,15],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/108"}],"collection":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":0,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}