You have your parameter set to "i" which means integer. If you are passing in a value like 'Sony' you would want to use 's' for string instead.
You would also need to make sure that the $rsDevInfo recordset is above the $rsRelated recordset in the code and that it is returning the value you expect.