LinuxQuestions.org
Help answer threads with 0 replies.
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 11-26-2008, 11:12 PM   #1
agingcomputer
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Trying to get bttv tv-tuner card working again on opensuse 10.3


So, I've been trying to get my tv tuner card working again on opensuse 10.3. I've had it working on previous versions and I think I even got it to work on 10.3 at some point, but it certainly isnt working now.

v4l-conf and v4l-info say "no such device" about /dev/fb0 and /dev/video0 respectively.

Some data:

---------
ls -la /dev/video0 /dev/fb0
crw-r--r-- 1 root root 29, 0 2008-11-26 21:00 /dev/fb0
crw-rw-rw- 1 root root 81, 0 2008-11-14 18:12 /dev/video0
---------

---------
The error that I get when I try to run xawtv:

This is xawtv-3.95, running on Linux/x86_64 (2.6.22.18-0.2-default)
xinerama 0: 800x600+0+0
can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available
-----------

grep bttv /var/log/messages

Nov 14 17:45:41 sitting kernel: bttv: driver version 0.9.17 loaded
Nov 14 17:45:41 sitting kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Nov 14 17:57:41 sitting kernel: bttv: driver version 0.9.17 loaded
Nov 14 17:57:41 sitting kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Nov 14 17:58:45 sitting kernel: bttv: driver version 0.9.17 loaded
Nov 14 17:58:45 sitting kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture

--------------

lspci -vv

[snip]
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] (prog-if 00 [VGA])
Subsystem: PC Partner Limited Radeon RV200 QW [Radeon 7500 LE]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 8000 [size=256]
Region 2: Memory at f1000000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at f0000000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:06.0 Multimedia video controller: Brooktree Corporation Unknown device 0366 (rev 02)
Subsystem: 3Dfx Interactive, Inc. Unknown device 3060
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 32 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f4000000 (32-bit, prefetchable) [size=4K]

02:06.1 Multimedia controller: Brooktree Corporation Unknown device 0870 (rev 02)
Subsystem: 3Dfx Interactive, Inc. Unknown device 3060
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 32 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f4001000 (32-bit, prefetchable) [size=4K]
[/snip]
--------------

Does anyone know what I need to do to get this tv tuner card working?
 
Old 11-28-2008, 12:57 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
load the kernel module for the device?

$ lsmod

$ lspci -n

# modprobe bttv

And/or configure udev to create /dev/video0

$ egrep -r -i "v4l\/" /etc/udev/*

If you don't have some sort of KERNEL=="video[0-9]*", NAME="v4l/%k" type entry, it's not there and probably needs to be added. If it's there, then you probably didn't load the kernel driver.

$ dmesg
 
Old 11-28-2008, 05:20 PM   #3
agingcomputer
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I've tried using modprobe to load the module.

If I use "mknod /dev/video0 c 81 0" to create the device, the error message that I get is

can't open /dev/video0: No such device
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available

When I modprobe, dmesg generates the following lines:

Linux video capture interface: v2.00
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

So, the module is inserted and the device file exists, but it seems as if the device file is not linked to the physical device. I'm trying to figure out why that is and how to fix it.


Quote:
Originally Posted by Shadow_7 View Post
load the kernel module for the device?

$ lsmod

$ lspci -n

# modprobe bttv

And/or configure udev to create /dev/video0

$ egrep -r -i "v4l\/" /etc/udev/*

If you don't have some sort of KERNEL=="video[0-9]*", NAME="v4l/%k" type entry, it's not there and probably needs to be added. If it's there, then you probably didn't load the kernel driver.

$ dmesg
 
Old 11-29-2008, 09:39 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Are you sure you got the major/minor numbers right?

/proc/devices should have the major numbers associated with a given device.

81 video4linux

/proc/misc for the minor numbers of devices with a major of 10.

It could be other things as well. Did you compile v4l / v4l2 support in the kernel? Are they modules?

# modprobe v4l1-compat
# modprobe v4l2-common

I think v4l1-compat is responsible for /dev/video0's existence. It could also be permissions.

chgrp video /dev/video0

or

chown root:video /dev/video0

Don't forget to put your user in the video group, if they aren't already.

HTH
 
Old 11-29-2008, 09:07 PM   #5
agingcomputer
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Theres nothing listed under /proc/devices for video4linux. I think this is part of the problem. The drivers are loading but not attaching to anything.

Quote:
Originally Posted by Shadow_7 View Post
Are you sure you got the major/minor numbers right?

/proc/devices should have the major numbers associated with a given device.

81 video4linux

/proc/misc for the minor numbers of devices with a major of 10.

It could be other things as well. Did you compile v4l / v4l2 support in the kernel? Are they modules?

# modprobe v4l1-compat
# modprobe v4l2-common

I think v4l1-compat is responsible for /dev/video0's existence. It could also be permissions.

chgrp video /dev/video0

or

chown root:video /dev/video0

Don't forget to put your user in the video group, if they aren't already.

HTH
 
  


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
Need Help with BTTV and Tuner Modules benchasebrown Slackware 1 11-10-2006 12:03 AM
bttv card not working ferradura Slackware 11 07-04-2006 06:53 AM
problem with bttv and pinnacle tv tuner card lucastic Linux - Hardware 3 08-10-2004 12:04 PM
Anyone with bttv working with an ATI TV Wonder VE card? Wynd Slackware 1 07-30-2004 06:33 AM
WinTV card tuner type?? for bttv bluemoose Linux - Hardware 2 07-21-2003 10:40 PM

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

All times are GMT -5. The time now is 06:56 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