Jump to content


Photo

AmBX Plugin


  • Please log in to reply
153 replies to this topic

Re: AmBX Plugin #101 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 2 February 2011 - 17:19

Looks promising

Absolutely! There is another thread about this (AtmoLight, I think it's in the German part), also promising good results. Looks fabulous!

Today my AtmoLight package arrived (ordered via the "inventor"), and I must say: I am impressed!
Only drawback is that the plugin does not run properly on PLi 2.0, so I (hopefully temporarily) changed to VTi, where it runs smooth and without any problem.


Any chance for help to get it running under PLi? Relevant part of Kernel log is attached.

Attached Files


VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #102 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 2 February 2011 - 19:55

I was informed by he plugin maker that Pli does not have "out of the box" support for UDEV and FTDI-SIO. He adviced me to install the FDT-SIO Support, after which the plugin should run nicely.

I tried that, but that went wrong:

opkg install kernel-module-ftdi-sio

Installing kernel-module-ftdi-sio (2.6.18-7.3-r7.3) to root...
Downloading http://downloads.pli-images.org/feeds/openpli-2.0/vuduo/vuduo/kernel-module-ftdi-sio_2.6.18-7.3-r7.3_vuduo.ipk.

Configuring kernel-module-ftdi-sio.

FATAL: Module ftdi_sio not found.

Any idea how to install that modul correctly?
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #103 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 2 February 2011 - 20:36

depmod runs too early. Just ingore the error and reboot.

Re: AmBX Plugin #104 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 2 February 2011 - 20:41

I did, but the box never recovered from the reboot (no crash, but spinners forever).
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #105 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 2 February 2011 - 20:48

I was informed by he plugin maker that Pli does not have "out of the box" support for UDEV and FTDI-SIO. He adviced me to install the FDT-SIO Support, after which the plugin should run nicely.

I tried that, but that went wrong:

opkg install kernel-module-ftdi-sio

Installing kernel-module-ftdi-sio (2.6.18-7.3-r7.3) to root...
Downloading http://downloads.pli-images.org/feeds/openpli-2.0/vuduo/vuduo/kernel-module-ftdi-sio_2.6.18-7.3-r7.3_vuduo.ipk.

Configuring kernel-module-ftdi-sio.

FATAL: Module ftdi_sio not found.


Any idea how to install that modul correctly?


Did you try it trough software management (bleubutton).
I just did on de DM8000 and it install's just fine.
Don't no yet what it does because my package is on it's way/images/smiley/pfft.gif
Hopefully tomorrow or the day after.

Meega

ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: AmBX Plugin #106 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 2 February 2011 - 22:08

I will give it another try tomorrow.

In the meantime this forced itinerary was good for morale: experiencing once again how "crippled" other images are, makes one appreciate PLi's work even more /images/smiley/more_word_positive/8.gif
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #107 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 3 February 2011 - 06:51

Back on PLi: I installed the "kernel-module-ftdi-sio" via advanced software management. This went without any problem. After a reboot the AtmoLight Plugin 0.4a was installed. This produced:

opkg install /var/tmp/imgmod.ipk; echo ">>> DONE <<<";

Installing enigma2-plugin-extensions-atmolightd (0.4a) to root...

Configuring enigma2-plugin-extensions-atmolightd.

Found VU+DUO with image younger than December 2010 (i.e. VTI 2.3).

**** Testing Atmolight ...

/usr/bin/atmodev.sh: 
line 50: can't create /etc/udev/rules.d/52-atmo.rules: nonexistent directory
Atmolight device (serial #23U2NAFF) found.
/etc/udev/rules.d/52-atmo.rules created.

ERROR: KERNEL-MODULE FTDI-SIO NOT INSTALLED OR NOT INCLUDED IN KERNEL.
Please install with 'ipkg install kernel-module-ftdi-sio'.


**** Testing amBX Light ...

Message: No amBX device found.

**** Testing Karatelight ...

Message: No Karatelight device found..

After a reboot, choosing "/dev/ttyUSB0" and changing the settings all went well: so now Atmolight runs nice & smooth under PLi 2.0

Again a happy man /images/smiley/more_word_greetings/1.gif
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #108 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 3 February 2011 - 16:17

Whow, can't wait!!!


Meega

ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release


Re: AmBX Plugin #109 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 3 February 2011 - 17:22

Whow, can't wait!!!

I recognize the feeling.


Sitting in front of the telly all day, just watching the backlight /images/smiley/more_word_other/5.gif
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #110 Mamba0815

  • Senior Member
  • 50 posts

0
Neutral

Posted 3 February 2011 - 21:41

Ist it possible to retrofit udev support in the PLI image after installation? It certainly would be an advantage to cover the sio-tty behind a universal device so that a reknodding the device won't leave the pluin in the dark. Other images such as iCVS, Gemini < 5.1, VTI, OoZoon do have udev support out of the box so there the atmolight plugin runs forever ... on the other side changes from /dev/ttyS0 to /dev/ttyS1 (..) happen very rarely.

Mamba

Re: AmBX Plugin #111 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 February 2011 - 22:01

we do not like the 10-15s delay udev gives during the trigger stage, that's the main reason why we use mdev.

Re: AmBX Plugin #112 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 3 February 2011 - 22:43

Am I to expect some kind of trouble now that I have installed "kernel-module-ftdi-sio" ?
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #113 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 February 2011 - 23:03

no

Re: AmBX Plugin #114 Mamba0815

  • Senior Member
  • 50 posts

0
Neutral

Posted 4 February 2011 - 19:00

I am not yet familiar with mdev. Just read a little on the Internet. Right now I have a ton of other stuff to do, so I am not planning on using mdev in the very near future.

Mamba

Re: AmBX Plugin #115 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 4 February 2011 - 20:10

I don't think you need to do anything mdev specific.
What exactly do you need the custom udev rules for? To give a custom name to the devnode?

Re: AmBX Plugin #116 Mamba0815

  • Senior Member
  • 50 posts

0
Neutral

Posted 5 February 2011 - 19:20

Yes, correct. Here is rule that ALWAYS assigns the Karatelight Device (typically /dev/ttyACM0 ..or.. /dev/ttyACM1 or ...) to /dev/ttyUSBACM:
root@bm750:~# cat /etc/udev/rules.d/53-karate.rules
SUBSYSTEMS=="usb", KERNEL=="ttyACM*", ATTRS{serial}=="23af", SYMLINK+="ttyUSBACM"
root@bm750:~#
This way the daemon simply looks for the universal device /dev/ttyUSBACM and it works regardles of the number serial io-devices, because udev matches the serial number to the assign the universal device. It works the same way with Atmolight (/dev/ttyUSB0..1..2 to /dev/ttyUSBAtmo).

Mamba

Re: AmBX Plugin #117 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 5 February 2011 - 19:48

@ Mamba0815:
any chance to get the plugin.py,in order to use the build-in screens for the Magic-HD skin?
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #118 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 5 February 2011 - 20:38

so the device uses acm? (ttyACM) I thought some users had to install ftdi-sio (ttyUSB)

a custom mdev entry could take care of this, only drawback is that mdev uses a single mdev.conf, which is distributed by us. So no seperate rule files as with udev, as far as I know.

ln -s /dev/ttyACM0 /dev/ttyACM

would also work of course.
Or a fallback in the daemon, from /dev/ttyACM to /dev/ttyACM0, if the first does not exist.

Re: AmBX Plugin #119 VU+NL

  • Senior Member
  • 6,424 posts

+12
Neutral

Posted 5 February 2011 - 20:42

I thought some users had to install ftdi-sio (ttyUSB).

Yes, I did. The plugin itself told me so during the installation.
VU+ DUO/UNO/Digiality 85cm multifocus-4 X twin-Inverto-LNB's/Triax 88 USALS/Logitech Harmony 300, 555, 600, 900 en 1100

Re: AmBX Plugin #120 Mamba0815

  • Senior Member
  • 50 posts

0
Neutral

Posted 5 February 2011 - 21:39

No no ... Karatelight uses cdc-acm, Atmolight uses ftdi-sio. Our deamon supports both. Different hardware, different devices.

The kernel, at times, reknods the serial devices. Then the device /dev/ttyUSB0 disappears and reappears as /dev/ttyUSB1. If this happen, the deamon loses connection to the device, of course. Hence udev because it always links the specific device to one unique universal one. Our observation is that the reknodding appears maybe once a day on average. Daemon recognizes communication errors, waits 3 secs and the reopens the device successfully. Users practically don't recognize this. One could certainly build a device search function into the daemon, but we thought why reinventing the wheel?

Mamba


8 user(s) are reading this topic

0 members, 8 guests, 0 anonymous users