Re: capture card
- From: Analabha Roy <daneelNOSPAM@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Dec 2005 17:44:21 -0600
Hey I thought the ivtv driver was for the hauppauge PVR-series hardware
encoder/decoder cards. IF yours is a standard software tuner WinTV card
you'll nee d the bttv driver (shuld load up automagically in most distros)
If it is the ivtv driver you need then get it as the earlier poster said.
you also may need the firmware in your driver CD (or download it off the
web).
ivtv drivers are included in KnoppMyth ( I use 'em in my PVR)
You can see these nice instructions (meant for knoppmyth but shuldn't be too
much of a difference in other distros)
http://www.knoppmythwiki.org/index.php?page=HauppaugeThreeFiftyInstallation
http://www.knoppmythwiki.org/index.php?page=HauppaugeOneFiftyInstallation
J.O. Aho wrote:
> sadlad wrote:
>> I have a Wintv capture card itvc15 mpeg coder,but can't configure
>> it.When trying to run it with xawtv ,keep getting this error
>> message-This is xawtv-3.94, running on Linux/i686 (2.6.12-12mdk)
>> 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
>> I'm running mandriva 2006,but have not been able too run it on mandriva
>> 2005 or suse 10 either.Can someone explain very slowly how to do it as
>> i'm trying to move from windows to a half decent o/s.
>
> The ivtv driver isn't part of the kernel, you need to download it from
> ivtv.sourceforge.net, compile (requires you have the kernel source
> installed) and install it, take note of the error messages when you
> install, as it will tell which precombiled drivers you MUST remove to ge
> it to work.
>
> There are some tools you will need to, those are included in the same
> package and has to be compiled and installed too.
>
> Of course you will need to load the modules.
>
> This is for my PVR250:
> modprobe tuner
> modprobe msp3400 once=1 simple=1 standard=0x08
> modprobe videodev
> modprobe saa7115
> modprobe ivtv ivtv_std=2 tuner=29 cardtype=2
>
> If you want to use the remote control, you will need to load two more
> modules that are part of the kernel (may not be precompiled)
> modprobe ir_common ir_kbd_i2c
>
> As there are two types of remotes, the buttons may not be correctly
> mapped, the remote mapping in the kernel is based on the completely grey
> remote, which ain't at all compatible with the grey/black remote, you will
> need to patch the kernel source and recompile the or_kbd_i2c module
>
> ### Next line is the first line of the patch, don't include this line ###
> --- drivers/media/video/ir-kbd-i2c.c 2005-02-06 16:02:52.793914120
> +0100
> +++ drivers/media/video/ir-kbd-i2c.c 2005-02-06 16:28:53.947582688
> +0100 @@ -43,6 +43,75 @@
>
> #include <media/ir-common.h>
>
> +/* J.O. Aho <trizt(a t)iname.com> 20050206
> + * The ir_codes_rc5_tv causes that keys are wrongly
> + * mapped on for the Hauppauge PVR 250/350 black
> + * and grey remotes.
> + * The ATI-REMOTE keybindings has been used to see
> + * which XF86 keys each button should be bound to.
> + */
> +static IR_KEYTAB_TYPE ir_codes_pvr[IR_KEYTAB_SIZE] = {
> + [ 0x00 ] = KEY_KP0, // 0
> + [ 0x01 ] = KEY_KP1, // 1
> + [ 0x02 ] = KEY_KP2, // 2
> + [ 0x03 ] = KEY_KP3, // 3
> + [ 0x04 ] = KEY_KP4, // 4
> + [ 0x05 ] = KEY_KP5, // 5
> + [ 0x06 ] = KEY_KP6, // 6
> + [ 0x07 ] = KEY_KP7, // 7
> + [ 0x08 ] = KEY_KP8, // 8
> + [ 0x09 ] = KEY_KP9, // 9
> +
> + [ 0x0b ] = KEY_R, // Red Button
> + [ 0x0c ] = KEY_REFRESH, // Unmarked button on PVR250
> + [ 0x0f ] = KEY_MUTE, // mute / demute
> + [ 0x0d ] = KEY_O, // display, PVR Menu
> + [ 0x10 ] = KEY_VOLUMEUP, // volume +
> + [ 0x11 ] = KEY_VOLUMEDOWN, // volume -
> + [ 0x1e ] = KEY_NEXTSONG, // Next >>|
> + [ 0x1f ] = KEY_BACKSPACE, // PVR Back/Exit
> + [ 0x20 ] = KEY_UP, // channel / program +
> + [ 0x21 ] = KEY_DOWN, // channel / program -
> + [ 0x24 ] = KEY_PREVIOUSSONG, // Previous |<<
> + [ 0x25 ] = KEY_ENTER, // PVR Ok
> + [ 0x29 ] = KEY_B, // Blue Button
> + [ 0x2e ] = KEY_G, // Green Button
> + [ 0x30 ] = KEY_PAUSE, // pause
> + [ 0x32 ] = KEY_LEFT, // rewind <<
> + [ 0x34 ] = KEY_RIGHT, // wind >>
> + [ 0x35 ] = KEY_PLAYPAUSE, // play
> + [ 0x36 ] = KEY_STOP, // stop
> + [ 0x37 ] = KEY_MEDIA, // recording
> + [ 0x38 ] = KEY_Y, // Yellow button
> + [ 0x3b ] = KEY_HOME, // Go button
> + [ 0x3c ] = KEY_F, // full
> + [ 0x3d ] = KEY_ESC, // power (green, left upper
> corner) +
> + // [ 0x0b ] = KEY_CHANNEL, // channel/program (japan:
> 11)
> + // [ 0x0c ] = KEY_POWER, // standby
> + // [ 0x0d ] = KEY_MUTE, // mute / demute
> + // [ 0x0f ] = KEY_TV, // display
> + // [ 0x10 ] = KEY_VOLUMEUP, // volume +
> + // [ 0x11 ] = KEY_VOLUMEDOWN, // volume -
> + // [ 0x12 ] = KEY_BRIGHTNESSUP, // brightness +
> + // [ 0x13 ] = KEY_BRIGHTNESSDOWN, // brightness -
> + // [ 0x1e ] = KEY_SEARCH, // search +
> + // [ 0x20 ] = KEY_CHANNELUP, // channel / program +
> + // [ 0x21 ] = KEY_CHANNELDOWN, // channel / program -
> + // [ 0x22 ] = KEY_CHANNEL, // alt / channel
> + // [ 0x23 ] = KEY_LANGUAGE, // 1st / 2nd language
> + // [ 0x26 ] = KEY_SLEEP, // sleeptimer
> + // [ 0x2e ] = KEY_MENU, // 2nd controls (USA:
> menu)
> + // [ 0x30 ] = KEY_PAUSE, // pause
> + // [ 0x32 ] = KEY_REWIND, // rewind
> + // [ 0x33 ] = KEY_GOTO, // go to
> + // [ 0x35 ] = KEY_PLAY, // play
> + // [ 0x36 ] = KEY_STOP, // stop
> + // [ 0x37 ] = KEY_RECORD, // recording
> + // [ 0x3c ] = KEY_TEXT, // teletext submode(Japan:
> 12)
> + // [ 0x3d ] = KEY_SUSPEND, // system standby
> +};
> +
> /* Mark Phalan <phalanm@xxxxx> */
> static IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE] = {
> [ 0 ] = KEY_KP0,
> @@ -362,6 +431,11 @@
> ir_codes = ir_codes_pv951;
> break;
> case 0x18:
> + name = "Hauppauge PVR";
> + ir->get_key = get_key_haup;
> + ir_type = IR_TYPE_RC5;
> + ir_codes = ir_codes_pvr;
> + break;
> case 0x1a:
> name = "Hauppauge";
> ir->get_key = get_key_haup;
> ### Previous line was the last line in the patch, don't include this line
> ### ###
>
>
> Good luck!
>
>
> //Aho
.
- References:
- capture card
- From: sadlad
- Re: capture card
- From: J.O. Aho
- capture card
- Prev by Date: Re: Linux caching of readen files?
- Next by Date: Re: alternative to vi
- Previous by thread: Re: capture card
- Next by thread: Re: Ubuntu Linux ?
- Index(es):
Relevant Pages
|