Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[BUG] 2.6.9-r1 + bttv

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
tnt
Veteran
Veteran
User avatar
Posts: 1231
Joined: Fri Feb 27, 2004 11:57 pm

[BUG] 2.6.9-r1 + bttv

  • Quote

Post by tnt » Sun Oct 24, 2004 7:52 pm

gentoo-dev-sources 2.6.9-r1

If I try to compile bttv into kernel, "make" ends this way:

Code: Select all

  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x6d052): In function `pvr_boot':
: undefined reference to `request_firmware'
drivers/built-in.o(.text+0x6d0cc): In function `pvr_boot':
: undefined reference to `release_firmware'
make: *** [.tmp_vmlinux1] Error 1 
If I compile bttv as module, everything compiles fine (although I can't make bttv working, "modprobe bttv" and so on but there's no /dev/video0)
Top
GordSki
Guru
Guru
User avatar
Posts: 329
Joined: Mon Oct 18, 2004 7:48 pm
Contact:
Contact GordSki
Website

  • Quote

Post by GordSki » Sun Oct 24, 2004 8:27 pm

Do you have hotplug enabled in the kernel?

I think bttv needs it to load firmware for certain card.


G.
Top
tnt
Veteran
Veteran
User avatar
Posts: 1231
Joined: Fri Feb 27, 2004 11:57 pm

  • Quote

Post by tnt » Sun Oct 24, 2004 8:30 pm

Yes, I have. And same configuration but with built-in bttv has been working with 2.6.8 for a while...
Top
AliceDiee
n00b
n00b
User avatar
Posts: 74
Joined: Thu Jan 22, 2004 8:52 pm
Location: Hattingen, Germany

  • Quote

Post by AliceDiee » Sun Oct 24, 2004 9:17 pm

You have to enable CONFIG_FW_LOADER.
Device Drivers -> Generic Driver Options ->Hotplug firmware loading support

hth
Top
tnt
Veteran
Veteran
User avatar
Posts: 1231
Joined: Fri Feb 27, 2004 11:57 pm

  • Quote

Post by tnt » Sun Oct 24, 2004 9:34 pm

Code: Select all

[root@beta modules]# modprobe firmware_class
[root@beta modules]# lsmod
Module                  Size  Used by
firmware_class          7016  -
it87                   21584  -
i2c_sensor              2888  -
i2c_isa                 1512  -
i2c_viapro              5684  -
powernow_k7            10904  -
nvidia               4812468  -
[root@beta modules]# modprobe bttv
[root@beta modules]# lsmod
Module                  Size  Used by
tuner                  18476  -
bttv                  144972  -
video_buf              16748  -
btcx_risc               3568  -
firmware_class          7016  -
it87                   21584  -
i2c_sensor              2888  -
i2c_isa                 1512  -
i2c_viapro              5684  -
powernow_k7            10904  -
nvidia               4812468  -
[root@beta modules]#
Now there is /dev/video0, but my TVTime tells me:

Code: Select all

Cannot open capture device /dev/video0
Top
AliceDiee
n00b
n00b
User avatar
Posts: 74
Joined: Thu Jan 22, 2004 8:52 pm
Location: Hattingen, Germany

  • Quote

Post by AliceDiee » Sun Oct 24, 2004 10:22 pm

Check the permissions of /dev/v4l/video0 and make sure that you are allowed to access this device.
Top
tnt
Veteran
Veteran
User avatar
Posts: 1231
Joined: Fri Feb 27, 2004 11:57 pm

  • Quote

Post by tnt » Sun Oct 24, 2004 10:37 pm

That was it! Thank you!

Now I just have to change permissions manualy everytime I boot (or make some boot script do that)...
Top
AliceDiee
n00b
n00b
User avatar
Posts: 74
Joined: Thu Jan 22, 2004 8:52 pm
Location: Hattingen, Germany

  • Quote

Post by AliceDiee » Mon Oct 25, 2004 7:51 am

My pleasure.
/dev/v4l/* is owned by root:video on udev-systems, so it would be the easiest way to put all users that should be able to watch tv in the video group.
Top
OgRo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 108
Joined: Fri Jun 04, 2004 4:20 pm
Location: Sampa - SP - Brasil
Contact:
Contact OgRo
Website

:-\

  • Quote

Post by OgRo » Tue Oct 26, 2004 10:25 pm

ame problem here..
You have to enable CONFIG_FW_LOADER.
Device Drivers -> Generic Driver Options ->Hotplug firmware loading support
not worked.

this card was working with 2.6.8.1 and 2.6.7 kernels.
---
OgRo

Linux user #297942
Top
AliceDiee
n00b
n00b
User avatar
Posts: 74
Joined: Thu Jan 22, 2004 8:52 pm
Location: Hattingen, Germany

Re: :-\

  • Quote

Post by AliceDiee » Wed Oct 27, 2004 8:03 am

OgRo wrote:[snip]
not worked.


this card was working with 2.6.8.1 and 2.6.7 kernels.
What doesn't work, module loading or accessing the device?
More info would be really helpful
Top
lonegd
Apprentice
Apprentice
User avatar
Posts: 185
Joined: Sun Dec 07, 2003 2:29 am
Location: UK
Contact:
Contact lonegd
Website

  • Quote

Post by lonegd » Tue Nov 16, 2004 6:52 pm

ahh, cheers guys. I had this problem and cured it by making sure hotplug is compiled in ( not just as a module )
Mark Cooper
http://pvrhw.goldfish.org/ - Open Source PVR Hardware Database
Top
amigabill
n00b
n00b
Posts: 59
Joined: Mon May 05, 2003 3:03 am

Re: [BUG] 2.6.9-r1 + bttv

  • Quote

Post by amigabill » Sat Nov 20, 2004 5:07 pm

tnt wrote:gentoo-dev-sources 2.6.9-r1

If I try to compile bttv into kernel, "make" ends this way:
How do you compile bttv into kernel? I've got gentoo-dev-sources 2.6.6-r14 and 2.6.9-r4 but don't see this in menuconfig anymore. There used to be a bt848 checkbox, but now it's gone and I'm not sure how to enable this driver. (Something bad hapened to my machine and reinstalling everything from scratch got me newer kernel revs and emerge won't give me 2.6.5 that I had started with once and was working)

Sorry for being a newb idiot but I haven't found any mention of what heppened to it in my searches yet. :/
Top
tnt
Veteran
Veteran
User avatar
Posts: 1231
Joined: Fri Feb 27, 2004 11:57 pm

  • Quote

Post by tnt » Sat Nov 20, 2004 6:35 pm

Well, I'm using 2.6.9-nitro4 sources and bttv is here:

Device drivers -> Multimedia devices -> (Video for Linux should be enabled) Video for Linux -> BT848 Video for Linux

and in .cofig file there is:

Code: Select all

[root@beta linux]# cat .config|grep 848
CONFIG_VIDEO_BT848=m
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
[root@beta linux]#
Have you found it?
Top
amigabill
n00b
n00b
Posts: 59
Joined: Mon May 05, 2003 3:03 am

  • Quote

Post by amigabill » Sat Nov 20, 2004 9:46 pm

tnt wrote:Well, I'm using 2.6.9-nitro4 sources and bttv is here:

Have you found it?
I found it, it seems to be a conditional choice based on enabling one of the others from teh smaller list. It's invisible and not in the menu when none of the things shown are selected. Enabling a few of those shown will then let the BT848 and a few others magically appear in the menu above them. Sortof like it's being treated like a sub-menu or something that you can't reach without first turning on the pant but its not displayed like a submenu when it gets turned on.Srange...
Top
Post Reply

14 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic