Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
v4l no longer works after upgrading kernel
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
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Sun Feb 02, 2003 9:56 pm    Post subject: v4l no longer works after upgrading kernel Reply with quote

Upgraded kernel to 2.4.19-gentoo-r10 from r9.
Now xawtv/v4l no longer works. XawTV starts, but with a black screen and this error message. I have the bttv-drivers compiled in. Card is a Hauppauge WinTV, BT848.

WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
Warning: Cannot convert string "-*-ledfixed-medium-r-semicondensed--39-*" to type FontStruct
ioctl: VIDIOCCAPTURE(int=1): Invalid argument


This is what v4l-conf has to say:
mode: 1024x768, depth=16, bpp=16, bpl=2048, base=unknown
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
/dev/video0 [v4l]: configuration done
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Mon Feb 03, 2003 9:32 am    Post subject: Reply with quote

According to v4l-info my card is detected as a bt878, but is is a bt848. Can this have anything to do with the problem.

If I want to try and set the address manually, what value should I use? Where can I get that?
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Mon Feb 03, 2003 9:56 am    Post subject: Reply with quote

Now I´ve tried to compile the bttv driver as a module, and pass the card= -argument when loading the module. Same result.
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 473

PostPosted: Mon Feb 03, 2003 12:41 pm    Post subject: Reply with quote

sounds like you might want to switch kernels to use your card...
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Mon Feb 03, 2003 6:42 pm    Post subject: Reply with quote

Could there be some kind of mixup of v4l and v4l2?
Like in the v4l-conf output reads v4l2 first and then v4l?

Also started up the old kernel (with which TV worked very well before) and now that is also giving the same error message.
Could the devices is /dev/v4l have been overwritten with something from v4l2? Nobody who knows anything?
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Tue Feb 04, 2003 11:06 am    Post subject: Reply with quote

Does anybody know, is the new v4l2 in kernel 2.4.20? Or is it still the old v4l?

My card is obviusly detected wrong, as a bt878, while it is a bt848, and has always worked very well with v4l.
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Wed Feb 05, 2003 6:51 pm    Post subject: ^ bump ^ Reply with quote

feels like I´m doing a bit of a one-man show here...
Back to top
View user's profile Send private message
art
n00b
n00b


Joined: 22 Jun 2002
Posts: 47
Location: Ma

PostPosted: Wed Feb 19, 2003 9:51 pm    Post subject: same prob Reply with quote

Sorry I can't help I have same issue
I'm sure we will get it right sooner or later
there are some realy sharp people here
just need them to read this post
Back to top
View user's profile Send private message
Caffeine
Guru
Guru


Joined: 17 Jul 2002
Posts: 401
Location: Melbourne, Australia

PostPosted: Thu Mar 06, 2003 6:49 am    Post subject: Reply with quote

I'm also having problems. I just got a Hercules Smart TV card, which works fine in windows. It's a BT 878 based card.

Quote:
# v4l-conf
v4l-conf: using X11 display :0
dga: version 2.0
mode: 1024x768, depth=24, bpp=32, bpl=4096, base=0xe0000000
/dev/video0 [v4l2]: ioctl VIDIOC_QUERYCAP: Invalid argument
/dev/video0 [v4l]: configuration done
espresso root #


That looks like a confused conf program to me, but this is my first tv card.

I've got a /dev/v4l/vbio & /dev/v4l/video0 and /dev/video0 is a sym link to /dev/v4l/video0

Running xawtv giver:
Quote:
# xawtv
This is xawtv-3.83, running on Linux/i686 (2.4.20-gentoo-r1)
WARNING: no plugins found [/usr/lib/xawtv]
no video grabber device available


Anyone have any ideas?

*EDIT* Adding some more info..

I'm pretty sure my card has a philips tuner, so I modprobe as so:

Code:
modprobe bttv tuner=5


...Producing...

/var/log/messages wrote:
Mar 6 08:57:45 espresso kernel: bttv: driver version 0.7.96 loaded
Mar 6 08:57:45 espresso kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
Mar 6 08:57:45 espresso kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Mar 6 08:57:45 espresso kernel: bttv: Bt8xx card found (0).
Mar 6 08:57:45 espresso kernel: bttv0: Bt878 (rev 17) at 00:11.0, irq: 5, latency: 32, mmio: 0xef000000
Mar 6 08:57:45 espresso kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
Mar 6 08:57:45 espresso kernel: bttv0: using tuner=5
Mar 6 08:57:45 espresso kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Mar 6 08:57:45 espresso kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... found
Mar 6 08:57:45 espresso kernel: tda9875: no such chip at 0xb0 (dic=0x11 rev=0x2)
Mar 6 08:57:45 espresso kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Mar 6 08:57:45 espresso kernel: tuner: probing bt848 #0 i2c adapter [id=0x10005]
Mar 6 08:57:45 espresso kernel: tuner: chip found @ 0xc0
Mar 6 08:57:45 espresso kernel: bttv0: i2c attach [client=Philips PAL_BG (FI1216 and compa,ok]
Mar 6 08:57:45 espresso kernel: bttv0: registered device video0
Mar 6 08:57:45 espresso kernel: bttv0: registered device vbi0


But still no dice with xawtv - "no video grabber device available"

xawtv -hwscan wrote:
espresso linux # xawtv -hwscan
This is xawtv-3.83, running on Linux/i686 (2.4.20-gentoo-r1)
WARNING: no plugins found [/usr/lib/xawtv]
looking for available devices
port 105-105
type : Xvideo, image scaler
name : NV10 Video Overlay

port 106-137
type : Xvideo, image scaler
name : NV05 Video Blitter

/dev/v4l/video0: initialization failed



What next dear reader?
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Thu Mar 06, 2003 6:28 pm    Post subject: Reply with quote

Exactly the same problem here:

tamtoo root # xawtv
This is xawtv-3.81, running on Linux/i686 (2.4.20-gentoo-r1)
WARNING: no plugins found [/usr/lib/xawtv]
Xlib: extension "XVideo" missing on display ":0.0".
Xlib: extension "XVideo" missing on display ":0.0".
WARNING: Your X-Server has no DGA support.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
no video grabber device available

tamtoo root # xawtv -hwscan
This is xawtv-3.81, running on Linux/i686 (2.4.20-gentoo-r1)
WARNING: no plugins found [/usr/lib/xawtv]
looking for available devices
Xlib: extension "XVideo" missing on display ":0.0".
/dev/v4l/video0: initialization failed
tamtoo root #


No clue what to do.
Back to top
View user's profile Send private message
Caffeine
Guru
Guru


Joined: 17 Jul 2002
Posts: 401
Location: Melbourne, Australia

PostPosted: Thu Mar 06, 2003 7:20 pm    Post subject: Reply with quote

I think I'm going to try Kernel 2.4.19.

Looks like you need to comment
Code:
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension


from XF86Config
Back to top
View user's profile Send private message
Caffeine
Guru
Guru


Joined: 17 Jul 2002
Posts: 401
Location: Melbourne, Australia

PostPosted: Thu Mar 06, 2003 9:23 pm    Post subject: Reply with quote

I got tvtime to work! Really strange, because xawtv till complains about no video grabber device available.

I'm running 2.4.19 now, but I'm going to try tvtime with 2.4.20.

Now to get freevo, mythtv and xmltv working...
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