Re: media_build: getting a TerraTec H7 working?

2013-02-01 Thread Torfinn Ingolfsen
Hi,

On Fri, Feb 1, 2013 at 9:07 AM, Mauro Carvalho Chehab
mche...@redhat.com wrote:

 Well, I prefer to not use w_scan for DVB-C. It will take a long time to
 run, as it will try a large number of possibilities and still it might
 not find the channels, if your cable operator is using some weird setup


I don't think my cable operator is doing anything weird. As I wrote in
my original post:  (using a different DVBC-adapter, w_scan finds
almost 200 channels).
FWIW, w_scan completes in about 30 minutes here.


 w_scan by default tries only QAM-64 and QAM-256, as those are the typical
 modulation types used, but it is up to your cable operator to decide. They
 might be doing something weird.

See my comment above; w_scan works with another DVB-C adapter, and
finds almost 200 channels.
Why wouldn't it work with the H7?

 It should be noticed that DVB-C2 is not supported by this frontend.

Noted.
Not that I think it matters for me.


-- 
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


media_build: getting a TerraTec H7 working?

2013-01-31 Thread Torfinn Ingolfsen
Hi,
I'm trying to get a TerraTec H7 working. I started with Xubuntu 12.04,
using kernel 3.2.24:
tingo@kg-f4:~/work/w_scan-2012$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 12.04.1 LTS
Release:12.04
Codename:   precise

tingo@kg-f4:~/work/w_scan-2012$ uname -a
Linux kg-f4 3.2.24 #2 SMP Wed Sep 5 01:14:55 CEST 2012 x86_64 x86_64
x86_64 GNU/Linux

I have this H7 variant:
tingo@kg-f4:~/work/w_scan-2012$ lsusb -s 2:2
Bus 002 Device 002: ID 0ccd:10a3 TerraTec Electronic GmbH

I added the media_build tree, by following these instructions:
http://git.linuxtv.org/media_build.git

relevant parts of dmesg output:
[9.008181] WARNING: You are using an experimental version of the
media stack.
[9.008186]  As the driver is backported to an older kernel, it doesn't offer
[9.008188]  enough quality for its usage in production.
[9.008190]  Use it with care.
[9.008191] Latest git patches (needed if you report a bug to
linux-media@vger.kernel.org):
[9.008193]  a32f7d1ad3744914273c6907204c2ab3b5d496a0 Merge branch
'v4l_for_linus' into staging/for_v3.9
[9.008195]  6b9e50c463efc5c361496ae6a895cc966ff8025b [media]
stv090x: On STV0903 do not set registers of the second path
[9.008198]  f67102c49a123b32a4469b28407feb52b37144f5 [media]
mb86a20s: remove global BER/PER counters if per-layer counters vanish
[9.013452] usbcore: registered new interface driver dvb_usb_az6007

[9.014108] usb 2-1: dvb_usb_v2: found a 'Terratec H7' in cold state

[9.746658] usb 2-1: dvb_usb_v2: downloading firmware from file
'dvb-usb-terratec-h7-az6007.fw'
[9.770522] usb 2-1: dvb_usb_v2: found a 'Terratec H7' in warm state

[   11.008581] usb 2-1: dvb_usb_v2: will pass the complete MPEG2
transport stream to the software demuxer
[   11.008625] DVB: registering new adapter (Terratec H7)
[   11.011489] usb 2-1: dvb_usb_v2: MAC address: c2:cd:0c:a3:10:00
[   11.025188] drxk: frontend initialized.
[   11.036565] usb 2-1: DVB: registering adapter 0 frontend 0 (DRXK)...
[   11.047302] mt2063_attach: Attaching MT2063
[   11.072035] Registered IR keymap rc-nec-terratec-cinergy-xs
[   11.072230] input: Terratec H7 as
/devices/pci:00/:00:13.2/usb2/2-1/rc/rc0/input13
[   11.072346] rc0: Terratec H7 as
/devices/pci:00/:00:13.2/usb2/2-1/rc/rc0
[   11.072354] usb 2-1: dvb_usb_v2: schedule remote query interval to 400 msecs
[   11.072361] usb 2-1: dvb_usb_v2: 'Terratec H7' successfully
initialized and connected
[   11.088076] drxk: status = 0x439130d9
[   11.088085] drxk: detected a drx-3913k, spin A2, xtal 27.000 MHz

I get this in /dev:
tingo@kg-f4:~/work/w_scan-2012$ ls -l /dev/dvb/adapter0
total 0
crw-rw+ 1 root video 212, 3 Jan 31 21:06 ca0
crw-rw+ 1 root video 212, 0 Jan 31 21:06 demux0
crw-rw+ 1 root video 212, 1 Jan 31 21:06 dvr0
crw-rw+ 1 root video 212, 4 Jan 31 21:06 frontend0
crw-rw+ 1 root video 212, 2 Jan 31 21:06 net0

But when I scan with w_scan, it doesn't find any channels:
tingo@kg-f4:~/work/w_scan-2012$ ./w_scan -fc -c NO -C ISO-8859-1
w_scan version 2012 (compiled for DVB API 5.4)
using settings for NORWAY
DVB cable
DVB-C
scan type CABLE, channellist 7
output format vdr-1.6
output charset 'ISO-8859-1'
Info: using DVB adapter auto detection.
/dev/dvb/adapter0/frontend0 - CABLE DRXK DVB-C DVB-T: good :-)
Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0)
-_-_-_-_ Getting frontend capabilities-_-_-_-_
Using DVB API 5.a
frontend 'DRXK DVB-C DVB-T' supports
INVERSION_AUTO
QAM_AUTO not supported, trying QAM_64 QAM_256.
FEC_AUTO
FREQ (47.00MHz ... 865.00MHz)
SRATE (0.870MSym/s ... 11.700MSym/s)
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
searching QAM64...
73000: sr6900 (time: 00:02) sr6875 (time: 00:05)
(lots of output snipped)
842000: sr6900 (time: 13:07) sr6875 (time: 13:10)
85: sr6900 (time: 13:13) sr6875 (time: 13:15)
858000: sr6900 (time: 13:18) sr6875 (time: 13:20)

ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!

And yes - the H7 is connected to a cable with a DVB-C signal on it
(using a different DVBC-adapter, w_scan finds lamost 200 channels).

What more can I do to get this H7 working?
-- 
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: dvb lock patch

2012-04-23 Thread Torfinn Ingolfsen
On Sat, Apr 21, 2012 at 2:18 PM, Josu Lazkano josu.lazk...@gmail.com wrote:

 Thanks Torfinn!

 I get it working with modules compilation, that great!

Good to hear that you got it working.


 apt-get install linux-source-3.2
 cd /usr/src/
 tar -xjvf linux-source-3.2.tar.bz2
 cd linux-source-3.2/
 wget http://kipdola.be/subdomain/linux-2.6.38-dvb-mutex.patch
 patch -p1 linux-2.6.38-dvb-mutex.patch (I must do it manually, maybe
 for the kernel version)
 cp /boot/config-3.2.0-2-686-pae .config
 cp ../linux-headers-3.2.0-2-686-pae/Module.symvers .
 make oldconfig
 make prepare
 make scripts
 make modules SUBDIRS=drivers/media/dvb/
 cp drivers/media/dvb/dvb-core/dvb-core.ko
 /lib/modules/3.2.0-2-686-pae/kernel/drivers/media/dvb/dvb-core/
 (reboot)

 I am not software developer and I have no idea what means race
 conditions, is this sasc-ng or linux driver problem?

Sorry, I'm also not a developer, so I can't tell. :)
As long as the driver works, I'm happy.
-- 
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: dvb lock patch

2012-04-19 Thread Torfinn Ingolfsen
2012/4/18 Josu Lazkano josu.lazk...@gmail.com:
 El día 18 de abril de 2012 21:19, Mauro Carvalho Chehab
 mche...@redhat.com escribió:
 Em 18-04-2012 15:58, Ezequiel García escreveu:
 Josu,

 On Tue, Apr 17, 2012 at 10:30 AM, Josu Lazkano josu.lazk...@gmail.com 
 wrote:
 2012/3/24 Mauro Carvalho Chehab mche...@redhat.com:
 [snip]

 That doesn't sound right to me, and can actually cause race issues.

 Regards,
 Mauro.

 Thanks for the patch Mauro.


 I think Mauro is *not* giving you a patch, rather the opposite:
 pointing out that the patch can
 cause problems!

 Yes. The driver will be unreliable with a patch like that, due to
 race conditions.

 Regards,
 Ezequiel.

 Regards,
 Mauro.

 Thanks anyway.

 I am looking for a solution to use virtual adapters on MythTV to use
 my satellite provider card on two machines.
 With 2.6.32 kernel is working great, but there is no way to work with
 3.x kernel.

 Is anyone using sasc-ng with latest kernel?


Would kernel 3.0.0.15 do?
If so, descriptions on how I did it here:
http://sites.google.com/site/tingox/digitaltv_sascng
http://sites.google.com/site/tingox/asrock_e350m1_xubuntu

Note: these are my work notes, not a how-to!

As you can see, I'm using this patch:
http://kipdola.be/subdomain/linux-2.6.38-dvb-mutex.patch

It seems to work for me (had it running with Kaffeine on encrypted
channesl for two weeks in a row)

HTH
-- 
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: cxd2820r: i2c wr failed (PCTV Nanostick 290e)

2012-03-15 Thread Torfinn Ingolfsen
Hello,

On Thu, Mar 15, 2012 at 9:14 PM, Keith Edmunds k...@midnighthax.com wrote:
 I posted the message below last week, but I've had no response.

 Is this the wrong list? Did I do something wrong in my posting?

 I would like fix this problem, and I have more information now, but I
 don't want to clutter this list if it's the wrong place.

 Guidance as to what I should do gratefully received: thanks.

FWIW,
I haven't tested my nanoStick T2 (model 290e) with anything else than
Kaffeine, but it has been running for many days, and I haven't seen
the problem you describe.
I'm using Xubuntu 11.10:
tingo@kg-f4:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 11.10
Release:11.10
Codename:   oneiric
tingo@kg-f4:~$ 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

and media drivers (from http://git.linuxtv.org/media_build.git) built
on 2012-02-08.

HTH

 Hi List

 I'm having lots of problems with my PCTV Nanostick 290e under MythTV. Is
 this the best place to report these problems?

 I'm happy to provide whatever detail is needed, but in summary:

  - every day or two, I get the error messages logged below. I need to
    reboot the back end to clear them.

  - when the back end comes back up, 'lsusb' doesn't show the 290e. I have
    to unplug it, wait a few seconds, then plug it back in again

 This is extremely frustrating. When it works, it's great; when it
 doesn't, recordings fail.

 The following errors are reported repeatedly:

 Mar  9 10:02:03 woodlands kernel: [ 6006.157991] cxd2820r: i2c wr failed
 ret:-110 reg:85 len:1
 Mar  9 10:02:05 woodlands kernel: [ 6008.511994] cxd2820r: i2c wr failed
 ret:-110 reg:00 len:1
 Mar  9 10:02:08 woodlands kernel: [ 6011.208909] cxd2820r: i2c wr failed
 ret:-110 reg:85 len:1
 Mar 9 10:02:10 woodlands kernel: [ 6013.566440] cxd2820r: i2c wr failed
 ret:-110 reg:00 len:1

 MythTV backend details:
  - Debian v6.0.4 (Squeeze)
  - Debian multimedia repository
  - Myth version 0.24.2-0.0squeeze1 (as packaged by repository)
  - Kernel: 2.6.32-5-686-bigmem (I've also tried 3.2.0-0.bpo.1-686-pae,
    both Debian-packaged)
  - Tuners: 2 x Hauppauge Nova-T Stick (USB) and 1 x PCTV Nanostick 290e
    (also USB)
  - no module load parameters specified
  - tuning delay 750mS for each tuner
  - drivers for the 290e built using the media_build scripts
    (http://git.linuxtv.org/media_build.git)

 Many thanks,
 Keith


 --
 You can have everything in life you want if you help enough other people
 get what they want - Zig Ziglar.

 Who did you help today?
 --
 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



-- 
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

2012-02-14 Thread Torfinn Ingolfsen
On Thu, Feb 9, 2012 at 10:12 PM, Torfinn Ingolfsen tin...@gmail.com wrote:
 Update:

 On Thu, Feb 9, 2012 at 12:04 AM, Torfinn Ingolfsen tin...@gmail.com 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

2012-02-09 Thread Torfinn Ingolfsen
Update:

On Thu, Feb 9, 2012 at 12:04 AM, Torfinn Ingolfsen tin...@gmail.com 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

2012-02-08 Thread Torfinn Ingolfsen
Hello,

On Sat, Jan 21, 2012 at 5:04 PM, Mauro Carvalho Chehab
mche...@redhat.com 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

2012-02-08 Thread Torfinn Ingolfsen
On Wed, Feb 8, 2012 at 10:32 PM, Torfinn Ingolfsen tin...@gmail.com 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: DVB driver for TerraTec H7 - how do I install them?

2011-05-14 Thread Torfinn Ingolfsen
Update:
There is a new / updated driver for the H7 over at TerraTec's site:
http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz

and this time, it includes instructions. Using these instructions and
Xubuntu 10.10 with this kernel:
tingo@vm:~$ uname -a
Linux vm 2.6.35-28-generic-pae #50-Ubuntu SMP Fri Mar 18 20:43:15 UTC
2011 i686 GNU/Linux

I was able to get the H7 recognized. From /var/log/messages:
May 14 23:59:26 vm kernel: [ 4226.560048] usb 1-2: new high speed USB
device using ehci_hcd and address 3
May 14 23:59:27 vm kernel: [ 4227.007366] az6007: henry :: az6007 usb
module init
May 14 23:59:27 vm kernel: [ 4227.007551] az6007: usb in operation failed. (-32)
May 14 23:59:27 vm kernel: [ 4227.007795] az6007: FW GET_VERSION length: -32
May 14 23:59:27 vm kernel: [ 4227.007796]
May 14 23:59:27 vm kernel: [ 4227.007798] az6007: cold: 1
May 14 23:59:27 vm kernel: [ 4227.007798]
May 14 23:59:27 vm kernel: [ 4227.007800] dvb-usb: found a 'TerraTec
DTV StarBox DVB-T/C USB2.0 (az6007)' in cold state, will try to load a
firmware
May 14 23:59:27 vm kernel: [ 4227.009825] dvb-usb: downloading
firmware from file 'dvb-usb-az6007-03.fw'
May 14 23:59:27 vm kernel: [ 4227.084577] dvb-usb: found a 'TerraTec
DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state.
May 14 23:59:27 vm kernel: [ 4227.084674] dvb-usb: will pass the
complete MPEG2 transport stream to the software demuxer.
May 14 23:59:27 vm kernel: [ 4227.302655] DVB: registering new adapter
(TerraTec DTV StarBox DVB-T/C USB2.0 (az6007))
May 14 23:59:27 vm kernel: [ 4227.311991] dvb-usb: MAC address:
c2:cd:0c:a3:10:00
May 14 23:59:27 vm kernel: [ 4227.312475] az6007:
az6007_frontend_poweron adap=f34ee88c adap-dev=f34ee000
May 14 23:59:27 vm kernel: [ 4227.312478]
May 14 23:59:28 vm kernel: [ 4227.720338] az6007: az6007_frontend_poweron
May 14 23:59:28 vm kernel: [ 4227.720343]
May 14 23:59:28 vm kernel: [ 4227.720349] az6007:
az6007_frontend_reset adap=f34ee88c adap-dev=f34ee000
May 14 23:59:28 vm kernel: [ 4227.720352]
May 14 23:59:28 vm kernel: [ 4228.332027] az6007: reset az6007 frontend
May 14 23:59:28 vm kernel: [ 4228.332032]
May 14 23:59:28 vm kernel: [ 4228.332036] az6007: az6007_frontend_attach
May 14 23:59:28 vm kernel: [ 4228.332038]
May 14 23:59:28 vm kernel: [ 4228.332040] az6007: az6007_drxk3913_config_DVBT
May 14 23:59:28 vm kernel: [ 4228.332042]
May 14 23:59:28 vm kernel: [ 4228.332046] state-frontend.ops =
drxk3913_ops_dvbt
May 14 23:59:28 vm kernel: [ 4228.332053] mt2063_attach: Attaching MT2063
May 14 23:59:28 vm kernel: [ 4228.332057] az6007: found STB6100
DVB-C/DVB-T frontend @0xc0
May 14 23:59:28 vm kernel: [ 4228.332059]
May 14 23:59:28 vm kernel: [ 4228.332066] DVB: registering adapter 0
frontend 0 (DRXK3913 Multistandard DVB_T)...
May 14 23:59:28 vm kernel: [ 4228.332278] input: IR-receiver inside an
USB DVB receiver as
/devices/pci:00/:00:13.5/usb1/1-2/input/input4
May 14 23:59:28 vm kernel: [ 4228.332335] dvb-usb: schedule remote
query interval to 400 msecs.
May 14 23:59:28 vm kernel: [ 4228.332341] dvb-usb: TerraTec DTV
StarBox DVB-T/C USB2.0 (az6007) successfully initialized and
connected.
May 14 23:59:28 vm kernel: [ 4228.332385] usbcore: registered new
interface driver dvb_usb_az6007

Unfortunately, I am not able to test if the driver works just now,
because currently the driver only supports DVB-T, and I only have
DVB-C.
-- 
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: Bulding az6007 module fails

2011-02-28 Thread Torfinn Ingolfsen
Hello,

On Mon, Feb 28, 2011 at 4:49 PM, Malte Gell malte.g...@gmx.de wrote:
 Hello,

 Terratec has released sources for the AzureWave 6007 chipset at
 http://linux.terratec.de/files/TERRATEC_H7_Linux.tar.gz

 I have merged these sources into a 2.6.38-rc tree and tried to compile these
 modules, but I get an error.

I tried that myself a while ago (note: I'm not very familiar with
Linux drivers, so I might have done it wrong). Anyway, my effort is
documented here:
http://sites.google.com/site/tingox/asus_m2a-vm_hdmi_linux

Let us know if you
a) get any help
b) figure out a solution

Have a nice day.
-- 
Regards,
Torfinn Ingolfsen,
Norway
--
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: DVB driver for TerraTec H7 - how do I install them?

2011-01-28 Thread Torfinn Ingolfsen
Update:

On Wed, Jan 26, 2011 at 6:35 PM, Bjørn Mork bj...@mork.no wrote:

 Sure is.  But even if you get past the build errors, you'll soon
 discover that Terratec forgot to include the necessary firmware as
 well.  You can find it and some other hints in this thread:
 http://www.vdr-portal.de/board/thread.php?threadid=103040

I just installed yaVDR 0.3.0 on a machine and connected the TerraTec
H7 to it, in the hope that the necessary drivers was included with
yaVDR already (I'm not very good at reading german). Yes, I did copy
the firmware  to /lib/firmware first.
Unfortunately, it doesn't look like the drivers for H7 are included. I
have now posted a question on the vdr-portal.de forum, I'll post here
if it leads to anything.
-- 
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: DVB driver for TerraTec H7 - how do I install them?

2011-01-26 Thread Torfinn Ingolfsen
Hello,

On Wed, Jan 26, 2011 at 12:55 AM, Devin Heitmueller
dheitmuel...@kernellabs.com wrote:
 On Tue, Jan 25, 2011 at 6:29 PM, Torfinn Ingolfsen tin...@gmail.com wrote:
 Anybody?

 If Terratec provided the driver, any support related questions should
 be directed to them, not to this list.

That is the point: TerraTec states that these are third-party drivers,
and they provide no support (as far as we can't give you a better
answer).
So I am just trying to find out where those drivers came from, and if
somebody has any experience / a how-to or something.

This list seemed to to be the logical place to ask.
-- 
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: DVB driver for TerraTec H7 - how do I install them?

2011-01-26 Thread Torfinn Ingolfsen
Hi,

On Wed, Jan 26, 2011 at 6:35 PM, Bjørn Mork bj...@mork.no wrote:
 Sure is.  But even if you get past the build errors, you'll soon
 discover that Terratec forgot to include the necessary firmware as
 well.  You can find it and some other hints in this thread:
 http://www.vdr-portal.de/board/thread.php?threadid=103040


At least I know more now, even if it doesn't help me. :-)
Thanks!
-- 
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: DVB driver for TerraTec H7 - how do I install them?

2011-01-25 Thread Torfinn Ingolfsen
On Tue, Jan 11, 2011 at 8:47 PM, Torfinn Ingolfsen tin...@gmail.com wrote:
 Hi,

 On Fri, Dec 31, 2010 at 10:45 PM, Torfinn Ingolfsen tin...@gmail.com wrote:
 Ok,
 I downloaded drivers for the TerraTec H7 from here: http://linux.terratec.de/
 This file to be exact: 
 http://linux.terratec.de/files/TERRATEC_H7_Linux.tar.gz
 Which supposedly contains drivers for the H7.

 I am running Xubuntu 10.04:
 tingo@kg-htpc:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID: Ubuntu
 Description:    Ubuntu 10.04.1 LTS
 Release:        10.04
 Codename:       lucid
 tingo@kg-htpc:~$ uname -a
 Linux kg-htpc 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC
 2010 i686 GNU/Linux

 I followed this guide[1] to get and install a new v4l-dvb, which worked fine.
 Then I did 'make distclean' and copied the files from the
 TERRATEC_H7_Linux.tar.gz file to where I thought they should be, and
 tried recompiling the v4l-dvb tree.
 That didn't work, the compilation aborted:
  CC [M]  /home/tingo/work/v4l-dvb/v4l/au6610.o
  CC [M]  /home/tingo/work/v4l-dvb/v4l/az6007.o
 In file included from /home/tingo/work/v4l-dvb/v4l/az6007.c:11:
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h: In function 'tuner_MT2063_Open':
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:62: error:
 'DVBFE_TUNER_OPEN' undeclared (first use in this function)
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:62: error: (Each undeclared
 identifier is reported only once
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:62: error: for each function
 it appears in.)
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h: In function
 'tuner_MT2063_SoftwareShutdown':
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:83: error:
 'DVBFE_TUNER_SOFTWARE_SHUTDOWN' undeclared (first use in this
 function)
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h: In function
 'tuner_MT2063_ClearPowerMaskBits':
 /home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:104: error:
 'DVBFE_TUNER_CLEAR_POWER_MASKBITS' undeclared (first use in this
 function)
 /home/tingo/work/v4l-dvb/v4l/az6007.c: At top level:
 /home/tingo/work/v4l-dvb/v4l/az6007.c:157: warning: excess elements in
 struct initializer
 /home/tingo/work/v4l-dvb/v4l/az6007.c:157: warning: (near
 initialization for 'az6007_rc_keys[0]')
 /home/tingo/work/v4l-dvb/v4l/az6007.c:158: warning: excess elements in
 struct initializer
 /home/tingo/work/v4l-dvb/v4l/az6007.c:158: warning: (near
 initialization for 'az6007_rc_keys[1]')
 /home/tingo/work/v4l-dvb/v4l/az6007.c:535: error:
 'USB_PID_AZUREWAVE_6007' undeclared here (not in a function)
 /home/tingo/work/v4l-dvb/v4l/az6007.c:536: error:
 'USB_PID_TERRATEC_H7' undeclared here (not in a function)
 make[3]: *** [/home/tingo/work/v4l-dvb/v4l/az6007.o] Error 1
 make[2]: *** [_module_/home/tingo/work/v4l-dvb/v4l] Error 2
 make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-27-generic'
 make[1]: *** [default] Error 2
 make[1]: Leaving directory `/home/tingo/work/v4l-dvb/v4l'
 make: *** [all] Error 2

 So obviously I'm doing something wrong.
 How do I install those drivers for the TerraTec H7?

 Oh, and best wishes for the new year to everyone!

 References:
 1) 
 http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
 --
 Regards,
 Torfinn Ingolfsen
 Norway


 Nobody has any idea?

 --
 Regards,
 Torfinn Ingolfsen


Anybody?

-- 
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


DVB driver for TerraTec H7 - how do I install them?

2010-12-31 Thread Torfinn Ingolfsen
Ok,
I downloaded drivers for the TerraTec H7 from here: http://linux.terratec.de/
This file to be exact: http://linux.terratec.de/files/TERRATEC_H7_Linux.tar.gz
Which supposedly contains drivers for the H7.

I am running Xubuntu 10.04:
ti...@kg-htpc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 10.04.1 LTS
Release:10.04
Codename:   lucid
ti...@kg-htpc:~$ uname -a
Linux kg-htpc 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC
2010 i686 GNU/Linux

I followed this guide[1] to get and install a new v4l-dvb, which worked fine.
Then I did 'make distclean' and copied the files from the
TERRATEC_H7_Linux.tar.gz file to where I thought they should be, and
tried recompiling the v4l-dvb tree.
That didn't work, the compilation aborted:
 CC [M]  /home/tingo/work/v4l-dvb/v4l/au6610.o
 CC [M]  /home/tingo/work/v4l-dvb/v4l/az6007.o
In file included from /home/tingo/work/v4l-dvb/v4l/az6007.c:11:
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h: In function 'tuner_MT2063_Open':
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:62: error:
'DVBFE_TUNER_OPEN' undeclared (first use in this function)
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:62: error: (Each undeclared
identifier is reported only once
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:62: error: for each function
it appears in.)
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h: In function
'tuner_MT2063_SoftwareShutdown':
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:83: error:
'DVBFE_TUNER_SOFTWARE_SHUTDOWN' undeclared (first use in this
function)
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h: In function
'tuner_MT2063_ClearPowerMaskBits':
/home/tingo/work/v4l-dvb/v4l/mt2063_cfg.h:104: error:
'DVBFE_TUNER_CLEAR_POWER_MASKBITS' undeclared (first use in this
function)
/home/tingo/work/v4l-dvb/v4l/az6007.c: At top level:
/home/tingo/work/v4l-dvb/v4l/az6007.c:157: warning: excess elements in
struct initializer
/home/tingo/work/v4l-dvb/v4l/az6007.c:157: warning: (near
initialization for 'az6007_rc_keys[0]')
/home/tingo/work/v4l-dvb/v4l/az6007.c:158: warning: excess elements in
struct initializer
/home/tingo/work/v4l-dvb/v4l/az6007.c:158: warning: (near
initialization for 'az6007_rc_keys[1]')
/home/tingo/work/v4l-dvb/v4l/az6007.c:535: error:
'USB_PID_AZUREWAVE_6007' undeclared here (not in a function)
/home/tingo/work/v4l-dvb/v4l/az6007.c:536: error:
'USB_PID_TERRATEC_H7' undeclared here (not in a function)
make[3]: *** [/home/tingo/work/v4l-dvb/v4l/az6007.o] Error 1
make[2]: *** [_module_/home/tingo/work/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-27-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/tingo/work/v4l-dvb/v4l'
make: *** [all] Error 2

So obviously I'm doing something wrong.
How do I install those drivers for the TerraTec H7?

Oh, and best wishes for the new year to everyone!

References:
1) 
http://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers
--
Regards,
Torfinn Ingolfsen
Norway
--
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