Bug 7731

Summary: No audio with Terratec Hybrid XS (0ccd:005e)
Product: v4l-dvb Reporter: Roberto Paolillo (roberto84)
Component: em28xxAssignee: Markus Rechberger (mrechberger)
Status: RESOLVED CODE_FIX    
Severity: normal CC: marcandre.lureau
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.17-10, 2.6.18-3 Subsystem:
Regression: --- Bisected commit-id:
Attachments: system logs

Description Roberto Paolillo 2006-12-21 23:59:10 UTC
Most recent kernel where this bug did *NOT* occur:
Distribution: Debian SID (2.6.18-3), Ubuntu Edgy (2.6.17-10)
Hardware Environment: TerraTec Cinergy Hybrid T USB XS (0ccd:005e)
Software Environment: v4l-em28xx correctly compiled from mercurial source /
firmware v. 3
Problem Description: no sound

Steps to reproduce:
after boot:
modprobe em2880_dvb
modprobe em28xx_audio
mplayer tv://32 -tv driver=v4l2 (or xawtv, or xine...)
sox -r 48000 -w -c 2 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp (or
v4l-scripts-usbaudio_setup.sh)

i get no audio. mixer settings seems ok. and sox says that he push data in the
output buffer.

when I close one of the two programs, i get an error in system logs:
em28xx #0: resubmit of audio urb failed (error=-1)   (if I close sox before) 
em28xx #0: resubmit of audio urb failed (error=-90)  (if I close mplayer before)

i also tried to directly grab audio from hw1,0 device (empia "soundcard") with:
mplayer tv://32 -tv
driver=v4l2:alsa:immediatemode=0:adevice=hw.1,0:forceaudio:audiorate=48000

in this way I get a short (< 1s) noise when mplayer starts.

complete logs in attachment.
Comment 1 Roberto Paolillo 2006-12-22 00:05:35 UTC
Created attachment 9924 [details]
system logs
Comment 2 Roberto Paolillo 2007-05-24 01:27:15 UTC
now it works! (from two month, to be honest, but i forgot to update this bug
entry :) only small periodical audio scratches, but it's not important and i'm
not sure that the cause is the driver.

thanks guys!