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

Loading cape-univ-audio and univ-hdmi #37

Open
ghost opened this issue Dec 9, 2015 · 6 comments
Open

Loading cape-univ-audio and univ-hdmi #37

ghost opened this issue Dec 9, 2015 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 9, 2015

The "state" directory is not being created when I load both capes. Only cape-universal creates this specific directory. What could have happened?

@cdsteinkuehler
Copy link
Owner

This is a known problem with the kernel module helper used, which only exports details from the first cape loaded (see issues #29 and #30). That's why the capeuniversala was created, which combines all three capes (universal, emmc, and hdmi). If you still need emmc enabled, you'll need a combination of universal+hdmi, which hasn't been crafted yet.

@ghost
Copy link
Author

ghost commented Dec 9, 2015

Got it! So I guess I'll try to craft this combination and see if works. Thanks for your help.

@cdsteinkuehler
Copy link
Owner

If you get it working, send a pull request! Otherwise, holler if you need help.

@ghost
Copy link
Author

ghost commented Dec 9, 2015

Of course! I'll keep in touch.

@ghost
Copy link
Author

ghost commented Dec 28, 2015

Ok, I'm trying to craft the cape, but then i've got this problem when I do the following steps:

  1. load the cape: echo cape-universalb > /sys/devices/bone_capemgr.9/slots
    Ok, no problem.

  2. configure pin P9.14 to pwm mode: echo pwm > /sys/devices/ocp.3/P9_14_pinmux.49/state
    Then I got the error "bash: echo: write error: Invalid argument" when I hit enter for the first time. The second time I hit, goes fine. But this error does not occur with cape-universaln, for example. And I believe this is the reason that makes the kernel incapable of recognizing the multiplexation.

How can I send my .dts file to you?

@cdsteinkuehler
Copy link
Owner

On 12/28/2015 8:36 AM, Bárbara Brandão wrote:

How can I send my .dts file to you?

The best way is to check it in to a github clone of my repository and
send me a link. That way, you can send a pull-request once you get it
working. :) Otherwise, just email it to me (charles
steinkuehler.net).

I suggest after loading your new cape, you poke around in the system
log files and examine the sysfs entries for the pinmux helper before
and after trying to switch the mode to pwm. That may help turn up
what's going wrong.

Charles Steinkuehler
[email protected]

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

1 participant