DVBViewer community forum: Einbindung von libCEC - DVBViewer community forum

Jump to content

-

  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Einbindung von libCEC Feature Request Rate Topic: -----

#46 User is offline   KIDzero 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 29.June 08

Posted 03 February 2012 - 13:14

No device type given. Using 'recording device'
CEC Parser created - libcec version 1.4
no serial port given. trying autodetect:
 path:     \\?\usb#vid_2548&pid_1001#5&2e822ec5&0&1#{a5dcbf10-6530-11d2-901f-0004fb951ed}
 com port: COM3

opening a connection to the CEC adapter...
DEBUG:   [             447]     connection opened
DEBUG:   [             514]     communication thread started
DEBUG:   [             579]     processor thread started
DEBUG:   [            1304]     CEC::CCECProcessor::FindLogicalAddresses - devie 0: type 1
DEBUG:   [            1411]     detecting logical address for type 'recording dvice'
DEBUG:   [            1521]     trying logical address 'Recorder 1'
DEBUG:   [            1622]     setting ackmask to  2
DEBUG:   [            2322]     command sent
NOTICE:  [            2367]     << Recorder 1 (1) -> Recorder 1 (1): POLL
TRAFFIC: [            2440]     << 11
DEBUG:   [            2592]     COMMAND_ACCEPTED
DEBUG:   [            2766]     command sent
DEBUG:   [            3033]     COMMAND_ACCEPTED
DEBUG:   [            3068]     COMMAND_ACCEPTED
DEBUG:   [            3454]     TRANSMIT_FAILED_ACK
DEBUG:   [            3516]     did not receive ack
TRAFFIC: [            3573]     << 11
DEBUG:   [            4327]     command sent
DEBUG:   [            4599]     COMMAND_ACCEPTED
DEBUG:   [            4651]     COMMAND_ACCEPTED
DEBUG:   [            4884]     TRANSMIT_FAILED_ACK
DEBUG:   [            4937]     did not receive ack
DEBUG:   [            4997]     >> POLL not sent
NOTICE:  [            5049]     using logical address 'Recorder 1'
DEBUG:   [            5148]     setting ackmask to  2
DEBUG:   [            5759]     command sent
NOTICE:  [            5805]     << requesting vendor ID of 'TV' (0)
TRAFFIC: [            5882]     << 10:8c
DEBUG:   [            6029]     COMMAND_ACCEPTED
DEBUG:   [            6188]     command sent
DEBUG:   [            6459]     COMMAND_ACCEPTED
DEBUG:   [            6504]     COMMAND_ACCEPTED
DEBUG:   [            6561]     COMMAND_ACCEPTED
DEBUG:   [            6751]     TRANSMIT_FAILED_ACK
DEBUG:   [            6795]     did not receive ack
TRAFFIC: [            6862]     << 10:8c
DEBUG:   [            7477]     command sent
DEBUG:   [            7747]     COMMAND_ACCEPTED
DEBUG:   [            7787]     COMMAND_ACCEPTED
DEBUG:   [            7834]     COMMAND_ACCEPTED
DEBUG:   [            8034]     TRANSMIT_FAILED_ACK
DEBUG:   [            8079]     did not receive ack
DEBUG:   [            8892]     setting HDMI port to 1 on device TV (0)
DEBUG:   [            8954]     >> Recorder 1 (1): power status changed from 'o' to 'standby'
DEBUG:   [            9084]     >> Recorder 1 (1): physical address changed fro ffff to 1000
NOTICE:  [            9202]     << Recorder 1 (1) -> broadcast (F): physical address 1000
TRAFFIC: [            9342]     << 1f:84:10:00:01
DEBUG:   [           10197]     command sent
DEBUG:   [           10467]     COMMAND_ACCEPTED
DEBUG:   [           10590]     COMMAND_ACCEPTED
DEBUG:   [           10635]     COMMAND_ACCEPTED
DEBUG:   [           10897]     COMMAND_ACCEPTED
DEBUG:   [           11184]     COMMAND_ACCEPTED
DEBUG:   [           11327]     did not receive ack
TRAFFIC: [           11372]     << 1f:84:10:00:01
DEBUG:   [           11475]     COMMAND_ACCEPTED
DEBUG:   [           11629]     command sent
DEBUG:   [           11899]     COMMAND_ACCEPTED
DEBUG:   [           11953]     COMMAND_ACCEPTED
DEBUG:   [           12186]     TRANSMIT_SUCCEEDED
DEBUG:   [           12238]     did not receive ack
DEBUG:   [           12311]     processor thread started cec device opened
DEBUG:   [           12378]     COMMAND_ACCEPTED
DEBUG:   [           12468]     << powering on 'TV' (0)
TRAFFIC: [           12538]     << 10:04
DEBUG:   [           12759]     COMMAND_ACCEPTED
DEBUG:   [           12918]     command sent
DEBUG:   [           13190]     COMMAND_ACCEPTED
DEBUG:   [           13603]     COMMAND_ACCEPTED
DEBUG:   [           13761]     COMMAND_ACCEPTED
DEBUG:   [           13813]     COMMAND_ACCEPTED
DEBUG:   [           14193]     TRANSMIT_SUCCEEDED
DEBUG:   [           14238]     command transmitted
DEBUG:   [           14297]     making Recorder 1 (1) the active source
NOTICE:  [           14374]     << Recorder 1 (1) -> broadcast (F): active source (1000)
TRAFFIC: [           14500]     << 10:04
DEBUG:   [           14538]     COMMAND_ACCEPTED
DEBUG:   [           14636]     command sent
DEBUG:   [           14907]     TRANSMIT_FAILED_ACK
DEBUG:   [           14953]     did not receive ack
DEBUG:   [           15016]     COMMAND_ACCEPTED
TRAFFIC: [           15073]     << 10:04
DEBUG:   [           15209]     command sent
DEBUG:   [           15254]     COMMAND_ACCEPTED
DEBUG:   [           15330]     COMMAND_ACCEPTED
DEBUG:   [           15479]     TRANSMIT_FAILED_ACK
DEBUG:   [           15523]     did not receive ack
DEBUG:   [           15577]     COMMAND_ACCEPTED
TRAFFIC: [           15626]     << 1f:82:10:00
DEBUG:   [           15782]     command sent
DEBUG:   [           15824]     COMMAND_ACCEPTED
DEBUG:   [           15883]     COMMAND_ACCEPTED
DEBUG:   [           16092]     TRANSMIT_FAILED_ACK
DEBUG:   [           16224]     did not receive ack
DEBUG:   [           16268]     COMMAND_ACCEPTED
TRAFFIC: [           16314]     << 1f:82:10:00
DEBUG:   [           16364]     COMMAND_ACCEPTED
DEBUG:   [           16498]     command sent
DEBUG:   [           16545]     COMMAND_ACCEPTED
DEBUG:   [           16604]     COMMAND_ACCEPTED
DEBUG:   [           16767]     COMMAND_ACCEPTED
DEBUG:   [           17197]     COMMAND_ACCEPTED
DEBUG:   [           17238]     COMMAND_ACCEPTED
DEBUG:   [           17484]     TRANSMIT_SUCCEEDED
DEBUG:   [           17526]     command transmitted waiting for input
DEBUG:   [           17627]     COMMAND_ACCEPTED
DEBUG:   [           18056]     COMMAND_ACCEPTED
DEBUG:   [           18344]     COMMAND_ACCEPTED
DEBUG:   [           19060]     TRANSMIT_SUCCEEDED


Hab in den Optoma Specs nix zu meinem Beamer bezügl. CEC gefunden. Was meint Ihr zum Debug Log?

#47 User is offline   erwin 

  • Senior Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 842
  • Joined: 13.November 03

Posted 03 February 2012 - 13:28

Wie waren denn die Aufrufparameter?

Und das Gerätesetup - also welche Geräte wo wie angeschlossen.

erwin

This post has been edited by erwin: 03 February 2012 - 13:29


#48 User is offline   KIDzero 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 29.June 08

Posted 03 February 2012 - 13:57

View Posterwin, on 03 February 2012 - 13:28, said:

Wie waren denn die Aufrufparameter?

Und das Gerätesetup - also welche Geräte wo wie angeschlossen.

erwin


Das Log kommt wenn ich den Testclient starte. Also kein Befehl eingegeben. Das Setup ist simple: HTPC -> CEC -> Beamer

#49 User is offline   erwin 

  • Senior Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 842
  • Joined: 13.November 03

Posted 03 February 2012 - 14:02

War der Beamer schon vorher eingeschaltet? Wenn ja mach ihn mal aus. Er müsste beim Start des Programms einschalten. Ansonsten gib mal wenn cec-client auf die Eingabe wartet

lad

ein.

erwin

#50 User is offline   KIDzero 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 29.June 08

Posted 04 February 2012 - 17:33

View Posterwin, on 03 February 2012 - 14:02, said:

War der Beamer schon vorher eingeschaltet? Wenn ja mach ihn mal aus. Er müsste beim Start des Programms einschalten. Ansonsten gib mal wenn cec-client auf die Eingabe wartet

lad

ein.

erwin



Beamer war schon "Standby". Ich hab Ihn dann mal stromlos gemacht. Danach "lad" eingeben:
listing active devices:
NOTICE:  [          755136]     << Recorder 1 (1) -> TV (0): POLL
TRAFFIC: [          755189]     << 10
DEBUG:   [          755250]     command sent
DEBUG:   [          755973]     COMMAND_ACCEPTED
DEBUG:   [          756021]     COMMAND_ACCEPTED
DEBUG:   [          756068]     TRANSMIT_FAILED_ACK
DEBUG:   [          756115]     did not receive ack
TRAFFIC: [          756165]     << 10
DEBUG:   [          756954]     command sent
DEBUG:   [          757238]     COMMAND_ACCEPTED
DEBUG:   [          757285]     COMMAND_ACCEPTED
DEBUG:   [          757532]     TRANSMIT_FAILED_ACK
DEBUG:   [          757587]     did not receive ack
DEBUG:   [          757635]     >> POLL not sent
NOTICE:  [          757678]     << Recorder 1 (1) -> Tuner 1 (3): POLL
TRAFFIC: [          757742]     << 13
DEBUG:   [          758386]     command sent
DEBUG:   [          758670]     COMMAND_ACCEPTED
DEBUG:   [          758739]     COMMAND_ACCEPTED
DEBUG:   [          758957]     TRANSMIT_FAILED_ACK
DEBUG:   [          759007]     did not receive ack
TRAFFIC: [          759055]     << 13
DEBUG:   [          759832]     command sent
DEBUG:   [          760106]     COMMAND_ACCEPTED
DEBUG:   [          760145]     COMMAND_ACCEPTED
DEBUG:   [          760401]     TRANSMIT_FAILED_ACK
DEBUG:   [          760458]     did not receive ack
DEBUG:   [          760498]     >> POLL not sent
NOTICE:  [          760538]     << Recorder 1 (1) -> Playback 1 (4): POLL
TRAFFIC: [          760624]     << 14
DEBUG:   [          761106]     command sent
DEBUG:   [          761391]     COMMAND_ACCEPTED
DEBUG:   [          761441]     COMMAND_ACCEPTED
DEBUG:   [          761678]     TRANSMIT_FAILED_ACK
DEBUG:   [          761732]     did not receive ack
TRAFFIC: [          761781]     << 14
DEBUG:   [          762538]     command sent
DEBUG:   [          762824]     COMMAND_ACCEPTED
DEBUG:   [          762875]     COMMAND_ACCEPTED
DEBUG:   [          763110]     TRANSMIT_FAILED_ACK
DEBUG:   [          763156]     did not receive ack
DEBUG:   [          763204]     >> POLL not sent
NOTICE:  [          763240]     << Recorder 1 (1) -> Audio (5): POLL
TRAFFIC: [          763298]     << 15
DEBUG:   [          763985]     command sent
DEBUG:   [          764254]     COMMAND_ACCEPTED
DEBUG:   [          764303]     COMMAND_ACCEPTED
DEBUG:   [          764541]     TRANSMIT_FAILED_ACK
DEBUG:   [          764596]     did not receive ack
TRAFFIC: [          764673]     << 15
DEBUG:   [          765459]     command sent
DEBUG:   [          765688]     COMMAND_ACCEPTED
DEBUG:   [          765729]     COMMAND_ACCEPTED
DEBUG:   [          766118]     TRANSMIT_FAILED_ACK
DEBUG:   [          766162]     did not receive ack
DEBUG:   [          766222]     >> POLL not sent

This post has been edited by KIDzero: 04 February 2012 - 17:40


#51 User is offline   erwin 

  • Senior Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 842
  • Joined: 13.November 03

Posted 05 February 2012 - 10:29

Dein Beamer war im Standby, du startest cec-client.exe und er schaltet sich nicht ein. Hm? Im Protokoll sah es eigentlich diesbezüglich gut aus:

Quote

DEBUG: [ 12468] << powering on 'TV' (0)
TRAFFIC: [ 12538] << 10:04
DEBUG: [ 12759] COMMAND_ACCEPTED
DEBUG: [ 12918] command sent
DEBUG: [ 13190] COMMAND_ACCEPTED
DEBUG: [ 13603] COMMAND_ACCEPTED
DEBUG: [ 13761] COMMAND_ACCEPTED
DEBUG: [ 13813] COMMAND_ACCEPTED
DEBUG: [ 14193] TRANSMIT_SUCCEEDED
DEBUG: [ 14238] command transmitted


Allerdings hast du auffallend viele

Quote

TRANSMIT_FAILED_ACK


CEC ist wohl nicht deines Beamers Freund.

erwin

#52 User is offline   erwin 

  • Senior Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 842
  • Joined: 13.November 03

Posted 06 February 2012 - 08:23

View Postnuts, on 02 February 2012 - 15:02, said:

Eine externen CEC Umsetzer, der den DVBV übers COM-Interface anspricht, beeinflusst die Lizenzierung vom DVBViewer selbst nicht.


Sicher, wär ja noch schöner wenn die DVBV-Mannen deshalb anders lizenzieren müssten.

Aber die Frage ist doch: Darf jemand (z.B. ich) Software bereitstellen die vor allem dazu dient den nicht freien DVBV um Funktionalität zu erweitern (die CEC-Funktionalität) die auf GPL lizenzierten Open Source Code beruht?

Ich hab jetzt wirklich viel Zeit zur Beantwortung dieser Frage investiert. Ich hab mir nun die Meinung gebildet: NEIN.

Allerdings was treiben dann eigentlich die Leute, die für Eventghost Plugins bereitstellen die mit dem DVBV kommunizieren?

GPL - ein weites Feld.

Vielleicht hast Du ja noch Quellen die mir weiterhelfen?

erwin

#53 User is offline   nuts 

  • Community Creator
  • PipPipPipPipPipPip
  • Group: Betatester
  • Posts: 2,148
  • Joined: 20.July 07

Posted 06 February 2012 - 10:27

Naja ich bin kein GPL Experte. Meiner Meinung nach reicht es, wenn deine Software die Spielregeln erfüllt.
Es gibt doch unzählige Software unter der GPL, die "nicht freie Software" erweitert und verwendet.
z.B. alle Funktionen der WinAPI?

Mit den Entwicklern kann man aber doch ganz vernünftig reden? Der Rechteinhaber darf ja Ausnahmen erteilen.
Vielleicht führt das schneller zum Ziel?

#54 User is offline   DVBview 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 16
  • Joined: 24.April 11

Posted 19 February 2012 - 15:36

Nachdem es hier ziemlich ruhig wurde (Sorry, war sehr beschäftigt), wollte ich nur Bescheid geben, dass die Entwickler vor dem nächsten Major Update stehen:
http://blog.pulse-ei...ur-cec-adapter/
Damit könnte man also den HTPC durch den TV wecken lassen, womit man endgültig nur eine Fernbedienung braucht!

#55 User is offline   erwin 

  • Senior Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 842
  • Joined: 13.November 03

Posted 20 February 2012 - 06:44

View PostDVBview, on 19 February 2012 - 15:36, said:

Nachdem es hier ziemlich ruhig wurde

Stimmt!. Nachdem ich hier eine Soft zum Test bereitgestellt habe, kein Nix, kein Garnix, Feedback? Fehlanzeige (Ausnahme nuts)!
Meine Bereitschaft hier CEC zu unterstützen hält sich jetzt wirklich in Grenzen.

erwin

#56 User is offline   mague 

  • Community Creator
  • PipPipPipPipPipPip
  • Group: Senior Members
  • Posts: 1,262
  • Joined: 29.May 09

Posted 20 February 2012 - 07:57

Ich hab leider nix was CEC nutzt. Nichtmal meine Glotze wird mit HDMI angesteuert.

#57 User is offline   hackbart 

  • DVBViewer Head Programmer
  • PipPipPipPipPipPipPipPipPip
  • Group: Forum Admins
  • Posts: 4,522
  • Joined: 24.September 02

Posted 20 February 2012 - 11:58

@Erwin: Hi, ich gucks mir mal an, Sorry derzeit hatten ein paar andere Dinge Priorität.

Übrigens so geht mir dauernd und ich denke vielen die Skins und sonstiges anbieten kennen das Problem auch.

Christian



#58 User is offline   erwin 

  • Senior Member
  • PipPipPipPipPip
  • Group: Senior Members
  • Posts: 842
  • Joined: 13.November 03

Posted 20 February 2012 - 12:07

@hackbart
Dich hatte ich dabei gar nicht im Sinn. Mein Angebot bleibt selbstverständlich weiter bestehen.

erwin

#59 User is offline   DVBview 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 16
  • Joined: 24.April 11

Posted 21 February 2012 - 18:25

Hey, erwin. Ich würde noch heute gerne deine Software testen und dir Logs liefern.

Hast du inzwischen noch was erneuert oder ist der letzte deiner Uploads auch deine aktuellste Version?

Share this topic:


  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users