LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 06-29-2003, 10:00 PM   #1
gargi
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 6

Rep: Reputation: 0
Problem with bttv-drivers


Hi there,

I have a huge problem. I want to switch to linux instead of windows. my current problem is my tv-card (Hauppauge WinTV PCI-FM). I recently installed the v4l and the bttv-drivers and xawtv. when i run xawtv it tells me "Can't open device /dev/video0" so I looked for the problem and came to the end that the bttv-module isn't loaded.

I have tried to load the bttv-module a thousands of times but everytime I do so, it puts the following message to console:

Code:
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/bttv.o.gz: unresolved symbol i2c_bit_del_bus_Rdd11c972
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/bttv.o.gz: unresolved symbol i2c_master_send_R85828c3a
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/bttv.o.gz: unresolved symbol i2c_bit_add_bus_R8ca8253b
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/bttv.o.gz: unresolved symbol i2c_master_recv_Reffb2cf3
I'm sure that there is one module I've forgotten to load.

After this module there will be the message "Device not found" when insmod bttv..

I hope anyone can help me!

Feel free to ask for some logs!

-- Florian
 
Old 06-30-2003, 01:46 AM   #2
Ofer
LQ Newbie
 
Registered: May 2003
Distribution: RH 9
Posts: 8

Rep: Reputation: 0
Try to load the module using modprobe instead of insmod, it'll load dependant modules first so you don't have to deal with this problem.

But, just in case your stubborn the modules your missing are :
i2c-algo-bit
i2c-core
 
Old 06-30-2003, 07:11 AM   #3
gargi
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, I loaded these two modules and now the following message appears on modprobe bttv:

Code:
[root@flo gargi]# modprobe bttv
Using /lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/tuner.o.gz
/lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/bttv.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.21-0.13mdk/kernel/drivers/media/video/bttv.o.gz failed
modprobe: insmod bttv failed
part of /var/log/syslog:
Code:
Jun 30 14:08:31 flo kernel: bttv: driver version 0.7.100 loaded
Jun 30 14:08:31 flo kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Jun 30 14:08:31 flo kernel: bttv: Host bridge is VIA Technologies, Inc. VT8367 [KT266]
Jun 30 14:10:33 flo kernel: bttv: driver version 0.7.100 loaded
Jun 30 14:10:33 flo kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Jun 30 14:10:33 flo kernel: bttv: Host bridge is VIA Technologies, Inc. VT8367 [KT266]
I think that the module needs the device /dev/bttv is that correct? So now the problem is that /dev/bttv is a folder (don't ask me why!). Maybe it is another device, init_module is talking about?

Last edited by gargi; 06-30-2003 at 07:14 AM.
 
Old 06-30-2003, 07:15 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
/dev/bttv isn't a standard device. It might be looking for a systems block device like /dev/v4l or /dev/video0 (i think video0 is controlled via v4l though, not bttv directly). Alternatively it might refer to the card itself. is it clearly listed in "lspci"?
 
Old 06-30-2003, 07:18 AM   #5
gargi
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
Code:
[root@flo gargi]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:06.0 Multimedia video controller: Conexant: Unknown device 8800 (rev 03)
00:06.1 Multimedia controller: Conexant: Unknown device 8811 (rev 03)
00:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
At 00:06.0 and 00:06.1. One device is AFAIK the card and the other one the IR-Receiver...

--- edit ---
Ok, I've looked up the code of bttv.c and come to the result that the Module doesn't recognize my card at all... I'm now looking for the Cardlist...

--- edit2 ---
http://www.mandrakeexpert.com/index1...dent=64379&w=0
Another thread by me about the same problem...

Last edited by gargi; 06-30-2003 at 10:15 AM.
 
Old 07-02-2003, 04:23 PM   #6
pyro
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
other card same problem

hi,
i've got the same problem, well if you are looking for additional information have a look at your kernel-docs file:/usr/src/linux-2.4.21-ac4/Documentation/video4linux/bttv
there is a list of the supported cards and a script for creating the video devices (maybe you must make it executeable) an example modules.conf is also included, maybe it helps.
 
Old 07-03-2003, 12:05 AM   #7
gargi
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
Did you actually get the card running or are you the same state as me?
I think that the bttv driver doesn't recognize my card, because on "lspcidrake -v" there is no vendor or device information about the particular card.

Is there any way to set the vendor and device information manually?
 
Old 07-03-2003, 05:18 AM   #8
pyro
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
card is up and running

Hi,
I managed to get the card working today at 1 o clock in the morning, all i changed was the bios option plug and play os to no and i changed the slot of the tvcard. I think the last thing is more important. It used the irq of the tvcard before, if you want to have al look at the irqs make a cat /proc/pci. My modules conf entrys are

options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1
alias char-major-89 i2c-dev
alias chat-major-81 videodev
alias chat-major-81-0 bttv
options bttv radio=1 pll=1 card=24
options tuner type=5

S-Vide Composite and sound is working, too. I wonder if the remote control is supported by linux, I don't think so, anyway I'm sitting in front of my computer so I don't need it

The important loaded modules are
tuner 11744 1 (autoclean)
tvaudio 15068 0 (autoclean) (unused)
bttv 78496 0
videodev 7872 3 [bttv]
i2c-algo-bit 9064 1 [bttv]
i2c-core 21192 0 [tuner tvaudio bttv i2c-algo-bit]
soundcore 6276 0 [snd bttv]

If the sound isn't working, check if headphones are working on the tvcard. My soundcard doesn't digitalise the analog input, so I didn't hear it on the digital out.

Good luck
 
Old 07-14-2003, 08:57 AM   #9
gargi
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
Finally, I found out why the card isn't working!

It seems that I have a CX 23881-27 Chip on my Hauppauge WinTV PCI-FM. That's why I now installed the cx88* modules but now my problem is the following.

When starting xawtv in console (so that the messages appear in console), the following text appears in console:

Code:
This is xawtv-3.85, running on Linux/i686 (2.4.21-0.13mdk)
/dev/v4l/video0 [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=unknown): Input/output error
v4l2: read: Input/output error
So, my new problem is that I don't understand the error-message... Maybe there is someone having the same problem (already solved). I'm also unable to set any channels. Is there a manual for xawtv?

Thanks in advance!
 
Old 07-14-2003, 05:45 PM   #10
windell01
LQ Newbie
 
Registered: Jul 2003
Location: georgia
Distribution: Red Hat
Posts: 1

Rep: Reputation: 0
Hello,

"I'm also unable to set any channels. Is there a manual for xawtv?"

I had a similar problem...try man xawtvrc
 
Old 07-15-2003, 06:31 AM   #11
mad_ady
Member
 
Registered: Jan 2003
Location: I'm all in your mind!
Distribution: Debian
Posts: 248

Rep: Reputation: 30
gargi, Mandrake has a Control Panel that supports configuring the tv card. Try it if you didn't do it already.

To set channels in xawtv you must tune in on them (make sure you have the correct settings), add them to the list and then save the list. It should write a .xawtv file.

As for remote control support, try lirc.
 
Old 07-16-2003, 01:58 AM   #12
gargi
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
Nice idea. I think I've tried it a hundret times. Everytime I press OK, after typing PAL and something else I don't know anymore, a small window pops up and vanishes again.

I actually changed to gentoo Linux.. Hope I will have better luck with this distribution (but I think, if I can get Gentoo running, the tv-card shouldn't be the problem) ;-)

What I've learned so far: If something isn't working, check out everything even if you are sure that the tv-card has particular chipset...
 
  


Reply



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
WinTV/bttv drivers - no audio on card's line out BlurredWeasel Linux - Hardware 3 10-01-2007 08:50 PM
help me install v4l2 (bttv, xawtv, drivers please. carboncopy Linux - Hardware 5 07-15-2004 02:19 AM
BTTV cards running under the new radeon drivers? ravalox Linux - Software 0 06-26-2004 10:06 AM
BTTV drivers lbtheone Linux - Software 0 05-03-2004 08:49 PM
Linux BTTV drivers Lazlo Linux - General 7 05-04-2002 05:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:24 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
Open Source Consulting | Domain Registration