You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Bruce Jackson (JIRA)" <ji...@apache.org> on 2008/07/10 16:30:32 UTC

[jira] Created: (FELIX-630) The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices

The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices
------------------------------------------------------------------------------------------------

                 Key: FELIX-630
                 URL: https://issues.apache.org/jira/browse/FELIX-630
             Project: Felix
          Issue Type: Bug
          Components: UPnP Subproject
         Environment: Windows/Linux/MacOS
            Reporter: Bruce Jackson
         Attachments: Device.java

The underlying Cyberlink code in the UPnP base driver does not respond correctly to all Discover: Search with M-SEARCH searches.

The UPnP specification (UPnP Device Architecture 1.0) page 21 states that a device should respond to an M-SEARCH message with ST set to urn:device-UUID with a response which must also be urn:device-UUID.

The Cyberlink driver actually responds by appending ::upnp:rootdevice to the ST header, breaking compatibility with some devices (notably, the Xbox 360).

This can be fixed by commenting out the append in Device.java, line 1428, as shown below:

		// MLC 10-Jul-08
//		if (isRootDevice == true)
//			devUSN += "::" + USN.ROOTDEVICE;

However, this still leaves the case of a response to an M-SEARCH where the ST is set to upnp:rootdevice, as this does not appear to be handled by the base driver at all at present.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (FELIX-630) The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices

Posted by "Stefano Lenzi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Lenzi reassigned FELIX-630:
-----------------------------------

    Assignee: Stefano Lenzi

> The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices
> ------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-630
>                 URL: https://issues.apache.org/jira/browse/FELIX-630
>             Project: Felix
>          Issue Type: Bug
>          Components: UPnP Subproject
>         Environment: Windows/Linux/MacOS
>            Reporter: Bruce Jackson
>            Assignee: Stefano Lenzi
>         Attachments: Device.java
>
>
> The underlying Cyberlink code in the UPnP base driver does not respond correctly to all Discover: Search with M-SEARCH searches.
> The UPnP specification (UPnP Device Architecture 1.0) page 21 states that a device should respond to an M-SEARCH message with ST set to urn:device-UUID with a response which must also be urn:device-UUID.
> The Cyberlink driver actually responds by appending ::upnp:rootdevice to the ST header, breaking compatibility with some devices (notably, the Xbox 360).
> This can be fixed by commenting out the append in Device.java, line 1428, as shown below:
> 		// MLC 10-Jul-08
> //		if (isRootDevice == true)
> //			devUSN += "::" + USN.ROOTDEVICE;
> However, this still leaves the case of a response to an M-SEARCH where the ST is set to upnp:rootdevice, as this does not appear to be handled by the base driver at all at present.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-630) The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices

Posted by "Stefano Lenzi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefano Lenzi updated FELIX-630:
--------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s: upnp-basedriver-0.8.0

Severity decreased because the problem causes incompatibility only with other few UPnP Stack

> The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices
> ------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-630
>                 URL: https://issues.apache.org/jira/browse/FELIX-630
>             Project: Felix
>          Issue Type: Bug
>          Components: UPnP Subproject
>    Affects Versions: upnp-basedriver-0.8.0
>         Environment: Windows/Linux/MacOS
>            Reporter: Bruce Jackson
>            Assignee: Stefano Lenzi
>            Priority: Minor
>         Attachments: Device.java
>
>
> The underlying Cyberlink code in the UPnP base driver does not respond correctly to all Discover: Search with M-SEARCH searches.
> The UPnP specification (UPnP Device Architecture 1.0) page 21 states that a device should respond to an M-SEARCH message with ST set to urn:device-UUID with a response which must also be urn:device-UUID.
> The Cyberlink driver actually responds by appending ::upnp:rootdevice to the ST header, breaking compatibility with some devices (notably, the Xbox 360).
> This can be fixed by commenting out the append in Device.java, line 1428, as shown below:
> 		// MLC 10-Jul-08
> //		if (isRootDevice == true)
> //			devUSN += "::" + USN.ROOTDEVICE;
> However, this still leaves the case of a response to an M-SEARCH where the ST is set to upnp:rootdevice, as this does not appear to be handled by the base driver at all at present.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-630) The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices

Posted by "Stefano Lenzi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613220#action_12613220 ] 

Stefano Lenzi commented on FELIX-630:
-------------------------------------

So the problem seems to be related to the CyberDomo stack that the base driver uses. 

I will check your patch and later I will update the CyberDomo stack.

> The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices
> ------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-630
>                 URL: https://issues.apache.org/jira/browse/FELIX-630
>             Project: Felix
>          Issue Type: Bug
>          Components: UPnP Subproject
>         Environment: Windows/Linux/MacOS
>            Reporter: Bruce Jackson
>            Assignee: Stefano Lenzi
>         Attachments: Device.java
>
>
> The underlying Cyberlink code in the UPnP base driver does not respond correctly to all Discover: Search with M-SEARCH searches.
> The UPnP specification (UPnP Device Architecture 1.0) page 21 states that a device should respond to an M-SEARCH message with ST set to urn:device-UUID with a response which must also be urn:device-UUID.
> The Cyberlink driver actually responds by appending ::upnp:rootdevice to the ST header, breaking compatibility with some devices (notably, the Xbox 360).
> This can be fixed by commenting out the append in Device.java, line 1428, as shown below:
> 		// MLC 10-Jul-08
> //		if (isRootDevice == true)
> //			devUSN += "::" + USN.ROOTDEVICE;
> However, this still leaves the case of a response to an M-SEARCH where the ST is set to upnp:rootdevice, as this does not appear to be handled by the base driver at all at present.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FELIX-630) The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices

Posted by "Bruce Jackson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Jackson updated FELIX-630:
--------------------------------

    Attachment: Device.java

Here is the fixed Device.java file with the changes described in the bug report.

> The UPnP base driver does not conform to the UPnP spec, and thus will not work with some devices
> ------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-630
>                 URL: https://issues.apache.org/jira/browse/FELIX-630
>             Project: Felix
>          Issue Type: Bug
>          Components: UPnP Subproject
>         Environment: Windows/Linux/MacOS
>            Reporter: Bruce Jackson
>         Attachments: Device.java
>
>
> The underlying Cyberlink code in the UPnP base driver does not respond correctly to all Discover: Search with M-SEARCH searches.
> The UPnP specification (UPnP Device Architecture 1.0) page 21 states that a device should respond to an M-SEARCH message with ST set to urn:device-UUID with a response which must also be urn:device-UUID.
> The Cyberlink driver actually responds by appending ::upnp:rootdevice to the ST header, breaking compatibility with some devices (notably, the Xbox 360).
> This can be fixed by commenting out the append in Device.java, line 1428, as shown below:
> 		// MLC 10-Jul-08
> //		if (isRootDevice == true)
> //			devUSN += "::" + USN.ROOTDEVICE;
> However, this still leaves the case of a response to an M-SEARCH where the ST is set to upnp:rootdevice, as this does not appear to be handled by the base driver at all at present.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.