Re: Terratec Cinergy HibridT XS

2009-08-05 Thread Devin Heitmueller
On Wed, Aug 5, 2009 at 2:26 PM, Valerio Messinae...@iol.it wrote:
 Devin Heitmueller wrote:

 Which distro is this

 Ubuntu 9.04
 kernel 2.6.28-14-generic

 and have you updated the kernel since checking out the code?

 no

 It's also possible if you were playing around with the mcentral
 repository that both versions of em28xx are still installed.

 Mauro Carvalho Chehab wrote:

 Try a make rminstall. This is required with Ubuntu, since it installs
 drivers/media at the wrong dir

 I disconnected the TV tuner, then
 $ sudo make unload
 $ sudo make rminstall
 in the three following subdirectories:
 v4l-dvb
 v4l-dvb-kernel  (mcentral hg copy)
 ttxs-remote

 Then follow instructions from Devin:
 hg clone http://kernellabs.com/hg/~dheitmueller/ttxs-remote
 cd ttxs-remote
 make
 sudo make install
 reboot

 No error on compile and install time.
 But same results, Kaffeine do not see the TVtuner, and dmesg report this on
 USB connect:

 Aug  5 20:12:16 01ath3200 kernel: [  182.312039] usb 1-3: new high speed USB
 device using ehci_hcd and address 3
 Aug  5 20:12:16 01ath3200 kernel: [  182.497009] usb 1-3: configuration #1
 chosen from 1 choice
 Aug  5 20:12:16 01ath3200 kernel: [  182.622103] usbcore: registered new
 interface driver snd-usb-audio
 Aug  5 20:12:17 01ath3200 kernel: [  182.810124] Linux video capture
 interface: v2.00
 Aug  5 20:12:17 01ath3200 kernel: [  182.831714] em28xx: disagrees about
 version of symbol v4l_compat_translate_ioctl
 Aug  5 20:12:17 01ath3200 kernel: [  182.831725] em28xx: Unknown symbol
 v4l_compat_translate_ioctl
 Aug  5 20:12:17 01ath3200 kernel: [  182.835363] em28xx: disagrees about
 version of symbol video_unregister_device
 Aug  5 20:12:17 01ath3200 kernel: [  182.835370] em28xx: Unknown symbol
 video_unregister_device
 Aug  5 20:12:17 01ath3200 kernel: [  182.835754] em28xx: disagrees about
 version of symbol video_device_alloc
 Aug  5 20:12:17 01ath3200 kernel: [  182.835759] em28xx: Unknown symbol
 video_device_alloc
 Aug  5 20:12:17 01ath3200 kernel: [  182.835944] em28xx: disagrees about
 version of symbol video_register_device
 Aug  5 20:12:17 01ath3200 kernel: [  182.835949] em28xx: Unknown symbol
 video_register_device
 Aug  5 20:12:17 01ath3200 kernel: [  182.836988] em28xx: disagrees about
 version of symbol video_usercopy
 Aug  5 20:12:17 01ath3200 kernel: [  182.836993] em28xx: Unknown symbol
 video_usercopy
 Aug  5 20:12:17 01ath3200 kernel: [  182.837178] em28xx: disagrees about
 version of symbol video_device_release
 Aug  5 20:12:17 01ath3200 kernel: [  182.837183] em28xx: Unknown symbol
 video_device_release
 ... (repeated 3 times)
 Aug  5 20:12:18 01ath3200 pulseaudio[4364]: alsa-util.c: Cannot find
 fallback mixer control Mic or mixer control is no combination of
 switch/volume.

 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


Try running this:

find /lib/modules/ -name em28*

Then pastebin the output and send us a link.  Also send us the output of:

uname -a

Thanks,

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-05 Thread Devin Heitmueller
On Wed, Aug 5, 2009 at 3:41 PM, Valerio Messinae...@iol.it wrote:
 Devin Heitmueller ha scritto:

 Try running this:

 find /lib/modules/ -name em28*
snip

Yeah, that confirms it.  The files in /lib/modules/2.6.28-14-generic/
are conflicting with the reset of the v4l-dvb codebase.  Basically,
the mcentral.de em28xx driver is attempting to load but conflicts with
the videobuf implementation provided by v4l-dvb.

I don't know what the process is for uninstalling the mcentral.de
em28xx driver.  Probably involves removing that directory and
re-running depmod or something.

Devin


-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-05 Thread Valerio Messina

Devin Heitmueller ha scritto:

Great.  I'll get a PULL request issued so this can get into the
mainline.  Thanks for testing.


I have three more request for this driver tuner, but are low priority.

1 - On/off button on the IR as now, send a command to the desktop to 
start the shutdown, reboot, suspend or hybernate window. To me should 
send something to the active window only, like an ALT+F4 to close the 
windows (for example Kaffeine).


2 - is there a simple (like a configuration text file) method to assign 
functions to unused buttons on the remote IR, like start an executable 
or send dbus messages?


3 - the TVtuner remain ON, also when user applications are all OFF. It 
become hot specially in summer. That tuner is not well designed in the 
thermal aspect, and when ON stay at 50°C, where blocky video and noisy 
audio happen. I made same holes on the two narrow side of the case and 
now is better. Is there a method to swith OFF, on put on standby the 
tuner (like on Windows) when it is unused?


thanks,
Valerio


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-05 Thread Devin Heitmueller
On Wed, Aug 5, 2009 at 5:40 PM, Valerio Messinae...@iol.it wrote:
 1 - On/off button on the IR as now, send a command to the desktop to start
 the shutdown, reboot, suspend or hybernate window. To me should send
 something to the active window only, like an ALT+F4 to close the windows
 (for example Kaffeine).

This is typically controlled by your application or the desktop
environment.  The on/off is mapped the same across all remote
controls.

 2 - is there a simple (like a configuration text file) method to assign
 functions to unused buttons on the remote IR, like start an executable or
 send dbus messages?

The map that I committed in does have all the keys mapped to input
event codes.  You would need to reconfigure your input subsystem to
point the event codes to some other function.

 3 - the TVtuner remain ON, also when user applications are all OFF. It
 become hot specially in summer. That tuner is not well designed in the
 thermal aspect, and when ON stay at 50°C, where blocky video and noisy audio
 happen. I made same holes on the two narrow side of the case and now is
 better. Is there a method to swith OFF, on put on standby the tuner (like on
 Windows) when it is unused?

The power management on these devices could certainly use some work.
I thought the power management was working on that board since it has
an xc3028 tuner chip, but I would have to look at the code to be sure.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-05 Thread Valerio Messina

Devin Heitmueller ha scritto:

On Wed, Aug 5, 2009 at 5:40 PM, Valerio Messinae...@iol.it wrote:

1 - On/off button on the IR as now, send a command to the desktop to start
the shutdown, reboot, suspend or hybernate window. To me should send
something to the active window only, like an ALT+F4 to close the windows
(for example Kaffeine).


This is typically controlled by your application or the desktop
environment.  The on/off is mapped the same across all remote
controls.


and seems mapped the same on all applications


The map that I committed in does have all the keys mapped to input
event codes.  You would need to reconfigure your input subsystem to
point the event codes to some other function.


the channel up/down, EPG, Teletext and circled i on the remote does 
nothing.


Valerio
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-05 Thread Devin Heitmueller
On Wed, Aug 5, 2009 at 6:49 PM, Valerio Messinae...@iol.it wrote:
 The map that I committed in does have all the keys mapped to input
 event codes.  You would need to reconfigure your input subsystem to
 point the event codes to some other function.

 the channel up/down, EPG, Teletext and circled i on the remote does
 nothing.

They do nothing, but that is the application's fault and not the
driver's.  When pressing the channel up key, the driver generates a
keyboard event called KEY_CHANNELUP, and the application has to have
that mapped to the correct shortcut.  Likewise, channel down, epg, and
the i generate KEY_CHANNELDOWN, KEY_EPG, and KEY_INFO.

Kaffeine 1.0pre1 appears to have some new infrastructure for assigning
events to shortcuts (see the menu item Settings-Configure
Shortcuts), however it doesn't appear to work correctly in all cases.
 Not that this is surprising for a prerelease.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-03 Thread Devin Heitmueller
On Fri, Jul 31, 2009 at 9:43 PM, Valerio Messinae...@iol.it wrote:
 Devin Heitmueller ha scritto:

 Ah, good news:  the patch I wrote that adds support for the remote
 control is still around:

 http://linuxtv.org/hg/~dheitmueller/v4l-dvb-terratec-xs/rev/92885f66ac68

 I will prep this into a new tree and issue a pull request when I get
 back in town on Sunday.

 hi,
 I tried to apply the patch, recompile, install and reboot.
 Same results, IR does not send digit to text editor or Kaffeine.

 What other can I do for further help/testing?

 Valerio
 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html


Hello Valerio,

Please try the following:

hg clone http://kernellabs.com/hg/~dheitmueller/ttxs-remote
cd ttxs-remote
make
make install
reboot

Then see if the remote control works.  If not, I will give you some
commands to turn on the logging.  This should work though since I had
tested it myself when I had the device in question a couple of weeks
ago.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-08-02 Thread Valerio Messina

Valerio Messina ha scritto:
I do not know if is correct that linuxtv.org link to a web site with 
unsupported product/commercial.

Please change the link in page:
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_Hybrid_T_USB_XS


take note that also the page at:
http://www.linuxtv.org/wiki/index.php/TerraTec
three with a patch link to:
http://mcentral.de/wiki/index.php/Em2880
where its links, say (Pinnacle, Hauppauge, Terratec) are all unsupported 
device, but sundtek.


Valerio
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-07-31 Thread Valerio Messina

Devin Heitmueller ha scritto:

Ah, good news:  the patch I wrote that adds support for the remote
control is still around:

http://linuxtv.org/hg/~dheitmueller/v4l-dvb-terratec-xs/rev/92885f66ac68

I will prep this into a new tree and issue a pull request when I get
back in town on Sunday.


hi,
I tried to apply the patch, recompile, install and reboot.
Same results, IR does not send digit to text editor or Kaffeine.

What other can I do for further help/testing?

Valerio
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-07-30 Thread Valerio Messina

With past kernel and a patch as suggested here:
http://www.linuxtv.org/wiki/index.php/TerraTec
that link to:
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_Hybrid_T_USB_XS
that link to:
http://mcentral.de/wiki/index.php5/Main_Page

 More bad now:
 http://mcentral.de/wiki/index.php5/Installation_Guide
 sell TV tuner, and do not support anymore the Terratec tuner, the source
 repository is disappeared, and install instruction is a commercial.

I do not know if is correct that linuxtv.org link to a web site with 
unsupported product/commercial.

Please change the link in page:
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_Hybrid_T_USB_XS


and some troubles for Ubuntu kernel that I solved here:
https://bugs.launchpad.net/bugs/322732
worked well for a year or more.


the Ubuntu kernel bug is fixed in 9.04

Devin Heitmueller ha scritto:

That device, including full support for the IR, is now supported in
the mainline v4l-dvb tree (and will appear in kernel 2.6.31).  Just
follow the directions here to get the code:
http://linuxtv.org/repo


yesterday evening I downloaded the sources with mercurial, compiled and 
installed.

Same result, from dmesg the firmware file 'xc3028-v27.fw' is missing.
When I put it in /lib/firmware Kaffeine video/audio work, but no IR.

ready to help in debugging,
Valerio
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Terratec Cinergy HibridT XS

2009-07-29 Thread hermann pitton
Hi,

Am Mittwoch, den 29.07.2009, 07:45 +0200 schrieb Markus Rechberger:
 On Wed, Jul 29, 2009 at 4:28 AM, hermann pittonhermann-pit...@arcor.de 
 wrote:
  Hi,
 
  Am Dienstag, den 28.07.2009, 20:44 -0400 schrieb Devin Heitmueller:
  On Tue, Jul 28, 2009 at 7:32 PM, Valerio Messinae...@iol.it wrote:
   hi all,
  
   I own a Terratec Cinergy HibridT XS
   with lsusb ID:
   Bus 001 Device 007:
   ID 0ccd:0042 TerraTec Electronic GmbH Cinergy Hybrid T XS
  
   With past kernel and a patch as suggested here:
   http://www.linuxtv.org/wiki/index.php/TerraTec
   that link to:
   http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_Hybrid_T_USB_XS
   that link to:
   http://mcentral.de/wiki/index.php5/Main_Page
   and some troubles for Ubuntu kernel that I solved here:
   https://bugs.launchpad.net/bugs/322732
   worked well for a year or more.
  
   With last Ubuntu 9.04, kernel 2.6.28-13 seems have native support for the
   tuner, but from dmesg a file is missing: xc3028-v27.fw
   (maybe manage I2C for IR?)
   I found it on a web site, copied in /lib/firmware
   and now Kaffeine work, but ... no more IR remote command work.
  
   More bad now:
   http://mcentral.de/wiki/index.php5/Installation_Guide
   sell TV tuner, and do not support anymore the Terratec tuner, the source
   repository is disappeared, and install instruction is a commercial.
 
  all in all it is really funny.
 
   Any chanches?
  
   thanks in advace,
   Valerio
 
  That device, including full support for the IR, is now supported in
  the mainline v4l-dvb tree (and will appear in kernel 2.6.31).  Just
  follow the directions here to get the code:
 
  http://linuxtv.org/repo
 
  Devin
 
 
  Hopefully nobody is mad enough to buy for such prices.
 
 
 compared with other drivers it has some big advantages, eg. automatic
 audio routing (supports OSS/Alsa/reading audio external) - as tvtime
 doesn't support audio at all our solution automatically enables audio
 with it, installation works within a few seconds (everywhere, any
 distribution, eg eeepc, acer aspire one, ubuntu, redhat, suse..),
 kernel independent, more or less unix operating system independent as
 well.

I really would like to have Billy Biggs opinion on that.

 There's nothing comparable available, and it has full support from the
 chipdesign companies, just about anyone who doesn't know much about
 linux can easily handle it without the knowledge how to set up a
 development system. CI Support is on the roadmap as well for DVB-C.
 While all of that it is still compatible to existing kernel drivers.
 Updates will also affect all systems at once and won't need a
 particular kernel versions.
 So it is more like a question if someone wants a prebuilt, working car
 which has guaranteed support, or wants to build his own car both is
 doable of course.

You are using other peoples cars and without those, there is nothing.

Cheers,
Hermann


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html