em28xx: no sound on board 1b80:e309 (sveon stv40)

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

 



Hello again!

I managed to obtain a nice video input from my sveon usb stick using
last em28xx v4l drivers from git and giving the module the hint
card=19.

But I have no audio.The card works flawlessy in windows.

The internal chipsets in the card are:
- USB interface: em2860
- Audio ADC: emp202
- Video ADC: saa7118h (philips)

Attached is the relevant dmseg output.

The usb audio card card correctly shows in pulseaudio volume control
and is recognized as hw.2 by alsa:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 3/3
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
card 2: STV40 [USB 2861 Device (SVEON STV40)], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

However, I'm not able to record any sound from it and mplayer says "no audio":
$ mplayer -tv device=/dev/video0:input=1:norm=PAL:alsa:immediatemode=0:audiorate=48000:amode=1:adevice=hw.2
tv://
MPlayer SVN-r33996-4.6.1 (C) 2000-2011 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@xxxxxxxxxxxxxxxx>
 comment: first try, more to come ;-)
Selected device: EM2860/SAA711X Reference Design
 Capabilities:  video capture  VBI capture device  audio  read/write  streaming
 supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR;
4 = NTSC-443; 5 = PAL; 6 = PAL-BG; 7 = PAL-H; 8 = PAL-I; 9 = PAL-DK;
10 = PAL-M; 11 = PAL-N; 12 = PAL-Nc; 13 = PAL-60; 14 = SECAM; 15 =
SECAM-B; 16 = SECAM-G; 17 = SECAM-H; 18 = SECAM-DK; 19 = SECAM-L; 20 =
SECAM-Lc;
 inputs: 0 = S-Video; 1 = Composite1;
 Current input: 1
 Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
Selected input hasn't got a tuner!
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
V:   2.0  52/ 52  0%  5%  0.0% 0 0
v4l2: 59 frames successfully processed, 0 frames dropped.

Maybe has something to do with the last line in dmesg:

[  403.359333] ALSA sound/usb/mixer.c:845 2:1: cannot get min/max
values for control 2 (id 2)

Any ideas?

Mario
[  389.491488] Linux video capture interface: v2.00
[  389.491490] WARNING: You are using an experimental version of the media stack.
[  389.491491]  As the driver is backported to an older kernel, it doesn't offer
[  389.491491]  enough quality for its usage in production.
[  389.491492]  Use it with care.
[  389.491492] Latest git patches (needed if you report a bug to linux-media@xxxxxxxxxxxxxxx):
[  389.491493]  1e73fa5d56333230854ae9460579eb2fcee8af02 [media] stb6100: Properly retrieve symbol rate
[  389.491494]  e97a5d893fdf45c20799b72a1c11dca3b282c89c [media] fs/compat_ioctl: it needs to see the DVBv3 compat stuff
[  389.491495]  53c91373bdd74f7e11d2726046a90b986c1ed650 [media] dvb: remove the extra parameter on get_frontend
[  389.518213] usbcore: registered new interface driver em28xx
[  389.518215] em28xx driver loaded
[  401.754076] usb 1-5.3: new high speed USB device number 4 using ehci_hcd
[  401.844655] usb 1-5.3: New USB device found, idVendor=1b80, idProduct=e309
[  401.844658] usb 1-5.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  401.844660] usb 1-5.3: Product: USB 2861 Device (SVEON STV40)
[  401.845694] em28xx: New device USB 2861 Device (SVEON STV40) @ 480 Mbps (1b80:e309, interface 0, class 0)
[  401.845828] em28xx #0: chip ID is em2860
[  401.947993] em28xx #0: i2c eeprom 00: 1a eb 67 95 80 1b 09 e3 50 00 20 03 6a 3c 00 00
[  401.948000] em28xx #0: i2c eeprom 10: 00 00 04 57 06 02 00 00 00 00 00 00 00 00 00 00
[  401.948005] em28xx #0: i2c eeprom 20: 02 00 01 00 f0 00 01 00 00 00 00 00 5b 00 00 00
[  401.948010] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 02 01 00 00 00 00
[  401.948015] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948020] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948025] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 3c 03 55 00 53 00
[  401.948030] em28xx #0: i2c eeprom 70: 42 00 20 00 32 00 38 00 36 00 31 00 20 00 44 00
[  401.948035] em28xx #0: i2c eeprom 80: 65 00 76 00 69 00 63 00 65 00 20 00 28 00 53 00
[  401.948040] em28xx #0: i2c eeprom 90: 56 00 45 00 4f 00 4e 00 20 00 53 00 54 00 56 00
[  401.948045] em28xx #0: i2c eeprom a0: 34 00 30 00 29 00 00 00 00 00 00 00 00 00 00 00
[  401.948050] em28xx #0: i2c eeprom b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948055] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948060] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948065] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948070] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[  401.948076] em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xa3963040
[  401.948077] em28xx #0: EEPROM info:
[  401.948078] em28xx #0:       AC97 audio (5 sample rates)
[  401.948079] em28xx #0:       500mA max power
[  401.948081] em28xx #0:       Table at 0x04, strings=0x3c6a, 0x0000, 0x0000
[  401.949365] em28xx #0: Identified as EM2860/SAA711X Reference Design (card=19)
[  402.160341] saa7115 5-0025: saa7113 found (1f7113d0e100000) @ 0x4a (em28xx #0)
[  402.546038] em28xx #0: Config register raw data: 0x50
[  402.557888] em28xx #0: AC97 vendor ID = 0x83847650
[  402.563772] em28xx #0: AC97 features = 0x6a90
[  402.563773] em28xx #0: Sigmatel audio processor detected(stac 9750)
[  402.798681] em28xx #0: v4l2 driver version 0.1.3
[  403.314789] em28xx #0: V4L2 video device registered as video0
[  403.314791] em28xx #0: V4L2 VBI device registered as vbi0
[  403.314834] em28xx audio device (1b80:e309): interface 1, class 1
[  403.314868] em28xx audio device (1b80:e309): interface 2, class 1
[  403.359333] ALSA sound/usb/mixer.c:845 2:1: cannot get min/max values for control 2 (id 2)
[  403.360013] usbcore: registered new interface driver snd-usb-audio


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux