Author Topic: How install the DVD Changer Sony VGP-XL1B ?  (Read 3392 times)

ymarcox

  • Newbie
  • *
  • Posts: 7
    • View Profile
How install the DVD Changer Sony VGP-XL1B ?
« 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
 




 

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: How install the DVD Changer Sony VGP-XL1B ?
« 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

ymarcox

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: How install the DVD Changer Sony VGP-XL1B ?
« 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