libcec does not detect any devices

Bug #1325212 reported by Jochen Kemnade
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

libcec on raspbian testing (currently at 2.1.4-1) does not detect any devices on Raspberry PI rev.B.
cec-client -l shows
Found devices: NONE

The package from http://archive.mene.za.net/raspbian/ (2.1.3-1) shows
Found devices: 1

device: 1
com port: RPI
vendor id: 2708
product id: 1001
firmware version: 1
type: Raspberry Pi

Is libcec built with support for Raspberry PI?
https://github.com/Pulse-Eight/libcec/blob/master/README#L76

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

I just rebuilt the package with the respective configure flags set.
I made the following changes:

debian/control:
added libraspberrypi-dev to Build-Depends

debian/rules:
added
override_dh_auto_configure:
 dh_auto_configure -- --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi

That package detects the CEC device. I'd create a patch but I'm not sure how to do that.

Revision history for this message
peter green (plugwash) wrote :

Unfortunately such a package is not appropriate for raspbian main which is meant to be generic and as close to Debian as possible.

Do you know how the Pi support in libcec works? is it a module of some sort? is it a change to the main library?

Revision history for this message
Jochen Kemnade (jochenkemnade) wrote :

No, sorry. And my knowledge about C, autoconf and those things is pretty limited.
I thought Raspbian was about making little Tweaks to Debian to enhance support for the Pi.

Revision history for this message
Diederik (didi-debian) wrote :

On a jessie system 'apt-cache policy libcec2' returns the following:

libcec2:
  Installed: (none)
  Candidate: 2.2.0-1~jessie
  Version table:
     2.2.0-1~jessie 0
        500 http://archive.raspberrypi.org/debian/ jessie/main armhf Packages
     2.1.4-2 0
        500 http://mirrordirector.raspbian.org/raspbian/ jessie/main armhf Packages

Does the version from raspberrypi.org fix your issue?

Changed in raspbian:
status: New → Incomplete
Revision history for this message
Jochen Kemnade (jochenkemnade) wrote : Re: [Bug 1325212] Re: libcec does not detect any devices

I'm on libcec3 already:

$ apt-cache policy libcec3
libcec3:
  Installiert: 3.0.1-1~jessie
  Installationskandidat: 3.0.1-1~jessie
  Versionstabelle:
 *** 3.0.1-1~jessie 0
        500 http://archive.mene.za.net/raspbian/ jessie/contrib armhf
Packages
        500 http://archive.raspberrypi.org/debian/ jessie/main armhf
Packages
        100 /var/lib/dpkg/status

$ cec-client -l
libCEC version: 3.0.1, compiled on Fri Jul 3 19:20:43 UTC 2015 by
<email address hidden> on Linux 3.16.0-41-generic (armv7l),
features: P8_USB, P8_detect, 'RPi'
Found devices: 1

device: 1
com port: RPI
vendor id: 2708
product id: 1001
firmware version: 1
type: Raspberry Pi

Revision history for this message
Diederik (didi-debian) wrote :

I have no idea what should be done with this bug, so I'm resetting it back to 'New' and let plugwash decide what he wants to do.

Changed in raspbian:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.