LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-26-2011, 01:04 PM   #1
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Rep: Reputation: 55
No sound in xawtv after kernel upgrade


I am using gentoo. After upgrading from kernel 2.6.38 to 2.6.39 xawtv displays picture but I have no sound. Tvtime plays sound ok (but I prefer xawtv). I have tried re-emerging xawtv alsa and alsa-utils with no luck. I wonder if I missed some kernel config. I always use the old config to start with (by copying .config from old /usr/src/linux-xxx/ to the new directory). My card is a Kworld multimedia with bt878, and (probably) philips fm1216me mk3 tuner (this is the only working option). I have attached my kernel configs if anyone can see something that causes this behaviour.
Any help/ideas/advice much appreciated.
Attached Files
File Type: txt 2.6.38-config.txt (68.9 KB, 3 views)
File Type: txt 2.6.39-config.txt (71.3 KB, 4 views)
File Type: txt 3.0.6-config.txt (71.8 KB, 5 views)
 
Old 10-27-2011, 08:25 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,296

Rep: Reputation: Disabled
hi

to assist others to answer or me....can you boot up your working kernel and post the outputs to one text file at

http://paste.debian.net/

72 hours should suffice otherwise

http://ompldr.org/

Code:
lspci -v
aplay -l
aplay -L
(and maybe)
lsmod
lspci -v will show your hardware and the modules being used.

if you believe it does not show enough module info post lsmod

2) If you run alsamixer can you post an image of the output pls

http://imagebin.org/index.php?page=add

what happens when you press F6

---------- Post added 27-10-11 at 20:25 ----------

hi

to assist others to answer or me....can you boot up your working kernel and post the outputs to one text file at

http://paste.debian.net/

72 hours should suffice otherwise

http://ompldr.org/

Code:
lspci -v
aplay -l
aplay -L
(and maybe)
lsmod
lspci -v will show your hardware and the modules being used.

if you believe it does not show enough module info post lsmod

2) If you run alsamixer can you post an image of the output pls

http://imagebin.org/index.php?page=add

what happens when you press F6
 
Old 10-27-2011, 02:47 PM   #3
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Ok. Booted my working kernel (2.6.38).
This is the output of "lspci -v"
http://paste.debian.net/140464/
"lsmod"
http://paste.debian.net/140465/
"aplay -l"
http://paste.debian.net/140468/

I can't capture an image of my desktop, but I use alsamixer as my main mixer application, and everything seems normal, with each one of the three kernels.
When I press F6 I get 3 options
Code:
- (default)
0 Nvidia CK804
  enter device name...
This is the only sound card installed. Again, tvtime works fine, unmutes and adjusts the level of line-in from the program itself. Xawtv doesn't play sound either if I manually unmute the line-in (from alsamixer) or inside the program.
 
Old 10-27-2011, 07:46 PM   #4
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,296

Rep: Reputation: Disabled
ok well from my sound point of view the main info I find useful is

00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Kernel driver in use: Intel ICH

01:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 16
Kernel driver in use: bttv
Kernel modules: bttv

01:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 3

forgive my web browser I have reported it...it sometimes double posts and I find I can't edit

2) debian package = xawtv-tools
suggests it can......It has a simple input level meter which might be useful for troubleshooting sound problems;

3) Its not clear to me if you have had sound working in past for xawtv so forgive me if you already know this

http://linux.die.net/man/1/xawtv

you can run
xawtv -C, -dspdev device
set audio device (default is /dev/dsp).


BTW I don't have tv tuner card

and once started you can press

A Audio on/off

It looks like it is not maintained any more
http://www.kraxel.org/blog/linux/xawtv/

4) according to https://wiki.archlinux.org/index.php/Webcam_Setup#xawtv

nvidia video cards can be an issue

when I looked again at your lspci my eyesight can only spot the bt878 device.

does that seem right ?

---------- Post added 28-10-11 at 07:46 ----------

ok well from my sound point of view the main info I find useful is

00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Kernel driver in use: Intel ICH

01:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 16
Kernel driver in use: bttv
Kernel modules: bttv

01:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Flags: bus master, medium devsel, latency 32, IRQ 3

forgive my web browser I have reported it...it sometimes double posts and I find I can't edit

2) debian package = xawtv-tools
suggests it can......It has a simple input level meter which might be useful for troubleshooting sound problems;

3) Its not clear to me if you have had sound working in past for xawtv so forgive me if you already know this

http://linux.die.net/man/1/xawtv

you can run
xawtv -C, -dspdev device
set audio device (default is /dev/dsp).


BTW I don't have tv tuner card

and once started you can press

A Audio on/off

It looks like it is not maintained any more
http://www.kraxel.org/blog/linux/xawtv/

4) according to https://wiki.archlinux.org/index.php/Webcam_Setup#xawtv

nvidia video cards can be an issue

when I looked again at your lspci my eyesight can only spot the bt878 device.

does that seem right ?
 
Old 10-27-2011, 08:08 PM   #5
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,296

Rep: Reputation: Disabled
I re-looking at your kernel config for sound

you have
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_BT87X=y

why not try re-compiling those as both modules....when you want to use tv...with root powers remove the ac97 module
However, due to dependencies we have to do it in a reverse order.

post the output to

lsmod | grep snd

and I can hopefully give you a script that you can use to remove ac97 and then modprobe bttv

2) can you do me a favour and look into your kernel at these points pls

# Multimedia core support
#
# CONFIG_MEDIA_CONTROLLER is not set
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2_COMMON=y
# CONFIG_DVB_CORE is not set

does help say core is not needed?

Does help say none of the following are needed?
# Video decoders
# Video and audio decoders
# MPEG video encoders
# Video encoders

Lastly

why have you builtin the following (and similar settings in that part of the config when you don't use them?
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y

If unsure its better to build as modules

then run lsmod and see what modules you need?

that is just a suggestion BTW
 
Old 10-28-2011, 04:00 AM   #6
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
Yes the sound has been working with kernels 2.6.37 and 2.6.38
The "problem" first appeared in 2.6.39 and carries on to 3.0.6 without messing up with tv cards config (I think). Unfortunately I can't find xawtv-tools in gentoo.
Code:
 $ emerge --search xawtv
Searching...    
[ Results for search key : xawtv ]
[ Applications found : 1 ]

*  media-tv/xawtv
      Latest version available: 3.95-r2
      Latest version installed: 3.95-r2
      Size of files: 624 kB
      Homepage:      http://bytesex.org/xawtv/
      Description:   Small suite of video4linux related software
      License:       GPL-2
Quote:
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_BT87X=y

why not try re-compiling those as both modules
I prefer to use very few modules but I will give it a try.
Quote:
4) according to https://wiki.archlinux.org/index.php/Webcam_Setup#xawtv

nvidia video cards can be an issue
My video card is ati. The northbridge is nvidia nforce4 (fanatic amd user )

The high definition audio was built as modules but I changed it just to check if it makes any difference.
DVB core I think is not needed since this is an analog and not digital/hybrid tuner, but I'll try that too.
I will try your advice later. I have to go now. Many thanks for your time.
 
Old 10-29-2011, 07:50 AM   #7
segmentation_fault
Member
 
Registered: Sep 2008
Location: Ioannina, Greece
Distribution: Gentoo
Posts: 332

Original Poster
Rep: Reputation: 55
I compiled the sound stuff as modules and added dvb module, but still no sound. Since tvtime works fine I suspect it's a xawtv related problem. If it really is not maintained anymore, probably I have to give up using this program and switch to another, or remove my tv card and get a cheap tv. Thanks for the help. I really appreciate it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no sound with front connector after kernel upgrade....Intel HDA onboard sound aus9 Debian 2 01-21-2009 03:43 AM
Alsa Sound Error: reduced sound to stereo from 5.1 after kernel upgrade vmt1 Linux - Hardware 1 06-03-2006 12:35 PM
No sound after kernel upgrade Ratclaws Linux - Hardware 2 05-24-2005 04:50 AM
XawTV - Sound continues after closing XawTV ministre Linux - Software 5 11-05-2003 11:26 AM
no sound after kernel upgrade hejduk Linux - General 3 03-14-2002 06:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration