Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Moderator: Forum Moderators
Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Hi All,
Just wanted to know whether this is a bug or not. Currently running VBox XTi 3340 with firmware 2.66, the vbox tuners are not available during discovery to select them in Mythtv. I have reverted back to firmware 2.59, and this works perfectly well. I have also tried firmware 2.62 and 2.65 no luck what so ever. I am just wondering whether the vboxutils.cpp code has got 2.5x firmware hardcoded.
The vbox get recognized during the start process during boot on both firmware, but it seems like the upnp scan is failing on 2.66
Snippet of the log file.
2020-11-30 19:14:32.116587 D [23590/23590] CoreContext recorders/vboxutils.cpp:107 (doUPNPSearch) - VBox: Found possible VBox at TV Gateway (vbox_4E02) (192.168.1.194:55555)
2020-11-30 19:14:32.116607 I [23590/23590] CoreContext referencecounter.cpp:144 (DecrRef) - (0x7f40b4001b00)::DecrRef() -> 1
2020-11-30 19:14:32.116623 I [23590/23590] CoreContext referencecounter.cpp:144 (DecrRef) - (0x7f40b400b9c0)::DecrRef() -> 1
2020-11-30 19:14:32.116648 I [23590/23590] CoreContext recorders/vboxutils.cpp:44 (probeDevices) - VBox: Using UPNP to search for Vboxes (3 secs)
2020-11-30 19:14:32.116668 D [23590/23590] CoreContext ssdp.cpp:212 (PerformSearch) -
Any help will be greatly appreciated. Thanks.
v31.0+fixes.202011271724.102dbe6733~ubuntu18.04.1
Ubuntu 18.04
Vbox XTi VB Firmware 2.66 (Doesnt work)
Vbox XTi VB Firmware 2.59 (Works)
Snipet of the log file on 2.66
Just wanted to know whether this is a bug or not. Currently running VBox XTi 3340 with firmware 2.66, the vbox tuners are not available during discovery to select them in Mythtv. I have reverted back to firmware 2.59, and this works perfectly well. I have also tried firmware 2.62 and 2.65 no luck what so ever. I am just wondering whether the vboxutils.cpp code has got 2.5x firmware hardcoded.
The vbox get recognized during the start process during boot on both firmware, but it seems like the upnp scan is failing on 2.66
Snippet of the log file.
2020-11-30 19:14:32.116587 D [23590/23590] CoreContext recorders/vboxutils.cpp:107 (doUPNPSearch) - VBox: Found possible VBox at TV Gateway (vbox_4E02) (192.168.1.194:55555)
2020-11-30 19:14:32.116607 I [23590/23590] CoreContext referencecounter.cpp:144 (DecrRef) - (0x7f40b4001b00)::DecrRef() -> 1
2020-11-30 19:14:32.116623 I [23590/23590] CoreContext referencecounter.cpp:144 (DecrRef) - (0x7f40b400b9c0)::DecrRef() -> 1
2020-11-30 19:14:32.116648 I [23590/23590] CoreContext recorders/vboxutils.cpp:44 (probeDevices) - VBox: Using UPNP to search for Vboxes (3 secs)
2020-11-30 19:14:32.116668 D [23590/23590] CoreContext ssdp.cpp:212 (PerformSearch) -
Any help will be greatly appreciated. Thanks.
v31.0+fixes.202011271724.102dbe6733~ubuntu18.04.1
Ubuntu 18.04
Vbox XTi VB Firmware 2.66 (Doesnt work)
Vbox XTi VB Firmware 2.59 (Works)
Snipet of the log file on 2.66
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
There is a check on the number but only that it should be bigger than 2.50.
Can you please post the complete log file, including the "CheckVersion -- required ..... actual ...."?
Can you please post the complete log file, including the "CheckVersion -- required ..... actual ...."?
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Hi,
Thanks for your response, see attached log file.
Kind Regards.
Thanks for your response, see attached log file.
Kind Regards.
- Attachments
-
- mythtv-setup.20201201085422.9671.log
- VBox XTi v2.66 Mythtv Log File
- (12.82 KiB) Downloaded 56 times
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Doesn't look like it's seeing the VBox at all.
In a webbrowser try to query the VBox for the board info by entering this URL (I'm assuming 192.168.1.194 is the IP address of the VBox)
I would expect a response similar to this one.
In a webbrowser try to query the VBox for the board info by entering this URL (I'm assuming 192.168.1.194 is the IP address of the VBox)
Code: Select all
http://192.168.1.194/cgi-bin/HttpControl/HttpControlApp?OPTION=1&Method=QueryBoardInfo
Code: Select all
<VboxHttpControl>
<script/>
<Status>
<ErrorCode>0</ErrorCode>
<ErrorDescription>Completed Successfully</ErrorDescription>
</Status>
<Reply>
<DeviceName>vbox_freeview</DeviceName>
<ProductNumber>3342</ProductNumber>
<ProductName>3342-21</ProductName>
<SerialNum>001640643718</SerialNum>
<HWRev>H0</HWRev>
<FWRev>3.1</FWRev>
<UbootVersion>2.1.20</UbootVersion>
<KernelVersion>VB04</KernelVersion>
<SoftwareVersion>VB.2.59</SoftwareVersion>
<ProductType>XTI</ProductType>
<NumOfTranscoders>0</NumOfTranscoders>
<TunersNumber>2</TunersNumber>
<TunerTypes>
<Tuner1>DVBT/T2</Tuner1>
<Tuner2>DVBT/T2</Tuner2>
</TunerTypes>
</Reply>
</VboxHttpControl>
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
This is the response from the browser.
Completed Successfully vbox_4E02 3344 3344-21 001646644E02 H0 3.1 2.1.20 VB04 VB.2.66 XTI 0 4 DVBS/S2 DVBS DVBT/T2 DVBT/T2
I dont see any of the xml tags from the output.
Completed Successfully vbox_4E02 3344 3344-21 001646644E02 H0 3.1 2.1.20 VB04 VB.2.66 XTI 0 4 DVBS/S2 DVBS DVBT/T2 DVBT/T2
I dont see any of the xml tags from the output.
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
What browser are you using maybe it's trying to beautify the xml? Firefox shows it as formatted xml. Anyway the VBox is responding and the values look good.
No sure what's going on. It looks like the auto discovery is not seeing the VBox. You could use one of the UPnP tools to see what they find. For example using gssdp-discover from gupnp-tools :-
Where enp39s0 is the network interface you want to use to search for UPnP devices.
You should see lots of resources but the 5 or so you want to see are the ones with 55555 for the port number.
No sure what's going on. It looks like the auto discovery is not seeing the VBox. You could use one of the UPnP tools to see what they find. For example using gssdp-discover from gupnp-tools :-
Code: Select all
gssdp-discover -i enp39s0 --timeout=3
You should see lots of resources but the 5 or so you want to see are the ones with 55555 for the port number.
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Yep, that finds it ok.
Code: Select all
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Location: http://192.168.1.194:55555/DeviceDescription.xml
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
I dont see any of the "CheckVersion -- required ..... actual ....", but when i switch back to firmware 2.59, i see this. So must be the script that runs that bit of code is not working with firmware 2.66.
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
It's not even getting that far to check the version it's not finding any VBoxes at all.
If you use a browser to look at the http://192.168.1.194:55555/DeviceDescription.xml you should get an xml file that contains among other things the deviceType we want 'urn:schemas-upnp-org:device:MediaServer:1' and a friendlyName mine gives 'VBox TV Gateway (vbox_freeview)' but it's not consistent between all the different VBoxes so is only used in the debug message.
You may be able to get more debug logging by running mythtv-setup with the --verbose upnp command line flag or --verbose upnp:debug
If you use a browser to look at the http://192.168.1.194:55555/DeviceDescription.xml you should get an xml file that contains among other things the deviceType we want 'urn:schemas-upnp-org:device:MediaServer:1' and a friendlyName mine gives 'VBox TV Gateway (vbox_freeview)' but it's not consistent between all the different VBoxes so is only used in the debug message.
You may be able to get more debug logging by running mythtv-setup with the --verbose upnp command line flag or --verbose upnp:debug
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Below is the output from the command in a browser
Below is the output from the command in a browser
Also included attached debug file.
Thanks.
Code: Select all
http://192.168.1.194:55555/DeviceDescription.xml
Code: Select all
1 0 urn:schemas-upnp-org:device:MediaServer:1 TV Gateway (vbox_4E02) Live TV Media Server Live TV Gateway 1.0 0001646644E02 uuid:b7531642-0123-3210-bbbb-001646644E02 /vbox.html DMS-1.50 image/jpg 48 48 24 /images/upnpLogo-48x48.jpg image/jpg 120 120 24 /images/upnpLogo-120x120.jpg image/png 48 48 24 /images/upnpLogo-48x48.png image/png 120 120 24 /images/upnpLogo-120x120.png urn:schemas-upnp-org:service:ContentDirectory:1 urn:upnp-org:serviceId:ContentDirectory /ContentDirectory/b7531642-0123-3210-bbbb-001646644E02/scpd.xml /ContentDirectory/b7531642-0123-3210-bbbb-001646644E02/control.xml /ContentDirectory/b7531642-0123-3210-bbbb-001646644E02/event.xml urn:schemas-upnp-org:service:ConnectionManager:1 urn:upnp-org:serviceId:ConnectionManager /ConnectionManager/b7531642-0123-3210-bbbb-001646644E02/scpd.xml /ConnectionManager/b7531642-0123-3210-bbbb-001646644E02/control.xml /ConnectionManager/b7531642-0123-3210-bbbb-001646644E02/event.xml urn:plex-tv:device:Media:1 VBox Plex Live TV Media Server Live TV Gateway 1.0 0001646644E02 uuid:b7531642-0123-3210-aaaa-001646644E02 /vbox.html urn:plex-tv:service:MediaGrabber:1 urn:plex-tv:serviceId:MediaGrabber http://192.168.1.194:55555
Thanks.
- Attachments
-
- mythtv-setup.20201201224120.22245.zip
- (16.13 KiB) Downloaded 52 times
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
OK I think I see what is wrong. I was wrong about the friendlyName it is not only used in debug messages but also used to identify possible VBoxes. Unfortunately it looks like they have changed the format of the friendlyName so the search is failing.
I'd like to see the actual DeviceDescription.xml rather than the mangled one your browser is returning. Try using wget to download it like this :-
You should then have the raw DeviceDescription.xml file in the current directory.
Thanks for helping to debug this
I'd like to see the actual DeviceDescription.xml rather than the mangled one your browser is returning. Try using wget to download it like this :-
Code: Select all
wget http://192.168.1.194:55555/DeviceDescription.xml
Thanks for helping to debug this
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Here you go.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:d
evice-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName> TV Gateway (vbox_4E02)</friendlyName>
<manufacturer></manufacturer>
<manufacturerURL></manufacturerURL>
<modelDescription> Live TV Media Server</modelDescription>
<modelName> Live TV Gateway</modelName>
<modelURL></modelURL>
<modelNumber>1.0</modelNumber>
<serialNumber>0001646644E02</serialNumber>
<UDN>uuid:b7531642-0123-3210-bbbb-001646644E02</UDN>
<presentationURL>/vbox.html</presentationURL>
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:
X_DLNADOC>
<iconList>
<icon>
<mimetype>image/jpg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/images/upnpLogo-48x48.jpg</url>
</icon>
<icon>
<mimetype>image/jpg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/images/upnpLogo-120x120.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/images/upnpLogo-48x48.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/images/upnpLogo-120x120.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceTyp
e>
<serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>
<SCPDURL>/ContentDirectory/b7531642-0123-3210-bbbb-001646644E02/scpd.xml
</SCPDURL>
<controlURL>/ContentDirectory/b7531642-0123-3210-bbbb-001646644E02/contr
ol.xml</controlURL>
<eventSubURL>/ContentDirectory/b7531642-0123-3210-bbbb-001646644E02/even
t.xml</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceTy
pe>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/ConnectionManager/b7531642-0123-3210-bbbb-001646644E02/scpd.xm
l</SCPDURL>
<controlURL>/ConnectionManager/b7531642-0123-3210-bbbb-001646644E02/cont
rol.xml</controlURL>
<eventSubURL>/ConnectionManager/b7531642-0123-3210-bbbb-001646644E02/eve
nt.xml</eventSubURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:plex-tv:device:Media:1</deviceType>
<friendlyName>VBox Plex</friendlyName>
<manufacturer></manufacturer>
<manufacturerURL></manufacturerURL>
<modelDescription> Live TV Media Server</modelDescription>
<modelName> Live TV Gateway</modelName>
<modelURL></modelURL>
<modelNumber>1.0</modelNumber>
<serialNumber>0001646644E02</serialNumber>
<UDN>uuid:b7531642-0123-3210-aaaa-001646644E02</UDN>
<presentationURL>/vbox.html</presentationURL>
<serviceList>
<service>
<serviceType>urn:plex-tv:service:MediaGrabber:1</serviceType>
<serviceId>urn:plex-tv:serviceId:MediaGrabber</serviceId>
<URLBase>http://192.168.1.194:55555</URLBase>
</service>
</serviceList>
</device>
</deviceList>
</device>
</root>
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
How strange That kind off looks like a bug or oversight in the VBox firmware. If you compare it to mine many of the references to VBox are missing. For example the friendlyName in previous firmwares was 'VBox TV Gateway (xxxxx)' but yours is ' TV Gateway (xxxxx)' (notice the space before TV it's like it tried to prepend the VBox part but somehow failed). We look for the reference to VBox so we know for sure we have found a VBox and not some other 'urn:schemas-upnp-org:device:MediaServer:1 type of device.
We'll have to change the way we identify a VBox while doing the uPnP search.
This is what my DeviceDescription.xml file looks like.
We'll have to change the way we identify a VBox while doing the uPnP search.
This is what my DeviceDescription.xml file looks like.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName>VBox TV Gateway (vbox_freeview)</friendlyName>
<manufacturer>VBox</manufacturer>
<manufacturerURL>http://www.vboxcomm.com/</manufacturerURL>
<modelDescription>VBox Live TV Media Server</modelDescription>
<modelName>VBox Live TV Gateway</modelName>
<modelURL>http://www.vboxcomm.com/</modelURL>
<modelNumber>1.0</modelNumber>
<serialNumber>0001640643718</serialNumber>
<UDN>uuid:b7531642-0123-3210-bbbb-001640643718</UDN>
<presentationURL>/vbox.html</presentationURL>
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC>
<iconList>
<icon>
<mimetype>image/jpg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/images/upnpLogo-48x48.jpg</url>
</icon>
<icon>
<mimetype>image/jpg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/images/upnpLogo-120x120.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/images/upnpLogo-48x48.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/images/upnpLogo-120x120.png</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId>
<SCPDURL>/ContentDirectory/b7531642-0123-3210-bbbb-001640643718/scpd.xml</SCPDURL>
<controlURL>/ContentDirectory/b7531642-0123-3210-bbbb-001640643718/control.xml</controlURL>
<eventSubURL>/ContentDirectory/b7531642-0123-3210-bbbb-001640643718/event.xml</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
<SCPDURL>/ConnectionManager/b7531642-0123-3210-bbbb-001640643718/scpd.xml</SCPDURL>
<controlURL>/ConnectionManager/b7531642-0123-3210-bbbb-001640643718/control.xml</controlURL>
<eventSubURL>/ConnectionManager/b7531642-0123-3210-bbbb-001640643718/event.xml</eventSubURL>
</service>
</serviceList>
</device>
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
This are the UUIDs from the boxes of eo29, paulh and then from my own DVB-C/T VBox:
Maybe we can identify the VBoxes by the first part of the UUID, e.g. the "b7531642-0123-3210: part?
Code: Select all
<UDN>uuid:b7531642-0123-3210-aaaa-001646644E02</UDN>
<UDN>uuid:b7531642-0123-3210-bbbb-001640643718</UDN>
<UDN>uuid:b7531642-0123-3210-bbbb-001640643909</UDN>
Re: Mythtv 0.31 | Ubuntu 18.04 | VBox XTi 3340 Firmware 2.66
Yes that looks like a good option. I have 3 VBox all different models and they all have similar UDN uuid's starting with b7531642-0123-3210.
All my VBoxes are 1st generation though. It would be nice to see if 2nd and 3rd generation boxes follow the same format.
All my VBoxes are 1st generation though. It would be nice to see if 2nd and 3rd generation boxes follow the same format.