Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-26-2002, 06:19 PM
|
#1
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Rep:
|
hauppauge winTVgo no reception, D'oh!
Hi,
Bought today winTVgo, BT848 chipset because supposedly well supported.
Also bought today creative SB live with emu10k1 chipset, same reason.
Machine is old Compaq Deskpro 4000.
Did a fresh debian woody install with 2.4.18 kernel, I *think* I got all the right drivers loaded, but ...
When I start scantv, it finds nothing on all channels, when I start xawtv, it shows colored noise in the upper 20 pixels of an otherwise black window.
this is what lsmod shows:
Module Size Used by Tainted: P
i2c-old 3648 0 (unused)
bttv 60448 0
i2c-proc 6272 0 (unused)
i2c-dev 3680 0 (unused)
i2c-algo-pcf 4800 0 (unused)
i2c-algo-bit 6924 1 [bttv]
ppp_deflate 38944 0 (autoclean)
bsd_comp 3936 0 (autoclean)
ppp_async 6464 1 (autoclean)
ppp_generic 18728 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
mga 102800 0 (unused)
slhc 4432 0 [ppp_generic]
hfs 73280 0 (unused)
emu10k1 55712 0 (unused)
ac97_codec 9568 0 [emu10k1]
v_midi 5024 0 (unused)
msp3400 14032 0 (unused)
tvmixer 3872 0 (unused)
videodev 4448 2 [bttv]
tvaudio 9536 0 (unused)
tuner 8100 1
i2c-core 12160 0 [bttv i2c-proc i2c-dev i2c-algo-pcf i2c-algo-bit msp3400 tvmixer tvaudio tuner]
agpgart 29824 1
parport 21728 0 (unused)
sb 7328 0
sb_lib 32256 0 [sb]
uart401 6016 0 [sb_lib]
sound 52876 0 [emu10k1 v_midi sb_lib uart401]
soundcore 3236 11 [emu10k1 tvmixer sb_lib sound]
isa-pnp 27432 0 [sb]
tlan 22944 1
ipddp 2464 0 (unused)
appletalk 18988 0 [ipddp]
keybdev 1664 0 (unused)
usbkbd 2848 0 (unused)
input 3072 0 [keybdev usbkbd]
usb-uhci 20708 0 (unused)
usbcore 48032 0 [usbkbd usb-uhci]
maybe I loaded some unnecessary modules that get into the way? or am I missing a module that belongs to the TV stuff?
desperate.. I need this running by tomorrow night.. pleeze help.
Lukas
|
|
|
11-26-2002, 06:25 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
ok, you have the bttv module loaded, so you should just be down to settings on xawtv, ntsc / pal etc... as the wintvgo is abuot the most standard bt878 card aronud it doesn't need ANY default configuration, just make sure you've already run v4l-conf to try to configure it.
|
|
|
11-26-2002, 06:40 PM
|
#3
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Original Poster
Rep:
|
ah, i hadn't run that. the manpage says it get's run auto by xawtv..
when i run it, it says this:
continuity:~# v4l-conf
v4l-conf: using X11 display :0.0
dga: version 2.0
mode: 1152x864, depth=24, bpp=32, bpl=4608, base=0x41000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: configuration done
i dunno what lower part stuff is about, looks slightly worrying. am i right that scantv should be unaffected by the subtleties of this setup? because scantv already goes wrong. i live in the Netherlands, so i start scantv with PAL and western-europe, it prints this kind of stuff:
51 (711.25 MHz): no station
52 (719.25 MHz): no station
53 (727.25 MHz): no station
54 (735.25 MHz): no station
55 (743.25 MHz): no station
(for all frequencies)
which means that it's going wrong on a pretty fundamental level. i do know there is TV on that cable that i plugged in.
?
|
|
|
11-26-2002, 06:46 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
hmm, i don't acutally think that that is an error from the Invlaid Argument line, but i saw a bit online that says to insmod the module with v4l2=0, so it will automatically use the more stable v4l anyway (which is what i use with superb results. so try somethign like
alias char-major-81 bttv
options bttv v4l2=0
in /etc/modules.conf and reboot to make sure it has an effect and try again.
http://cvs.sourceforge.jp/cgi-bin/vi...E?annotate=1.1
|
|
|
11-26-2002, 08:02 PM
|
#5
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Original Poster
Rep:
|
Maybe it's an interrupt conflict thingy or something with the order of the module loading. I had a look at the Syslog after starting up again, and it doesn't look too good. I'll paste it here:
Nov 27 02:41:58 continuity kernel: PCI: Found IRQ 11 for device 00:14.2
Nov 27 02:41:58 continuity kernel: PCI: Sharing IRQ 11 with 00:0d.0
...
Nov 27 02:41:58 continuity kernel: PCI: Found IRQ 11 for device 00:10.0
Nov 27 02:41:58 continuity kernel: PCI: Sharing IRQ 11 with 00:12.0
Nov 27 02:41:58 continuity kernel: TLAN: eth0 irq=11, io=1020, Compaq Netelligent 10/100 TX Embedded UTP, Rev. 16
Nov 27 02:41:58 continuity kernel: TLAN: 1 device installed, PCI: 1 EISA: 0
Nov 27 02:41:58 continuity kernel: isapnp: Scanning for PnP cards...
Nov 27 02:41:58 continuity kernel: isapnp: Card 'ESS ES1869 Plug and Play AudioDrive'
Nov 27 02:41:58 continuity kernel: isapnp: 1 Plug & Play card detected total
Nov 27 02:41:58 continuity kernel: Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
Nov 27 02:41:58 continuity kernel: sb: ESS ES1869 Plug and Play AudioDrive detected
Nov 27 02:41:58 continuity kernel: sb: ISAPnP reports 'ESS ES1869 Plug and Play AudioDrive' at i/o 0x220, irq 5, dma 1, 3
Nov 27 02:41:58 continuity kernel: SB 3.01 detected OK (220)
Nov 27 02:41:58 continuity kernel: ESS chip ES1869 detected
Nov 27 02:41:58 continuity kernel: sb: 1 Soundblaster PnP card(s) found.
Nov 27 02:41:58 continuity kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann
Nov 27 02:41:58 continuity kernel: agpgart: Maximum main memory to use for agp memory: 177M
Nov 27 02:41:58 continuity kernel: agpgart: Detected Intel 440LX chipset
Nov 27 02:41:58 continuity kernel: agpgart: AGP aperture is 64M @ 0x44000000
Nov 27 02:41:58 continuity kernel: i2c-core.o: i2c core module
Nov 27 02:41:58 continuity kernel: i2c-dev.o: i2c /dev entries driver module
Nov 27 02:41:58 continuity kernel: i2c-core.o: driver i2c-dev dummy driver registered.
Nov 27 02:41:58 continuity kernel: i2c-algo-bit.o: i2c bit algorithm module
Nov 27 02:41:58 continuity kernel: i2c-algo-pcf.o: i2c pcf8584 algorithm module
Nov 27 02:41:58 continuity kernel: i2c-proc.o version 2.6.1 (20010825)
Nov 27 02:41:58 continuity kernel: Linux video capture interface: v1.00
Nov 27 02:41:58 continuity kernel: bttv: driver version 0.7.83 loaded
Nov 27 02:41:58 continuity kernel: bttv: using 2 buffers with 2080k (4160k total) for capture
Nov 27 02:41:58 continuity kernel: bttv: Host bridge is Intel Corp. 440LX/EX - 82443LX/EX Host bridge
Nov 27 02:41:58 continuity kernel: bttv: Host bridge needs ETBF enabled.
Nov 27 02:41:58 continuity kernel: bttv: Bt8xx card found (0).
Nov 27 02:41:58 continuity kernel: PCI: Found IRQ 11 for device 00:0d.0
Nov 27 02:41:58 continuity kernel: PCI: Sharing IRQ 11 with 00:14.2
Nov 27 02:41:58 continuity kernel: bttv0: Bt848 (rev 18) at 00:0d.0, irq: 11, latency: 66, memory: 0x42000000
Nov 27 02:41:58 continuity kernel: bttv0: using: BT848A( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Nov 27 02:41:58 continuity kernel: bttv0: enabling ETBF (430FX/VP3 compatibilty)
Nov 27 02:41:58 continuity kernel: i2c-dev.o: Registered 'bt848 #0' as minor 0
Nov 27 02:41:58 continuity kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Nov 27 02:41:58 continuity kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Nov 27 02:41:58 continuity kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Nov 27 02:41:58 continuity kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Nov 27 02:41:58 continuity kernel: i2c-core.o: driver i2c TV tuner driver registered.
Nov 27 02:41:58 continuity kernel: tuner: chip found @ 0xc2
Nov 27 02:41:58 continuity kernel: bttv0: i2c attach [client=(unset),ok]
Nov 27 02:41:58 continuity kernel: i2c-core.o: client [(unset)] registered to adapter [bt848 #0](pos. 0).
Nov 27 02:41:58 continuity kernel: tvaudio: TV audio decoder + audio/video mux driver
Nov 27 02:41:58 continuity kernel: tvaudio: known chips: tda9840,tda9873h,tda9874a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
Nov 27 02:41:58 continuity kernel: i2c-core.o: driver generic i2c audio driver registered.
Nov 27 02:41:58 continuity kernel: i2c-core.o: driver tv card mixer driver registered.
Nov 27 02:41:58 continuity kernel: tvmixer: debug: (unset)
Nov 27 02:41:58 continuity kernel: i2c-core.o: driver i2c msp3400 driver registered.
Nov 27 02:41:58 continuity kernel: MIDI Loopback device driver
Nov 27 02:41:58 continuity kernel: Creative EMU10K1 PCI Audio Driver, version 0.18, 10:29:21 Apr 14 2002
Nov 27 02:41:58 continuity kernel: PCI: Found IRQ 11 for device 00:12.0
Nov 27 02:41:58 continuity kernel: PCI: Sharing IRQ 11 with 00:10.0
Nov 27 02:41:58 continuity kernel: emu10k1: EMU10K1 rev 7 model 0x8064 found, IO at 0x1040-0x105f, IRQ 11
Nov 27 02:41:58 continuity kernel: ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
Nov 27 02:41:58 continuity kernel: emu10k1: SBLive! 5.1 card detected
|
|
|
11-27-2002, 03:56 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well try setting the card= option as it's not finding the card properly. search google for cardlist and xawtv and pick out the right card., which afaik is number 10.
|
|
|
11-27-2002, 06:36 AM
|
#7
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Original Poster
Rep:
|
Do I set the card=option in the /etc/modules.conf?
Is it the "bttv0: using: BT848A( *** UNKNOWN/GENERIC **) [card=0,autodetected]" statement from the log that means it's not finding the card properly?
I had added the stuff to the /etc/modules.conf that you suggested btw.
I got kinda confused about it because it says on top of that file it shouldnt be edited?
Anyway, I also edited the /etc/modules file, crosschecking with lsmod and the /var/log/syslog and /var/log/messages to see which unnecessary modules I had loaded. I hope editing the modules files was ok. It now looks like this:
input
keybdev
tlan
i2c-core
i2c-dev
i2c-algo-bit
i2c-algo-pcf
i2c-proc
tuner
tvaudio
videodev
bttv
tvmixer
soundcore
sound
sb
emu10k1
Is the order of appearance important? At any rate, the tv-related stuff from /var/log/messages looks like this now:
Nov 27 12:33:19 continuity kernel: tvaudio: TV audio decoder + audio/video mux driver
Nov 27 12:33:19 continuity kernel: tvaudio: known chips: tda9840,tda9873h,tda9874a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
Nov 27 12:33:19 continuity kernel: i2c-core.o: driver generic i2c audio driver registered.
Nov 27 12:33:19 continuity kernel: Linux video capture interface: v1.00
Nov 27 12:33:19 continuity kernel: bttv: driver version 0.7.83 loaded
Nov 27 12:33:19 continuity kernel: bttv: using 2 buffers with 2080k (4160k total) for capture
Nov 27 12:33:19 continuity kernel: bttv: Host bridge is Intel Corp. 440LX/EX - 82443LX/EX Host bridge
Nov 27 12:33:19 continuity kernel: bttv: Host bridge needs ETBF enabled.
Nov 27 12:33:19 continuity kernel: bttv: Bt8xx card found (0).
Nov 27 12:33:19 continuity kernel: PCI: Found IRQ 11 for device 00:0d.0
Nov 27 12:33:19 continuity kernel: PCI: Sharing IRQ 11 with 00:14.2
Nov 27 12:33:19 continuity kernel: bttv0: Bt848 (rev 18) at 00:0d.0, irq: 11, latency: 66, memory: 0x42000000
Nov 27 12:33:19 continuity kernel: bttv0: using: BT848A( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Nov 27 12:33:19 continuity kernel: bttv0: enabling ETBF (430FX/VP3 compatibilty)
Nov 27 12:33:19 continuity kernel: i2c-dev.o: Registered 'bt848 #0' as minor 0
Nov 27 12:33:19 continuity kernel: tuner: chip found @ 0xc2
Nov 27 12:33:19 continuity kernel: bttv0: i2c attach [client=(unset),ok]
Nov 27 12:33:19 continuity kernel: i2c-core.o: client [(unset)] registered to adapter [bt848 #0](pos. 0).
Nov 27 12:33:19 continuity kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Nov 27 12:33:19 continuity kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Nov 27 12:33:19 continuity kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Nov 27 12:33:19 continuity kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Nov 27 12:33:19 continuity kernel: i2c-core.o: driver tv card mixer driver registered.
Nov 27 12:33:19 continuity kernel: tvmixer: debug: (unset)
So, it seems that at least Bt848 as unknown/generic is detected. Should it detect the vendor/product at that point? Are the "checking for" .."not found" a result of the card not being detected right? And is the "tvmixer: debug: (unset)" the really bad thing?
Is there a place on the net where they explain which of those modules do what, which are really crucial and which aren't, or maybe I've loaded some that conflict with each other? I have no idea, for example, if those I2C modules, that kinda seem to not find stuff, if they are really necessary for the bttv to work right ? I just added more I2C modules into the /etc/modules file because the I2C-core one that I originally had, was apparently missing 2 symbols, that bttv calls, or needs, or whatever.
So maybe some of the I2C stuff that I added shouldnt be in there and really gets in the way? .. Clueless.
What about that PCI Busmaster thingy with all those different cards all on IRQ11 (see long log listing earlier post, the interrupt stuff is still the same).
Is that OK or something I should worry about. If yes (worry), where can I change the IRQ stuff?
Anyway, the current module situation is this:
continuity:~# lsmod
Module Size Used by Tainted: P
ppp_deflate 38944 0 (autoclean)
bsd_comp 3936 0 (autoclean)
ppp_async 6464 1 (autoclean)
ppp_generic 18728 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4432 0 (autoclean) [ppp_generic]
emu10k1 55712 0 (unused)
ac97_codec 9568 0 [emu10k1]
sb 7328 0
sb_lib 32256 0 [sb]
uart401 6016 0 [sb_lib]
isa-pnp 27432 0 [sb]
sound 52876 0 [emu10k1 sb_lib uart401]
tvmixer 3872 0 (unused)
soundcore 3236 9 [emu10k1 sb_lib sound tvmixer]
bttv 60448 0
videodev 4448 2 [bttv]
tvaudio 9536 0 (unused)
tuner 8100 1
i2c-proc 6272 0 (unused)
i2c-algo-pcf 4800 0 (unused)
i2c-algo-bit 6924 1 [bttv]
i2c-dev 3680 0 (unused)
i2c-core 12160 0 [tvmixer bttv tvaudio tuner i2c-proc i2c-algo-pcf i2c-algo-bit i2c-dev]
tlan 22944 1
keybdev 1664 0 (unused)
input 3072 0 [keybdev]
As far as the total failure of scantv to find ANY channel is concerned, nothing has changed.
|
|
|
11-27-2002, 06:52 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
yeah set it in that options line i suggested earlier, i get...
Nov 25 11:54:48 trevor kernel: bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
so maybe it's jsut not autodetectnig it. if it is a proper haupage wintvgo then set card=10.
|
|
|
11-27-2002, 08:58 AM
|
#9
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Original Poster
Rep:
|
My old edits in /etc/modules.conf appear to be gone. It says this at the beginning of the file, so no wonder.
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
I guess this is a debian specialty...
It seems I have to put the stuff that I want to appear in /etc/modules.conf into one of the existing files in /etc/modutils/ or create a new file there, even.
This, for instance, is in the /etc/modutils/actions file:
# Special actions that are needed for some modules
# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner
Whereas the alias statement for bttv is in the /etc/modutils/aliases file and looks like this:
alias char-major-81 bttv
In this file, there are only alias statements. Is it ok for me to put the options statement in there? And if so, would it be correct syntax like this:
alias char-major-81 bttv
options bttv v4l2=0
options bttv card=10
or should it be in one line:
options bttv v4l2=0 card=10
?
I have no clue what the v4l2 is supposed to be for...
Last edited by Lukas; 11-27-2002 at 09:01 AM.
|
|
|
11-27-2002, 09:36 AM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
i'm unaware of this system, but i'd just suggest having a fiddle, put it directly after the bttv alias for a start, if it doesn't work then try somewhere in in that directory. I get the feeling that there is no acutal structure to the system and is likely to just load any file it finds there. have a search on google for information about this system... whatever system it actually... only manpage i've found about it says it's only for s390 systems....
|
|
|
11-27-2002, 01:13 PM
|
#11
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Original Poster
Rep:
|
Tried it with
alias char-major-81 bttv
options bttv v4l2=0
options bttv card=10
in the alias file. It got picked up just fine in the /etc/modules.conf .
After the next boot it became clear that the card=10 must be a newer version with the BT878.
I have an old BT848 version of the card. Found it somewhere on the net, it's card=2 for that one.
... and it worked !!! Thank You ! THANK YOU !! !!!!
Now I got it running in time to watch Buffy ...
The sound situation is kinda funny though. At first I thought I had no sound at all, then tried to connect my speakers to the little sound jack on the TV card. The sound from there works, sucks bigtime though, because it's very bad quality in the fist place and additionaly it builds up a static 50 Hz hum.
The TV card package said it requires a soundcard, which is really why I had bought the soundcard, so I suppose this is not the preferred way of operation ...
Checking the /var/log/messages, the bttv seems to want to connect to that msp3400:
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
which I had gotten rid of earlier. So I put the msp3400 back into the /etc/modules , after I2C stuff but before any of the TV stuff, but somehow that doesn't seem to cut it, because even with that, the /var/log/messages still show:
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
and also later
bttv0: i2c: checking for MSP34xx @ 0x80... not found
which does look a lot like it wants to bind to it or something but can't find it.
Earlier in the log, the I2C stuff does find it:
i2c-core.o: driver i2c msp3400 driver registered.
Do you know if the msp3400 is actually sound-related or for something else?
Anyway, even with crappy sound, it's TV time!

|
|
|
11-27-2002, 01:19 PM
|
#12
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Now I got it running in time to watch Buffy ...
|
wish i hadn't bothered!
no idea about the sound. my setup uses a patch cable to connect the line out from the tv card to the line in on my sourndcard, and from there it is just any old input...
|
|
|
11-27-2002, 01:33 PM
|
#13
|
LQ Newbie
Registered: Nov 2002
Distribution: Debian Woody
Posts: 16
Original Poster
Rep:
|
>> wish i hadn't bothered!
What did you expect, it's just a banal TV card, not a national instruments lab thing or something :-)
I've also got the patch cable. Just for the sound quality, it makes no difference if I just plug my active speakers into that jack directly or use the patch cable and then get the sound from the machine. The noise level that comes from that jack way is higher than the normal noise on the cable (even without the 50hz hum). I've used a regular TV set on that cable before and the sound was normal.
|
|
|
All times are GMT -5. The time now is 08:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|