Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running on a Pi #1

Closed
bramp opened this issue Nov 11, 2012 · 5 comments
Closed

Running on a Pi #1

bramp opened this issue Nov 11, 2012 · 5 comments
Assignees

Comments

@bramp
Copy link
Owner

bramp commented Nov 11, 2012

Bug reported by Zoolander06 (on bramp.net)

root@XBian:~/libcec-daemon# ./libcec-daemon –list
INFO – Opened /dev/uinput
INFO – Created uinput device
[0] port:RPI path:Raspberry Pi
Failed to open

I’ve tried with -v option, it does that (4 times) :

DEBUG – Main::onCecLogMessage(1167 [D]unregistering all CEC clients
)
DEBUG – Main::onCecLogMessage(1174 [D]Broadcast (F): osd name set to ‘Broadcast’
)
DEBUG – Main::onCecLogMessage(1178 [D]InitHostCEC – vchiq_initialise succeeded
)
DEBUG – Main::onCecLogMessage(1181 [D]InitHostCEC – vchi_initialise succeeded
)
DEBUG – Main::onCecLogMessage(1183 [D]InitHostCEC – vchi_connect succeeded
)
DEBUG – Main::onCecLogMessage(4512 [E]failed to release the previous LA
)
DEBUG – Main::onCecLogMessage(4516 [E]could not open a connection (try 1)

I think the line “failed to release the previous GA” is relevant, isn’t it ?

@kuki21
Copy link

kuki21 commented Nov 12, 2012

I have the same issue. 2.0.3 libcec is used.

@ghost ghost assigned bramp Nov 12, 2012
@eht16
Copy link

eht16 commented Dec 30, 2012

Same here :(.

@eth0izzle
Copy link

I managed to fix this by adding this:

else {
    cec->InitVideoStandalone();
}

to line 133 of src/libcec.cpp.

./libcec-daemon --list now gives:

INFO - Opened /dev/uinput
INFO - Created uinput device
[0] port:RPI path:Raspberry Pi
        TV@0x0 TV (Samsung)
        Playback 1@0x2000 linux PC (Unknown)

EDIT: just fired off a Pull Request :)

@bramp
Copy link
Owner Author

bramp commented Jan 3, 2013

Looks good eth0izzle, thanks! I want to read up on this newer API, to understand what calling InitVideoStandalone does, but if all is well I will accept shortly.

@bramp bramp closed this as completed in cb08686 Jan 3, 2013
@bramp
Copy link
Owner Author

bramp commented Jan 3, 2013

Fixed by cb08686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants