Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Would like help getting bttv working!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Schuthrax
n00b
n00b


Joined: 18 Apr 2002
Posts: 51
Location: Sacramento, CA, USA

PostPosted: Fri Feb 20, 2004 6:30 am    Post subject: Would like help getting bttv working! Reply with quote

I recently purchased a Shuttle SB75G2, P4-2.8GHz, 1GB RAM, 250GB HD, and a Hauppauge PVR-350. I have gentoo installed and finally am working on the mythtv install. Actually, and I don't know if this is bad at this point, I have mythtv completely installed, but there is one problem...

I can't get bttv.o to load! Where to begin:

Kernel setup:
Code:
<M> I2C Support
<M> I2C bit-banging interfaces
<M> I2C PCF 8584 interfaces (anything definitive on if I really need this?)
<M> I2C device interface
<M> I2C /proc interface
...
<M> Video For Linux
[*] V4L information in proc filesystem (does it matter that it isn't a module?
<M> BT848 Video For Linux


To my knowledge (after reading as many posts as I can on the subject) this is all that's required to get it to work. I'm running 2.4.22.gentoo-r5 sources.

lsmod:
Code:
Module                  Size  Used by    Tainted: P
tuner                  10024   0  (unused)
v4l2-common             3424   0  (unused)
v4l1-compat            11976   0  (unused)
svgalib_helper          8080   0  (unused)
lirc_dev                8848   0
i2c-algo-pcf            4804   0  (unused)
i2c-algo-bit            7720   0
i2c-proc                6164   0  (unused)
i2c-dev                 3744   0  (unused)
i2c-core               15460   0  [tuner i2c-algo-pcf i2c-algo-bit i2c-proc i2c-dev]
loop                    9596   0  (autoclean)
bcm5700               110692   1
nvidia               1632032  11


lspci:
Code:
00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV15 [GeForce2 GTS/Pro] (rev a4)
02:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
02:07.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
02:08.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)


insmod bttv:
Code:
Using /lib/modules/2.4.22-gentoo-r5/kernel/drivers/media/video/bttv.o
/lib/modules/2.4.22-gentoo-r5/kernel/drivers/media/video/bttv.o: 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


(in case it matters)
insmod videodev:
Code:
Using /lib/modules/2.4.22-gentoo-r5/kernel/drivers/media/video/videodev.o
/lib/modules/2.4.22-gentoo-r5/kernel/drivers/media/video/videodev.o: init_module: Input/output error
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


I'm not sure what 'syslog' is referring to, but I don't see any log files that specifically mentioning bttv failing to load.

I'm at my wits end! Could anyone please help out? Let me know if I should post anything else about my setup.

Thanks!
_________________
Schuthrax
Back to top
View user's profile Send private message
mondauge
l33t
l33t


Joined: 08 Jan 2003
Posts: 603
Location: Schwetzingen, Germany

PostPosted: Fri Feb 20, 2004 8:51 am    Post subject: Reply with quote

Maybe you can post your dmesg output, after loading the bttv module via insmod.
Although I'm not sure, my guess would be, that your card does not have a bt848 chip.

mondauge
Back to top
View user's profile Send private message
Jimill
n00b
n00b


Joined: 17 Feb 2004
Posts: 10
Location: Sydney

PostPosted: Fri Feb 20, 2004 9:31 am    Post subject: Reply with quote

Hi, i'm trying to setup mythtv at the moment too, but i keep getting kernel errors and ooops all the bloodly time on my nforce2 board. i have apic acpi and preemptive all disabled but still i seems to happen every now and then. i'm only just compiling xfree.

anyway back to you since you have a pvr-350 and don't need bttv you need the drivers from IvyTV project http://ivtv.sourceforge.net/

I have a bttv card so i can't help you set it up so good luck.

Jimill
Back to top
View user's profile Send private message
Schuthrax
n00b
n00b


Joined: 18 Apr 2002
Posts: 51
Location: Sacramento, CA, USA

PostPosted: Fri Feb 20, 2004 9:26 pm    Post subject: Reply with quote

Mondauge, thanks for the info, when I get home, I'll dmesg and see what I come up with. I know it fails, and I have checked my dmesg but didn't find anything helpful before. And you know, I just always assumed it was a BT848 because I thought it was just a PVR-250 with a little extra power. However, I'll do some more research and see if I do indeed need anything else.

Jimill, thanks, that gives me other things to think about. I'll check out the link and read what I can for some answers.
_________________
Schuthrax
Back to top
View user's profile Send private message
Jimill
n00b
n00b


Joined: 17 Feb 2004
Posts: 10
Location: Sydney

PostPosted: Fri Feb 20, 2004 11:34 pm    Post subject: Reply with quote

I think the first thing you should do is checkout this http://www.mythtv.org/docs/mythtv-HOWTO-22.html#pvr250
part of the mythtv documentation. it should have all your answers.

Jimill
Back to top
View user's profile Send private message
Schuthrax
n00b
n00b


Joined: 18 Apr 2002
Posts: 51
Location: Sacramento, CA, USA

PostPosted: Sat Feb 21, 2004 7:03 am    Post subject: Reply with quote

W00T! I've got something finally going here. I believed that I had to have the bttv driver working, but I was just plain wrong. So I went to where you had suggested, which I initally read a few days ago and thought I needed bttv first, and I went through the whole procedure.

Next I emerged mplayer and after fiddling with the actual input number, mine ended up being 4 (test_ioctl -p 4), I actually saw video and heard sound. Oh frabjous day!

Now, I completed my mythtv backend setup, ran mythtvbackend, then ran mythtv.

In the shell where I ran mythtvbackend, I saw this:
Code:
bash-2.05b# mythbackend
Starting up as the master server.
2004-02-20 22:55:09 Enabled verbose msgs : important general
2004-02-20 22:55:11 Found changes in the todo list.
2004-02-20 22:55:15 MainServer::HandleAnnounce Playback
2004-02-20 22:55:15 adding: mediabox as a player 0
2004-02-20 22:55:15 MainServer::HandleAnnounce Playback
2004-02-20 22:55:15 adding: mediabox as a player 0
2004-02-20 22:55:15 MainServer::HandleAnnounce Playback
2004-02-20 22:55:15 adding: mediabox as a player 1
2004-02-20 22:55:15 MainServer::HandleAnnounce Playback
2004-02-20 22:55:15 adding: mediabox as a player 0
2004-02-20 22:55:15 adding: mediabox as a remote ringbuffer
2004-02-20 22:55:15 WARNING:  Capture device /dev/dsp is not reporting full duplex capability.
See docs/mythtv-HOWTO, section 20.13 for more information.
2004-02-20 22:55:15 Changing from None to WatchingLiveTV
2004-02-20 22:55:18 Changing from WatchingLiveTV to None
Unable to write to client socket, as it's no longer there


In the shell where I ran mythtv, I saw this:
Code:
bash-2.05b# mythtv
mythtv: could not connect to socket
mythtv: Connection refused
Failed to create lirc socket for mythtv
2004-02-20 22:55:15 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5)
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/mythtv/ringbuf2.nuv':
  Stream #0.0: Video: mpegvideo_xvmc, 480x480, 29.97 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
2004-02-20 22:55:18 Opening OSS audio device '/dev/dsp'.
No XvMC found
Segmentation fault


Any further ideas on this? I don't know why it mentions OSS when everything I've read (yeah, I know, everything I've read before has been wrong before!) I am supposed to be using ALSA and not touching OSS. In case it matter, I did indeed leave mythsetup at the default value of /dev/dsp for the audio.

I went back to the mythtv docs and looked up stuff on segfaults and I was a bit frightened because they mentioned recompiling in debug mode and executing it gdb. I really don't think I'm prepared for something like that yet!
_________________
Schuthrax
Back to top
View user's profile Send private message
Schuthrax
n00b
n00b


Joined: 18 Apr 2002
Posts: 51
Location: Sacramento, CA, USA

PostPosted: Sat Feb 21, 2004 7:09 am    Post subject: Reply with quote

Jimill,

Concerning your problem with compiling X, if you haven't resolved your issue yet, have you tried running memtest86+ on your machine? I recently spent a whole weekend setting up my new machine and had many compile problems. It ended up that, after running memtest86+, I had some seriously bad memory. I was highly disappointed since it was an expensive, matched pair of high-end Corsair memory. I've since sent it back and am praying I get a replacement (because the temp receptionist at my company may not have enough neurons to follow directions!)

Anyway, you can grab memtest86+ here: http://www.memtest.org/
_________________
Schuthrax
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum