Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 12-13-2008, 03:46 AM   #1
LQ Newbie
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
Question WinTV PVR-150 & Motion - MMAP unsupported?

i've been searching for a few hours and don't get any further with this.. so i'm begging for help here.. :-)

i'm using motion for video surveillance ( and it works well so far with network-cameras. but now i'm trying to add a camera for the door viewer, which hangs on the normal composite-video-in on my pvr-150 on debian. i'm able to get a picture with cat /dev/video0 > test.mpg but when i try it with motion there's an error:

[3] No mmap falling back on read
[3] V4L capturing using read is deprecated!
[3] Motion now only supports mmap.
[3] Motion Exits.

MMAP = Memory-mapped File I/O
DMA = Direct Memory Access

as far as i know mmap is another way to read the data out of the system from memory, but not directly from the video-card? right? is there a way to trick out motion to get the data from /dev/video0 by mmap? perhaps with another tool which takes the data direct from the card and shuffles it to the place where mmap is trying to read it? :-)

i found a thread on the motion-page, but they don't seem to be cared that much about that.. beside the fact that the motion-project is out of changes for quite a while.. :-(
on the other side there are some old patches, which don't seem to be working with the pvr150 card.

so i'm thankful for any inputs/ideas..

greetings dave

Here's the part of IVTV from dmesg:
[ 56.830034] Linux video capture interface: v2.00
[ 56.932451] ivtv: ==================== START INIT IVTV ====================
[ 56.932458] ivtv: version 0.10.1 (tagged release) loading
[ 56.932461] ivtv: Linux version: 2.6.20-16-server SMP mod_unload 686
[ 56.932464] ivtv: In case of problems please include the debug info between
[ 56.932468] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[ 56.932471] ivtv: any module options, when mailing the ivtv-users mailinglist.
[ 56.932682] ivtv0: Autodetected Hauppauge card (cx23416 based)
[ 56.933660] PCI: Enabling device 0000:02:09.0 (0110 -> 0112)
[ 56.933685] ACPI: PCI Interrupt 0000:02:09.0[A] -> GSI 21 (level, low) -> IRQ 20
[ 56.933711] ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
[ 57.643932] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
[ 57.909896] ivtv0: Encoder revision: 0x02050032
[ 57.909903] ivtv0: Recommended firmware version is 0x02060039.
[ 57.987993] tveeprom 0-0050: Hauppauge model 26034, rev C197, serial# 7768590
[ 57.988001] tveeprom 0-0050: tuner model is TCL 2002MB_3H (idx 97, type 55)
[ 57.988006] tveeprom 0-0050: TV standards PAL(B/G) PAL(D/D1/K) (eeprom 0x44)
[ 57.988011] tveeprom 0-0050: audio processor is CX25842 (idx 36)
[ 57.988014] tveeprom 0-0050: decoder processor is CX25842 (idx 29)
[ 57.988018] tveeprom 0-0050: has no radio, has IR receiver, has IR transmitter
[ 57.988024] ivtv0: Autodetected Hauppauge WinTV PVR-150
[ 57.988027] ivtv0: reopen i2c bus for IR-blaster support
[ 58.075936] tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
[ 58.267093] cx25840 0-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
[ 61.965492] cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[ 62.047918] sdd1
[ 62.048067] sd 2:0:0:0: Attached scsi disk sdd
[ 62.048151] sd 2:0:0:0: Attached scsi generic sg4 type 0
[ 62.078041] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[ 62.129375] ivtv0: Registered device video0 for encoder MPEG (4 MB)
[ 62.129699] ivtv0: Registered device video32 for encoder YUV (2 MB)
[ 62.130002] ivtv0: Registered device vbi0 for encoder VBI (1 MB)
[ 62.130107] ivtv0: Registered device video24 for encoder PCM audio (1 MB)
[ 62.130505] tuner 0-0061: type set to 55 (TCL 2002MB)
[ 62.533691] ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
[ 62.533729] ivtv: ==================== END INIT IVTV ====================

Last edited by cotwild; 12-13-2008 at 03:52 AM.
Old 12-15-2008, 10:59 AM   #2
LQ Newbie
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
does anyone have an idea how to fix this??
do you need some more information? need help.. :-(


dma, mmap, motion, pvr, pvr150, v4l, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wintv pvr 150 on fedora optimisSynergy Linux - Hardware 1 08-09-2007 05:32 AM
Hauppauge WinTV PVR 150 LinuxEL Linux - Hardware 9 12-08-2005 10:15 PM
How to install Hauppauge WINTV PVR-150 on Mandriva2005LE kambingselam Mandriva 4 11-11-2005 04:49 PM
How to install Hauppauge WINTV PVR-150 on Mandriva2005LE kambingselam Member Success Stories 2 11-11-2005 04:49 PM
How to install Hauppauge WINTV PVR-150 on Mandriva2005LE kambingselam General 1 11-11-2005 02:03 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration