Jon:
  Thanks...

I'm thinking of getting rid of reset.sh since on.sh effectively does a 
reset when you rerun it.

--Mark

On Sunday, September 13, 2020 at 7:32:53 PM UTC-4 [email protected] wrote:

> I was able to resolve the issue I was having with your fb and pygame 
> examples.  I had to ensure the BUS was set to '0' and the pin GPIO values 
> were set properly in 'on.sh'. The same was true in reset.sh with 'busnum=0'
>
> Also, it seemed that if I ran the examples in 'usr', I had to reboot the 
> board for the 'fb' examples to work.
>
> It's all working now.
> Nice job.
>
> Jon
>
> On Sat, Sep 12, 2020 at 5:05 PM jonnymo <[email protected]> wrote:
>
>> Cool.
>>
>>   I am unable to get your pygame or other fb examples to work but I can 
>> get the 'usr' examples to work. 
>>  
>> Perhaps this is for another post, but in your examples, are you using 
>> SPI0 or SPI1?  It seems some of the setup for the examples are set for SPI0 
>> and some are set for SPI1 yet the wiring listing in "EBC Exercise 12a 2.4 
>> TFT LCD display via SPI" seems to indicate SPI0.  
>>
>>
>> Cheers,
>>
>> Jon 
>>
>> On Sat, Sep 12, 2020 at 1:20 PM Mark A. Yoder <[email protected]> 
>> wrote:
>>
>>> I now have it working with sudo.  I just added 
>>> https://github.com/MarkAYoder/BeagleBoard-exercises/blob/a531dca3a5f52813623bd40ea42bc733decfc70d/displays/ili9341/fb/pygame/clock.py#L26
>>>
>>> I needed to set SDL_NOMOUSE to 1.
>>>
>>> --Mark
>>>
>>> On Saturday, September 12, 2020 at 3:33:23 PM UTC-4 Mark A. Yoder wrote:
>>>
>>>> Jon:
>>>>   Well.....  su does give different results than sudo.  I tried su 
>>>> again and it works!
>>>>
>>>> So, how can I set permissions so I don't have to su or sudo?
>>>>
>>>> --Mark
>>>>
>>>> p.s.  Thanks for all the suggestions.
>>>>
>>>> On Friday, September 11, 2020 at 6:23:45 PM UTC-4 [email protected] 
>>>> wrote:
>>>>
>>>>> In my config, BBAI running 4.14 kernel, I found two instances of fbcon:
>>>>> $ sudo find / -name fbcon
>>>>>
>>>>> * /sys/devices/virtual/graphics/fbcon*
>>>>> * /sys/class/graphics/fbcon*
>>>>>
>>>>>
>>>>> The framebuffer console seems to be attached to the console layer. 
>>>>>
>>>>> *$ cat /sys/class/vtconsole/vtcon1/bind*
>>>>> *1*
>>>>> *$ cat /sys/class/vtconsole/vtcon0/bind*
>>>>> *0*
>>>>>
>>>>>
>>>>> Info on fbcon:
>>>>> https://www.kernel.org/doc/html/latest/fb/fbcon.html
>>>>>
>>>>>
>>>>> Not sure if this helps at all.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Jon
>>>>>
>>>>>
>>>>> On Fri, Sep 11, 2020 at 11:24 AM Robert Nelson <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> On Fri, Sep 11, 2020 at 12:56 PM Dennis Lee Bieber
>>>>>> <[email protected]> wrote:
>>>>>> >
>>>>>> > On Fri, 11 Sep 2020 04:56:42 -0700 (PDT), in
>>>>>> > gmane.comp.hardware.beagleboard.user "Mark A. Yoder"
>>>>>> > <[email protected]> wrote:
>>>>>> >
>>>>>> >
>>>>>> > >
>>>>>> > >Are you sure there is a fbcon module?
>>>>>> >
>>>>>> > 
>>>>>> https://www.kernel.org/doc/html/latest/fb/fbcon.html#a-configuration
>>>>>> >
>>>>>> > ... seems to imply it may not have been built for the standard 
>>>>>> release BBB
>>>>>> > kernels.
>>>>>>
>>>>>> It's enabled:
>>>>>>
>>>>>> │ 
>>>>>> ┌───────────────────────────────────────────────────────────────────────┐
>>>>>>  │
>>>>>>   │ │    [*] Framebuffer Console support
>>>>>>      │ │
>>>>>>   │ │    -*-   Map the console to the primary display device
>>>>>>      │ │
>>>>>>   │ │    [*]   Framebuffer Console Rotation
>>>>>>      │ │
>>>>>>   │ │    [ ]   Framebuffer Console Deferred Takeover                  
>>>>>>       │
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> -- 
>>>>>> Robert Nelson
>>>>>> https://rcn-ee.com/
>>>>>>
>>>>>> -- 
>>>>>> 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/CAOCHtYgkXSOoJQ%3D_iBLcYBuFc4Q0%3D%2B6y29EXzABPn5uK-Qbqdw%40mail.gmail.com
>>>>>> .
>>>>>>
>>>>> -- 
>>> 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/ea2cc40d-aa9e-462e-a454-b0bea9a7da4cn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/beagleboard/ea2cc40d-aa9e-462e-a454-b0bea9a7da4cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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/0d5f2119-1cfb-4bde-9220-593dcf82521bn%40googlegroups.com.

Reply via email to