diff options
author | Patrick Boettcher <devnull@localhost> | 2005-02-19 09:13:58 +0000 |
---|---|---|
committer | Patrick Boettcher <devnull@localhost> | 2005-02-19 09:13:58 +0000 |
commit | fa6b156a6e41359640346fb80ac0a7119052a32c (patch) | |
tree | 7a97f9eeb2c4d64240074a30d8e4c77b9639bb77 /linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c | |
parent | 2e6008d1229ef6fd097931b3377f4e14ed21b773 (diff) | |
download | mediapointer-dvb-s2-fa6b156a6e41359640346fb80ac0a7119052a32c.tar.gz mediapointer-dvb-s2-fa6b156a6e41359640346fb80ac0a7119052a32c.tar.bz2 |
- added native nova-t support, since only the nova-t firmware works with the nova-t remote control
- added keys statically (maybe we should find something to sort this out... cinergyt2 is doing the same)
Diffstat (limited to 'linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c')
-rw-r--r-- | linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c index 1cdc596f3..a2f4c3172 100644 --- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c +++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c @@ -117,9 +117,14 @@ int dibusb_hw_sleep(struct dvb_frontend *fe) u8 b[1] = { DIBUSB_IOCTL_POWER_SLEEP }; deb_info("dibusb-device is going to bed.\n"); /* workaround, something is wrong, when dibusb 1.1 device are going to bed too late */ - if (dib->dibdev->dev_cl->id != DIBUSB1_1) - dibusb_ioctl_cmd(dib,DIBUSB_IOCTL_CMD_POWER_MODE, b,1); - + switch (dib->dibdev->dev_cl->id) { + case DIBUSB1_1: + case NOVAT_USB2: + break; + default: + dibusb_ioctl_cmd(dib,DIBUSB_IOCTL_CMD_POWER_MODE, b,1); + break; + } if (dib->fe_sleep) return dib->fe_sleep(fe); @@ -137,6 +142,7 @@ int dibusb_streaming(struct usb_dibusb *dib,int onoff) switch (dib->dibdev->dev_cl->id) { case DIBUSB2_0: case DIBUSB2_0B: + case NOVAT_USB2: if (onoff) return dibusb_ioctl_cmd(dib,DIBUSB_IOCTL_CMD_ENABLE_STREAM,NULL,0); else |