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

Gregor Kroesen kroesen at rembrandtstr.de
Mon Mar 14 17:18:28 CET 2005


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





More information about the linux-dvb mailing list