View previous topic :: View next topic |
Author |
Message |
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Mon May 12, 2003 7:48 pm Post subject: ATI TV Wonder VE and MythTV |
|
|
I used the Ebuild for MythTV...
I am able to get MythTV configured except a few things...
I don't know where my ATI-tuner card is in /proc/pci or /dev
Also When I try to start MythTV I get this error:
Quote: | connecting to backend server: 127.0.0.1:6543
Could not connect to backend server
|
Has anyone successfully installed the ATI- TV Wonder VE? |
|
Back to top |
|
|
metacove Tux's lil' helper
Joined: 09 Apr 2003 Posts: 148
|
Posted: Tue May 13, 2003 2:46 am Post subject: |
|
|
It has been a while since I messed with mythtv. But I believe this will occur if you haven't modified the configuration files and set all the backend server stuff. I compiled it myself and it was somewhere under usr/local. |
|
Back to top |
|
|
pantherace Tux's lil' helper
Joined: 18 Mar 2003 Posts: 79
|
Posted: Tue May 13, 2003 5:31 pm Post subject: RTFM |
|
|
No offense, but mythtv is one of those packages where you really have to rtfm. there is a setup program that needs to be run (/usr/share/mythtv/setup ?) , and then you need to have mythbackend started. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Tue May 13, 2003 8:26 pm Post subject: |
|
|
Wow....there is a Manual? Yeah I know that...BUT I need to get the ATI-Tuner card installed and working properly...
I know there is a setup program...I ran that...but I need the card to work properly...so I can use Myth TV... |
|
Back to top |
|
|
kf0yn Tux's lil' helper
Joined: 25 Jan 2003 Posts: 84
|
Posted: Tue May 13, 2003 8:51 pm Post subject: |
|
|
The TV Wonder VE works fine with the bttv driver. You may need to force settings for it, ala:
modprobe bttv card=64 tuner=2
You can check to see if it's getting detected by running v4l-info.
You're probably getting the error about connecting to the backend because you haven't started the backend yet. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Tue May 13, 2003 8:58 pm Post subject: |
|
|
Quote: | root@luke luke # modprobe bttv card=64 tuner=2
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/videodevX.o: unresolved symbol pte_offset
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/videodevX.o: insmod /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/videodevX.o failed
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/videodevX.o: insmod bttv failed
root@luke luke # v4l-info
open /dev/video0: No such file or directory
root@luke luke #
|
I downloaded and ran the install for bttv from their website. |
|
Back to top |
|
|
kf0yn Tux's lil' helper
Joined: 25 Jan 2003 Posts: 84
|
Posted: Tue May 13, 2003 9:37 pm Post subject: |
|
|
Try using the bttv driver that came with your kernel instead. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Tue May 13, 2003 9:44 pm Post subject: |
|
|
I can't find anything the the Gentoo-sources---kernel 2.4.20-r5 that says anything about bttv....
But I will try loading Video ---> and V4L--->
just to see.....is this what you mean? |
|
Back to top |
|
|
kf0yn Tux's lil' helper
Joined: 25 Jan 2003 Posts: 84
|
Posted: Wed May 14, 2003 12:45 am Post subject: |
|
|
The config option for bttv is CONFIG_VIDEO_BT848. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Wed May 14, 2003 1:23 am Post subject: |
|
|
Quote: | <*> Video For Linux x x
x x Video For Linux ---> x x
x x Radio Adapters ---> |
Quote: | [*] V4L information in proc filesystem x x
x x --- Video Adapters x x
x x < > Mediavision Pro Movie Studio Video For Linux x x
x x < > CPiA Video For Linux x x
x x |
That is all I have....so I assume that I can't have that in my kernel...any other suggestisons? |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Wed May 14, 2003 4:11 am Post subject: |
|
|
Quote: | root@luke bttv-0.7.106 # modprobe bttv
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: unresolved symbol video_unregister_device_Rcc7b0bd9
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: unresolved symbol i2c_bit_del_bus_Rdd11c972
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: unresolved symbol i2c_master_send_R85828c3a
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: unresolved symbol i2c_bit_add_bus_R8ca8253b
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: unresolved symbol i2c_master_recv_Reffb2cf3
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: unresolved symbol video_register_device_R1be824c8
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: insmod /lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o failed
/lib/modules/2.4.20-gentoo-r5/kernel/drivers/media/video/bttv.o: insmod bttv failed
|
This is what I get when I try to modprobe bttv....I'm trying to find a step by step HOW-TO but I can't find one.
Since the driver isn't in the kernel....I have to modprobe it....any help is needed... |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Thu May 15, 2003 7:18 pm Post subject: |
|
|
any suggestions? |
|
Back to top |
|
|
monkeyBox Tux's lil' helper
Joined: 14 Feb 2003 Posts: 111 Location: Dallas, TX
|
Posted: Fri May 16, 2003 7:27 am Post subject: |
|
|
you probably aren't using the right v4l drivers for the TV tuner.. I think Gatos.org might help steer you in the right direction... |
|
Back to top |
|
|
RJG Tux's lil' helper
Joined: 07 Feb 2003 Posts: 109 Location: Toronto, ON, Canada
|
Posted: Fri May 16, 2003 7:50 pm Post subject: |
|
|
I am using a TV Wonder (non-VE) and to get bttv listed in the kernel (gentoo-sources-2.4.20) I had to compile one of the i2c options for it to appear. When I get home from work (in about an hour) I'll get back to you with what setting it was that had to be compiled in.
Once that was working in xawtv, getting it to work with MythTV was a breeze (following the instructions at mythtv.org). |
|
Back to top |
|
|
jetblack Guru
Joined: 15 Jan 2003 Posts: 340 Location: Evanston, IL, USA
|
Posted: Fri May 16, 2003 7:52 pm Post subject: |
|
|
You also have to enable the i2c stuff in your kernel. Have you done that? I can't remember where it is right now, and I'm away from my linux box, I'll check later. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Fri May 16, 2003 8:12 pm Post subject: |
|
|
Quote: | Code maturity level options ---> x x
x x Loadable module support ---> x x
x x Processor type and features ---> x x
x x General setup ---> x x
x x Memory Technology Devices (MTD) ---> x x
x x Parallel port support ---> x x
x x Plug and Play configuration ---> x x
x x Block devices ---> x x
x x Enterprise Volume Management System ---> x x
x x Multi-device support (RAID and LVM) ---> x x
x x Cryptography support (CryptoAPI) ---> x x
x x Networking options ---> x x
x x Telephony Support ---> x x
x x ATA/IDE/MFM/RLL support ---> x x
x x SCSI support ---> x x
x x Fusion MPT device support ---> x x
x x I2O device support ---> x x
x x Network device support ---> x x
x x Amateur Radio support ---> x x
x x IrDA (infrared) support ---> x x
x x ISDN subsystem ---> x x
x x Input core support ---> x x
x x Character devices ---> x x
x x Multimedia devices ---> x x
x x File systems ---> x x
x x Console drivers ---> x x
x x Sound ---> x x
x x USB support ---> x x
x x Bluetooth support ---> x x
x x Kernel hacking ---> x x
x x Library routines ---> x x
x x Grsecurity ---> x x
x x --- x x
x x Load an Alternate Configuration File x x
x x Save Configuration to an Alternate File |
Then I go into Multimedia...
Quote: | <*> Video For Linux x x
x x Video For Linux ---> x x
x x Radio Adapters ---> x x
x x x x
x x |
And when I go into Video for Linux I get....
Quote: | [*] V4L information in proc filesystem x x
x x --- Video Adapters x x
x x < > Mediavision Pro Movie Studio Video For Linux x x
x x < > CPiA Video For Linux x x
x x |
That is all I have...I am running the Gentoo-2.4.20-r5 kernel. I tried the Vanilla sources as well...And I still don't get a BTTV option in the multimedia...where other people told me it would be....
Am I supposed to include:
Quote: | I2O device support ---> |
In the kernel? I2O is close to I2c....but I would assume it has nothing to do with it.... |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Fri May 16, 2003 9:23 pm Post subject: |
|
|
RJG I have to go to a dinner....so I hope you post that material for me so when I get back I can get this up and running. Then Once I am finished....I'm making a Detailed How-To. |
|
Back to top |
|
|
RJG Tux's lil' helper
Joined: 07 Feb 2003 Posts: 109 Location: Toronto, ON, Canada
|
Posted: Fri May 16, 2003 9:43 pm Post subject: |
|
|
Sorry, problem at work resulted in my getting home late.
Character Devices -> I2C Support: I2C bit-banging interfaces
Unselecting it in menuconfig results in no bt848 under Video for Linux.
If that doesn't do it then feel free to post and I can email/post my whole .config for you. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Sat May 17, 2003 3:57 pm Post subject: |
|
|
I compiled the bt848 into the kernel...but I get this error.....I'm looking into it now...but just in case someone knows...
Quote: | luke $ xawtv
This is xawtv-3.86, running on Linux/i686 (2.4.20-gentoo-r5)
WARNING: Your X-Server has no DGA support.
can't open /dev/video0: No such file or directory
v4l-conf had some trouble, trying to continue anyway
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no video grabber device available
|
Something to do with DGA support... |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Sat May 17, 2003 5:19 pm Post subject: |
|
|
Here is my dmesg....not the whole thing...but...
Quote: | NTFS driver 2.1.4a [Flags: R/O].
i2c-core.o: i2c core module version 2.7.0 (20021208)
i2c-algo-bit.o: i2c bit algorithm module version 2.7.0 (20021208)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0 with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller on PCI bus 00 dev f9
PCI: Device 00:1f.1 not available because of resource collisions
PCI: Found IRQ 5 for device 00:1f.1
PCI: Sharing IRQ 5 with 00:1d.2
ICH4: BIOS setup was incomplete.
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: QUANTUM FIREBALLP KX20.5, ATA DISK drive
hdb: WDC WD1000BB-00CCB0, ATA DISK drive
hdc: CRD-8240B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c017e964, I/O limit 4095Mb (mask 0xffffffff)
hda: 40160988 sectors (20562 MB) w/418KiB Cache, CHS=2499/255/63, UDMA(33)
blk: queue c017eaa4, I/O limit 4095Mb (mask 0xffffffff)
hdb: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=12161/255/63, UDMA(33)
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 < hda5 > hda4
hdb: hdb1
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 02:08.0
eth0: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller, 00:07:E9:C5:54:92, IRQ 11.
Board assembly 000000-000, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
Linux video capture interface: v1.00
tvaudio: TV audio decoder + audio/video mux driver
tvaudio: known chips: tda9840,tda9873h,tda9874h/a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951),ta8874z
bttv: driver version 0.7.106 loaded
bttv: using 4 buffers with 2080k (8320k total) for capture
bttv: Host bridge is Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge
bttv: Bt8xx card found (0).
PCI: Found IRQ 11 for device 02:01.0
PCI: Sharing IRQ 11 with 02:01.1
bttv0: Bt878 (rev 17) at 02:01.0, irq: 11, latency: 32, mmio: 0xec6fe000
bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 1002:0003
bttv0: using: BT878(ATI TV-Wonder VE) [card=64,autodetected]
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc0
tda9887: probing bt848 #0 i2c adapter [id=0x10005]
bttv0: using tuner=19
tuner: type set to 19 (Temic PAL* auto (4006 FN5))
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0
Linux agpgart interface v0.99 (c) Jeff Hartmann
|
It says the ATI card is registered to "/dev/video0"
When I search for video0 I find it in
Quote: | /proc/video/dev/video0 |
I try to make a symlink to /dev/video0...but I come up with this error...
Quote: | luke freevo # ln /proc/video/dev/video0 /dev/video0
ln: creating hard link `/dev/video0' to `/proc/video/dev/video0': Invalid cross-device link
|
|
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Sat May 17, 2003 5:26 pm Post subject: |
|
|
nightcanton wrote: |
I try to make a symlink to /dev/video0...but I come up with this error...
Quote: | luke freevo # ln /proc/video/dev/video0 /dev/video0
ln: creating hard link `/dev/video0' to `/proc/video/dev/video0': Invalid cross-device link
|
|
Try ln -sf (or just -s) to make a soft link. Does that work? |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Sat May 17, 2003 5:33 pm Post subject: |
|
|
Yes...that symlink worked...but...I get this error saying it is the wrong device
Quote: | uke freevo # xawtv
This is xawtv-3.86, running on Linux/i686 (2.4.20-gentoo-r5)
WARNING: Your X-Server has no DGA support.
/dev/video0: wrong device
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_QUERYCAP(driver="";card="";bus_info="";version=0.0.0;capabilities=0x0 []): Inappropriate ioctl for device
no video grabber device available
|
|
|
Back to top |
|
|
RJG Tux's lil' helper
Joined: 07 Feb 2003 Posts: 109 Location: Toronto, ON, Canada
|
Posted: Sat May 17, 2003 5:40 pm Post subject: |
|
|
My /dev/video0 is a symlink to /dev/v4l/video0
Unfortunately I'm a relative newbie to devices in linux (its just works ) so I can't help much.
I did get the following off a post on the mythtv mailing list:
Contents of /etc/modules.d/bttv
Code: |
# TV Cards
# This is the standard alias line for bttv not sure meaning
alias char-major-81 bttv
# Pass option to bttv module to enable debug logging
options bttv debug=2
options bttv card=64 radio=0 tuner=2
options tuner type=2 debug=1
options btaudio debug=2 digital=1 analog=0 rate=32000
options btaudio dsp1=1 dsp2=2 mixer=1
pre-install btaudio modprobe emu10k1
post-install btaudio modprobe bttv
|
You can ignore the btaudio stuff since the VE card doesn't support btaudio. |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Sat May 17, 2003 6:02 pm Post subject: |
|
|
I added those lines into the bttv file...
Still no luck...
but....I did notice that I don't have a /dev/v4l folder at all...
Therefore I don't have the /dev/v4l/video0....
So When it says in the /proc....is that the actual device and then I need a symlink to /dev/v4l/video0 and /dev/video0? |
|
Back to top |
|
|
nightcanton Apprentice
Joined: 26 Feb 2003 Posts: 249
|
Posted: Sat May 17, 2003 6:23 pm Post subject: |
|
|
Quote: | bttv: Bt8xx card found (0).
PCI: Found IRQ 11 for device 02:01.0
PCI: Sharing IRQ 11 with 02:01.1
bttv0: Bt878 (rev 17) at 02:01.0, irq: 11, latency: 32, mmio: 0xec6fe000
bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 1002:0003
bttv0: using: BT878(ATI TV-Wonder VE) [card=64,autodetected]
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc0
tda9887: probing bt848 #0 i2c adapter [id=0x10005]
bttv0: using tuner=19
tuner: type set to 19 (Temic PAL* auto (4006 FN5))
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0
|
What does everyone think....Why does gentoo list this tuner as 19?
Quote: | bttv0: using tuner=19
tuner: type set to 19 (Temic PAL* auto (4006 FN5)) |
Could this be the why gentoo isn't posting the device under /dev/v4l/video0 or /dev/video0?
It is supposed to be tuner=2 I believe |
|
Back to top |
|
|
|