Skip to contentSkip to conversation

Units error in v4l2-ctl

DISCUSSION Douglas Peale 1 participant 1 message Nov 9, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

I was playing around with V4l2-ctl, and noticed an error in the units displayed.

$ v4l2-ctl -d /dev/video1 --get-tuner
Tuner:
	Name                 : Television
	Capabilities         : 62.5 kHz stereo lang1 lang2
	Frequency range      : 0.0 MHz - 268435455.9 MHz
	Signal strength/AFC  : 0%/0
	Current audio mode   : mono
	Available subchannels: mono

Either the frequency range should be reported in Hz, not MHz, or the decimal place needs to be moved 6 places to the left.

For reference, more info on the specific device.

$ v4l2-ctl -d /dev/video1 --info
Driver Info:
	Driver name   : cx8800
	Card type     : ATI HDTV Wonder
	Bus info      : PCI:0000:07:01.0
	Driver version: 8
	Capabilities  : 0x05010011
		Video Capture
		VBI Capture
		Tuner
		Read/Write
		Streaming