Sundtek Support Forum

English => Sundtek MediaTV Pro (Europe) => Thema gestartet von: MarkJaroski am September 15, 2009, 05:27:44 Nachmittag

Titel: Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 15, 2009, 05:27:44 Nachmittag
Hi all,

I received my new Sundtek media pro this morning, but the installation process hasn't gone as expected.  Instead of the long list of device capabilities I get this:

mark@mingus:/opt/bin
$ ./mediaclient -e
**** List of Media Hardware Devices ****
device 0: [ Sundtek MediaTV Pro] REMOTE-CONTROL
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

mark@mingus:/opt/bin
$ uname -a
Linux mingus 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux


It's almost as if the device is switched off or something.  I tried installing the battery in the remote control and pressing the power button a few times, but that didn't have any effect.

thanks!

-mark
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: Sundtek am September 15, 2009, 06:08:07 Nachmittag
Some systems seem to start the driver twice, we're evaluating why this is happening. Someone already reported the same problem with Sidux (which is similar to Ubuntu and also based on Debian)

What you can do till the next update arrives (which should be in a couple of days):
-- unplug the device --
sudo killall mediasrv
-- plug in the device (wait 5-10 seconds till the device is settled) --
/opt/bin/mediaclient -e
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 16, 2009, 10:02:31 Vormittag
Unfortunately this doesn't seem to help.  There's only one mediasrv process running now, but mediaclient -e still produces the same result. mediaclient --Verbose produces a segfault, so that's not helping.

Also is there a way to simulate unplugging the device remotely?  My media machine is at home and I'm at work right now.
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: Sundtek am September 16, 2009, 11:34:27 Vormittag
We are currently testing a new version of it and expect to release a new version this afternoon. The issue is mainly a udev problem.
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 16, 2009, 11:36:47 Vormittag
OK.  Thanks very much!
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: Sundtek am September 16, 2009, 03:46:22 Nachmittag
http://www.sundtek.de/support/empia_installer.sh (always points to the latest driver version, at this time it points to empia_installer_090916.sh) should solve that issue now, the official driver section will be updated soon.
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 16, 2009, 04:29:12 Nachmittag
Unfortunately it didn't actually help.  I'll experiment a bit to see if I can get it to work.

mark@carlin:~
$ sudo ./empia_installer_090912.sh -u
[sudo] password for mark:

EETI em28xx linux driver setup

stopping em28xx driver...
removing driver
.......
driver successfully removed from system

mark@carlin:~
$ sudo sh empia_installer_090916.sh
empia_installer_090916.sh: 3: Syntax error: "(" unexpected
mark@carlin:~
$ sudo bash empia_installer_090916.sh

Welcome to the EETI em28xx linux driver setup

Legal notice:
This software comes without any warranty, use it at your own risk
Nutzungsbedingungen:
Sundtek übernimmt keinerlei Haftung für Schäden welche eventuell durch
das System oder die angebotenen Dateien entstehen können.

Do you want to continue [Y/N]:
Wollen Sie fortfahren [J/N]:
y
installing em28xx driver to /opt
unpacking...
checking system... 32Bit System detected
installing...
finalizing configuration...
installing libmediaclient interception library
Starting driver...
done.
mark@carlin:~
$ mediaclient -e
**** List of Media Hardware Devices ****
device 0: [ Sundtek MediaTV Pro] REMOTE-CONTROL
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

mark@carlin:~
$ mediaclient -e
**** List of Media Hardware Devices ****
device 0: [ Sundtek MediaTV Pro] REMOTE-CONTROL
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

mark@carlin:~
$ ps aux | grep mediasrv
root      5284  0.2  0.1  52136  1668 ?        Sl   16:25   0:00 /opt/bin/mediasrv -d -susbfs --pluginpath=/opt/bin
mark      5377  0.0  0.0   3404   856 pts/1    S+   16:26   0:00 grep mediasrv
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: Sundtek am September 16, 2009, 04:32:22 Nachmittag
You don't seem to have a default Ubuntu installation.

please try to run the installer in a bash environment/terminal

can you try to replug the device?
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 16, 2009, 04:45:41 Nachmittag
It's pretty standard.  The first time I ran it with sh which is actually dash, and of course that didn't work. Here's what happens if I set the executable bits:

mark@carlin:~
$ chmod a+x empia_installer_090916.sh
mark@carlin:~
$ ./empia_installer_090916.sh -u
In order to install this driver please run it as root
eg. $ sudo ./empia_installer_090916.sh
mark@carlin:~
$ sudo ./empia_installer_090916.sh -u
[sudo] password for mark:

EETI em28xx linux driver setup

stopping em28xx driver...
removing driver
.......
driver successfully removed from system

mark@carlin:~
$ ps aux | grep mediasrv
mark      5594  0.0  0.0   3340   800 pts/1    S+   16:44   0:00 grep mediasrv
mark@carlin:~
$ sudo ./empia_installer_090916.sh

Welcome to the EETI em28xx linux driver setup

Legal notice:
This software comes without any warranty, use it at your own risk
Nutzungsbedingungen:
Sundtek übernimmt keinerlei Haftung für Schäden welche eventuell durch
das System oder die angebotenen Dateien entstehen können.

Do you want to continue [Y/N]:
Wollen Sie fortfahren [J/N]:
y
installing em28xx driver to /opt
unpacking...
checking system... 32Bit System detected
installing...
finalizing configuration...
installing libmediaclient interception library
Starting driver...
done.
mark@carlin:~
$ ps aux | grep mediasrv
root      5642  0.6  0.1  52136  1672 ?        Sl   16:44   0:00 /opt/bin/mediasrv -d -susbfs --pluginpath=/opt/bin
mark      5722  0.0  0.0   3404   852 pts/1    S+   16:44   0:00 grep mediasrv
mark@carlin:~
$ mediaclient  -e
**** List of Media Hardware Devices ****
device 0: [ Sundtek MediaTV Pro] REMOTE-CONTROL
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 16, 2009, 04:46:46 Nachmittag
Sorry, I meant to include in the previous post that I'll try replugging the device when I get home from work, I'm doing this remotely for now.
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: Sundtek am September 16, 2009, 04:57:49 Nachmittag
If you are still having issues after replugging the device, please send /var/log/mediasrv.log to kontakt at sundtek de, and we might give you some remote support.
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MrLight am September 16, 2009, 09:56:41 Nachmittag
Hi all,

I have exactly the same problem.
I'm using Ubuntu 9.04 Desktop on a ASRock ION 330 - I think I have a HW-Version2 USB-Stick (ordered in September 2009)

Greetings
   MrLight
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: Sundtek am September 17, 2009, 01:24:40 Vormittag
Please use following driver, there have been very few devices with a different configuration which was not taken care about in the previous driver releases:

http://www.sundtek.de/support/empia_installer.sh (which at this time points to empia_installer_090917.sh)
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MarkJaroski am September 17, 2009, 05:20:36 Nachmittag
Thanks again for solving this so quickly!
Titel: Re:Linux installation: unexpected output from mediaclient -e
Beitrag von: MrLight am September 17, 2009, 05:55:29 Nachmittag
Hi,

thank you!

Thats working for me!

MrLight!