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

ALSA TV tuner problems persist -- no sound :(



Hi,

I'm still struggling with my tv tuner card.

I described the problem here:
http://lists.debian.org/debian-user/2007/07/msg00340.html
(ALSA problem - TV tuner no sound)

The short of the long of it: sound works-- but
not for the TV tuner.


Chris Lane had a few good suggestions:
http://lists.debian.org/debian-user/2007/07/msg00345.html

My "/dev/dsp" does exist:
# ls -lat /dev/dsp
crw-rw---- 1 root audio 14, 3 2007-07-12 18:25 /dev/dsp

Also, I tried doing what a reference in Chris' message said (see:
http://people.debian.org/~terpstra/message/20070705.081707.c4fa712b.en.html ):
# modprobe snd_pcm_oss
# modprobe snd_mixer_oss
# modprobe snd_sec_oss
FATAL: Module snd_sec_oss not found.

(I think "snd_sec_oss" should actually be "snd_seq_oss".)


# modprobe bt878

(Then, I tried launching 'xawtv'. Sound still didn't work.)

I tried unloading and reloading the bttv and bt878 modules.
Nope.

I played with permissions on "/dev/dsp"
# chmod o=rw /dev/dsp

The above didn't make a difference.


I tried:
$ aoss xawtv
xawtv launched... no sound.


I tried running xawtv as root...
http://www.debian.org/doc/manuals/reference/ch-tune.en.html
$ XAUTHORITY=$HOME/.Xauthority
$ export XAUTHORITY
$ su root
# xawtv
xawtv launched... no sound.

As per 
http://www.linuxforums.org/forum/linux-desktop-x-windows/1265-xawtv-tv-my-linux-pc-picture-but-no-sound.html
I installed "kdetv"

# apt-get install kdetv
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  kdetv


RUNNING kdetv from the command line gave me more info:

$ kdetv
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL
Creating vbi proxy client, rev.
$Id: proxy-client.c,v 1.12 2006/05/31 03:54:28 mschimek Exp $
proxy_msg: connect: error 2, No such file or directory
kdetv: WARNING: VBIDecoder: vbi_capture_proxy_new error: Connection via socket failed, server not running.
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.33 2006/05/22 09:00:47 mschimek Exp $
Opened /dev/vbi0
libzvbi:capture_v4l2k_new: Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.42 2006/09/24 03:10:04 mschimek Exp $.
libzvbi:capture_v4l2k_new: Opened /dev/vbi0.
libzvbi:capture_v4l2k_new: /dev/vbi0 (BT878 video (ATI TV-Wonder)) is a v4l2 vbi device,
driver bttv, version 0x00000910.
libzvbi:capture_v4l2k_new: Using streaming interface.
libzvbi:v4l2_get_videostd: Current scanning system is 525.
libzvbi:v4l2_update_services: Querying current vbi parameters...
libzvbi:v4l2_update_services: ...success.
libzvbi:print_vfmt: VBI capture parameters supported: format 59455247 [GREY], 28636363 Hz, 2048 bpl, offs 244, F1 10...25, F2 273...288, flags 00000000.
libzvbi:print_vfmt: VBI capture parameters granted: format 59455247 [GREY], 28636363 Hz, 2048 bpl, offs 244, F1 10...25, F2 273...288, flags 00000000.
libzvbi:vbi3_raw_decoder_add_services: No services to add.
libzvbi:v4l2_update_services: Nyquist check passed.
libzvbi:v4l2_update_services: Request decoding of services 0x60000c7f, strict level -1.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000001 (Teletext System B 625 Level 1.5) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000003 (Teletext System B, 625) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000001 (Teletext System B 625 Level 1.5) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000003 (Teletext System B, 625) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000004 (Video Program System) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000400 (Wide Screen Signalling 625) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000008 (Closed Caption 625, field 1) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000010 (Closed Caption 625, field 2) requires videostd_set 0x1, have 0x0.
libzvbi:v4l2_update_services: Will capture services 0x00000060, added 0x60 commit=1.
libzvbi:v4l2_stream_alloc: Requesting 16 streaming i/o buffers.
libzvbi:v4l2_stream_alloc: Mapping 16 streaming i/o buffers.
libzvbi:capture_v4l2k_new: Successfully opened /dev/vbi0 (BT878 video (ATI TV-Wonder)).
kdetv: WARNING: MainWindow::setupInfraRed(): Lirc not available
kdetv: WARNING: VolumeController::doSetVolume: AudioManager failed, trying SourceManager
kdetv: WARNING: VolumeController::doSetVolume: AudioManager failed, trying SourceManager
libzvbi:v4l2_stream: Failed to dequeue buffer, errno 5.
kdetv: WARNING: VbiDecoder: VBI capture error: Input/output error
libzvbi:v4l2_stream_stop: Suspending stream.
Creating vbi proxy client, rev.
$Id: proxy-client.c,v 1.12 2006/05/31 03:54:28 mschimek Exp $
proxy_msg: connect: error 2, No such file or directory
kdetv: WARNING: VBIDecoder: vbi_capture_proxy_new error: Connection via socket failed, server not running.
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.33 2006/05/22 09:00:47 mschimek Exp $
Opened /dev/vbi0
libzvbi:capture_v4l2k_new: Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.42 2006/09/24 03:10:04 mschimek Exp $.
libzvbi:capture_v4l2k_new: Opened /dev/vbi0.
libzvbi:capture_v4l2k_new: /dev/vbi0 (BT878 video (ATI TV-Wonder)) is a v4l2 vbi device,
driver bttv, version 0x00000910.
libzvbi:capture_v4l2k_new: Using streaming interface.
libzvbi:v4l2_get_videostd: Current scanning system is 525.
libzvbi:v4l2_update_services: Querying current vbi parameters...
libzvbi:v4l2_update_services: ...success.
libzvbi:print_vfmt: VBI capture parameters supported: format 59455247 [GREY], 28636363 Hz, 2048 bpl, offs 244, F1 10...25, F2 273...288, flags 00000000.
libzvbi:print_vfmt: VBI capture parameters granted: format 59455247 [GREY], 28636363 Hz, 2048 bpl, offs 244, F1 10...25, F2 273...288, flags 00000000.
libzvbi:vbi3_raw_decoder_add_services: No services to add.
libzvbi:v4l2_update_services: Nyquist check passed.
libzvbi:v4l2_update_services: Request decoding of services 0x60000c7f, strict level -1.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000001 (Teletext System B 625 Level 1.5) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000003 (Teletext System B, 625) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000001 (Teletext System B 625 Level 1.5) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000003 (Teletext System B, 625) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000004 (Video Program System) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000400 (Wide Screen Signalling 625) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000008 (Closed Caption 625, field 1) requires videostd_set 0x1, have 0x0.
libzvbi:_vbi_sampling_par_permit_service: Service 0x00000010 (Closed Caption 625, field 2) requires videostd_set 0x1, have 0x0.
libzvbi:v4l2_update_services: Will capture services 0x00000060, added 0x60 commit=1.
libzvbi:v4l2_stream_alloc: Requesting 16 streaming i/o buffers.
libzvbi:v4l2_stream_alloc: Mapping 16 streaming i/o buffers.
libzvbi:capture_v4l2k_new: Successfully opened /dev/vbi0 (BT878 video (ATI TV-Wonder)).



I played with the OSS and ALSA settings:
'Settings' -> 'Configure ktdtv...' -> 'Sound'
	changed "ALSA Mixer Plugin" to "OSS Mixer Plugin"

I changed "Volume Is Controlled Using" to "Tv card mixer" and back to "Sound card mixer".

Nothing I did fixed the problem.


I found a nice TV program (kdetv) in this process... but like xawtv the sound doesn't work.


Major configurations did not change:

Hardware:
========================================
Athlon 2200 XP
ASUS A7N8X (Motherboard)
512 MB RAM

TVCard: ATI-TV Wonder
Sound: Creative Labs Sound Blaster Live!

Software:
========================================
Debian GNU/Linux -- testing
Kernel -- Linux version 2.6.18-4-k7 (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Mon Mar 26 17:57:15 UTC 2007
KDE -- 3.5.7
========================================



I'm running out of ideas.

How can I further trouble shoot the problem?
Is there away to see that the hardware is working --beyond the tests I did before ("lspci")?

Does the following yield anything useful?
# more /proc/asound/oss/devices
  0: [0- 0]: mixer
  1:       : sequencer
  2: [0- 0]: raw midi
  3: [0- 0]: digital audio
  4: [0- 0]: digital audio
  8:       : sequencer
  9: [0- 0]: raw midi
 12: [0- 1]: digital audio
 13: [0- 1]: raw midi
 14: [0- 1]: raw midi
 16: [1- 0]: mixer
 18: [1- 0]: raw midi
 25: [1- 0]: raw midi
#

How can I tell that the oss_mixer default volume is NOT zero?
(I remember running into a problem like this before.)

I suspect the volume is non-zero based on this:
$ dump-mixers
/dev/mixer = EMU10K1 (SigmaTel STAC9708,11)
  vol        ( 0) :  stereo  rec   94/94
  bass       ( 1) :  stereo        50/50
  treble     ( 2) :  stereo        50/50
  synth      ( 3) :  stereo        100/100
  pcm        ( 4) :  stereo        50/50
  speaker    ( 5) :  mono          0
  line       ( 6) :  stereo  rec   0/0
  mic        ( 7) :  mono    rec*  0
  cd         ( 8) :  stereo  rec   0/0
  pcm2       (10) :  stereo        100/100
  igain      (12) :  stereo        0/0
  line1      (14) :  stereo  rec   0/0
  dig1       (17) :  stereo        0/0
  phin       (20) :  mono    rec   0
  phout      (21) :  mono    rec   100
  video      (22) :  stereo  rec   0/0
/dev/mixer1 = MPU-401 UART (mixer10)

Could the problem be related to MPU-401 UART?

Any help would be appreciated...

Thanks,
Michael


Related kernel modules that are loaded:

# lsmod |grep oss
snd_pcm_oss            39200  0
snd_mixer_oss          15552  1 snd_pcm_oss
snd_seq_oss            29120  0
snd_pcm                68996  4 snd_bt87x,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_seq_midi_event      7488  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                46224  9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device          8140  8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd                    47524  19 snd_bt87x,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_seq_oss,snd_pcm,snd_hwdep,snd_seq,snd_timer,snd_rawmidi,snd_seq_device

# lsmod |grep bt
snd_bt87x              14500  0
bt878                  10680  0
bttv                  160244  1 bt878
video_buf              23428  1 bttv
firmware_class         10048  1 bttv
ir_common              28164  1 bttv
compat_ioctl32          1792  1 bttv
i2c_algo_bit            8776  1 bttv
btcx_risc               5064  1 bttv
tveeprom               14160  1 bttv
videodev               21440  1 bttv
snd_pcm                68996  4 snd_bt87x,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_page_alloc          9928  3 snd_bt87x,snd_emu10k1,snd_pcm
v4l2_common            20736  4 bttv,videodev,tuner,msp3400
snd                    47524  19 snd_bt87x,snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_mpu401,snd_mpu401_uart,snd_seq_oss,snd_pcm,snd_hwdep,snd_seq,snd_timer,snd_rawmidi,snd_seq_device
i2c_core               20096  6 bttv,i2c_algo_bit,tveeprom,tuner,msp3400,i2c_nforce2


-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger



Reply to: