All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Mihai Dobrescu <msdobrescu@gmail.com>
Cc: Fredrik Lingvall <fredrik.lingvall@gmail.com>,
	linux-media@vger.kernel.org
Subject: Re: Hauppauge HVR-930C problems
Date: Wed, 11 Jan 2012 08:53:31 -0200	[thread overview]
Message-ID: <4F0D6A2B.6050802@redhat.com> (raw)
In-Reply-To: <CALJK-QjMHLYTFd48Ou9iAkcuUZ-LW=ryT9U=0YBup5S7t26Kqg@mail.gmail.com>

On 11-01-2012 03:28, Mihai Dobrescu wrote:
> I've got the sources, I've successfully built everything.
> Where should I expect to have the binary files after the make install?

By default, make install puts everything inside /usr/local.

So, the binaries should be at /usr/local/bin.

Regards,
Mauro
> 
> Thank you.
> 
> On Tue, Jan 10, 2012 at 10:35 PM, Mauro Carvalho Chehab
> <mchehab@redhat.com> wrote:
>> On 10-01-2012 18:23, Mihai Dobrescu wrote:
>>> I can't find dvb-fe-util tool.
>>
>> http://git.linuxtv.org/v4l-utils.git/blob/ad284d9ef6600e091515b0abd7cec64736097265:/utils/dvb/dvb-fe-tool.c
>>
>> Regards,
>> Mauro
>>
>>>
>>> On Tue, Jan 10, 2012 at 9:41 PM, Mauro Carvalho Chehab
>>> <mchehab@redhat.com> wrote:
>>>> On 10-01-2012 17:30, Mihai Dobrescu wrote:
>>>>> Hello,
>>>>>
>>>>> Just compiled the latest again, but still no difference.
>>>>> kaffeine doesn't see any source in channels dialog, two devices are in
>>>>> 'Configure Television' dialog: DRXK DVB-C - device not connected - as
>>>>> Device 1 and DRXK DVB-C DVB-T as Device 2. Concerning the last one, no
>>>>> source is selected, as I am in Romania, which is not in the list
>>>>> scan_w finds nothing.
>>>>>
>>>>> What should I do next?
>>>>
>>>> Kaffeine doesn't work with MFE tuners (at least not the version I have).
>>>> It only sees one delivery system.
>>>>
>>>> If you're using the very latest version of the driver (the one at the
>>>> media-build tree), you can use the dvb-fe-util tool to change
>>>> the delivery system to DVB-C or to DVB-T.
>>>>
>>>> The tool is now part of the v4l-utils.
>>>>
>>>> You may also request a Kaffeine developer or to submit a patch for it,
>>>> in order to add support on it to detect the frontend supported
>>>> delivery systems and to change it dynamically.
>>>>
>>>>>
>>>>> Regards, Mike.
>>>>>
>>>>> On Tue, Jan 10, 2012 at 4:42 PM, Fredrik Lingvall
>>>>> <fredrik.lingvall@gmail.com> wrote:
>>>>>> On 12/25/11 16:56, Fredrik Lingvall wrote:
>>>>>>>
>>>>>>> On 12/18/11 10:20, Fredrik Lingvall wrote:
>>>>>>>>
>>>>>>>> On 12/17/11 20:53, Mihai Dobrescu wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Mihai,
>>>>>>>>>
>>>>>>>>> I got some success. I did this,
>>>>>>>>>
>>>>>>>>> # cd /usr/src (for example)
>>>>>>>>>
>>>>>>>>> # git clone git://linuxtv.org/media_build.git
>>>>>>>>>
>>>>>>>>> # emerge dev-util/patchutils
>>>>>>>>> # emerge Proc-ProcessTable
>>>>>>>>>
>>>>>>>>> # cd media_build
>>>>>>>>> # ./build
>>>>>>>>> # make install
>>>>>>>>>
>>>>>>>>> Which will install the latest driver on your running kernel (just in
>>>>>>>>> case
>>>>>>>>> make sure /usr/src/linux points to your running kernel sources). Then
>>>>>>>>> reboot.
>>>>>>>>>
>>>>>>>>> You should now see that (among other) modules have loaded:
>>>>>>>>>
>>>>>>>>> # lsmod
>>>>>>>>>
>>>>>>>>> <snip>
>>>>>>>>>
>>>>>>>>> em28xx                 93528  1 em28xx_dvb
>>>>>>>>> v4l2_common             5254  1 em28xx
>>>>>>>>> videobuf_vmalloc        4167  1 em28xx
>>>>>>>>> videobuf_core          15151  2 em28xx,videobuf_vmalloc
>>>>>>>>>
>>>>>>>>> Then try w_scan and dvbscan etc. I got mythtv to scan too now. There
>>>>>>>>> were
>>>>>>>>> some warnings and timeouts and I'm not sure if this is normal or not.
>>>>>>>>>
>>>>>>>>> You can also do a dmesg -c while scanning to monitor the changes en the
>>>>>>>>> kernel log.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> /Fredrik
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> In my case I have:
>>>>>>>>>
>>>>>>>>> lsmod |grep em2
>>>>>>>>> em28xx_dvb             12608  0
>>>>>>>>> dvb_core               76187  1 em28xx_dvb
>>>>>>>>> em28xx                 82436  1 em28xx_dvb
>>>>>>>>> v4l2_common             5087  1 em28xx
>>>>>>>>> videodev               70123  2 em28xx,v4l2_common
>>>>>>>>> videobuf_vmalloc        3783  1 em28xx
>>>>>>>>> videobuf_core          12991  2 em28xx,videobuf_vmalloc
>>>>>>>>> rc_core                11695  11
>>>>>>>>>
>>>>>>>>> rc_hauppauge,ir_lirc_codec,ir_mce_kbd_decoder,ir_sanyo_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,em28xx,ir_nec_decoder
>>>>>>>>> tveeprom               12441  1 em28xx
>>>>>>>>> i2c_core               14232  9
>>>>>>>>>
>>>>>>>>> xc5000,drxk,em28xx_dvb,em28xx,v4l2_common,videodev,tveeprom,nvidia,i2c_i801
>>>>>>>>>
>>>>>>>>> yet, w_scan founds nothing.
>>>>>>>>
>>>>>>>>
>>>>>>>> I was able to scan using the "media_build" install method described above
>>>>>>>> but when trying to watch a free channel the image and sound was stuttering
>>>>>>>> severly. I have tried both MythTV and mplayer with similar results.
>>>>>>>>
>>>>>>>> I created the channel list for mplayer with:
>>>>>>>>
>>>>>>>> lintv ~ # dvbscan -x0 -fc /usr/share/dvb/dvb-c/no-Oslo-Get -o zap >
>>>>>>>> .mplayer/channels.conf
>>>>>>>>
>>>>>>>> And, for example,  I get this output from mplayer plus a very (blocky)
>>>>>>>> stuttering image and sound:
>>>>>>>>
>>>>>>>> lin-tv ~ # mplayer dvb://1@"TV8 Oslo" -ao jack
>>>>>>>>
>>>>>>>
>>>>>>> I did some more tests with release snapshots 2011-12-13, 2011-12-21, and
>>>>>>> 2011-12-25, respectively. I did this by changing
>>>>>>>
>>>>>>> LATEST_TAR :=
>>>>>>> http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
>>>>>>> LATEST_TAR_MD5 :=
>>>>>>> http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
>>>>>>>
>>>>>>> in linux/Makefile to the corresponding release.
>>>>>>>
>>>>>>> Results:
>>>>>>>
>>>>>>> * linux-media-2011-12-13.tar.bz2
>>>>>>>
>>>>>>> The ./build script builds the drivers cleanly, scanning works, but
>>>>>>>  watching video does not work correctly.
>>>>>>>
>>>>>>> * linux-media-2011-12-21.tar.bz2
>>>>>>>
>>>>>>> The ./build script fails at the as3645a.c file (on this machine but I can
>>>>>>> build it on two other machines using the same kernel and kernel
>>>>>>> 2.6.39-gentoo-r3, respectively). I can build it with make menuconfig etc
>>>>>>> (where I disabled stuff I don't need, eg. disabling [ ] Media Controller API
>>>>>>> (EXPERIMENTAL) ). The em28xx generate a kernel core dump though [1].
>>>>>>>
>>>>>>> * linux-media-2011-12-25.tar.bz2
>>>>>>>
>>>>>>> Same problem as 2011-12-21.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> /Fredrik
>>>>>>>
>>>>>>
>>>>>> Here's some more test results.
>>>>>>
>>>>>> I have upgraded the kernel to 3.1.6-gentoo (where I enabled DVB when I build
>>>>>> the kernel). Both
>>>>>>
>>>>>> http://linuxtv.org/downloads/drivers/linux-media-2012-01-07.tar.bz2
>>>>>>
>>>>>> and
>>>>>>
>>>>>> http://linuxtv.org/downloads/drivers/linux-media-2012-01-08.tar.bz2
>>>>>>
>>>>>> now builds using the
>>>>>>
>>>>>> lin-tv ~ # cd /usr/src
>>>>>> lin-tv src # git clone git://linuxtv.org/media_build.git
>>>>>> lin-tv src # cd media_build
>>>>>> lin-tv media_build # ./build
>>>>>> lin-tv media_build # make install
>>>>>>
>>>>>> method. Scanning and (finally) watching video works but not flawlessly.
>>>>>>
>>>>>> I also suspect that I don't find all channels when I scan. I have scanned
>>>>>> using,
>>>>>>
>>>>>> * dvbscan -x 0 -fc /usr/share/dvb/dvb-c/no-Oslo-Get > .mplayer/channels.conf
>>>>>> * Kaffeine  (1.2.2)
>>>>>> * MythTV (0.25_pre20120103)
>>>>>>
>>>>>> respectively. Both kaffeine and mythtv reports a very low signal level (0%)
>>>>>> and an SNR of only 1%. (kaffeine). I'm not sure if the driver reports this
>>>>>> correctly though.
>>>>>>
>>>>>> Whatching live TV works on some channels but not all. HD channels seems more
>>>>>> difficult than SD channels,  and I have not figured out why some channels
>>>>>> work and some don't. I get
>>>>>>
>>>>>> Signal 0% | S/N 2.6dB | BE 0 | (_L_S) Partial Lock
>>>>>>
>>>>>> and no video on many channels in mythtv.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> /Fredrik
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>


  reply	other threads:[~2012-01-11 10:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALJK-QhGrjC9K8CasrUJ-aisZh8U_4-O3uh_-dq6cNBWUx_4WA@mail.gmail.com>
2011-12-15  8:04 ` Hauppauge HVR-930C problems Fredrik Lingvall
2011-12-15  9:54   ` Mauro Carvalho Chehab
     [not found]   ` <CALJK-QjxDpC8Y_gPXeAJaT2si_pRREiuTW=T8CWSTxGprRhfkg@mail.gmail.com>
2011-12-16  8:20     ` Fredrik Lingvall
     [not found]       ` <CALJK-Qhpk7NtSezrft_6+4FZ7Y35k=41xrc6ebxf2DzEH6KCWw@mail.gmail.com>
     [not found]         ` <4EECB2C2.8050701@gmail.com>
2011-12-17 19:09           ` Mihai Dobrescu
     [not found]           ` <4EECE392.5080000@gmail.com>
     [not found]             ` <CALJK-QjChFbX7NH0qNhvaz=Hp8JfKENJMsLOsETiYO9ZyV_BOg@mail.gmail.com>
2011-12-17 19:59               ` Mihai Dobrescu
2011-12-18  9:20               ` Fredrik Lingvall
2011-12-25 15:56                 ` Fredrik Lingvall
2012-01-10 14:42                   ` Fredrik Lingvall
2012-01-10 19:30                     ` Mihai Dobrescu
2012-01-10 19:41                       ` Mauro Carvalho Chehab
2012-01-10 20:23                         ` Mihai Dobrescu
2012-01-10 20:35                           ` Mauro Carvalho Chehab
2012-01-11  5:28                             ` Mihai Dobrescu
2012-01-11 10:53                               ` Mauro Carvalho Chehab [this message]
2012-01-11 12:24                       ` Fredrik Lingvall
2012-01-11  9:21                     ` Fredrik Lingvall
2011-12-02 19:41 Fredrik Lingvall
2011-12-02 19:45 ` Devin Heitmueller
2011-12-05 23:37   ` Eddi De Pieri
2011-12-06  8:38     ` Fredrik Lingvall
2011-12-07 12:22     ` Mauro Carvalho Chehab
2011-12-07 12:56 ` Mauro Carvalho Chehab
2011-12-07 13:31   ` Fredrik Lingvall
2011-12-07 13:55     ` Mauro Carvalho Chehab
2011-12-07 14:25       ` Fredrik Lingvall
2011-12-07 14:54         ` Mauro Carvalho Chehab
2011-12-08  8:31           ` Fredrik Lingvall
2011-12-08 15:02             ` Mauro Carvalho Chehab
2011-12-10 13:43               ` Fredrik Lingvall
2011-12-10 16:02                 ` Mauro Carvalho Chehab
2011-12-17 17:42                   ` Fredrik Lingvall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F0D6A2B.6050802@redhat.com \
    --to=mchehab@redhat.com \
    --cc=fredrik.lingvall@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=msdobrescu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.