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

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - ymarcox

#1
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