LinuxMCE Forums
May 23, 2013, 09:43:34 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: How install the DVD Changer Sony VGP-XL1B ?  (Read 600 times)
ymarcox
Newbie
*
Posts: 7


View Profile
« on: February 06, 2010, 02:27:28 pm »

I have buy a Sony VAIO Living Center include the SONY DVD Changer.
The DVD-Changer is refurbished from Sony, it looks like new and work perfectly unter MCE2005.

The problem under linuxmce (8.10b2) is, the Powerfile.sh script runīs automatic, but the script donīt find the changer!


lsscsi -g

[0:0:0:0]    disk          ATA                ST3808110AS              3.AA  -        /dev/sg0
[1:0:0:0]    cd/dvd     HL-DT-ST         DVD-ROM GDRH10N       0F03  -        /dev/sg1
[4:0:0:0]    disk         SAMSUNG         HD154UI                              -        /dev/sg2
[23:0:1:0]   cd/dvd    MATSHITA        DVD-RAM SW-9584        B100  -        /dev/sg3
[24:0:2:0]   mediumx      Sony           VAIOChanger1               0100  -        /dev/sg4


When i start the Powerfile.sh manual comes this resultat:

sudo /usr/pluto/pnp/Powerfile.sh

Powerfile Detection script queue <> <> <> <> <> <> <>
type disk
cd/dvd
disk
cd/dvd
mediumx
none of the above


a look in the script:

code:

#!/bin/bash

. /usr/pluto/bin/SQL_Ops.sh
. /usr/pluto/bin/Config_Ops.sh

echo "Powerfile Detection script queue <$1> <$2> <$3> <$4> <$5> <$6> <$7>"
DevSg="$5"; DevSgEsc="${DevSg//\//\/}"

type=$(lsscsi -g|awk "/$DevSgEsc"'$/ {print $2}')
manufacturer=$(lsscsi -g|awk "/$DevSgEsc"'$/ {print $3}')
model=$(lsscsi -g|awk "/$DevSgEsc"'$/ {print $4}')

echo "type $type"
if [[ "$type" == 'mediumx' && "$manufacturer" == 'PowrFile' && "$model" == 'C200' ]]; then
        echo "it's a c200"
        /usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 "$4" 44 1737
elif [[ "$type" == 'mediumx' && "$manufacturer" == 'Sony' && "$model" == 'VAIOChanger1' ]]; then
        echo "it's a sony"
        /usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 "$4" 44 1889
else
        echo "none of the above"
        /usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 "$4" 44 0
fi

Code:

Have anybody a solution for me, what i can do?!
I donīt found in the WIKI or FORUM a install instruction about the DVD Cahnger.

Giveīs a manual install procedure?

best regards,
Marco
 




 
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #1 on: February 06, 2010, 05:57:15 pm »

I swear,

*thwap-you-really-hard*

You're not supposed to run that script by hand.

Just plug in the device, and let the system detect.

-Thom
Logged
ymarcox
Newbie
*
Posts: 7


View Profile
« Reply #2 on: February 06, 2010, 06:24:20 pm »

Hello Thom,

i have try it first, the script do no detect the changer, but i think the problem is the script.
You see the system output, are is right and the scipt donīt match the changer!

lsscsi -g

[0:0:0:0]    disk          ATA                ST3808110AS              3.AA  -        /dev/sg0
[1:0:0:0]    cd/dvd     HL-DT-ST         DVD-ROM GDRH10N       0F03  -        /dev/sg1
[4:0:0:0]    disk         SAMSUNG         HD154UI                              -        /dev/sg2
[23:0:1:0]   cd/dvd    MATSHITA        DVD-RAM SW-9584        B100  -        /dev/sg3
[24:0:2:0]   mediumx      Sony           VAIOChanger1               0100  -        /dev/sg4


Marco
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!