Autor Thema: Linux installation: unexpected output from mediaclient -e  (Gelesen 9368 mal)

MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Linux installation: unexpected output from mediaclient -e
« 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

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8078
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #1 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
Failure is a good thing! I'll fix it

MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #2 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.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8078
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #3 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.
Failure is a good thing! I'll fix it

MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #4 am: September 16, 2009, 11:36:47 Vormittag »
OK.  Thanks very much!

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8078
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #5 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.
Failure is a good thing! I'll fix it

MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #6 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

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8078
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #7 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?
« Letzte Änderung: September 16, 2009, 04:40:32 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it

MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #8 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


MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #9 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.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8078
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #10 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.
Failure is a good thing! I'll fix it

MrLight

  • Newbie
  • *
  • Beiträge: 10
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #11 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

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8078
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #12 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)
« Letzte Änderung: September 17, 2009, 01:32:21 Vormittag von Sundtek »
Failure is a good thing! I'll fix it

MarkJaroski

  • Newbie
  • *
  • Beiträge: 7
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #13 am: September 17, 2009, 05:20:36 Nachmittag »
Thanks again for solving this so quickly!

MrLight

  • Newbie
  • *
  • Beiträge: 10
    • Profil anzeigen
Re:Linux installation: unexpected output from mediaclient -e
« Antwort #14 am: September 17, 2009, 05:55:29 Nachmittag »
Hi,

thank you!

Thats working for me!

MrLight!