Charles,

So, a minor complaint. None of your overlays configures *ALL* pins not used
by hdmi( audio and video ) and all other pins not in use by the system (
eMMC, i2c-0/2, etc ). I had to use a cape I suppose Robert created:

debian@beaglebone:~$ dmesg |grep univ
[    0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8
bone_capemgr.enable_partno=univ-all root=/dev/mmcblk0p1 rootfstype=ext4
rootwait coherent_pool=1M quiet cape_universal=enable
[    2.926016] bone_capemgr bone_capemgr: enabled_partno PARTNO 'univ-all'
VER 'N/A' PR '0'
[    2.926083] bone_capemgr bone_capemgr: slot #4: 'Override Board
Name,00A0,Override Manuf,univ-all'
. . . Lots of noise . . .
[    5.293487] bone_capemgr bone_capemgr: slot #4: dtbo
'univ-all-00A0.dtbo' loaded; overlay id #0

Here is the whole story. I was able to use config-pin to load the overlay
that exports all hdmi pins, and all that. The problem is, I modified your
version of config-pin because I do not wish to setup a sudo "rule".
Instead, I use a udev rule to change the group for the pin files, and
loading that overlay through config-pin was not working. Since parts of
that udev rule *HAS* to be done at boot.

Anyway, using the overlay Robert seems to have created ( univ-all ) seems
to do the trick . . . Now, for your amusement . . .
testing of a custom board( cape ) using Javascript ;) and *yes*, it works
perfectly.

"use strict";
(function() {
        var cp = require('./config-pin.js');
        var leds = ['P8.26', 'P8.18', 'P8.07', 'P8.08', 'P8.09', 'P8.10'];
        var relays = ['P8.27', 'P9.31', 'P9.29', 'P9.25', 'P9.30', 'P9.12'];

        leds.forEach(function(s) {
                cp.config(s, 'low');
        });
        relays.forEach(function(s) {
                cp.config(s, 'hi');
        });

        setTimeout(function() {
                leds.forEach(function(s) {
                        cp.config(s, 'hi');
                });
                relays.forEach(function(s) {
                        cp.config(s, 'low');
                });
        }, 2000);
})();




On Fri, Jun 24, 2016 at 12:59 PM, William Hermans <[email protected]> wrote:

> *See the readme:*
>>
>> * https://github.com/cdsteinkuehler/beaglebone-universal-io
>> <https://github.com/cdsteinkuehler/beaglebone-universal-io>*
>>
>
> Ok, my bad. How did I miss that ?
>
> *That's probably the best option if you need things setup early on,*
>> * otherwise you can just run a config-pin script sometime in the boot*
>> * sequence*
>>
>
> Ok, thank you. I guess it's only those two options heh. Just making sure .
> . .
>
> On Fri, Jun 24, 2016 at 12:57 PM, Charles Steinkuehler <
> [email protected]> wrote:
>
>> On 6/24/2016 12:27 PM, William Hermans wrote:
>> > Just as an indication of what I'm looking at.
>> >
>> > debian@beaglebone:~$ ls /lib/firmware/ |grep univ
>> > cape-univ-audio-00A0.dtbo
>> > cape-univ-emmc-00A0.dtbo
>> > cape-univ-hdmi-00A0.dtbo
>> > cape-universal-00A0.dtbo
>> > cape-universaln-00A0.dtbo
>>
>> The above should match the README from the beaglebone-universal-io
>> repo.  The stuff below is likely from Robert Nelson and I'm not sure
>> what the difference is (perhaps versions for newer kernels?).
>>
>> > univ-all-00A0.dtbo
>> > univ-bbgw-00A0.dtbo
>> > univ-emmc-00A0.dtbo
>> > univ-hdmi-00A0.dtbo
>> > univ-nhdmi-00A0.dtbo
>> >
>> > My guess is that I want the last one, but without checking the source (
>> which I
>> > can do on github now that I think on it ), how could I know ? Ill check
>> on
>> > github for now . . .
>>
>> --
>> Charles Steinkuehler
>> [email protected]
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/beagleboard/c40f789f-5ca5-fb6c-b303-ebe3092666b9%40steinkuehler.net
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORqZFv0K9bUub5frq7d3bt1XDZBF%3DhSYk1GOwrxtv0%2BJqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to