Archived talk:Em2820: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
Line 632: Line 632:


(I really do not know whether the setting "amixer -c 1 sset PCM 5" is necessary.)
(I really do not know whether the setting "amixer -c 1 sset PCM 5" is necessary.)

----

Laurent, please learn how to read instructions! The same issue in the mailing list everything's documented regarding your problems. Even you might have to change the dsp devices for the sox command but you ignored it or didn't understand it.


== Video offset ==
== Video offset ==

Revision as of 20:44, 20 December 2005

Does anyone have an idea getting the sound of pinnacle usb2 working? the image quality is surpringly brilliant, but... my system: suse 10.0, v4l-kernel from cvs (updatet some two days ago...). soundcard:82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller, driver: snd-intel8x0. Input:PAL I tryed all the things:

                        -activating everything in kmix (also for the pctv usb2-device)
                        -switched the kde sound-system to alsa
                        -using different players: kdetv, Xawtv, tvtime

1. v4lctl -c /dev/video0 list gives me: "Mute: on" - is that the problem? I could not change this typing v4lctl -c /dev/video0 mute=off. 2. do I have to run some special things in background? 3. I couldn't update dvb-kernel from cvs - is this perhaps causing problem?


please read the Em2820 Wiki documentation, you have to use sox (or something similar) for piping the audio stream from the usb pctv device to your soundcard. -- MarkusRechberger

I've the same problem with SECAM (after some modification on the driver) with mute=on and I'm very sorry but Iwill hope a little bit more explanation to use sox if it's possible

help on starting

Hi!

I have a Pinnacle PCTV USB2 and I'd like to try it out on Linux.

I read the wiki about this device been supported and I need some help on installing it.

Where can I download the package?

After download the package, do I need just to compile it or it is a patch to be applied on my kernel source or v4l source?


Thanks for the help,

Renato


just get the v4l-kernel from cvs and compile it:

$ cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login
$ cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-kernel
$ cd v4l-kernel
$ cd v4l
$ make
...
...
$ make install
$ modprobe em28xx

you will also need the kernel headers for doing all that

MarkusRechberger

ioctl VIDIOCGAUDIO: Invalid argument

Hi,

I have a msi vox usb 2.0 tv tuner, i downloaded v4l from cvs and the compiler worked fine. When i modprobe em28xx my usb tv card its recognized and seted up. But when i run xawtv, aatv, tvtime, or whatever ... i get ioctl VIDIOCGAUDIO: Invalid argument and i cant see anything. My running kernel is 2.6.14-1, debian sarge distro.

v4l-info show the same thing, ioctl VIDIOCGAUDIO: Invalid argument and in the other line i get: ioctl VIDIOCGFBUF: Invalid argument

If anybody know what else can i do, i would appreciate it ...

cheers, Nitam.


Hi Nitam,

The MSI Vox isn't completly supported at the moment, I'll try to fix it during the next few days (only problem is I don't have that device and because of that I have to wait for others to test it)


Well, i can help you with that if you want, let me know if you need my email/msn/icq or whatever and i'll test your fix/updates.

regards, Nitam.

ps: email eskali@gmail.com

Can't tune any channel

First I'd like to thank you for allowing us to use our USB capture device on Linux.

I've downloaded the latest CVS of video4linux following the instructions you gave me.

My device is a Pinnacle PCTV USB2.

I'm having problems when I try to use the tuner, I just can't find any channel.

If I try:


mplayer -tv device=/dev/video0:amode=0:input=0:norm=3:driver=v4l2:outfmt=yuy2:channels=16-16,24-24,51-51 tv://


I got only static from the three channels above (note that if I try the same channels on Windows they tune ok). Looking at the output from mplayer I see this:


Couldn't find frequency for channel 16 (16) Selected channel: 16 - 16 (freq: 0.000)


So I figure out that it was because of the frequency. I tried a lot of params like freq=483250 (frequency from channel 16 reported by Pinnacle Windows app) but still didn't work.

Anyone have any ideia where is the problem?

By the way, I'm in Brazil... here we use PAL-M and I'm trying to tune from antenna, not cable.

PS: I have tried others apps like xawtv, kdetv, zapping, etc... and the same happens with them.


Thanks a lot!!

Renato


Hi Renato,

could you try:

mplayer -tv device=/dev/video0:amode=0:input=0:norm=PAL:driver=v4l2:outfmt=yuy2 tv://

norm=PAL or NTSC

use H or K/L for tuning the channels

Markus


Markus,

Thanks again for helping.

I tried the command you gave me (PAL and NTSC) but I couldn't tune any channel.


On my Windows app, I have an option to select if the source from tuner is from Cable or Antenna. To be allowed to tune the channels on Windows I have to select "Antenna". If I select Cable I have the same problem that I'm having on Linux. Do you think the problem could be this?

I have tried some parameters for the module tuner but still no lucky, I'm trying:

modprobe tuner pal=1 tv_antenna=1


Thanks again!



mplayer -tv device=/dev/video0:amode=0:input=0:norm=PAL:driver=v4l2:outfmt=yuy2 tv://

also try different input values,

please provide what dmesg and lsmod shows up after plugging in the device

you normally don't have to touch any tuner settings.

Markus


Markus,

This is the output from dmesg after pluging the card:

usb 1-3: new high speed USB device using ehci_hcd and address 2
usbcore: registered new driver snd-usb-audio
Linux video capture interface: v1.00
em28xx v4l2 driver version 0.0.1 loaded
em28xx new video device (2304:0208): interface 0, class 255
em28xx: Alternate settings: 8
em28xx: Alternate setting 0, max size= 0
em28xx: Alternate setting 1, max size= 1024
em28xx: Alternate setting 2, max size= 1448
em28xx: Alternate setting 3, max size= 2048
em28xx: Alternate setting 4, max size= 2304
em28xx: Alternate setting 5, max size= 2580
em28xx: Alternate setting 6, max size= 2892
em28xx: Alternate setting 7, max size= 3072
saa711x: Ignoring new-style parameters in presence of obsolete ones
tuner 2-0063: chip found @ 0xc6 (em28xx #0)
tuner 2-0063: type set to 37 (LG PAL (newer TAPC series))
tda9887 2-0043: chip found @ 0x86 (em28xx #0)
em28xx #0: i2c eeprom 00: 1a eb 67 95 04 23 08 02 10 00 1c 03 98 20 6a 2e
em28xx #0: i2c eeprom 10: 00 00 06 57 6e 00 00 00 8e 00 00 00 07 00 00 00
em28xx #0: i2c eeprom 20: 16 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 2e 03 50 00 69 00
em28xx #0: i2c eeprom 70: 6e 00 6e 00 61 00 63 00 6c 00 65 00 20 00 53 00
em28xx #0: i2c eeprom 80: 79 00 73 00 74 00 65 00 6d 00 73 00 20 00 47 00
em28xx #0: i2c eeprom 90: 6d 00 62 00 48 00 00 00 20 03 50 00 43 00 54 00
em28xx #0: i2c eeprom a0: 56 00 20 00 55 00 53 00 42 00 32 00 20 00 4e 00
em28xx #0: i2c eeprom b0: 54 00 53 00 43 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 0c 22 17 39 02 a5 84 d9
EEPROM ID= 0x9567eb1a
Vendor/Product ID= 2304:0208
AC97 audio (5 sample rates)
500mA max power
Table at 0x06, strings=0x2098, 0x2e6a, 0x0000
em28xx #0: V4L2 device registered as /dev/video0
em28xx #0: Found Pinnacle PCTV USB 2
usbcore: registered new driver em28xx

This is my lsmod:

Module                  Size  Used by
tda9887                14160  0
tuner                  42596  0
saa711x                 6416  0
em28xx                 46244  0
compat_ioctl32           896  1 em28xx
v4l1_compat            13508  1 em28xx
v4l2_common             4608  1 em28xx
videodev                7360  1 em28xx
ir_common               7940  1 em28xx
tveeprom               12752  1 em28xx
snd_usb_audio          74368  0
snd_usb_lib            14464  1 snd_usb_audio
snd_hwdep               7072  1 snd_usb_audio
snd_pcm_oss            49568  0
snd_mixer_oss          17280  3 snd_pcm_oss
uhci_hcd               30672  0
snd_intel8x0m          15428  1
snd_intel8x0           30368  2
snd_ac97_codec         92924  2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus            1856  1 snd_ac97_codec
snd_pcm                83272  5 snd_usb_audio,snd_pcm_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec
snd_page_alloc          8392  3 snd_intel8x0m,snd_intel8x0,snd_pcm
i2c_nforce2             5824  0
i2c_core               17808  6 tda9887,tuner,saa711x,em28xx,tveeprom,i2c_nforce2
kqemu                  39240  0
cdemu                   8524  0
nvidia               3705928  14

Thanks again!

Renato


Hello,

I am from Italy.

I have a "Pinnacle PCTV USB2 PAL Rev: 1.2" and I have the same problem of Renato (just (27 NOV 2005 12:40) downloaded the source from cvs and compiled/installed the driver). I noticed that the only channels I can tune are: 11 12 66 68 69 88 (tvtime)

In the stationlist.xml of tvtime I found this:

position="11" band="VHF E2-E12" channel="E11"
position="12" band="VHF E2-E12" channel="E12"
position="66" band="VHF Russia" channel="R9"
position="68" band="VHF Russia" channel="R11"
position="69" band="VHF Russia" channel="R12"
position="88" band="VHF Italy" channel="G"

It seems that I can't tune UHF band channels.

Hope this info can help.

Lorenzo Ferrara

PCTV USB2

Hey guys, I'm totally new to these Wiki things, and Linux itself. I have managed to install the driver and get my PCTV USB2 device working pretty nicely on a program called "tvtime". However, there is no audio. I was reading the main page and was confused as to if it works or not. I checked out the usb audio section, and did this bit:

$ amixer -c 1 Simple mixer control 'PCM',0

 Capabilities: cvolume cswitch cswitch-joined
 Capture channels: Mono
 Limits: Capture 0 - 16
 Mono: Capture 4 [25%] [on]

$ amixer -c 1 sset PCM 5 Simple mixer control 'PCM',0

 Capabilities: cvolume cswitch cswitch-joined
 Capture channels: Mono
 Limits: Capture 0 - 16
 Mono: Capture 5 [31%] [on]

Except, my card had different information, obviously. So I was wondering if there is a way to make the audio work via usb.

Any help would be much appreciated. (Im using Ubuntu and tv time by the way)


NO SOUND----

I'm using PClinuxOS and TVtime (the only one tv wiever working for me with SECAM mode Tuner=38 in place of 37).Tv picture is very fine but no sound. The mixer is correct:

  1. amixer -c 0

Simple mixer control 'Master',0

 Capabilities: pvolume pswitch pswitch-joined
 Playback channels: Front Left - Front Right
 Limits: Playback 0 - 31
 Front Left: Playback 31 [100%] [on]
 Front Right: Playback 31 [100%] [on]

.............and so

  1. amixer -c 1

Simple mixer control 'PCM',0

 Capabilities: cvolume cswitch cswitch-joined
 Capture channels: Mono
 Limits: Capture 0 - 16
 Mono: Capture 16 [100%] [on]

Is a mute problem in PCTV USB2 ?

Many thanks for help


can you provide some more information:

cat /proc/asound/cards

you also need to pipe the audio stream from the USB Audio device to your soundcard. sox is explained on the em2820 wiki site, but you can also try a cat /dev/dspx > /dev/dspy where you have to replace dspx with the usbaudio device and dspy is the soundcard dsp device

hope this helps,

Markus

no sound

many thanks to marcus for help, I 've make a misunderstood with /dev/dspx and now with sox and I've sound but it's very strange. configuration: kernel 2.6.15-rc1 with v4l2 my tuner SECAM is (reference after open PCTV on inboard tuner-chip : FQ1216ME H-3) sound on channel 126 and picture on channel 125 and so one for all channels....??? the sound is on the next channel after picture channel and on the channel on witch I obtain picture I've only noise like misaccording frequency.

Have you some ideas. Many thanks


I hawe exactly same problem - some programs can't be tuned with sound,sound is only noise, some channels can be finetuned, but then video goes from noisy to nosignal with sound. Some Programs, which are on ~110.000 can be "finetuned a bit" better than programs on chanels on higher freq.- i have PCTV 100e USB2 PAL device. Sound device of pctv is on /dev/dsp1 and cat /dev/dsp1 results with many ascii characters. Oh sorry for my english, i wrote program instead channel, i hope you can understand to main things :-). Oh,i forgot, of course i'm using sox to listen that audio.

With hope and best regards Johny-X


did you try to fine tune the channel? what does cat /dev/dsp[of your pinnacledevice] show up when a channel without sound is tuned in?

Markus

I have the same problem

Hello

I have the same problem. cat /dev/dsp2 only shows up: "cat: /dev/dsp2: Device or resource busy" when i'm running tvtime. When I am not running tvtime, it shows only a white screen.

Schaf

Tune UHF channels

Hi!

It's me again :)

I think Lorenzo found my problem. I've completely forgot that here in Brazil all open-channels are UHF (at least in my city) so I think that's why I can't tune channels.

Is UHF supported? If not, are there some plans to implement it?

Thanks a lot and sorry for disturbing you.. but I'm just getting crazy to watch TV on my linux box.


Thanks again!

Renato


the driver supports a quite big range of channels, did you ever try mplayer with the default config and pressing h/k? (look at the em2820 wiki site how to use mplayer with v4l2)

Markus


Yes Markus, I have tried using mplayer with the default settings you gave me and pressing h/k.. I tried all the channels in both direction but none of them worked for me.

Lorenzo sad that the same happens with him when tring to tune UHF channels.

Any ideias??

Thanks!!

Cabn't modprobe em28xx

I can't modprobe the em28xx driver

linux:/home/oak # modprobe -v em28xx
insmod /lib/modules/2.6.13-8-default/kernel/drivers/media/common/ir-common.ko
insmod /lib/modules/2.6.13-8-default/kernel/drivers/media/video/v4l1-compat.ko
insmod /lib/modules/2.6.13-8-default/kernel/drivers/media/video/em28xx/em28xx.ko
FATAL: Error inserting em28xx (/lib/modules/2.6.13-8-default/kernel/drivers/media/video/em28xx/em28xx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
linux:/home/oak #
linux:/home/oak # dmesg | grep em28
em28xx: module not supported by Novell, setting U taint flag.
em28xx: disagrees about version of symbol tveeprom_hauppauge_analog
em28xx: Unknown symbol tveeprom_hauppauge_analog
linux:/home/oak #




[just tried to fix it with tveprom module manual load]
linux:/home/oak # modprobe tveeprom
linux:/home/oak # modprobe -v em28xx
[got same errors as above...]

[loaded modules check]
linux:/home/oak # lsmod | grep ir-common
linux:/home/oak # lsmod | grep v4l
v4l1_compat 13060 0
v4l2_common 5760 0
linux:/home/oak #
linux:/home/oak # lsmod | grep common
ir_common 9604 0
v4l2_common 5760 0
linux:/home/oak #
linux:/home/oak # lsmod | grep eprom
ivtv_tveeprom 12588 0
i2c_core 20368 3 i2c_i801,i2c_algo_bit,ivtv_tveeprom
linux:/home/oak #


The v4l kernel has it's own tveeprom module. rebuild the modules do a make install - reboot your machine and reload the modules

Markus



Markus, I'll double check the process of intalling the driver, but I don't think this is a reason. I did try to restart the computer (few times), I did try to not modprobe the tveeprom module first, but I didn't succeed either. With loading the tveeprom first was a wild card - I thought perhaps it is missing something ("Unknown symbol in module, or unknown parameter") from the tveeprom module... I think that the problem could be in following lines:

em28xx: module not supported by Novell, setting U taint flag.
em28xx: disagrees about version of symbol tveeprom_hauppauge_analog
em28xx: Unknown symbol tveeprom_hauppauge_analog

I met simillar problem before (while tryed to install commercial OSS sound driver), they send me another ("no regparm") version of their drivers and it did work (well partially :-) ).

PCTV usb2: sound problem

I also use tvtime with my Pinnacle pctv usb2 card. I can see the images, but my sound doesn't work too. cat /proc/asound/cards provides:

 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with AD1981B at 0xc0000c00, irq 11
 1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem

Why is my tv-card not listed? Shouldn't the tvcard be the dsp1? when I try in vlc to watch tv, I receiver the message(after I set the audio do /dev/dsp1):

v4l demuxer error: mmap unsupported

with "mplayer -tv device=/dev/video0:amode=0:input=0:norm=PAL:driver=v4l2:outfmt=yuy2 tv://" I can see the pictures too, but I receive the message:

 Audio: no sound
 Starting playback...

I use FC4. In the soundcard-detection, the pinnacle tv card is listed, and when I select test device, then I can hear a test sound.

Does anybode can give me some advice? I tryed now hours to solve the problem. thanks for your help

Laurent


When I use in mplayer the option immediatemode=0:

mplayer -zoom -tv driver=v4l2:amode=0:norm=PAL:outfmt=yuy2:forceaudio:immediatemode=0 tv://

Then I don't receive anymore the message no sound, but I still can't hear the sound. I receive the message:

Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
A:   3.1 V:   2.3 A-V:  0.791 ct:  0.228  58/ 58  0%  0% 139.5% 50 0 0%
          ************************************************
          **** Your system is too SLOW to play this!  ****
          ************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
 - Try -ao sdl or use the OSS emulation of ALSA.
 - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
 - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
 - Don't try to play a big DVD/DivX on a slow CPU! Try -hardframedrop.
- Broken file
 - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
 - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
 - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
v4l2: 1019 frames successfully processed, 8 frames dropped..4% 533 0 0%
Exiting... (Quit)

With the option -ao sdl I don't receive this message any more but my sound still doesn't work. What else can I try now?

Laurent


please read through the em2820 wiki site you need sox or something similar to get sound work!

Markus


Yes I read this already, but I don't know how to use sox. when I type

sox -t ossdsp -r 48000 -b -c 2 /dev/dsp -t ossdsp /dev/dsp2

I receive as normal user:

sox: Can't open output file '/dev/dsp2': Permission denied

and as root:

sox: Unable to reset OSS driver.  Possibly accessing an invalid file/device 

with:

sox -t ossdsp -r 48000 -b -c 2 /dev/dsp -t ossdsp /dev/dsp1

sox stucks and writes no message, and my sound still doesn't work. I think that the problem is, because with "cat /proc/asound/cards" my tvcard isn't listed.

when I start mplayer with:

mplayer -zoom -ao sdl -tv driver=v4l2:amode=1:input=0:norm=PAL:alsa:outfmt=yuy2:adevice=hw.0:forceaudio:immediatemode=0 tv://

then I can hear my own voice when I talk in the microphone.

In tvtime I can't hear anything. How can I make sox work?

thanks

Laurent

Problem still unsolved

I succeeded now that my tv card is in this list:

cat /proc/asound/cards
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at 0xc0000c00, irq 11
1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
Intel 82801DB-ICH4 Modem at 0x2400, irq 11
2 [PALSECAM ]: USB-Audio - PCTV USB2 PAL/SECAM
Pinnacle Systems GmbH PCTV USB2 PAL/SECAM at usb-0000:00:1d.7-3, high speed

it is not exactely the same output as in the wiki.

with the amixer command Ireceive:

amixer -c 2 sset PCM 5
 Simple mixer control 'PCM',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 16
  Mono: Capture 5 [31%] [on]

I also can't hear anymore the testsound in the soundcard detection of gnome. When my soundcard wasn't in the cards list, I heard this sound.

With sox I receive now:

sox -t ossdsp -r 48000 -b -c 2 /dev/dsp -t ossdsp /dev/dsp2 :
sox: Can't open output file '/dev/dsp2': No such device

Laurent



my sound works now, when I use this command:

sox -t ossdsp -r 48000 -b -c 2 /dev/dsp2 -t ossdsp /dev/dsp

and not with

sox -t ossdsp -r 48000 -b -c 2 /dev/dsp -t ossdsp /dev/dsp2

like it is written in the wiki. Now I have another question: I use tvtime. I can't tune correctly some senders. With finetune, the best audio quality is at another place than the best video quality, so I can watch these senders, either with a good sound or good images, but both together doesn't work. Other senders are perfect. in some senders I only hear a lot of noise, but no voices at all. In windows all the senders work.

Laurent


Hi Laurent,

have you succeeded using sound with mplayer? I haven't :-(

I was only able to get sound with xawtv (using the sox "redir" above). However, since I recorded a longer program on the Composite input with xawtv at the weekend it has not been showing the picture (it worked almost fine at that time). Though I can use its recording tool and see the playback with mplayer, e.g.

The almost is for the 384x288 mode: if I would like to watch the TV in higher res. the picture flickers when also using the sox "redirection". Without sox (and sound) it's OK.

Adding immediatemode=0 and -ao sdl to the options of mplayer and using sox I can hear some dashed noise getting stronger and stronger. Moreover, also the picture grabbing will not be continuous.

I'm using 2.6.12 linux kernel and on Saturday downloaded v4l-kernel stuff, if it counts.

Zsolt

PS: some other strange phenomena: scantv fails after setting up the frequency table

ioctl: VIDIOC_S_CTRL(id=9963778;value=16): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963776;value=0): Invalid argument
ioctl: VIDIOC_S_CTRL(id=9963777;value=16): Invalid argument
vbi: open failed [/dev/vbi]
open /dev/vbi: No such device

Though,

lrwxrwxrwx  1 root root        4 2005-12-17 19:10 /dev/vbi -> vbi0
crw-rw-r--  1 root video 81, 224 2005-12-17 19:09 /dev/vbi0

Furthermore, about the mplayer:

mplayer -zoom -tv amode=0:input=1:norm=PAL:driver=v4l2:width=384:height=288:outfmt=yuy2:\
                  alsa:adevice=hw.0:immediatemode=0:forceaudio -ao sdl tv://
sox -t ossdsp -r 44100 -c 2 /dev/dsp1 -t ossdsp -c 1 /dev/dsp
sox: Can't open output file '/dev/dsp': Device or resource busy
(and it plays that noise louder and louder)

My soundcards:

$ cat /proc/asound/cards 
0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                     Intel 82801DB-ICH4 with AD1981B at 0xc0000c00, irq 5
1 [PALSECAM       ]: USB-Audio - PCTV USB2 PAL/SECAM
                     Pinnacle Systems GmbH PCTV USB2 PAL/SECAM at usb-0000:00:1d.7-4, high speed

(I really do not know whether the setting "amixer -c 1 sset PCM 5" is necessary.)


Laurent, please learn how to read instructions! The same issue in the mailing list everything's documented regarding your problems. Even you might have to change the dsp devices for the sox command but you ignored it or didn't understand it.

Video offset

I finally got my MSI VOX USB2.0 working and I believe its set to NTSC but the video is offset like a portion of the top of cut off and moved to the bottom. I have tried tvtime and xawtv and MPlayer and all the same result.


Screenshot please, the initialization code was taken from a MSI Vox pal device yes.

Markus


Here is the screenshot http://www.sweetlikecandy.info/tvtime/tvtime-output-06:02:57%20PM.png

I also notice there seems to be no audio coming out of the audio out jack of the device.


it's a problem in the saa711x module, can you please follow http://www.linuxtv.org/v4lwiki/index.php/USBVideo and send me some windows logs so that I can compare the saa711x setup of your device.

Markus

Tuning problems

Hi, I'm new to Wiki things so I hope to mess not anything.. (My english is very bad..)

I'm from Italy and I've got the same sort of problems of Lorenzo (Italy) and Renato (Brazil), I tried both tvtime and mplayer, my device is Pinnacle Systems GmbH PCTV USB2 PAL/SECAM , I've just (20-12-2005, 11.36 GMT+1) compiled and installed last cvs driver :

modprobe em28xx, snd_usb_audio goes well and I manage to listen audio by using sox from /dev/dsp1 to /dev/dsp.

But still I'm not able to tune many channels:

both tvtime and mplayer show only "black and white" pixel in the two or three channels I can quite watch, and ,apart getting no colors, those three channels are still very "disturbed", in Italy we call this "snow-effect", I think you could understand what I mean...

Trying to use tvtime-scanner lead me to this stationlist.xml:


<?xml version="1.0"?> <!DOCTYPE stationlist PUBLIC "-//tvtime//DTD stationlist 1.0//EN" "http://tvtime.sourceforge.net/DTD/stationlist1.dtd"> <stationlist xmlns="http://tvtime.sourceforge.net/DTD/">

 <list norm="PAL" frequencies="Custom" audio="i">
   <station name="81,50MHz" active="1" position="1" band="Custom" channel="81,50MHz" finetune="0" norm="PAL" audio="auto"/>
   <station name="183,00MHz" active="1" position="2" band="Custom" channel="183,00MHz" finetune="0" norm="PAL" audio="auto"/>
   <station name="209,25MHz" active="1" position="3" band="Custom" channel="209,25MHz" finetune="0" norm="PAL" audio="auto"/>
   <station name="494,25MHz" active="1" position="4" band="Custom" channel="494,25MHz" finetune="0" norm="PAL" audio="auto"/>
 </list>

</stationlist>


(NOTE: the 3rd give me no-signal)

but while scanning, from a certain freq (I'm now logging the process so I can specify exactly which freq) it tells the driver begins to react strangely, not allowing to start and stop streaming, and after the scanning I need to "modprobe -r em28xx" and then "modprobe em28xx" again to get the device working, because ,if I don't do that, tvtime say me that: /dev/video0 is not a valid v4l device (or something similar)

So I write here after reading about possible UHF "unsupport" (again excuse my bad english!) I hope you can help me fix this.

Nicola

P.S. I was forgetting to thank you for letting us the possibility to watch tv in our linux powered computer, you're doing a great and unvaluable work for us all.