Re: No audio with Hauppauge WinTV-HVR-900 (R2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 8 Jan 2009 03:00:33 +0100
Nicola Soranzo <nsoranzo@xxxxxxxxxx> wrote:

> Alle giovedì 08 gennaio 2009, Mauro Carvalho Chehab ha scritto:
> > On Wed, 7 Jan 2009 20:31:27 +0100
> > Nicola Soranzo <nsoranzo@xxxxxxxxxx> wrote:
> > > Hi everybody,
> > > I have a Hauppauge WinTV-HVR-900 (R2) USB stick, model 65018, which has
> > > Empiatech Em2880 chip, Xceive XC3028 tuner and Micronas drx397x DVB-T
> > > demodulator.
> > > On the same laptop I have an Intel High Definition Audio soundcard and a
> > > Syntek DC-1125 webcam.
> > > ...
> > > I can see analog video, but no audio with any program I used (tvtime,
> > > xawtv, MythTV).
> > > I'm attaching the part of /var/log/messages after the stick attach and
> > > the output of the following commands:
> > > aplay -l
> > > arecord -l
> > > cat /proc/asound/cards
> > > cat /proc/asound/devices
> > > cat /proc/asound/modules
> > > cat /proc/asound/pcm
> >
> > For you to listen on audio, you need to get the audio from the digital
> > em28xx input and write it on your sound card output. Unfortunately, most
> > programs don't do this. The only one that does is mplayer, if you pass the
> > proper parameters for it. Something like (for PAL-M std):
> >
> > mplayer -tv
> > driver=v4l2:device=/dev/video0:norm=PAL-M:chanlist=us-bcast:alsa=1:adevice=
> >hw.1:audiorate=48000:forceaudio=1:immediatemode=0:amode=1 tv://
> >
> > Assuming that em28xx is detected as hw:1 and your audio as hw:0. You can
> > check the wiki for more help about this subject.
> 
> I also have a webcam, so the tv is /dev/video1 and relative audio is hw.2 (see 
> attachments from my previous email).
> Unfortunately I had tried previously with mplayer and using:
> 
> mplayer -tv driver=v4l2:device=/dev/video1:norm=PAL:chanlist=europe-west tv://
> 
> I can see the video without audio, while with:
> 
> mplayer -tv driver=v4l2:device=/dev/video1:norm=PAL:chanlist=europe-
> west:alsa=1:adevice=hw.2:audiorate=48000:forceaudio=1:immediatemode=0:amode=1 
> tv://
> 
> mplayer exits immediately with this error:
> 
> v4l2: current audio mode is : STEREO
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> v4l2: ioctl set format failed: Invalid argument
> ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Invalid value for card
> Error opening audio: Permission denied
> ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Invalid value for card
> Error opening audio: Permission denied
> ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Invalid value for card
> Error opening audio: Permission denied
> v4l2: 0 frames successfully processed, 0 frames dropped.

This is a udev issue. udev is creating the audio device without permission for your user to access it. Or you fix udev, or you'll need to run mplayer as a root (sigh!).


Cheers,
Mauro

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux