[linux-dvb] Hauppauge Nexus-S v2.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on my nova-s usb v2.2 this code works:
--snipp--
static int ttusb_update_lnb(struct ttusb *ttusb)
{
//      u8 b[] = { 0xaa, ++ttusb->c, 0x16, 5, /*power: */ 1,
//              ttusb->voltage == SEC_VOLTAGE_18 ? 0 : 1,
//              ttusb->tone == SEC_TONE_ON ? 1 : 0, 1, 1
//      };

         int err;
         u8 b[] = { 0xaa, ++ttusb->c,0x31,0x04,0x10,0x01,0x01,
                 ttusb->voltage == SEC_VOLTAGE_18 ? 0x0c :  0x04 };

         /* SetLNB */
         if ((err = ttusb_cmd(ttusb, b, sizeof(b), 0))) {
                 dprintk("%s: usb_bulk_msg() failed, return value %i!\n",
                         __FUNCTION__, err);
         }

         return err;
}
---snap---

  -gregor




[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux