By Date: <-- -->
By Thread: <-- -->

Problem with PCTV 150e



On 2/24/07, malc <av1474 (at) comtv.ru> wrote:
On Sat, 24 Feb 2007, Markus Rechberger wrote:

> Hi,
>
> the driver which is currently in the kernel is broken for several devices.
>
> please follow following instruction:
> http://linuxtv.org/v4lwiki/index.php/Em2880#Installation
> (your device doesn't need any firmware)
>

Thank you.

[..snip..]

Did a `hg clone http://linuxtv.org/hg/~mrechberger/v4l-dvb-kernel' in
v4l-dvd-kernel `make config' patched one file[1] and then did a `make'

v4l$ ls *.ko
compat_ioctl32.ko  ir-common.ko  tuner.ko     v4l1-compat.ko  videodev.ko
em28xx-audio.ko    ovcamchip.ko  tveeprom.ko  v4l2-common.ko  vivi.ko
em28xx.ko          saa7115.ko    tvp5150.ko   video-buf.ko

Wrote a script to fool around with new modules:

<v4lnew.sh>
sudo rmmod em28xx
sudo rmmod videodev
sudo rmmod tuner
sudo rmmod saa7115
sudo rmmod compat_ioctl32
sudo rmmod v4l1_compat
sudo rmmod v4l2_common
sudo rmmod ir_common
sudo rmmod tveeprom

sudo insmod ./compat_ioctl32.ko
sudo insmod ./v4l1-compat.ko
sudo insmod ./v4l2-common.ko
sudo insmod ./videodev.ko
sudo insmod ./ir-common.ko
sudo insmod ./tveeprom.ko
sudo insmod ./em28xx.ko
sudo insmod ./tuner.ko
sudo insmod ./saa7115.ko
</v4lnew.sh>


there's make unload; modprobe em28xx available

$ mplayer -vo xv -tv driver=v4l2:freq=559 tv://

Only lists various PAL variants as supported norms, the picture is grainy
and monochrome, picture for the "good" (i.e. real PAL channel) stays okay.

hmm? the picture is grainy and monochrome but it works for PAL? can you explain this again. Do you want to use other standards?

No audio still (for either channel, witnessed by running:
  arecord -D hw:1,0 -f cd | aplay
while mplayer is also running)


try to use usbaudio_setup.sh, there are a few wiki entries about it v4lctl volume mute off for example..

<part of mplayer output>
Selected device: Pinnacle PCTV USB 2
  Tuner cap:
  Tuner rxs:
  Capabilites:  video capture  tuner  audio  read/write  streaming
  supported norms: 0 = PAL-BG; 1 = PAL-DK; 2 = PAL-I; 3 = PAL-M;
  inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
</>

Any mistakes in above? Anything else i can/should try?


try to stick with 2.6.15 - 2.6.19.1 till an "official" update is available.

Markus

[1] Patch to make em28xx-input.c compile for this (2.6.20.1) kernel

diff -r 204b796e3eb4 linux/drivers/media/video/em28xx/em28xx-input.c
--- a/linux/drivers/media/video/em28xx/em28xx-input.c   Fri Feb 23 23:39:56
2007 +0100
+++ b/linux/drivers/media/video/em28xx/em28xx-input.c   Sat Feb 24 13:39:19
2007 +0300
 (at)  (at)  -168,7 +168,11  (at)  (at)  int em2880_ir_attach(struct em28xx *dev,
         input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP);

         input_register_device(ir->input);
-       INIT_WORK(&ir->work, em2880_ir_work, dev);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
+       INIT_WORK(&ir->work, em2880_ir_work, (void *) dev);
+#else
+       INIT_WORK(&ir->work, em2880_ir_work);
+#endif
         init_timer(&ir->timer);
         ir->timer.function = em2880_ir_timer;
         ir->timer.data = (unsigned long)dev;

--
vale

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list



--
Markus Rechberger

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list