linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* media_build and Terratec Cinergy T Black.
@ 2012-07-06 10:54 Hin-Tak Leung
  2012-07-06 11:01 ` Hin-Tak Leung
  2012-07-06 11:38 ` Antti Palosaari
  0 siblings, 2 replies; 13+ messages in thread
From: Hin-Tak Leung @ 2012-07-06 10:54 UTC (permalink / raw)
  To: Antti Palosaari, mchehab; +Cc: linux-media

Firstly, the downloaded linux-media.tar.bz2 has some simple typos, missing 3 brackets:

(please feel free to add my signed-off though this is trivial).

-------------
--- linux/drivers/media/video/v4l2-compat-ioctl32.c~	2012-07-06 04:45:17.000000000 +0100
+++ linux/drivers/media/video/v4l2-compat-ioctl32.c	2012-07-06 07:35:54.166512279 +0100
@@ -387,7 +387,7 @@
 		get_user(kp->index, &up->index) ||
 		get_user(kp->type, &up->type) ||
 		get_user(kp->flags, &up->flags) ||
-		get_user(kp->memory, &up->memory)
+		get_user(kp->memory, &up->memory))
 			return -EFAULT;
 
 	if (V4L2_TYPE_IS_OUTPUT(kp->type))
@@ -471,7 +471,7 @@
 		put_user(kp->index, &up->index) ||
 		put_user(kp->type, &up->type) ||
 		put_user(kp->flags, &up->flags) ||
-		put_user(kp->memory, &up->memory)
+		put_user(kp->memory, &up->memory))
 			return -EFAULT;
 
 	if (put_user(kp->bytesused, &up->bytesused) ||
@@ -481,7 +481,7 @@
 		copy_to_user(&up->timecode, &kp->timecode, sizeof(struct v4l2_timecode)) ||
 		put_user(kp->sequence, &up->sequence) ||
 		put_user(kp->reserved2, &up->reserved2) ||
-		put_user(kp->reserved, &up->reserved)
+		put_user(kp->reserved, &up->reserved))
 			return -EFAULT;
 
 	if (V4L2_TYPE_IS_MULTIPLANAR(kp->type)) {
------------

A few comments & issues:

- don't realy like the build script trying to clone media_tree, etc had hard-coded remotes - if(0) out'ed the whole git-on-the-fly block inside to make it use an existing symlink'ed checkout - consider offering something similar?

- $ lsdvb seems to be doing garbage:(fedora 17's)

usb (-1975381336:62 64848224:32767) on PCI Domain:-1965359032 Bus:62 Device:64848416 Function:32767
	DEVICE:0 ADAPTER:0 FRONTEND:0 (Realtek RTL2832 (DVB-T)) 
		 FE_OFDM Fmin=174MHz Fmax=862MHz

lsdvb on mercury is only marginally better with the PCI zero's, but the other numbers swapped:

usb (62:-1975379912 32767:-348245472) on PCI Domain:0 Bus:0 Device:0 Function:0
	DEVICE:0 ADAPTER:0 FRONTEND:0 (Realtek RTL2832 (DVB-T)) 
		 FE_OFDM Fmin=174MHz Fmax=862MHz

- 'scandvb' segfault at the end on its own.


- "scandvb /usr/share/dvb/dvb-t/uk-SandyHeath" (supposedly where I am) got a few "WARNING: >>> tuning failed!!!" and no list.

- 'w_scan -G -c GB'
  have a few curious
WARNING: received garbage data: crc = 0xcc93876c; expected crc = 0xb81bb6c4

return a list of 26, with entries like (which seems to be vaguely correct):

BBC ONE;(null):522000:B8C23D0G32M64T8Y0:T:27500:101=2:102,106=eng:0:0:4173:9018:4173:0:100

So I just put it in ~/.mplayer:channels.conf

Took me a while to figure out that mplayer wants:

mplayer 'dvb://BBC ONE;(null)'

rather than anything else - curious about the ';(null)' part.

--------
Playing dvb://BBC ONE;(null).
dvb_tune Freq: 522000
ERROR IN SETTING DMX_FILTER 9018 for fd 4: ERRNO: 22ERROR, COULDN'T SET CHANNEL  8: Failed to open dvb://BBC ONE;(null).
----------

At this point I am lost :-).







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

end of thread, other threads:[~2012-07-07 10:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 10:54 media_build and Terratec Cinergy T Black Hin-Tak Leung
2012-07-06 11:01 ` Hin-Tak Leung
2012-07-06 11:38 ` Antti Palosaari
2012-07-06 21:06   ` Hin-Tak Leung
2012-07-07  0:42     ` bugs in dvbscan/scan, dvb-apps(Re: media_build and Terratec Cinergy T Black.) Hin-Tak Leung
2012-07-07  2:11     ` success! (Re: " Hin-Tak Leung
2012-07-07  2:26       ` unload/unplugging (Re: success! (Re: media_build and Terratec Cinergy T Black.)) Hin-Tak Leung
2012-07-07  9:42         ` Antti Palosaari
2012-07-07 10:10           ` Hin-Tak Leung
2012-07-07 10:26             ` Antti Palosaari
2012-07-07 10:47               ` Hin-Tak Leung
2012-07-07 10:03       ` success! (Re: media_build and Terratec Cinergy T Black.) Antti Palosaari
2012-07-07 10:37         ` channel scanning (Re: success! (Re: media_build and Terratec Cinergy T Black.)) Hin-Tak Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).