public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* FM Radio w
@ 2010-05-31  8:24 christian reiser
  2010-06-08 12:17 ` christian reiser
  0 siblings, 1 reply; 2+ messages in thread
From: christian reiser @ 2010-05-31  8:24 UTC (permalink / raw)
  To: video4linux-list

[-- Attachment #1: Type: text/plain, Size: 2463 bytes --]

Hi,

i try to get the FM Tuner of my Terratec Cinergy XS (0ccd:0072) running. Unfortunately i do not succeed. DVB-T works, and analog TV may work (no error, but as no coverage is availabe i cannot prove, that it works).

I would like to listen to FM Radio, but neither gnomeradio, kradio or fm (from fmtools) gets me something useful. I doubt whether the card is initialized successfully, as no tool is able to do a station search.

I am using the em28xx-new driver. Is anybody able to confirm or deny, that this combination should work?

Here are my module messages - v4lconf of /dev/radio0 attached.

usb 7-1: new high speed USB device using ehci_hcd and address 5
usb 7-1: configuration #1 chosen from 1 choice
em28xx: new video device (0ccd:0072): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
cx25843.c: starting probe for adapter em28xx #0 (0x1001f)
cx25843.c: detecting cx25843 client on address 0x88
trying to attach xc5000
attaching xc5000 tuner module
successfully attached tuner
radio device registered as /dev/radio0
em28xx #0: V4L2 VBI device registered as /dev/vbi0
em28xx #0: V4L2 device registered as /dev/video0
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
em2880-dvb.c: DVB Init
DVB: registering new adapter (em2880 DVB-T)
DVB: registering frontend 0 (Zarlink ZL10353 DVB-T)...
input: em2880/em2870 remote control as /devices/virtual/input/input17
em28xx-input.c: remote control handler attached
em28xx #0: Found Terratec Hybrid XS FM (em2883)
opening radio device and trying to acquire exclusive lock
switching device to FM mode
retrieved mode from tuner: 1
changing alternate number to 7


Any help is appreciated!

Also all information, which usb-stick with linux and fm support can still be bought would help much.

Last, if this is not the right place to ask, please point me to a different place

Thanks in advance

Christian
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

[-- Attachment #2: v4l-info.radio0 --]
[-- Type: application/octet-stream, Size: 8240 bytes --]


### v4l2 device info [/dev/radio0] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "em28xx"
	card                    : "Terratec Hybrid XS FM (em2883)"
	bus_info                : "7-1"
	version                 : 0.0.1
	capabilities            : 0x5030011 [VIDEO_CAPTURE,VBI_CAPTURE,TUNER,AUDIO,READWRITE,STREAMING]

standards
    VIDIOC_ENUMSTD(0)
	index                   : 0
	id                      : 0x7 [PAL_B,PAL_B1,PAL_G]
	name                    : "PAL-BG"
	frameperiod.numerator   : 1
	frameperiod.denominator : 25
	framelines              : 625
    VIDIOC_ENUMSTD(1)
	index                   : 1
	id                      : 0xe0 [PAL_D,PAL_D1,PAL_K]
	name                    : "PAL-DK"
	frameperiod.numerator   : 1
	frameperiod.denominator : 25
	framelines              : 625
    VIDIOC_ENUMSTD(2)
	index                   : 2
	id                      : 0x10 [PAL_I]
	name                    : "PAL-I"
	frameperiod.numerator   : 1
	frameperiod.denominator : 25
	framelines              : 625
    VIDIOC_ENUMSTD(3)
	index                   : 3
	id                      : 0x1000 [NTSC_M]
	name                    : "NTSC M"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525
    VIDIOC_ENUMSTD(4)
	index                   : 4
	id                      : 0x400000 [SECAM_L]
	name                    : "SECAM L"
	frameperiod.numerator   : 1
	frameperiod.denominator : 25
	framelines              : 625
    VIDIOC_ENUMSTD(5)
	index                   : 5
	id                      : 0x800000 [?ATSC_8_VSB]
	name                    : "SECAM LC"
	frameperiod.numerator   : 1
	frameperiod.denominator : 25
	framelines              : 625
    VIDIOC_ENUMSTD(6)
	index                   : 6
	id                      : 0x200000 [SECAM_K1]
	name                    : "SECAM K1"
	frameperiod.numerator   : 1
	frameperiod.denominator : 25
	framelines              : 625
    VIDIOC_ENUMSTD(7)
	index                   : 7
	id                      : 0x100 [PAL_M]
	name                    : "PAL-M"
	frameperiod.numerator   : 1001
	frameperiod.denominator : 30000
	framelines              : 525

inputs
    VIDIOC_ENUMINPUT(0)
	index                   : 0
	name                    : "Television"
	type                    : TUNER
	audioset                : 0
	tuner                   : 0
	std                     : 0xe011f7 [PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,SECAM_K1,SECAM_L,?ATSC_8_VSB]
	status                  : 0x0 []
    VIDIOC_ENUMINPUT(1)
	index                   : 1
	name                    : "Composite1"
	type                    : CAMERA
	audioset                : 0
	tuner                   : 0
	std                     : 0xe011f7 [PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,SECAM_K1,SECAM_L,?ATSC_8_VSB]
	status                  : 0x0 []
    VIDIOC_ENUMINPUT(2)
	index                   : 2
	name                    : "S-Video"
	type                    : CAMERA
	audioset                : 0
	tuner                   : 0
	std                     : 0xe011f7 [PAL_B,PAL_B1,PAL_G,PAL_I,PAL_D,PAL_D1,PAL_K,PAL_M,NTSC_M,SECAM_K1,SECAM_L,?ATSC_8_VSB]
	status                  : 0x0 []

tuners
    VIDIOC_G_TUNER(0)
	index                   : 0
	name                    : "Empia FM"
	type                    : RADIO
	capability              : 0x1 [LOW]
	rangelow                : 1392000
	rangehigh               : 1728000
	rxsubchans              : 0x1 [MONO]
	audmode                 : STEREO
	signal                  : 0
	afc                     : 0

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
	index                   : 0
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "Y0-U-Y1-V, 16 bpp"
	pixelformat             : 0x56595559 [YUYV]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
	index                   : 1
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "Y1-U-Y0-V, 16 bpp"
	pixelformat             : 0x31595559 [YUY1]
    VIDIOC_ENUM_FMT(2,VIDEO_CAPTURE)
	index                   : 2
	type        ioctl VIDIOCGFBUF: Invalid argument
            : VIDEO_CAPTURE
	flags                   : 0
	description             : "YUV411, 12 bpp"
	pixelformat             : 0x50313459 [Y41P]
    VIDIOC_ENUM_FMT(3,VIDEO_CAPTURE)
	index                   : 3
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "YUV211, 8 bpp"
	pixelformat             : 0x31313259 [Y211]
    VIDIOC_ENUM_FMT(4,VIDEO_CAPTURE)
	index                   : 4
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "RGB, 16 bpp, 6-5-6"
	pixelformat             : 0x50424752 [RGBP]
    VIDIOC_ENUM_FMT(5,VIDEO_CAPTURE)
	index                   : 5
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "RGB, 8bit RGRG"
	pixelformat             : 0x00000001 [....]
    VIDIOC_ENUM_FMT(6,VIDEO_CAPTURE)
	index                   : 6
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "RGB, 8bit GRGR"
	pixelformat             : 0x00000002 [....]
    VIDIOC_ENUM_FMT(7,VIDEO_CAPTURE)
	index                   : 7
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "RGB, 8bit GBGB"
	pixelformat             : 0x00000003 [....]
    VIDIOC_ENUM_FMT(8,VIDEO_CAPTURE)
	index                   : 8
	type                    : VIDEO_CAPTURE
	flags                   : 0
	description             : "RGB, 8bit BGBG"
	pixelformat             : 0x00000004 [....]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
	type                    : VIDEO_CAPTURE
	fmt.pix.width           : 720
	fmt.pix.height          : 576
	fmt.pix.pixelformat     : 0x56595559 [YUYV]
	fmt.pix.field           : INTERLACED
	fmt.pix.bytesperline    : 1440
	fmt.pix.sizeimage       : 829440
	fmt.pix.colorspace      : SMPTE170M
	fmt.pix.priv            : 0

vbi capture
    VIDIOC_G_FMT(VBI_CAPTURE)
	type                    : VBI_CAPTURE
	fmt.vbi.sampling_rate   : 27000000
	fmt.vbi.offset          : 0
	fmt.vbi.samples_per_line: 1440
	fmt.vbi.sample_format   : 0x59455247 [GREY]
	fmt.vbi.start[0]        : 6
	fmt.vbi.start[1]        : 317
	fmt.vbi.count[0]        : 17
	fmt.vbi.count[1]        : 17
	fmt.vbi.flags           : 0

controls

### video4linux device info [/dev/radio0] ###
general info
    VIDIOCGCAP
	name                    : "Terratec Hybrid XS FM (em2883)"
	type                    : 0x7 [CAPTURE,TUNER,TELETEXT]
	channels                : 3
	audios                  : 0
	maxwidth                : 720
	maxheight               : 576
	minwidth                : 48
	minheight               : 32

channels
    VIDIOCGCHAN(0)
	channel                 : 0
	name                    : "Television"
	tuners                  : 1
	flags                   : 0x1 [TUNER]
	type                    : TV
	norm                    : 0
    VIDIOCGCHAN(1)
	channel                 : 1
	name                    : "Composite1"
	tuners                  : 0
	flags                   : 0x0 []
	type                    : CAMERA
	norm                    : 0
    VIDIOCGCHAN(2)
	channel                 : 2
	name                    : "S-Video"
	tuners                  : 0
	flags                   : 0x0 []
	type                    : CAMERA
	norm                    : 0

tuner
    VIDIOCGTUNER
	tuner                   : 0
	name                    : "Empia FM"
	rangelow                : 1392000
	rangehigh               : 1728000
	flags                   : 0xf [PAL,NTSC,SECAM,LOW]
	mode                    : PAL
	signal                  : 0

audio
    VIDIOCGAUDIO
	audio                   : 0
	volume                  : 0
	bass                    : 0
	treble                  : 0

picture
    VIDIOCGPICT
	brightness              : 0
	hue                     : 0
	colour                  : 0
	contrast                : 0
	whiteness               : 0
	depth                   : 16
	palette                 : YUYV

buffer

window
    VIDIOCGWIN
	x                       : 0
	y                       : 0
	width                   : 720
	height                  : 576
	chromakey               : 0
	flags                   : 0


[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FM Radio w
  2010-05-31  8:24 FM Radio w christian reiser
@ 2010-06-08 12:17 ` christian reiser
  0 siblings, 0 replies; 2+ messages in thread
From: christian reiser @ 2010-06-08 12:17 UTC (permalink / raw)
  To: video4linux-list

Hi,

just to answer my own question:


-------- Original-Nachricht --------
> Also all information, which usb-stick with linux and fm support can still
> be bought would help much.

All si470x devices seem to work. This includes the reference USB Radio Card from SIlabs http://www.silabs.com/products/mcu/Pages/USBFMRadioRD.aspx

Anyway, i have the impression, that tuning is screwed up with my current kernel (2.6.27-17), as i get 106.4 when tuning to 94.9. Anybody out there with a working fm radio based on si470x chipset?

Best regards,
Christian
-- 
GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-08 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-31  8:24 FM Radio w christian reiser
2010-06-08 12:17 ` christian reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox