Not detecting second frontend right in multiple frontend card HVR-4000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME DVB Daemon |
Fix Released
|
Medium
|
Unassigned |
Bug Description
With a Hauppauge HVR-4000 which has been installed as adapter0 with frontend0 = DVB-S (Conexant cx-24116/cx24118) and frontend1 = DVB-T (Conexant cx-22702), both frontends are detected as DVB-S.
An symbolic adaptater1 frontend0 has been created with links to adapter0 frontend1 but this is not detected by gnome-dvb.
V4l-driver have been installed. Kaffeine works OK, mplayer with dvb://2@ also OK and vlc OK.
Is it possible to access config file or to put an argument in command line to access specific adapter and/or frontend ?
Related branches
Sebastian Pölsterl (sebp) wrote : | #1 |
Changed in gnome-dvb-daemon: | |
importance: | Undecided → Medium |
rudy1210 (rudy1210) wrote : | #2 |
- client.tar.gz Edit (747 bytes, application/x-tar)
Patch does not seem to work...
I did :
patch -p0 < multiple_
patching file client/
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file client/
patching file client/
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file client/
patching file client/
Hunk #1 FAILED at 173.
1 out of 1 hunk FAILED -- saving rejects to file client/
I attach the rej files...
I hope I put the right command... This patching stuff is quite new to me ;-)
Sebastian Pölsterl (sebp) wrote : | #3 |
No problem, I attached a tarball with the patch applied, just install that one.
rudy1210 (rudy1210) wrote : | #4 |
I got this at the end of ./configure...
checking for GST... yes
checking for GNOME_DVB_DAEMON... configure: error: Package requirements (glib-2.0 >= 2.16.0
No package 'dbus-glib-1' found
No package 'gee-1.0' found
No package 'sqlite3' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GNOME_DVB_
and GNOME_DVB_
See the pkg-config man page for more details.
I am struggling to get the right packages. Could you help ? THanks
Sebastian Pölsterl (sebp) wrote : | #5 |
I suppose you previous install was from the PPA?
To install the missing dependencies run the following command:
"sudo apt-get install libglib2.0-dev libdbus-glib-1-dev libgee-dev libsqlite3-dev python-all-dev python-gobject-dev python-gtk2-dev"
followed by "./configure --prefix=/usr && make && sudo make install" to compile and install everything.
rudy1210 (rudy1210) wrote : | #6 |
It was package 0.1.13 in Lucid depo...
After struggling to install dependencies other than those above mentioned (python 2.5, libuser,...), I finally got to compile and install 0.1.17 and got two menu entries : Digital TV control and setup... but setup is crashing and activation of dvb plugin in totem is not possible...
gnome-dvb-setup
Erreur de segmentation (core dumped)
Erreur du greffon
Impossible d'activer le greffon Démon DVB pour GNOME
Sebastian Pölsterl (sebp) wrote : | #7 |
First run "gnome-dvb-daemon --debug" in a terminal and in a separate terminal run "gnome-dvb-setup" and check if something helpful is printed.
rudy1210 (rudy1210) wrote : | #8 |
here is the ouput :
gnome-dvb-daemon --debug
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** Message: Main.vala:55: Creating new Manager D-Bus service
** Message: Main.vala:193: Restoring device groups
** Message: Main.vala:76: Creating new RecordingsStore D-Bus service
** Message: Server.vala:26: Starting RTSP server
** Message: listening on port 8554
** Message: Services.vala:293: Creating new Rygel MediaServer D-Bus service
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** (gnome-
streaming task paused, reason error (-5)
** (gnome-
** Message: Scanner.vala:339: Finished scanning
** (gnome-
Erreur de segmentation (core dumped)
This was during a DVB-S frontend scanning...
Also both frontends are still detected as DVB-S...
rudy1210 (rudy1210) wrote : | #9 |
Also the output of gnome-dvb-setup when I wanted to stop it, cancelling scan...
gnome-dvb-setup
Traceback (most recent call last):
File "/usr/lib/
scanner.
File "/usr/lib/
self.
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
It is not stopping so I need to kill process...
Sebastian Pölsterl (sebp) wrote : | #10 |
Sorry, I forgot to add an important change, please try the attached tarball.
rudy1210 (rudy1210) wrote : | #11 |
Not better... I can not start plugin in totem... and gnome-dvb-setup crashes... but daemon looks right...
gnome-dvb-setup
Erreur de segmentation (core dumped)
gnome-dvb-daemon --debug
** (gnome-
** (gnome-
** (gnome-
** (gnome-
** Message: Main.vala:55: Creating new Manager D-Bus service
** Message: Main.vala:193: Restoring device groups
** Message: Main.vala:76: Creating new RecordingsStore D-Bus service
** Message: Server.vala:26: Starting RTSP server
** Message: listening on port 8554
** Message: Services.vala:293: Creating new Rygel MediaServer D-Bus service
Sebastian Pölsterl (sebp) wrote : | #12 |
I upgraded to lucid today, but I can't reproduce your problem.
You can try retrieving a stacktrace with gdb. Install gdb and run "gdb python". In the new prompt type "run /usr/bin/
rudy1210 (rudy1210) wrote : | #13 |
Here you are :
#0 0x00395790 in ?? () from /lib/tls/
#1 0x0809fc4a in PyString_FromString ()
#2 0x00c72990 in dvbudev_
at udev/_dvbudevmo
#3 0x080e0a21 in PyEval_EvalFrameEx ()
#4 0x080e1bb0 in PyEval_EvalFrameEx ()
#5 0x080e2807 in PyEval_EvalCodeEx ()
#6 0x080e0c8b in PyEval_EvalFrameEx ()
#7 0x080e2807 in PyEval_EvalCodeEx ()
#8 0x080e0c8b in PyEval_EvalFrameEx ()
#9 0x080e2807 in PyEval_EvalCodeEx ()
#10 0x0816b30c in ?? ()
#11 0x0806245a in PyObject_Call ()
#12 0x080dfad1 in PyEval_EvalFrameEx ()
#13 0x080e2807 in PyEval_EvalCodeEx ()
#14 0x0816b30c in ?? ()
#15 0x08066573 in PyObject_
#16 0x0048b664 in ?? () from /usr/lib/
#17 0x004b9791 in ?? () from /lib/libdbus-1.so.3
#18 0x004a93c6 in ?? () from /lib/libdbus-1.so.3
#19 0x004ab992 in dbus_connection
#20 0x0051a92d in ?? () from /usr/lib/
#21 0x005b15e5 in g_main_
rudy1210 (rudy1210) wrote : | #14 |
I thought about providing you with debug information when I want to activate plugin DVB in Totem :
totem --debug
(totem:2757): Totem-DEBUG: Received SaveYourself(
(totem:2757): Totem-DEBUG: Setting initial properties
(totem:2757): Totem-DEBUG: Sending SaveYourselfDon
(totem:2757): Totem-DEBUG: Received SaveComplete message in state save-yourself-done
(totem:2757): Totem-DEBUG: Init of Python module
(totem:2757): Totem-DEBUG: Registering Python plugin instance: BBCViewer+
(totem:2757): Totem-DEBUG: Creating object of type BBCViewer+
(totem:2757): Totem-DEBUG: Creating Python plugin instance
(totem:2757): Totem-DEBUG: Init of Python module
(totem:2757): Totem-DEBUG: Registering Python plugin instance: PluginFlux+
(totem:2757): Totem-DEBUG: Creating object of type PluginFlux+
(totem:2757): Totem-DEBUG: Creating Python plugin instance
(totem:2757): Totem-DEBUG: Init of Python module
(totem:2757): Totem-DEBUG: Registering Python plugin instance: OpenSubtitles+
(totem:2757): Totem-DEBUG: Creating object of type OpenSubtitles+
(totem:2757): Totem-DEBUG: Creating Python plugin instance
(totem:2757): Totem-DEBUG: Init of Python module
Traceback (most recent call last):
File "/usr/lib/
from gnomedvb.
ImportError: cannot import name NoTimerCreatedD
(totem:2757): Totem-WARNING **: Could not load plugin dvb-daemon
(totem:2757): Totem-WARNING **: Error, impossible to activate plugin 'Démon DVB pour GNOME'
Sebastian Pölsterl (sebp) wrote : | #15 |
Thanks for the stacktrace, it's fixed now. I forgot to mention that you have to provide "--enable-
rudy1210 (rudy1210) wrote : | #16 |
I installed the new tarball with this command :
./configure --prefix=/usr --enable-
and I can not see the plugin in plugins list of Totem...
gnome-dvb-setup runs but both frontends are still detected as DVB-S...
I tried to scan DVB-S channels, it looked OK but no channels were found... I am currently checking with dvbscan if this is working.
The fact is that I am more interested in DVB-T and got no luck with gnome-dvb or me-tv...
I still would like to resolve this and if it can help you in developing a solid and robust application, I am willing to contribute. Just tell me how to get relevant data for you...
rudy1210 (rudy1210) wrote : | #17 |
got this :
gnome-dvb-setup --gst-debug-level=3
0:00:00.000302233 23949 0x9a466b0 INFO GST_INIT gstquery.
0:00:00.000787169 23949 0x9a466b0 INFO GST_INIT gstmessage.
0:00:00.001121434 23949 0x9a466b0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:00.001222729 23949 0x9a466b0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:00.001235778 23949 0x9a466b0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:00.001542203 23949 0x9a466b0 INFO GST_REGISTRY gstregistry.
0:00:00.011250801 23949 0x9a466b0 INFO GST_REGISTRY gstregistrybina
0:00:00.011288310 23949 0x9a466b0 INFO GST_REGISTRY gstregistry.
0:00:00.012170394 23949 0x9a466b0 INFO GST_REGISTRY gstregistry.
0:00:00.012183050 23949 0x9a466b0 INFO GST_REGISTRY gstregistry.
0:00:00.012190595 23949 0x9a466b0 INFO GST_INIT gst.c:795:
0:00:00.012198691 23949 0x9a466b0 INFO GST_INIT gst.c:797:
0:00:00.012208659 23949 0x9a466b0 INFO GST_INIT gst.c:457:
0:00:01.744766555 23949 0x9a466b0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:01.744798701 23949 0x9a466b0 INFO GST_ELEMENT_FACTORY gstelementfacto
0:00:01.745114586 23949 0x9a466b0 INFO GST_ELEMENT_PADS gstelement.
0:00:01.745147571 23949 0x9a466b0 INFO dvbsrc gstdvbsrc.
0:00:01.745530732 23949 0x9a466b0 INFO dvbsrc gstdvbsrc.
0:00:01.752953528 23949 0x9a466b0 INFO dvbsrc gstdvbsrc.
0:00:01.753002706 23949 0x9a466b0 INFO GST_STATES gstelement.
0:00:01.753022954 23949 0x9a466b0 INFO GST_STATES gstelement.
0:00:01.753049017 23949 0x9a466b0 ...
Sebastian Pölsterl (sebp) wrote : | #18 |
It's fine that the plugin does not appear in Totem, nevertheless you should have a "Digital TV" section in your sidebar and pressing "Watch TV" should start gnome-dvb-setup.
I just realized that I screwed up again, I'm sorry. The previous tarballs contains the fix for the crasher but not for the actual issue you are having. I attached a new tarball.
rudy1210 (rudy1210) wrote : | #19 |
OK, one thing solved, well done, frontends are detected right !!!
But still no plugin or digital TV stuff in totem sidebar
and scanning is not working with my country and town or generic setting (I don't know)...
gnome-dvb-setup --gst-debug-
0:00:00.000787176 1892 0x8a5d8e0 INFO GST_INIT gstmessage.
0:00:00.001123563 1892 0x8a5d8e0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:00.001226114 1892 0x8a5d8e0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:00.001239211 1892 0x8a5d8e0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:00.001539759 1892 0x8a5d8e0 INFO GST_REGISTRY gstregistry.
0:00:00.011612573 1892 0x8a5d8e0 INFO GST_REGISTRY gstregistrybina
0:00:00.011667681 1892 0x8a5d8e0 INFO GST_REGISTRY gstregistry.
0:00:00.012606883 1892 0x8a5d8e0 INFO GST_REGISTRY gstregistry.
0:00:00.012620168 1892 0x8a5d8e0 INFO GST_REGISTRY gstregistry.
0:00:00.012628340 1892 0x8a5d8e0 INFO GST_INIT gst.c:795:
0:00:00.012637307 1892 0x8a5d8e0 INFO GST_INIT gst.c:797:
0:00:00.012648256 1892 0x8a5d8e0 INFO GST_INIT gst.c:457:
0:00:02.183604457 1892 0x8a5d8e0 INFO GST_PLUGIN_LOADING gstplugin.
0:00:02.183654636 1892 0x8a5d8e0 INFO GST_ELEMENT_FACTORY gstelementfacto
0:00:02.184016665 1892 0x8a5d8e0 INFO GST_ELEMENT_PADS gstelement.
0:00:02.184051091 1892 0x8a5d8e0 INFO dvbsrc gstdvbsrc.
0:00:02.185364871 1892 0x8a5d8e0 INFO dvbsrc gstdvbsrc.
0:00:02.192766626 1892 0x8a5d8e0 INFO dvbsrc gstdvbsrc.
0:00:02.192827526 1892 0x8a5d8e0 INFO GST_STATES gstelement.
rudy1210 (rudy1210) wrote : | #20 |
Scanning of DVB-S is working...
rudy1210 (rudy1210) wrote : | #21 |
this is gdb output when scanning dvb T frontend with France/I don't know :
(gdb) run /usr/bin/
Starting program: /usr/bin/python /usr/bin/
[Thread debugging using libthread_db enabled]
ERROR:dbus.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self._proxy_
File "/usr/lib/
**keywords)
File "/usr/lib/
message.
TypeError: Expected a string or unicode object
It seems that the variety of format for channels.conf makes it tricky as in all differently available output of scan (xine,vdr,...)
Sebastian Pölsterl (sebp) wrote : | #22 |
- gnome-dvb-daemon-0.1.17.tar.bz2 Edit (649.5 KiB, application/x-tar)
Ops, the same bug was in the C code, too, should have realized that earlier. Therefore, you get a scanner for DVB-S but try to feed it with data for DVB-T.
rudy1210 (rudy1210) wrote : | #23 |
OK so I give some feedback..
Frontends are detected right...
Deamon is running fine...
Setup is not crashing and as already mentioned DVB-S scanning was OK.
But then impossible to get any channel for the DVB-T frontend...
So I ran gnome-dvb-deamon --debug and started setup...
I could see that because of the DVB-S channels , EPG scanner was locking the frontend thus preventing any effective scan on DVB-T (it is known that it is impossible to run both frontends at the same time). So I removed configuration of DVB-S with the control center and started to scan DVB-T. It looks successful.
So there might be something to do to prevent EPG scan while configuring a device to prevent lock of adapter.
Also still no sign of totem plugin... I did put the --enable-
I hope I was clear enough in my feedback. If you want me to give some debug stuff, please ask.
Your work is looking promising !! Keep up with the good work !
Sebastian Pölsterl (sebp) wrote : | #24 |
Thanks a lot for testing, I committed the changes.
I wasn't aware that such pseudo dual-tuner devices exist, that's something we have to consider.
Regarding the Totem plugin: Try copying client/
Changed in gnome-dvb-daemon: | |
status: | New → Fix Committed |
Changed in gnome-dvb-daemon: | |
status: | Fix Committed → Fix Released |
Thanks for reporting this bug.
Could you please try if the attached patch solves this issue?