Mach mal die hackit.py mit nem linuxtauglichen Editor (unter Windows z.B. pspad) auf.
cu
Mach mal die hackit.py mit nem linuxtauglichen Editor (unter Windows z.B. pspad) auf.
cu
#!/usr/bin/env python
import sys
sys.path.append("./Debug")
import dpf
import time
import binascii
# DPF profiles
import profiles
# If you are an expert, set this to 0 to avoid the warnings
paranoia_mode = 1
JUMPTABLE_OFFSET = 0x80
HEXDIR = "hexfiles/"
instructions = [
Alles anzeigen
spricht so??? dann macht er es leider immer noch nicht
mach mal
--
#!/usr/bin/python
--
und poste dann die Ausgabe.
cu
Du darfst nicht nach src gehen. Einfach in "/dpf" "make" starten.
Was hast du da überhaupt für nen Hack? Diesen? http://tech.section5.ch/files/dpfhack-0.12devel.tgz
cu
Das hier: Pearl Display Yavdr *TODO* install kennst Du aber oder ?
Danach bin ich erfolgreich vorgegangen, hab allerdings auf nem Ubuntu PC "gehackt"
pc-medusa
Hey,
ja kenn ich geht aber leider nicht geht des nicht auch unter windoof irgendwie mit firmwareupdate??+
Keine_Ahnung bin wieder ON guck mal PN
Hey,
nachdem
keine_ahnung
mir den Hack auf das Display gemacht hat und wir graphlcd installiert haben stürzt der VDR immer wieder ab
Syslog
[code]...
Nov 3 20:38:00 VDR kernel: [198178.923615] vdr[13797] general protection ip:7f7c280e9b9b sp:7fff899fa9b8 error:0 in libvdr-graphlcd.so.1.7.21[7f7c280cf000+29000]
Nov 3 20:38:00 VDR init: vdr-frontend main process (13814) terminated with status 1
Nov 3 20:38:00 VDR init: vdr main process (13797) killed by SEGV signal
...[code]
Das Plugin deaktiviert und alles wieder gut
Display funktioniert zumindest mit dem Streifen Testbild
Greez
Hey nochmal
hab eben nen apt-get update und ein apt-get dist-upgrade
gemacht das ganze hat relativ lange gedauert und einige Pakete neu installiert..
Danach hab ich das Plugin graphlcd wieder aktiviert und er schmiert nicht mehr ab aber macht auch noch kein Bild auf dem Display
Von vorherigen Tests hab ich noch dieses graph für den Monitor drauf kann ich den irgendwie deinstallieren??
Grüße
Bitte um Hilfe
Kann sein das er beim deaktivieren die /etc/vdr/plugins/plugin.graphlcd.conf gelöscht hatte. Schau mal ob da noch "-d ax206dpf" drinsteht. Ansonsten schau nach dem Start mal in "/var/log/syslog", da meldet das Plugin die Fehler.
Wobei mir nicht klar ist wie man das generell bei yaVDR handhaben sollte. Muss man das templaten?
cu
Keiner nen Plan was da falsch läuft???
passt die /etc/graphlcd.conf ?
was sagt das log beim einstecken vom display?
gruss gerd
Hey,
die Conf sieht so aus
# graphlcd.conf.sample
#
# This file contains a sample configuration for the graphlcd driver
# library.
#
# The format is ini-file-like. It is divided into sections that start
# at markers that look like [section]. Comments are all line-based
# comments, and are lines that start with '#'.
#
# The file starts with general settings, that are used by several
# drivers, followed by the sections. Each section represents a single
# display with a driver definition and specific settings which define
# how the driver acts. Some of these parameters like device, port and
# size are already parsed by the library but the drivers can also read
# their own options from the config file. The library passes them to
# the drivers.
# WaitMethod
# Select the method that is used for sleeping.
# Possible values:
# 0 - usleep
# 1 - nanosleep
# 2 - nanosleep (sched_rr) - This is recommended on kernel 2.4 systems
# 3 - gettimeofday - This is recommended on kernel 2.6 systems
# Defaukt value: 3
WaitMethod=3
# WaitPriority
# Select the process priority that is used when sleeping.
# Possible values: -20 <= x <= 19
# Default value: 0
WaitPriority=0
# General driver settings
# This section lists the display settings that are parsed and
# recognized by the driver library.
#
# Driver
# Sets the display's driver.
# Currently available are: framebuffer, gu140x32f, gu256x64-372,
# gu256x64C-3xx0, hd61830, image, ks0108,
# sed1520, sed1330, simlcd, t6963c,
# gu126x64D-K610A4
#
# Device
# Instead of using the direct output via port address (see Port), you
# can use the parport device (/dev/parportX). The advantage over the
# direct output via port address is that this works for non-root users
# also. But it's a little bit slower. The modules ppdev.o, parport.o
# and parport_pc.o must be loaded or compiled into the kernel.
#
# Port
# Sets the port address of the parallel port. If this parameter is not
# given, 0x378 is used. To use this direct output, the program that
# uses the driver library has to be started with user 'root'.
#
# Width
# Sets the horizontal size of the display. If this parameter is not
# given, a default one specific to the driver is used.
#
# Height
# Sets the vertical size of the display. If this parameter is not
# given, a default one specific to the driver is used.
#
# UpsideDown
# Rotates the display output by 180 degrees. This might be useful, if
# the LCD is mounted upside-down.
# Possible values: 'yes', 'no'
# Default value: 'no'
#
# Invert
# Inverts the display.
# Possible values: 'yes', 'no'
# Default value: 'no'
#
# Brightness
# Sets the brightness of your display's backlight if supported by its
# driver.
# Supported by: gu140x32f, gu256x64-372, gu256x64-3900, gu126x64D-K610A4, ax206dpf
# Possible values: 0 <= x <= 100)
# Default value: 100
#
# Contrast
# Sets the contrast of your display if supported by its driver.
# Supported by: serdisplib
# Possible values: 0 <= x <= 10
# Default value: 5
#
# Backlight
# Switches the backlight of your display on and off if supported by
# its driver.
# Supported by: serdisplib
# Possible values: 'yes', 'no'
# Default value: 'yes'
#
# AdjustTiming
# To get a timing that is as accurate as possible, the drivers measure
# the time for port commands (see: benchmark in syslog). You might
# decrease or increase the time to wait after port commands with this
# parameter. Normally, there is no need to change this parameter.
# (used by gu140x32f, gu256x64-372, gu256x64-3900, hd61830, ks0108,
# sed1330, sed1520, gu126x64D-K610A4)
# Possible values: -50 <= x <= 50
# Default value: 0
#
# RefreshDisplay
# Normally, most of the drivers do not update the whole display, but
# only the areas that have changed since last update. So it might be,
# that some faulty pixels would stay a longer time. To avoid this, the
# plugin makes a complete refresh from time to time. This parameter
# defines how often a complete refresh will be done.
# e.g.: A value of 5 means, that the plugin will make a complete
# refresh on every 5th update.
# A value of 0 completely disables complete refreshs.
# Possible values: 0 <= x <= 50
# Default value: 5
########################################################################
[ax206dpf]
# THIS IS AN EXPERIMENTAL DRIVER!
# You have to uncomment the variable HAVE_AX206DPF_EXPERIMENTAL
# in Make.config to use this driver.
# READ the READDME.ax206dpf before use!
#
# ax206dpf driver
# This is a driver module for an AX 206 based hacked photoframe.
#
# Default size: 320 x 240 or 240 x 320 (see "Portrait")
Driver=ax206dpf
#Width=320
#Height=240
#
# UpsideDown
# Rotates the display output by 180 degrees. This might be useful, if
# the LCD is mounted upside-down.
# Possible values: 'yes', 'no'
# Default value: 'no'
#UpsideDown=no
#
# Brightness
# Sets the brightness of the display's backlight
# Possible values: 0 <= x <= 100)
# Default value: 100
#Brightness=100
#
# Device
# Selects a specific display
# 'dpf0' = first detected display, 'dpf1' = second detected display, ...
# Default value: 'dpf0'
#Device=dpf0
#
# Portrait
# Select portrait or landscape mode
# Rotate display output by 90 degrees if necessary
# Possible values: 'yes' -> default size = 240 x 320
# 'no' -> default size = 320 x 240
# Default value: 'no'
#Portrait=no
#
# Zoom
# Determines if pixels should be magnified.
# Possible values: 1, 2, 3, 4
# Default value: 1
#Zoom=1
#
# The following parameters are for multi-display setups only!
#
# Horizontal
# Sets the number of displays in horizontal direction.
# Possible values if Vertical=1: 1, 2, 3, 4
# if Vertical=2: 1, 2
# Default value: 1
#Horizontal=1
#
# Vertical
# Sets the number of displays in vertical direction.
# Possible values if Horizontal=1: 1, 2, 3, 4
# if Horizontal=2: 1, 2
# Default value: 1
#Vertical=1
#
# Flip
# Rotates a single displays output by 180 degrees. This might be useful, if
# some LCDs are mounted upside-down.
# Possible values for every display : 'y', 'n'
# Default value: 'nnnn'
#Flip=nnnn
#
[framebuffer]
# framebuffer driver
# Output goes to a framebuffer device
Driver=framebuffer
#UpsideDown=no
#Invert=no
# Device
# Framebuffer device
# Default value: /dev/fb0
#Device=/dev/fb0
# Damage | ReportDamage
# Damage reporting for framebuffer devices with update problems
# Possible values: none, auto, udlfb, ugly
# none: no damage reporting
# auto: automatic determination if damage reporting is needed
# udlfb: damage reporting for udlfb-devices (displaylink)
# ugly: dirty damagereporting (a '\n' is written to the framebuffer file handle
# Default value: none
#Damage=none
# Zoom
# Determines if pixels should be drawn double sized.
# If zoom is set, the actual resolution will be halved (both width and height)
# e.g.: framebuffer has resolution 800x600: this driver will report a drawing area of 400x300
# Possible values: 0, 1
# Default value: 1
Zoom=1
########################################################################
[gu140x32f]
# gu140x32f driver
# This is an 8-bit driver module for Noritake GU140x32-F7806 VFD
# displays. The VFD is operating in it's 8 bit-mode connected to a
# single PC parallel port.
# Default size: 140 x 32
Driver=gu140x32f
Device=/dev/parport0
#Port=0x378
#Width=140
#Height=32
#UpsideDown=no
#Invert=no
#Brightness=100
#AdjustTiming=0
#RefreshDisplay=1
# Wiring
# Select the type of wiring your display is connected with.
# Possible values: 'Standard', 'Windows'
# Default value: 'Standard'
Wiring=Standard
########################################################################
[gu256x64-372]
# gu256x64-372 driver
# This is an 8-bit driver module for Noritake GU256x64-372 VFD
# displays. The VFD is operating in it's 8 bit-mode connected to a
# single PC parallel port.
# Default size: 256 x 64
Driver=gu256x64-372
Device=/dev/parport0
#Port=0x378
#Width=256
#Height=64
#UpsideDown=no
#Invert=no
#Brightness=100
#AdjustTiming=0
#RefreshDisplay=1
# Wiring
# Select the type of wiring your display is connected with.
# Possible values: 'Standard', 'Windows'
# Default value: 'Standard'
Wiring=Standard
########################################################################
[gu256x64-3900]
# gu256x64-3900 driver
# This is a driver module for Noritake GU256X64x-3900 VFD displays. The
# VFD is either operating in 8 bit-mode connected to a single PC
# parallel port or in serial mode connected to a single PC serial port.
# Default size: 256 x 64
Driver=gu256x64-3900
Device=/dev/parport0
#Port=0x378
#Width=256
#Height=64
#UpsideDown=no
#Invert=no
#Brightness=100
#AdjustTiming=0
#RefreshDisplay=1
# Wiring
# Select the type of wiring your display is connected with.
# Possible values: 'Standard', 'Satyr'
# Default value: 'Standard'
Wiring=Standard
# Interface
# Select the interface your display is connnected to.
# Possible values: 'Parallel', 'Serial'
# Default value: 'Parallel'
Interface=Parallel
# DMA
# Enables/disables the usage of the controller's DMA mode which
# increases writing speed. This only works in parallel interface mode.
# Possible values: 'yes', 'no'
# Default value: 'yes'
DMA=yes
########################################################################
[gu126x64D-K610A4]
# GU126x64D-K610A4 driver
# This is a driver module for Noritake GU126x64D-K610A4 VFD displays.
# The VFD is operating in 8 bit-mode connected to a single PC
# parallel port.
# Default size: 126 x 64
Driver=gu126x64D-K610A4
Device=/dev/parport0
#Port=0x378
#Width=126
#Height=64
#UpsideDown=no
#Invert=no
#Brightness=100
#RefreshDisplay=1
#AdjustTiming=30
# Debug some methods of the driver
# (add the values of interest)
#
# 1: show a log at the start of a refresh
# 2: show a log at the end of a refresh with timing information
# 4: show the rows (8 pixel) refreshed
# 8: show every commands/bytes sent to the display
# 16: log every unsuccessful waiting for display acknowledge
#
#Debug=0
########################################################################
[hd61830]
# hd61830 driver
# This is a driver module for the Hitachi HD61830 LCD controller.
# Default size: 240 x 128
Driver=hd61830
Device=/dev/parport0
#Port=0x378
#Width=240
#Height=128
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#RefreshDisplay=1
########################################################################
[image]
# image driver
# This is a driver module for writing image sequences in PBM (Portable
# Bit Map) format that show the plugin's output.
# Default size: 240 x 128
Driver=image
#Width=240
#Height=128
#UpsideDown=no
#Invert=no
########################################################################
[ks0108]
# ks0108 driver
# This is a driver module for the Samsung KS0108 LCD controller.
# Default size: 128 x 64
Driver=ks0108
Device=/dev/parport0
#Port=0x378
#Width=128
#Height=64
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#RefreshDisplay=1
# Control
# Select the variant of triggering the display's control lines.
# Possible values: '0', '1'
# Default value: '1'
Control=1
########################################################################
[sed1330]
# sed1330 driver
# This is a driver module for the Epson SED1330/1335 LCD controller.
# Default size: 320 x 240
Driver=sed1330
Device=/dev/parport0
#Port=0x378
#Width=320
#Height=240
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#refreshDisplay=1
# Wiring
# Select the type of wiring your display is connected with.
# Possible values: 'Original', 'PowerLCD', 'LCDProc', 'Tweakers',
# 'YASEDW'
# Default value: 'Original'
Wiring=Original
# OscillatorFrequency
# Select the frequency the oscillator on your LCD board uses in kHz.
# Possible values: 1000 <= x <= 15000)
# Default value: 9600
OscillatorFrequency=9600
# Interface
# Select the interface mode your display is connected with.
# Possible values: '6800', '8080'
# Default value: '6800'
Interface=6800
########################################################################
[sed1520]
# sed1520 driver
# This is a driver module for the Epson SED1520 LCD controller.
# Default size: 120 x 32
Driver=sed1520
Device=/dev/parport0
#Port=0x378
#Width=120
#Height=32
#UpsideDown=no
#Invert=no
#AdjustTiming=0
#RefreshDisplay=1
########################################################################
[simlcd]
# simlcd driver
# This is the SimLCD driver module. Output goes to a file instead of
# LCD. Use SimLCD tool to view this file.
# Default size: 240 x 128
Driver=simlcd
#Width=240
#Height=128
#UpsideDown=no
#Invert=no
########################################################################
[t6963c]
# t6963c driver
# This is a driver module for the Toshiba T6963C LCD controller.
# Default size: 240 x 128
Driver=t6963c
Device=/dev/parport0
#Port=0x378
#Width=240
#Height=128
#UpsideDown=no
#Invert=no
#RefreshDisplay=1
# Wiring
# Select the type of wiring your display is connected with.
# Possible values: 'Standard', 'Windows', 'Serial'
# Default value: 'Standard'
Wiring=Standard
# FontSelect
# Select the font width your display uses for text mode. In most cases
# this is selectable through one of the pins of your LCD board
# Possible values: '6', '8'
# Default value: '6'
FontSelect=6
# AutoMode
# Enables or disables the usage of T6963C's auto mode which doubles
# writing speed when enabled.
# Possible values: 'yes', 'no'
# Default value: 'yes'
AutoMode=yes
# StatusCheck
# Enables or disables the usage of T6963C's status check. When using a
# shielded cable for connecting your display, the disabling may be
# possible. This results in doubling the speed of writing data to the
# LCD.
# Possible values: 'yes', 'no'
# Default value: 'yes'
StatusCheck=yes
########################################################################
[serdisp]
Driver=serdisp
# Controller
# Select the serdisplib name of your display.
# Possible values: See README in serdisplib package or http://serdisplib.sourceforge.net
#Controller=nokia7110
#Controller=sed1335
Controller=optrex323
# Options
# Pass display specific options
# Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
#
# IMPORTANT: when using generic controllers like sed1330,sed1335,t6963c, width and height
# need to be set here (if different from default settings)!
# (serdisplib needs to be extended to be able to use 'Width' and 'Height'
# settings directly - this will be added later)
#
#Options=MODE=8080
#Options=DELAY=2000;FONTWIDTH=8;CHECK=1
#Options=WIDTH=128;HEIGHT=64
#Options=WIDTH=128;HEIGHT=64;DELAY=2000;FONTWIDTH=8;CHECK=1
# Wiring
# Select Wiring
# Possible values: See driver-specific hardware page at http://serdisplib.sourceforge.net
#Wiring=1
#Wiring=PowerLCD
#Wiring=DATA8,CS:nAUTO,A0:INIT,WR:nSTRB,RD:nSELIN
# FGColour
# Drawing colour for non-monochrome displays
# Possible values: 0xRRGGBB (eg.: 0xFF0000)
# Defaults to black (0x000000) if not set
#FGColour=0x000000
# BGColour
# Background colour for non-monochrome displays
# Possible values: 0xRRGGBB (eg.: 0x00FFFF)
# Defaults to white (0xFFFFFF) if not set
#BGColour=0xFFFFFF
Device=/dev/parport0
#Port=0x378
#UpsideDown=no
#Invert=no
Contrast=5
Backlight=yes
# Settings 'Width' and 'Height' are ignored at the moment. For generic controllers # (sed1330/1335, t6963) width and height need to be set using setting 'Options' (look above)
##Width=240
##Height=128
########################################################################
[noritake800]
# noritake800 driver
# This is an 8-bit driver module for Noritake Noritake 800(A) series VFD
# displays. The VFD is operating in it's 8 bit-mode connected to a
# single PC parallel port.
# Default size: 128 x 64
Driver=noritake800
Device=/dev/parport0
#Port=0x378
Width=128
Height=64
#UpsideDown=no
#Invert=no
Brightness=50
#AdjustTiming=0 # not used
#RefreshDisplay=0 # not used
# Wiring
# Select the type of wiring your display is connected with.
# Possible values: 'LiquidMp3', 'MZ'
# Default value: 'LiquidMp3'
Wiring=LiquidMp3
########################################################################
[avrctl]
# avrctl driver
# This is an driver module for my AVR controlled LCD display connected via
# USB port. It uses some simple commands to update the display content.
# Default size: 256 x 128
Driver=avrctl
Device=/dev/ttyUSB0
Width=256
Height=128
#UpsideDown=no
#Invert=no
Brightness=50
RefreshDisplay=1
########################################################################
[g15daemon]
# pseudo device for the g15daemon meta driver
# Output goes to the g15daemon which then displays it
Driver=g15daemon
Width=160
Height=43
########################################################################
[network]
# network driver
# Default size: 240 x 128
Driver=network
Width=256
Height=128
UpsideDown=no
Invert=no
Brightness=10
RefreshDisplay=1
########################################################################
[dm140gink]
# dm140gink driver
# This is an driver module for Futaba DM140-GINK VFD displays.
# The VFD is built-in in some HTPC cases and connected to a
# USB port.
# Default size: 112 x 16
Driver=dm140gink
#Width=112
#Height=16
#UpsideDown=no
# Invertion is not supported
#Invert=no
# USB VendorID and ProductID
#Vendor=0x040b
#Product=0x7001
# USB ID activy 5xx:
#Vendor=0x1509
#Product=0x925d
########################################################################
Alles anzeigen
hab das Display eben abgezogen und aus gemacht wollte es wieder einschalten geht aber leider nicht ist das normalP???
Edit: hab den Akku raus gemacht richtiges Highend Teil Display geht wieder an und leuchtet wieder im Hack mode starte den VDR später mal durch gucken was passiert
Grüße
leider noch nicht bleibt beim stop vdr und start vdr blau ist die conf OK??
???
ein zweiter thread nutzt da gar nix....
die config passt eigentlich...
ich habs eigentlich so gemacht
Display gepatcht, plugin installiert, plugin eingestellt => geht....
wird das display ueberhaupt erkannt ? (deswegen meine frage nach dem logfile) denn i.d.R taugen die USB kabel nix die beim display dabei sind..
was sagt lsusb -vv
wenn man hier genug sucht dann findet sich schon was zum suchen des problems
gruss gerd
Hey,
dachte nur er Übersicht halber weils anfangs nur ne Frage nach Empfehlungen war
lsusb gibt folgendes
root@VDR:~# lsusb
Bus 002 Device 004: ID 1908:0102
Bus 002 Device 003: ID 1113:3163 Medion AG
Bus 002 Device 002: ID 05a4:9881 Ortek Technology, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@VDR:~#
lsusb -vv ging zwar war aber so lang das der obere teil abgeschnitten war...
Hilft dir das?
USB Kabel gerade getauscht bringt leider nichts hab das Plugin noch einmal deinstalliert und neu installiert hat auch nichts gebracht
Was hast du noch konfiguriert am Plugin?
Das Display muss doch im Hack modus sein spricht blaues Display oder?
Grüße
und hier das logfile
Nov 6 01:01:52 VDR showpic: c. Err:No such file or directory (cParallelPort::Init)
Nov 6 01:03:34 VDR showpic: ax206dpf: AX206DPF initialized (320x240).
Nov 6 01:03:34 VDR showpic: glcdgraphics: open /usr/share/vdr-plugin-graphlcd/logos/REPLAY-DVD-v2_l.glcd failed (cGLCDFile::Load).
Nov 6 01:03:53 VDR showpic: glcd drivers: ERROR cannot open /dev/parport0. Err:No such file or directory (cParallelPort::Init)
Nov 6 01:04:30 VDR showpic: ax206dpf: AX206DPF initialized (320x240).
Nov 6 01:04:30 VDR showpic: glcdgraphics: open /var/lib/vdrdevel/plugins/graphlcd/logos/3NET_m.glcd failed (cGLCDFile::Load).
Nov 6 01:04:59 VDR vdr: glcdgraphics: image /var/lib/vdr/plugins/graphlcd/skins/touchcol/images/arrow.pbm loaded.
Nov 6 01:04:59 VDR vdr: INFO: graphlcd: successfully loaded image 'images/arrow.pbm'
da stimmt doch was nicht greift er auf den parallelport zu?
was muss ich umstellen?
eigentlich passt ja alles.... tut mir leid hier weiss ich auch nicht weiter.....
gruss gerd
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!