Auteur Sujet: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)  (Lu 7181 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne zorglub

  • Beta testeurs
  • Membre Héroïque
  • ****
  • Messages: 580
PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« le: 27 mars 2010 à 14:53:14 »
Voici la version 0.6 de l'image PGI faite par Pacco sur base de la DGS 11834.

+----------------------+
| PGI v0.6, Destoroyah |
| based on DGS 11834 |
+----------------------+

Many thanks to uncle.f for helping to prepare this release!


THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. UNDER NO CIRCUMSTANCES WILL THE PGI SOFTWARE AUTHORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR EXEMPLARY DAMAGES, DATA LOSS OR HARDWARE MALFUNCTION, ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE UNDER NEGLIGENCE OR EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. BY INSTALLING AND USING THE SOFTWARE, YOU ACCEPT ALL THE TERMS AND CONDITIONS OF THIS AGREEMENT

New Features Highlights (exclusive to PGI)
===============================================================================

- Special oscam version exclusive to PGI, which can be used not only as a cardserver but also as a dvb-api client (no need to use mgcamd as a client any more). Additionally, ECM PID priority, Irdeto ChID mapping and BISS/CCW support was added to oscam.
- Support for more Wi-Fi/USB devices than in any other image (2 different Ralink chipset drivers included)
- Full support for pppd and iptables for direct Internet connection using USB connected mobile phones and 3G/CDMA/HSDPA modems
- Experimental internal cardreader driver to work with some previously non-working Irdeto 5.x cards
- NTFS file system support (read only mode)
- New exclusive sleep timer menu available via the Power button on the remote control
- Full channel and transponder editing as well as service scanning is possible even when the recording timers are set
- Completely reworked aspect ratio handling for the 4:3 channels on 16:9 TVs
- Added automatic and manual cleaning of the temporary timeshift files
- Added channel provider information to the info banner
- Lots of other smaller new features and bug fixes (described below in full)



Full Change List Since Last Release
===============================================================================

General changes:

- The main settings file /var/etc/boot_services.cfg has been renamed to /var/etc/pgi.conf. It now contains LOTS of new options (explained in full below)
- Added a special modified cardserver/client oscam, based on svn revision 1939. Patches from pacco add several new features, including dvb-api client mode on IPBox, which allows to clear channels without using mgcamd as the client, a feature to filter ECM PIDs, a feature to map Irdeto ChIDs to channels (something that mgcamd cannot do at all) and a feature to support BISS and CCW. See file OSCAM_en.txt for more details
- Support for Wi-Fi/USB devices based on Ralink RT2870 and RT3070 chipsets. Wi-Fi setup is performed by editing relevant config files. More details can be found in the NETWORK_en.txt file
- Support for direct Internet connection using PPP which includes PPPoE, as well as USB/Serial Generic, PL2032 and CDC-ACM drivers for certain mobile phones with USB cable and 3G/CDMA/HSDPA USB modems (including usb_modeswitch!). More details can be found in the NETWORK_en.txt file
- Full iptables (Linux firewall) support for direct Internet connection protection. Additional configuration allows you to use the receiver as a router (NAT, masquerading, etc. is possible). More details can be found in the NETWORK_en.txt file
- Experimental internal cardreader driver which makes it possible to force a custom "base frequency". This MAY enable support for SOME Irdeto 5.x cards. Use at your own risk (read more below)
- Added support for Linux udev, which allows automatic driver loading and handling of the hot-plugged devices.
- Added NTFS file system support for USB connected devices including auto mounting (read only mode)
- Web interface has been updated to version 1.5.01
- mgcamd has been updated to version 1.35
- Fixed a problem with flashing images from a USB device using the receiver's OSD menu
- Improved WebTV, especially Twin-Tuner mode
- Added a user-configurable standby time for SATA HDDs
- Added the possibility to choose which network protocol (TCP or UDP) should be used for NFS-share recording
- Added cron service for automatic user scripts execution with user provided schedule
- Added the possibility to synchronise the receiver's clock with an NTP server during receiver startup (those who want permanent NTP synchronisation should use a cron job. cron should be enabled and the crontab file edited to contain the ntpsync command)
- Added Secure FTP (SFTP) service
- Added a script for manual and automated cleanup of temporary timeshift files. User can specify a minimum age of the files to be deleted. Script plugin (assigned to WWW button) can be used to perform manual cleanup (except 91HD remote, where WWW button is not available and you have to call the script plugin via the plugins menu)
- Added a script to save all user settings from /var to the internal HDD or external device, as well as a script to restore the settings. This is very useful when flashing the receiver with a new image. You can save the settings using a script plugin menu (assigned to WWW button, except 91HD). To restore settings you can either use the same menu, or press and hold the 9 button during cold boot until the message "RESTORE BKUP" is displayed on VFD. After that the settings will be restored and the receiver will be rebooted automatically.
ATTENTION: the "hold the 9 button" feature only works with backups stored in the default location on the HDD. Furthermore, it is based on multiboot configuration, therefore if you flash a different multiboot, the function will be lost. To restore it run the following Telnet command:
fw_setenv menu_9 'setenv bootargs $bootargs restore_backup=1;front_puts "restore bkup";boot'
- Added a "boot pause" feature, which pauses the receiver boot sequence after the network is initialised. This is very useful if your db.dat or skin has become corrupt and the receiver no longer boots correctly. You can pause the boot sequence and upload the correct db.dat, skin or pgi.conf with different settings. To enable boot pause, press and hold the 8 button during cold boot, until "BOOT PAUSE" is displayed on the screen. The boot process will be paused when the message changes to "PRESS ANYKEY". To continue the boot process press any key. ATTENTION: the "hold the 8 button" feature is based on multiboot configuration, therefore if you flash a different multiboot, the function will be lost. To restore it run the following Telnet command:
fw_setenv menu_8 'setenv bootargs $bootargs boot_pause=1;front_puts "boot pause";boot'
- Added a simple script to flash images from Telnet without the need for a USB stick. The image must be on a HDD, USB or network share which must be WRITEABLE (for temporary files during the flash process). To start flashing, just use the following Telnet command:
flash image-name
- mbox and incubus have been removed from the image (they are still supported by scripts and pgi.conf, but you must copy the binaries and configs to /var/bin and /var/keys yourself)
- The aspect ratio ("zoom modes") script has been removed from the image, as this function is now built into the main interface and the settings are in pgi.conf
- The "cooling fan stop" script has been removed, this is now controlled from the pgi.conf file
- The private_epg_info and nonstandard_encoding files have been moved to /var/etc/epg


sbox changes:

- Fix: Custom channel volume settings get correctly applied after unmuting
- Fix: No panics on scheduled EPG recordings
- Fix: 14:9 AR mode gets applied correctly on channel changes
- Fix: Automounter mounts a usb-stick with vfat instead of msdos filesystem
- Fix: Allow deletion of transponders even when the Sat is assigned to an LNB (the channels will be deleted from DB and FAVs as well as the timers for those channels)
- Fix: Allow editing channels when timers are set
- Fix: Allow entering the channel scanning menu even when timers are set
- Fix: Allow entering of LNB Settings menu when timers are set
- Fix: Sleep timer does not stop recording
- Fix: Last watched channel is saved correctly if the receiver has been powered off by a timer
- Change: Moved Wakeup timer from the Time menu to the Power Control menu
- Remove: Fast Scan (NL), Streaming Player, M3U Player and Wi-Fi settings menus as they create more problems that they solve
- Remove: 60Hz HDMI output modes as they do not solve any problems but only create them
- Remove: (L)eft and (R)ight polarisation types in manual scanning mode. Use V/H for all LNB types, as follows: R=V, L=H
- Add: completely reworked aspect ratio handling. The modes are configured in pgi.conf, change very fast and does not get reset after using OSD menus (while watching the same channel). See ASPECT_RATIO option in pgi.conf
- Add: New popup for controlling sleep timer and power options when holding the power button. See POWER_OFF option in pgi.conf
- Add: Front panel display brightness can be adjusted. See VFD_BRIGHT option in pgi.conf
- Add: Channel provider name added to the info banner (next to the satellite name)
- Add: The weather forecast, RSS feed, media player can be called using colour buttons.

Téléchargeable ici: http://www.megaupload.com/?d=BWGHOY9O

A mon avis, pour ceux qui préfèrent rester sur les images basées sur la off, c'est celle-ci qu'il faut choisir.

Bon amusement
MIEUX VAUT ALLUMER UNE PETITE LUMIÈRE QUE DE SE PLAINDRE DE L'OBSCURITÉ...
-GigaBlue Quad + HDD 1TB + Openmips
-IPBox9000HD+HDD250GB+DGS off en flash + en multiboot: E2 (hdd) + images diverses en usb
-Cartes: TNTsat+Télésat (OScam)
-Parabole BisatG4: 19,2°E-13°E-4.8°E-5°W

subsilver

  • Invité
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #1 le: 27 mars 2010 à 14:59:12 »
Merci pour l'information.

 ;)

Hors ligne sango

  • Membre Junior
  • **
  • Messages: 27
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #2 le: 27 mars 2010 à 18:16:14 »
Merci  ;)
Tv LG UJ630V 4K ,Tv Led 3D Panasonic TX-48AS640E ,TV 4K-3D Panasonic TX-55CXE720
Vu+Duo 4K SE (PLI 8 )
ET10000(PLI 6)
Vu+Duo(PLI 6)
BISAT G4 - 3 tètes quattro => 19.2°Est ,13°Est + 1 Parabole pointée sur le 28.2°Est

Hors ligne zorglub

  • Beta testeurs
  • Membre Héroïque
  • ****
  • Messages: 580
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #3 le: 28 mars 2010 à 17:41:51 »
Eh bien bonne nouvelle: hypercam 1.13 fonctionne parfaitement avec cette version PGI 0.6 !!

Il suffit de lancer /var/bin/api3wrapper start avant hypercam et ça roule impec (ne pas oublier de killer newcs et/mgcamd avant qui sont lancé pas defaut sur cette image).

Bon amusement
MIEUX VAUT ALLUMER UNE PETITE LUMIÈRE QUE DE SE PLAINDRE DE L'OBSCURITÉ...
-GigaBlue Quad + HDD 1TB + Openmips
-IPBox9000HD+HDD250GB+DGS off en flash + en multiboot: E2 (hdd) + images diverses en usb
-Cartes: TNTsat+Télésat (OScam)
-Parabole BisatG4: 19,2°E-13°E-4.8°E-5°W

Hors ligne zorglub

  • Beta testeurs
  • Membre Héroïque
  • ****
  • Messages: 580
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #4 le: 29 mars 2010 à 17:12:46 »
Afin d'intégrer hypercam dans cette image, j'ai modifié le script /var/bin/softcam de la manière suivante:
#!/bin/sh
# title:Restart Softcam
#
# usage: softcam       # stops active softcam and starts the softcam specified in /var/etc/pgi.conf
#        softcam stop  # stops active softcam

source /var/etc/pgi.conf

if [ "${SOFTCAM:=none}" = "none" ] ; then
echo "SOFTCAM is disabled or missing in /var/etc/pgi.conf"
if [ "$1" != "-q" ] ; then
echo -e "web_show_mess 3 \0042SOFTCAM is not enabled\0042" >/dev/commander
fi
exit 1
fi

PIDMGLAUNCH="`pidof mg_launcher`"
PIDMGCAMD="`pidof mgcamd`"
PIDINCUBUS="`pidof incubusCamd.sh4`"
PIDMBOX="`pidof mbox.sh40`"
PIDOSCAM="`pidof oscam`"
PIDHYPERCAM="`pidof hypercam.ipbox`"

stop_mgcamd() {
echo -e "Stopping mgcamd.\c"
kill $PIDMGCAMD 2>/dev/null
sleep 1
for p in $PIDMGCAMD
do
i=0
while true
do
sleep 1
let i+=1
echo -e ".\c"
if [ ! -d "/proc/$p" ] ; then
break
elif [ $i -ge 5 ] ; then
echo -e "terminating!..."
kill -9 $PIDMGCAMD
break
fi
done
done
echo "done!"
rm /tmp/*info /tmp/ca_cache.list 2>/dev/null
}

stop_mglaunch() {
echo -e "Stopping mg_launcher.\c"
kill $PIDMGLAUNCH 2>/dev/null
sleep 1
for p in $PIDMGCAMD ; do
i=0
while true ; do
sleep 1
let i+=1
echo -e ".\c"
if [ ! -d "/proc/$p" ] ; then
break
elif [ $i -ge 5 ] ; then
echo -e "terminating!..."
kill -9 $PIDMGCAMD
break
fi
done
done
echo "done!"
rm /tmp/*info /tmp/ca_cache.list 2>/dev/null
PIDMGCAMD=""
}

stop_incubus() {
echo -e "Stopping incubusCamd..\c"
kill -1 $PIDINCUBUS 2>/dev/null
i=0
while true
do
sleep 1
let i+=1
echo -e ".\c"
if [ ! -d "/proc/$PIDINCUBUS" ] ; then
echo "done!"
break
elif [ $i -ge 10 ] ; then
echo "terminating!"
kill -9 $PIDINCUBUS
break
fi
done
}

stop_mbox() {
echo -e "Stopping mbox\c"
touch /tmp/mbox.kill
i=0
while true
do
sleep 1
let i+=1
echo -e ".\c"
if [ ! -d "/proc/$PIDMBOX" ] ; then
echo "done!"
break
elif [ $i -ge 10 ] ; then
echo "terminating!"
kill -9 $PIDMBOX
break
fi
done
rm /tmp/*info /tmp/mbox.ver /tmp/share.onl 2>/dev/null
}

stop_oscam() {
echo -e "Stopping oscam.\c"
kill $PIDOSCAM 2>/dev/null
sleep 1
for p in $PIDOSCAM
do
i=0
while true
do
sleep 1
let i+=1
echo -e ".\c"
if [ ! -d "/proc/$p" ] ; then
break
elif [ $i -ge 5 ] ; then
echo -e "terminating!..."
kill -9 $PIDOSCAM
break
fi
done
done
echo "done!"
}

stop_hypercam() {
echo -e "Stopping hypercam.\c"
kill $PIDHYPERCAM 2>/dev/null
sleep 1
for p in $PIDHYPERCAM
do
i=0
while true
do
sleep 1
let i+=1
echo -e ".\c"
if [ ! -d "/proc/$p" ] ; then
break
elif [ $i -ge 5 ] ; then
echo -e "terminating!..."
kill -9 $PIDHYPERCAM
break
fi
done
done
echo "done!"
}

start_mgcamd() {
echo -e "Starting mgcamd...\c"
ln -sf /tmp/pmt1.tmp /tmp/pmt1_1.tmp
ln -sf /tmp/pmt2.tmp /tmp/pmt2_1.tmp
/var/bin/mgcamd >/dev/null 2>&1
sleep 1
if [ -n "`pidof mgcamd`" ] ; then
echo "done!"
else
echo -e "\nError: could not start mgcamd!"
fi
}

start_mglaunch() {
echo -e "Starting mg_launcher...\c"
rm /tmp/pmt1_1.tmp /tmp/pmt2_1.tmp 2>/dev/null
/var/bin/mg_launcher -l /var/lib/mg_wrapper-0.3.so -b /var/bin/mgcamd >/dev/null 2>&1
sleep 1
if [ -n "`pidof mgcamd`" ] ; then
echo "done!"
else
echo -e "\nError: could not start mg_launcher!"
fi
}

start_incubus() {
echo -e "Starting incubusCamd...\c"
/var/bin/incubusCamd.sh4 >/dev/null 2>&1 &
sleep 1
if [ -n "`pidof incubusCamd.sh4`" ] ; then
echo "done!"
else
echo -e "\nError: could not start incubusCamd!"
fi
}

start_mbox() {
echo -e "Starting mbox...\c"
/var/bin/mbox.sh40 >/dev/null 2>&1
sleep 1
if [ -n "`pidof mbox.sh40`" ] ; then
echo "done!"
else
echo -e "\nError: could not start mbox!"
fi
}

start_oscam() {
echo -e "Starting oscam... \c"
if ! lsmod | grep api3 >/dev/null
then
/var/bin/api3wrapper start
fi
/var/bin/oscam -b >/dev/null 2>&1
sleep 2
if [ -n "`pidof oscam`" ] ; then
echo "done!"
else
echo -e "\nError: could not start oscam!"
fi
}

start_hypercam() {
echo -e "Starting hypercam... \c"
if ! lsmod | grep api3 >/dev/null
then
/var/bin/api3wrapper start
fi
killall newcs
/var/bin/hypercam.ipbox -b >/dev/null 2>&1
sleep 2
if [ -n "`pidof hypercam.ipbox`" ] ; then
echo "done!"
else
echo -e "\nError: could not start hypercam!"
fi
}

if [ "$1" != "stop" ] && [ "$1" != "-q" ] ; then
echo -e "web_show_mess 3 \0042Starting $SOFTCAM...\0042" >/dev/commander
fi

if [ -n "$PIDMGLAUNCH" ] ; then stop_mglaunch ; fi
if [ -n "$PIDMGCAMD" ] ; then stop_mgcamd ; fi
if [ -n "$PIDINCUBUS" ] ; then stop_incubus ; fi
if [ -n "$PIDMBOX" ] ; then stop_mbox ; fi
if [ -n "$PIDOSCAM" ] ; then stop_oscam ; fi
if [ -n "$PIDHYPERCAM" ] ; then stop_hypercam ; fi

if [ "$1" != "stop" ] ; then
case "$SOFTCAM" in
mgcamd) start_mgcamd ;;
mglauncher) start_mglaunch ;;
incubusCamd) start_incubus ;;
mbox) start_mbox ;;
oscam) start_oscam ;;
hypercam) start_hypercam ;;
*) echo "Error: softcam $SOFTCAM is not supported" ; exit 1 ;;
esac
fi

Ensuite, il suffit de modifier le fichier /var/etc/pgi.conf comme suit:
#############################################################################
# This is main configuration file for the PGI image
# The detailed explanation of each parameter is in the README files
#############################################################################

ASPECT_RATIO="pillarbox,14:9,panscan,widescreen,cinema"
BACKUP_DIR="/media/pgi-backup"
CARDSERV="newcs"
CI_INIT="yes"
CRON="no"
DEV_BANNER="skip1st"
ETH_ADDR_LOW="auto"
FAN_9000_ON="yes"
HDD_SLEEP="5"
HDD_TMD="no"
MEDIA_CLEAN="no"
NFSD="no"
NFS_REC="no"
NFS_REC_PROTO="tcp"
NTP_SYNC="no"
POWER_OFF="hold"
PPPD_PEER="none"
SAMBA="no"
SKIN="default"
SOFTCAM="hypercam"
USB_MODEM="none"
VFD_BRIGHT="7"
WEBTV="yes"

#############################################################################

Sans oublier bien sur de copier hypercam.conf et hypercam.full.sh4 => /var/bin et de renomer ce dernier en hypercam.ipbox +chmod755.

Petite précision: newcs doit toujours être avant de lancer hypercam (v1.13) afin que les lecteurs de cartes internes soient bien reconnus par hypercam, ce qui est fait en laissant la ligne CARDSERV="newcs" dans /var/etc/pgi.conf.

Voilà, il n'y a plus qu'à rebouter et ça roule impec avec les 2 lecteurs de cartes internes actifs.

Bon amusement

Conclusion: très bonne image. La seule chose qui manque c'est l'enregistrement au format .ts


MIEUX VAUT ALLUMER UNE PETITE LUMIÈRE QUE DE SE PLAINDRE DE L'OBSCURITÉ...
-GigaBlue Quad + HDD 1TB + Openmips
-IPBox9000HD+HDD250GB+DGS off en flash + en multiboot: E2 (hdd) + images diverses en usb
-Cartes: TNTsat+Télésat (OScam)
-Parabole BisatG4: 19,2°E-13°E-4.8°E-5°W

Hors ligne jumbo4

  • Membre Complet
  • ***
  • Messages: 194
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #5 le: 29 mars 2010 à 17:16:43 »
Merci Zorglub !

;)
IPBOX 9000HD,Vizyon 820HD,itgate tgs100

Hors ligne Parodin

  • Membre Héroïque
  • *****
  • Messages: 670
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #6 le: 29 mars 2010 à 17:39:45 »
Eviv Bulgroz ;)
DM-7080HD SSSS OE2.5 GP3.3 - DM-7020HD SS OE2.0 GP3.2
Hotbird13 + Astra19.2 via multiswitch Spaun SMS9982NF

Hors ligne Doume

  • The Boss
  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 6.185
  • Administrateur
    • Doume
Re: PGI V0.6 "Destroya" par Pacco (Baée sur DGS 11834)
« Réponse #7 le: 18 juin 2010 à 16:57:42 »
Je viens de me lancer, et flashé l'image PGI 0.6.1, et avec le tuto de zorglub, je dois dire que la mise en place de hypercam 2.05 a été d'une facilité déconcertante.
ça marche nickel, y compris au boot

Du beau boulot de notre ami Pacco

Et merci Zorglub !

Dommage que les enregistrements .ts ne soient pas compatibles avec les autres décodeurs sur Enigma2 ! Sinon, je crois que c'est cette image que je garderais active.

A propos, je cherche un jeu de favoris pour ce type d'image ( Astra, Hotbird, et accessoirement AB3 (5°W) )
car il y a très longtemps que j'avais mis de côté les images type DGS, et le PCEditor est très sûrement totalement périmé
J'ai tous les droits, je suis chez moi.
Au moindre non-respect des règles, je vire les importuns.