Re: [PATCH 00/35] Add a driver for Terratec H7
Mauro Carvalho Chehab skrev 2012-01-21 17:04: Terratec H7 is a Cypress FX2 device with a mt2063 tuner and a drx-k demod. This series add support for it. It started with a public tree found at: http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz The driver were almost completely re-written, and it is now working, at least with DVB-C. I don't have a DVB-T signal here for testing, but I suspect it should also work fine. The FX2 firmware has a NEC IR decoder. The driver has support for it. The default keytable has support for the black Terratec IR and for the grey IR with orange keys. The CI support inside the driver is similar to the one found at the az6027 driver. I don't have a CI module here, so it is not tested. Tests and feedback are welcome. A small feedback report. I've tested with the latest media_build and can watch unencrypted channels on the DVB-C network I'm connected to. It seems that the CI-module doesn't work. Nothing happens when I insert a CAM-module with our without a programme card. I haven't tried to use the IR yet. * Okänt - identifierat * Engelska * Svenska * Franska * Tyska * Engelska * Svenska * Franska * Tyska -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
On Thu, Feb 9, 2012 at 10:12 PM, Torfinn Ingolfsen wrote: > Update: > > On Thu, Feb 9, 2012 at 12:04 AM, Torfinn Ingolfsen wrote: >> Never mind. after adding this patch: >> http://patchwork.linuxtv.org/patch/9691/ >> >> and rebuilding the media drivers, the device is now detected: >> tingo@kg-f4:~$ dmesg | grep -i terratec >> [ 19.755806] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 >> (az6007)' in warm state. >> [ 20.949045] DVB: registering new adapter (TerraTec DTV StarBox >> DVB-T/C USB2.0 (az6007)) >> [ 23.732039] Registered IR keymap rc-nec-terratec-cinergy-xs >> [ 23.732442] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) >> successfully initialized and connected. > > I have now tested the TerraTec H7, both with w_scan and with Kaffeine. > Neither of then is able to find any channels from the H7. (The device > is connected to an external power supply). However, if I connect > another device (a PCTV nanoStick T2 290e) to the same cable, both > w_scan and Kaffeine find all the channels for my provider, and I can > watch the clear (unencrypted) ones in Kaffeine. > > How can I debug the H7 further? For anyone using the H7 on DVB-C with success; which firmware are you using? The one included with the experimental "media build" drivers, or ? And what is the device id of your H7? (from lsusb) mine is: tingo@kg-f4:~$ lsusb -s 1:3 Bus 001 Device 003: ID 0ccd:10a3 TerraTec Electronic GmbH -- Regards, Torfinn Ingolfsen -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
Hi Jason, > I didn't test dvb-t terrestrial, but under /dev/dvb i have only one adapter. > Is there no need for two, one for cable, another for terrestrial? Try using dvb-fe-tool from following git: "http://git.linuxtv.org/mchehab/experimental-v4l-utils.git/shortlog/refs/heads/dvbv5-0.0.1"; This tool allow switching the delivery system from DVB-C to DVB-T (and other if supported) Eddi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
Am 09.02.2012 22:12, schrieb Torfinn Ingolfsen: Update: On Thu, Feb 9, 2012 at 12:04 AM, Torfinn Ingolfsen wrote: Never mind. after adding this patch: http://patchwork.linuxtv.org/patch/9691/ and rebuilding the media drivers, the device is now detected: tingo@kg-f4:~$ dmesg | grep -i terratec [ 19.755806] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state. [ 20.949045] DVB: registering new adapter (TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)) [ 23.732039] Registered IR keymap rc-nec-terratec-cinergy-xs [ 23.732442] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) successfully initialized and connected. I have now tested the TerraTec H7, both with w_scan and with Kaffeine. Neither of then is able to find any channels from the H7. (The device is connected to an external power supply). However, if I connect another device (a PCTV nanoStick T2 290e) to the same cable, both w_scan and Kaffeine find all the channels for my provider, and I can watch the clear (unencrypted) ones in Kaffeine. How can I debug the H7 further? Thank you for the hint to the usb-pid patch. That brought my h7 the first dvb pictures with linux. We both seem to have the second revision device. My has the 0ccd:10a3 usb-id. w_scan and dvbscan find channels. With czap i have a signal (FE_HAS_LOCK) but no transport traffic. With mencoder i'm able to get an mpeg, which is corrupt, but there are pictures and sporadically sound, the device receives the dvb-c stream. Typical mencoder statement is: skipping/duplicate frame. I didn't test dvb-t terrestrial, but under /dev/dvb i have only one adapter. Is there no need for two, one for cable, another for terrestrial? ps: Sorry I never used a newsgroup about nttp, with this post i try to get access. I write from moz-thunderbird and don't know if this message will come through. Thanks. ;) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
Update: On Thu, Feb 9, 2012 at 12:04 AM, Torfinn Ingolfsen wrote: > Never mind. after adding this patch: > http://patchwork.linuxtv.org/patch/9691/ > > and rebuilding the media drivers, the device is now detected: > tingo@kg-f4:~$ dmesg | grep -i terratec > [ 19.755806] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 > (az6007)' in warm state. > [ 20.949045] DVB: registering new adapter (TerraTec DTV StarBox > DVB-T/C USB2.0 (az6007)) > [ 23.732039] Registered IR keymap rc-nec-terratec-cinergy-xs > [ 23.732442] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) > successfully initialized and connected. I have now tested the TerraTec H7, both with w_scan and with Kaffeine. Neither of then is able to find any channels from the H7. (The device is connected to an external power supply). However, if I connect another device (a PCTV nanoStick T2 290e) to the same cable, both w_scan and Kaffeine find all the channels for my provider, and I can watch the clear (unencrypted) ones in Kaffeine. How can I debug the H7 further? -- Regards, Torfinn Ingolfsen -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
On Wed, Feb 8, 2012 at 10:32 PM, Torfinn Ingolfsen wrote: > Do I need to do anything special to make this driver work? > I just installed the newest media drivers (by following instructions at > http://git.linuxtv.org/media_build.git) on a maxhine running Xubuntu 11.10: > tingo@kg-f4:~/work/media_ > build$ uname -a > Linux kg-f4 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC > 2012 x86_64 x86_64 x86_64 GNU/Linux > > This machine has a TerraTec H7 connected, lsusb shows: > tingo@kg-f4:~/work/media_build$ sudo lsusb -s 1:6 > Bus 001 Device 006: ID 0ccd:10a3 TerraTec Electronic GmbH > > But after installing the drivers, and after a reboot of the machine, > the dvb-usb-az6007 driver doesn't load. > If I manually do 'sudo modprobe dvb-usb-az6007', the driver loads, but > all I get in dmesg is this: > [ 1049.838911] WARNING: You are using an experimental version of the > media stack. > [ 1049.838917] As the driver is backported to an older kernel, it doesn't > offer > [ 1049.838922] enough quality for its usage in production. > [ 1049.838925] Use it with care. > [ 1049.838928] Latest git patches (needed if you report a bug to > linux-media@vger.kernel.org): > [ 1049.838932] 59b30294e14fa6a370fdd2bc2921cca1f977ef16 Merge branch > 'v4l_for_linus' into staging/for_v3.4 > [ 1049.838936] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] > cxd2820r: sleep on DVB-T/T2 delivery system switch > [ 1049.838941] 46de20a78ae4b122b79fc02633e9a6c3d539ecad [media] > anysee: fix CI init > [ 1049.857524] IR NEC protocol handler initialized > [ 1049.892787] usbcore: registered new interface driver dvb_usb_az6007 > [ 1049.905264] IR RC5(x) protocol handler initialized > [ 1049.919476] IR RC6 protocol handler initialized > [ 1049.929152] IR JVC protocol handler initialized > [ 1049.943103] IR Sony protocol handler initialized > [ 1049.956308] IR SANYO protocol handler initialized > [ 1049.97] IR MCE Keyboard/mouse protocol handler initialized > [ 1049.989256] lirc_dev: IR Remote Control driver registered, major 250 > [ 1050.003618] IR LIRC bridge handler initialized > [ 1445.609008] usb 1-2: USB disconnect, device number 5 > [ 1449.944046] usb 1-2: new high speed USB device number 6 using ehci_hcd > > and there aren't anything created in /dev/dvb. > > What am I doing wrong? Never mind. after adding this patch: http://patchwork.linuxtv.org/patch/9691/ and rebuilding the media drivers, the device is now detected: tingo@kg-f4:~$ dmesg | grep -i terratec [ 19.755806] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state. [ 20.949045] DVB: registering new adapter (TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)) [ 23.732039] Registered IR keymap rc-nec-terratec-cinergy-xs [ 23.732442] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) successfully initialized and connected. -- Regards, Torfinn Ingolfsen -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
Hello, On Sat, Jan 21, 2012 at 5:04 PM, Mauro Carvalho Chehab wrote: > > Terratec H7 is a Cypress FX2 device with a mt2063 tuner and a drx-k > demod. This series add support for it. It started with a public > tree found at: > > http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz > > The driver were almost completely re-written, and it is now working, > at least with DVB-C. I don't have a DVB-T signal here for testing, > but I suspect it should also work fine. > > The FX2 firmware has a NEC IR decoder. The driver has support for > it. The default keytable has support for the black Terratec IR > and for the grey IR with orange keys. > Do I need to do anything special to make this driver work? I just installed the newest media drivers (by following instructions at http://git.linuxtv.org/media_build.git) on a maxhine running Xubuntu 11.10: tingo@kg-f4:~/work/media_ build$ uname -a Linux kg-f4 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux This machine has a TerraTec H7 connected, lsusb shows: tingo@kg-f4:~/work/media_build$ sudo lsusb -s 1:6 Bus 001 Device 006: ID 0ccd:10a3 TerraTec Electronic GmbH But after installing the drivers, and after a reboot of the machine, the dvb-usb-az6007 driver doesn't load. If I manually do 'sudo modprobe dvb-usb-az6007', the driver loads, but all I get in dmesg is this: [ 1049.838911] WARNING: You are using an experimental version of the media stack. [ 1049.838917] As the driver is backported to an older kernel, it doesn't offer [ 1049.838922] enough quality for its usage in production. [ 1049.838925] Use it with care. [ 1049.838928] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org): [ 1049.838932] 59b30294e14fa6a370fdd2bc2921cca1f977ef16 Merge branch 'v4l_for_linus' into staging/for_v3.4 [ 1049.838936] 72565224609a23a60d10fcdf42f87a2fa8f7b16d [media] cxd2820r: sleep on DVB-T/T2 delivery system switch [ 1049.838941] 46de20a78ae4b122b79fc02633e9a6c3d539ecad [media] anysee: fix CI init [ 1049.857524] IR NEC protocol handler initialized [ 1049.892787] usbcore: registered new interface driver dvb_usb_az6007 [ 1049.905264] IR RC5(x) protocol handler initialized [ 1049.919476] IR RC6 protocol handler initialized [ 1049.929152] IR JVC protocol handler initialized [ 1049.943103] IR Sony protocol handler initialized [ 1049.956308] IR SANYO protocol handler initialized [ 1049.97] IR MCE Keyboard/mouse protocol handler initialized [ 1049.989256] lirc_dev: IR Remote Control driver registered, major 250 [ 1050.003618] IR LIRC bridge handler initialized [ 1445.609008] usb 1-2: USB disconnect, device number 5 [ 1449.944046] usb 1-2: new high speed USB device number 6 using ehci_hcd and there aren't anything created in /dev/dvb. What am I doing wrong? -- Regards, Torfinn Ingolfsen -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 00/35] Add a driver for Terratec H7
Mauro Carvalho Chehab skrev 2012-01-21 17:04: Terratec H7 is a Cypress FX2 device with a mt2063 tuner and a drx-k demod. This series add support for it. It started with a public tree found at: http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz I hope this driver is for the device found here: http://www.terratec.net/en/products/TERRATEC_H7_91101.html?premium=1 I'm in need of a CI-capable device that I can use in my DVB-C network since my current device seems to have serious problems with the CAM-card installed. Do you have access to a DVB-C with encrypted channels or do you know if someone is testing this driver in such environment? Otherwise I'm thinking of buying this device. Is the driver available in the media_build bundle? I can probably test DVB-T with encrypted channels too if needed but it's nothing I have at the moment but can possible invest in. PS. The device I have problems with is named like this with lspci. The problems starts when I insert the CAM-card. dmesg says it's inserted but the stream sometimes starts out ok but within a minute I see artifacts and it becomes worse after that. Without card inserted the free channels works like a charm. That's why I'm interested to switch to this device. 08:01.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) Subsystem: KNC One Device 0028 /Yours, Roger.M -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html