You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use your lib on a Raspberry Pi. I tested the master and the devel branch and I am always getting a segmentation fault error.
Setup is Raspberry Pi model B
Running cec-client gives:
CEC Parser created - libCEC version 2.1.4
no serial port given. trying autodetect:
path: Raspberry Pi
com port: RPI
This is what I do in python interpreter:
Python 2.7.3 (default, Jan 13 2013, 11:20:46)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import cec
cec.list_adapters()
['RPI']
cec.list_devices()
.
.
Lot of CEC DEBUG message
.
.
{} 'Looks like no devices are found
cec.init()
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content unregistering all CEC clients
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content TV (0): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Recorder 1 (1): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Recorder 2 (2): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Tuner 1 (3): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Playback 1 (4): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Audio (5): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Tuner 2 (6): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Tuner 3 (7): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Playback 2 (8): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Recorder 3 (9): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Tuner 4 (A): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Playback 3 (B): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Reserved 1 (C): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Reserved 2 (D): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Free use (E): device status changed into 'unknown'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content Broadcast (F): osd name set to 'Broadcast'
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content InitHostCEC - vchiq_initialise succeeded
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content InitHostCEC - vchi_initialise succeeded
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content InitHostCEC - vchi_connect succeeded
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
CEC DEBUG: got log callback
CEC DEBUG: GIL acquired
CEC DEBUG: Message level 16
CEC DEBUG: Message time 0
CEC DEBUG: Message content logical address changed to Broadcast (f)
CEC DEBUG: argument PyObject created
CEC DEBUG: Triggering event 1
CEC DEBUG: Event trigger done
Segmentation fault
Did I missed something on the process ?
Sorry for this long post !
Regards
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to use your lib on a Raspberry Pi. I tested the master and the devel branch and I am always getting a segmentation fault error.
Setup is Raspberry Pi model B
Running cec-client gives:
CEC Parser created - libCEC version 2.1.4
no serial port given. trying autodetect:
path: Raspberry Pi
com port: RPI
This is what I do in python interpreter:
Python 2.7.3 (default, Jan 13 2013, 11:20:46)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Did I missed something on the process ?
Sorry for this long post !
Regards
The text was updated successfully, but these errors were encountered: