Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 2.6.16 and tv-tuner
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Sun Mar 26, 2006 7:44 pm    Post subject: kernel 2.6.16 and tv-tuner Reply with quote

hello,
i just upgraded to kernel 2.6.16 and now i'm having a problem with my tv-tuner. I can't hear sound from it, just an annoying noice (using in-kernel alsa drivers). It was/is working just fine with kernel 2.6.14... did anyone notice the same problem? I have a pinnacle pctv with the bt878 chip..

thanx in advance
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Mon Mar 27, 2006 6:20 am    Post subject: Reply with quote

Something is happening. I went from 2.6.15 to 2.6.16 and didn't even boot.
Switched back to 2.6.15 and now tv doesn't work. Had sound for a split second, now nothing. Investigating.

Edit: Fixed my issue. I have no idea why, but somehow in the process of trying the new kernel, the NTSC frequency got changed from nominal to HRC in the tvtime config file. Very strange.


Last edited by Headrush on Tue Mar 28, 2006 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Mon Mar 27, 2006 3:30 pm    Post subject: Reply with quote

hmm..
anybody having the same problem? (noice instead of sound for the tv-tuner)
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
johoe
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2005
Posts: 92

PostPosted: Mon Mar 27, 2006 7:19 pm    Post subject: Reply with quote

Hi, I had the same problem starting with kernel 2.6.15. I am using Pinnacle PCTV Sat. After searching through the kernel source I found that the /drivers/media/video/bttv-cards.c changed. So I changed the source to this and now it is working prefect again (current kernel gentoo-sources-2.6.16)
Code:

   [BTTV_BOARD_PINNACLESAT] = {
      .name           = "Pinnacle PCTV Sat",
      .video_inputs   = 2,
      .audio_inputs   = 0,
      .svhs           = 1,
      .tuner          = -1,
      .tuner_type     = -1,
      .tuner_addr   = ADDR_UNSET,
      .no_msp34xx     = 1,
      .no_tda9875     = 1,
      .no_tda7432     = 1,
      .gpiomask       = 0x01,
      .audiomux       = { 0, 0, 0, 0, 1 },
      .muxsel         = { 3, 0, 1, 2},
      .needs_tvaudio  = 0,
      .pll            = PLL_28,
      .no_gpioirq     = 1,
      .has_dvb        = 1,
   },

Sorry, don't have the original 2.6.16 kernel source anymore, don't want to emerge now:-) Simply search in the file for Pinnacle PCTV Sat and change the structure. Hope this might help you too...

johoe
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Mon Mar 27, 2006 9:39 pm    Post subject: Reply with quote

well.. my tv-tuner is not a sat one. :( I checked the sources though and everything looked just fine.. unfortunally... anyway, looking at the latest git-sources i noticed a few patches about fixes/improvements on the audio part of the bttv drivers.. i'll give them a shot asap and report back if anyone is interested..
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Tue Apr 04, 2006 9:26 pm    Post subject: Reply with quote

i upgraded to vanilla 2.6.17rc1 and sound didn't still work. The kernel detects the tuner card just fine. Now if i just remove the bttv module and then reload it, then it works... weird.. kernel 2.6.14 is just fine...
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
r00dy
n00b
n00b


Joined: 14 Apr 2006
Posts: 14

PostPosted: Fri Apr 14, 2006 3:15 pm    Post subject: Reply with quote

I have the same.
When I checked dmesg then I saw:
Quote:
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
bttv0: Bt848 (rev 18) at 0000:00:0a.0, irq: 10, latency: 32, mmio: 0xcd8ff000
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffebff [init]
tveeprom 0-0050: Huh, no eeprom present (err=-121)?
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
bttv0: registered device video0
bttv0: registered device vbi0


So I think that the module is not loading with proper parameters from modules.autoload
When I try to load module manually:
Quote:
modprobe bttv radio=0 card=15 tuner=7 gbuffers=32

then in dmesg I see:
Quote:

bttv0: unloading
bttv: driver version 0.9.16 loaded
bttv: using 32 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
bttv0: Bt848 (rev 18) at 0000:00:0a.0, irq: 10, latency: 32, mmio: 0xcd8ff000
bttv0: using: Zoltrix TV-Max [card=15,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffebff [init]
bttv0: using tuner=7
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 0-0060: All bytes are equal. It is not a TEA5767
tuner 0-0060: chip found @ 0xc0 (bt848 #0 [sw])
tuner 0-0060: type set to 7 (Temic PAL_I (4062 FY5))
tuner 0-0061: chip found @ 0xc2 (bt848 #0 [sw])
bttv0: registered device video0
bttv0: registered device vbi0


And now tv works.

Maybe it's problem of modules/autoload with 2.6.16 ?
Back to top
View user's profile Send private message
timaios
n00b
n00b


Joined: 20 Mar 2004
Posts: 14

PostPosted: Thu Apr 20, 2006 1:56 am    Post subject: Reply with quote

kmare wrote:
i upgraded to vanilla 2.6.17rc1 and sound didn't still work. The kernel detects the tuner card just fine. Now if i just remove the bttv module and then reload it, then it works... weird.. kernel 2.6.14 is just fine...


I have the same problem......
Have you managed to solve this ??
Back to top
View user's profile Send private message
krani1
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2004
Posts: 76

PostPosted: Sat Apr 22, 2006 5:34 pm    Post subject: Reply with quote

got the same problem with 2.6.16-gentoo-r2 and the ugly hack of rmmod.. modprobe bttv works for me too...
Back to top
View user's profile Send private message
drphibes
Guru
Guru


Joined: 30 Nov 2004
Posts: 432

PostPosted: Sat Apr 22, 2006 9:01 pm    Post subject: Reply with quote

My bt878 (ati tv-wonder) card kept me using 2.6.14 until very recently. I was getting all kinds of noise and,
most annoyingly, the tv audio would start playing on boot. I now have a stable setup with no audio noise:

kernel 2.6.16-gentoo-r3
alsa-* 1.0.11

I do not load bttv in /etc/modules.autoload.d/kernel-2.6. instead I let that module load automatically when needed.
To feed the bttv module the correct parameters, I do this:

create a /etc/modules.d/bttv file, containing the options you want to feed modprobe (insmod). in my case i use:

Code:
alias char-major-81     bttv
pre-install bttv /sbin/modprobe tuner; /sbin/modprobe msp3400
options bttv card=63 tuner=2


Run 'modules-update' to generate a new /etc/modules.conf. After you do this, 'modprobe bttv' (or 'bttv' in kernel-2.6)
should use your options.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum