Linux - HardwareThis 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.
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.
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..
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?
/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"?
[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...
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.
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?
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
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.
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?
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.