0 Members and 1 Guest are viewing this topic.
graeme@Linux1 ~ $ v4l2-ctl --list-inputsioctl: VIDIOC_ENUMINP UT Input : 0 Name : Television
sudo modprobe tuner
sudo modprobe tuner type=20
graeme@Linux1 ~ $ sudo modprobe tuner[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.graeme@Linux1 ~ $
graeme@Linux1 ~ $ sudo modprobe tuner type=20[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.graeme@Linux1 ~ $
dmesg | grep bttv
xawtv
xawtv -hwscan
v4l2-ctl --list-inputs
graeme@Linux1 ~ $ dmesg | grep bttv[ 15.984440] bttv: driver version 0.9.19 loaded[ 15.984455] bttv: using 8 buffers with 2080k (520 pages) each for capture[ 17.482882] bttv: Bt8xx card found (0)[ 17.482908] bttv: 0: Bt848 (rev 18) at 0000:02:02.0, irq: 19, latency: 64, mmio: 0xfdfff000[ 17.482931] bttv: 0: using: Hauppauge (bt848) [card=2,insmod option][ 17.485453] bttv: 0: Hauppauge/Voodoo msp34xx: reset line init [5][ 17.519430] bttv: 0: Hauppauge eeprom indicates model#60114[ 17.519433] bttv: 0: tuner type=0[ 18.015693] bttv: 0: registered device video0[ 18.015800] bttv: 0: registered device vbi0graeme@Linux1 ~ $
graeme@Linux1 ~ $ xawtvThis is xawtv-3.102, running on Linux/i686 (3.5.0-17-generic)xinerama 0: 1600x900+0+0vid-open-auto: using analog TV device /dev/video0WARNING: No DGA direct video mode for this display.WARNING: couldn't find framebuffer base address, try manual configuration ("v4l-conf -a <addr>")v4l2: WARNING: framebuffer base address mismatchv4l2: me=(nil) v4l=(nil)Alsa devices: cap: (null) (/dev/video0), out: default
graeme@Linux1 ~ $ xawtv -hwscanThis is xawtv-3.102, running on Linux/i686 (3.5.0-17-generic)looking for available devicesport 95-110 type : Xvideo, image scaler name : Intel(R) Textured Videoport 111-111 type : Xvideo, image scaler name : Intel(R) Video Overlay/dev/video0: OK [ -device /dev/video0 ] type : libv4l name : BT848A video (Hauppauge (bt848) flags: overlay capture tuner /dev/video1: OK [ -device /dev/video1 ] type : libv4l name : USB Scanner 5MP flags: capture
graeme@Linux1 ~ $ v4l2-ctl --list-inputsioctl: VIDIOC_ENUMINPUT Input : 0 Name : Television Type : 0x00000001 Audioset : 0x00000001 Tuner : 0x00000000 Standard : 0x0000000000FFBFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/M-KR SECAM-B/D/G/H/K/K1/L/Lc) Status : 0x00000100 (no hsync lock.) Capabilities: 0x00000004 (SD presets) Input : 1 Name : Composite1 Type : 0x00000002 Audioset : 0x00000001 Tuner : 0x00000000 Standard : 0x0000000000FFBFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/M-KR SECAM-B/D/G/H/K/K1/L/Lc) Status : 0x00000000 (ok) Capabilities: 0x00000004 (SD presets) Input : 2 Name : S-Video Type : 0x00000002 Audioset : 0x00000001 Tuner : 0x00000000 Standard : 0x0000000000FFBFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/M-KR SECAM-B/D/G/H/K/K1/L/Lc) Status : 0x00000000 (ok) Capabilities: 0x00000004 (SD presets) Input : 3 Name : Composite3 Type : 0x00000002 Audioset : 0x00000001 Tuner : 0x00000000 Standard : 0x0000000000FFBFFF (PAL-B/B1/G/H/I/D/D1/K/M/N/Nc/60 NTSC-M/M-JP/M-KR SECAM-B/D/G/H/K/K1/L/Lc) Status : 0x00000000 (ok) Capabilities: 0x00000004 (SD presets)graeme@Linux1 ~ $
sudo modprobe -r tunersudo modprobe tuner type=0
dmesg | egrep '(bttv|bt84?|tveeprom)'
cat /proc/pci
graeme@Linux1 ~ $ sudo modprobe -r tuner[sudo] password for graeme: Sorry, try again.[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.FATAL: Module tuner is in use.graeme@Linux1 ~ $
graeme@Linux1 ~ $ dmesg | egrep '(bttv|bt84?|tveeprom)'[ 15.214225] bttv: driver version 0.9.19 loaded[ 15.214231] bttv: using 8 buffers with 2080k (520 pages) each for capture[ 16.317669] bttv: Bt8xx card found (0)[ 16.317697] bttv: 0: Bt848 (rev 18) at 0000:02:02.0, irq: 19, latency: 64, mmio: 0xfdfff000[ 16.318980] bttv: 0: using: Hauppauge (bt848) [card=2,insmod option][ 16.321504] bttv: 0: Hauppauge/Voodoo msp34xx: reset line init [5][ 16.358460] tveeprom 6-0050: Hauppauge model 60114, rev CV , serial# 541867[ 16.358466] tveeprom 6-0050: tuner model is Temic 4002FH5 (idx 14, type 0)[ 16.358470] tveeprom 6-0050: TV standards PAL(B/G) (eeprom 0x04)[ 16.358473] tveeprom 6-0050: audio processor is MSP3410D (idx 5)[ 16.358476] tveeprom 6-0050: has no radio[ 16.358478] bttv: 0: Hauppauge eeprom indicates model#60114[ 16.358481] bttv: 0: tuner type=0[ 16.442552] msp3400 6-0040: MSP3410D-B4 found @ 0x80 (bt848 #0 [sw])[ 16.988585] bttv: 0: registered device video1[ 16.988699] bttv: 0: registered device vbi0graeme@Linux1 ~ $
graeme@Linux1 ~ $ cat /proc/pcicat: /proc/pci: No such file or directorygraeme@Linux1 ~ $
lspci -v | grep video
sudo modprobe -r bttvsudo modprobe -r tunersudo modprobe tuner type=0sudo modprobe bttv card=2 vidmem=fdfff
sudo modprobe -r bttvsudo modprobe tuner type=0sudo modprobe bttv card=2 vidmem=fdfff
xinerama 0: 1600x900+0+0vid-open-auto: using analog TV device /dev/video1WARNING: No DGA direct video mode for this display.WARNING: keeping fbuf pitch at: 6400, as no base addr was detectedWARNING: couldn't find framebuffer base address, try manual configuration ("v4l-conf -a <addr>")v4l2: WARNING: framebuffer base address mismatchv4l2: me=(nil) v4l=(nil)Alsa devices: cap: (null) (/dev/video1), out: defaultv4l2: read: Device or resource busyv4l2: ioctl(fildes = 4 "/dev/video1", request = VIDIOC_QBUF, struct v4l2_buffer *data = { index = 0, type = V4L2_BUF_TYPE_VIDEO_CAPTURE, bytesused = 0, flags = 0, field = V4L2_FIELD_ANY, timestamp = { 0 seconds }, timecode = { type = 0, flags = 0, frames = 0, seconds = 0, minutes = 0, hours = 0 }, sequence = 0, memory = V4L2_MEMORY_MMAP, m.offset = 0, length = 221184, input = 0 }) failed, Device or resource busy (16, EBUSY) because the video4linux character special device is in use by another process or by the system and this prevents the ioctl VIDIOC_QBUF system call from operatinglibv4l2: error turning on stream: Device or resource busyv4l2: ioctl(fildes = 4 "/dev/video1", request = VIDIOC_STREAMON, int *data = { V4L2_BUF_TYPE_VIDEO_CAPTURE }) failed, Device or resource busy (16, EBUSY) because the video4linux character special device is in use by another process or by the system and this prevents the ioctl VIDIOC_STREAMON system call from operatingv4l2: ioctl(fildes = 4 "/dev/video1", request = VIDIOC_QBUF, struct v4l2_buffer *data = { index = 0, type = V4L2_BUF_TYPE_VIDEO_CAPTURE, bytesused = 0, flags = 0, field = V4L2_FIELD_ANY, timestamp = { 0 seconds }, timecode = { type = 0, flags = 0, frames = 0, seconds = 0, minutes = 0, hours = 0 }, sequence = 0, memory = V4L2_MEMORY_MMAP, m.offset = 0, length = 221184, input = 0 }) failed, Device or resource busy (16, EBUSY) because the video4linux character special device is in use by another process or by the system and this prevents the ioctl VIDIOC_QBUF system call from operatinglibv4l2: error dequeuing buf: Invalid argumentv4l2: ioctl(fildes = 4 "/dev/video1", request = VIDIOC_DQBUF, struct v4l2_buffer *data = { index = 0, type = V4L2_BUF_TYPE_VIDEO_CAPTURE, memory = V4L2_MEMORY_MMAP }) failed, Invalid argument (22, EINVAL) because ioctl request or ioctl data is not valid
graeme@Linux1 ~ $ sudo modprobe -r bttv[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.FATAL: Module bttv is in use.graeme@Linux1 ~ $
graeme@Linux1 ~ $ sudo modprobe tuner type=0[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.graeme@Linux1 ~ $
graeme@Linux1 ~ $ sudo modprobe bttv card=2 vidmem=fdfff[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.graeme@Linux1 ~ $
graeme@Linux1 ~ $ sudo modprobe -r bttv[sudo] password for graeme: WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.graeme@Linux1 ~ $
graeme@Linux1 ~ $ sudo modprobe tuner type=0WARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.graeme@Linux1 ~ $
graeme@Linux1 ~ $ sudo modprobe bttv card=2 vidmem=fdfffWARNING: All config files need .conf: /etc/modprobe.d/bttv, it will be ignored in a future release.FATAL: Error inserting bttv (/lib/modules/3.5.0-17-generic/kernel/drivers/media/video/bt8xx/bttv.ko): Invalid argumentgraeme@Linux1 ~ $
parm: ir_debug:intparm: ir_rc5_remote_ gap:intparm: i2c_debug:configure i2c debug level (int)parm: i2c_hw:force use of hardware i2c support, instead of software bitbang (int)parm: i2c_scan:scan i2c bus at insmod time (int)parm: i2c_udelay:soft i2c delay at insmod time, in usecs (should be 5 or higher). Lower value means higher bus speed. (int)parm: vbibufs:number of vbi buffers, range 2-32, default 4 (int)parm: vbi_debug:vbi code debug messages, default is 0 (no) (int)parm: gpiomask:intparm: audioall:intparm: svhs:array of intparm: remote:array of intparm: audiomux:array of intparm: triton1:set ETBF pci config bit [enable bug compatibility for triton1 + others] (int)parm: vsfx:set VSFX pci config bit [yet another chipset flaw workaround] (int)parm: latency:pci latency timer (int)parm: card:specify TV/grabber card model, see CARDLIST file for a list (array of int)parm: pll:specify installed crystal (0=none, 28=28 MHz, 35=35 MHz) (array of int)parm: tuner:specify installed tuner type (array of int)parm: autoload:obsolete option, please do not use anymore (int)parm: audiodev:specify audio device: -1 = no audio 0 = autodetect (default) 1 = msp3400 2 = tda7432 3 = tvaudio (array of int)parm: saa6588:if 1, then load the saa6588 RDS module, default (0) is to use the card definition.parm: no_overlay:allow override overlay default (0 disables, 1 enables) [some VIA/SIS chipsets are known to have problem with overlay] (int)parm: debug_latency:intparm: fdsr:intparm: v4l2:intparm: combfilter:intparm: lumafilter:intparm: radio:The TV card supports radio, default is 0 (no) (array of int)parm: bigendian:byte order of the framebuffer, default is native endian (int)parm: bttv_verbose:verbose startup messages, default is 1 (yes) (int)parm: bttv_gpio:log gpio changes, default is 0 (no) (int)parm: bttv_debug:debug messages, default is 0 (no) (int)parm: irq_debug:irq handler debug messages, default is 0 (no) (int)parm: disable_ir:disable infrared remote support (int)parm: gbuffers:number of capture buffers. range 2-32, default 8 (int)parm: gbufsize:size of the capture buffers, default is 0x208000 (int)parm: reset_crop:reset cropping parameters at open(), default is 1 (yes) for compatibility with older applications (int)parm: automute:mute audio on bad/missing video signal, default is 1 (yes) (int)parm: chroma_agc:enables the AGC of chroma signal, default is 0 (no) (int)parm: adc_crush:enables the luminance ADC crush, default is 1 (yes) (int)parm: whitecrush_upp er:sets the white crush upper value, default is 207 (int)parm: whitecrush_low er:sets the white crush lower value, default is 127 (int)parm: vcr_hack:enables the VCR hack (improves synch on poor VCR tapes), default is 0 (no) (int)parm: irq_iswitch:switch inputs in irq handler (int)parm: uv_ratio:ratio between u and v gains, default is 50 (int)parm: full_luma_rang e:use the full luma range, default is 0 (no) (int)parm: coring:set the luma coring level, default is 0 (no) (int)parm: video_nr:video device numbers (array of int)parm: vbi_nr:vbi device numbers (array of int)parm: radio_nr:radio device numbers (array of int)
@ SeZojust in case this helps .. "vidmem=" isn't an avaiable parameter for the bttv driver .. here's the available parameters (from "modinfo bttv"):-
[ 16.442552] msp3400 6-0040: MSP3410D-B4 found @ 0x80 (bt848 #0 [sw])