Re: [beagleboard] Power button and /dev/input/event0 on 4.1.10-bone16

2015-11-02 Thread Alberto Potenza
Thanks for the answer. It seems there is not /etc/acpi. I guess it is done somewhere else. Any ideas? Il giorno lunedì 2 novembre 2015 15:43:52 UTC+1, toni incog ha scritto: > > > iirc power button input event is routed to acpid. See the /etc/acpi for > the actual shutdown script. > -- For

Re: [beagleboard] Power button and /dev/input/event0 on 4.1.10-bone16

2015-11-02 Thread Alberto Potenza
Great!!! It works. Thans a lot for all your effort. Regards. Alberto Il giorno lunedì 2 novembre 2015 18:04:15 UTC+1, RobertCNelson ha scritto: > > On Mon, Nov 2, 2015 at 11:00 AM, Alberto Potenza > <alberto@gmail.com > wrote: > > Thanks for the answer. > > It s

Re: [beagleboard] Power button and /dev/input/event0 on 4.1.10-bone16

2015-11-02 Thread Alberto Potenza
do that? Thanks a lot for your help. Regards. Alberto Il giorno martedì 27 ottobre 2015 17:44:23 UTC+1, RobertCNelson ha scritto: > > On Tue, Oct 27, 2015 at 11:38 AM, Alberto Potenza > <alberto@gmail.com > wrote: > > Dear all, > > I tried to upgrade my kernel vers

[beagleboard] Power button and /dev/input/event0 on 4.1.10-bone16

2015-10-27 Thread Alberto Potenza
Dear all, I tried to upgrade my kernel version (from 3.8 to 4.1.10-bone16) of my BBB. It looks like with the new kernel, the /dev/input/event0 related to the power button is not created and I need it to monitor the power button status (I would like to avoid the i2get command). I am not so sure

[beagleboard] Oled Screen - C library

2015-06-19 Thread Alberto Potenza
Dear all, I would like to use a OLED screen with my Beaglebone Black. I saw that there are several OLED screens around, such as this one: https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/overview which could be nice for me. Now, I have a quite big C code and

[beagleboard] Re: Beaglebone black poweroff-restart problem

2015-05-13 Thread Alberto Potenza
-up signal and starts again but if it goes in SLEEP mode, it does not receive it. I am really confused about this behaviour. Hoping someone already saw that and there is a solution. Cheers. Alberto Il giorno lunedì 11 maggio 2015 18:50:40 UTC+2, Alberto Potenza ha scritto: Dear all, I

[beagleboard] Beaglebone black poweroff-restart problem

2015-05-11 Thread Alberto Potenza
Dear all, I have a problem quite similar to this one: https://groups.google.com/forum/#!topic/beagleboard/qw5zlS4F4p4 This is my setup: a) a bleaglebone black with 5V on pin VDD_5V b) a C program doing a shutdown when the power button is pressed. I have the C program in my rc.local in such a way

[beagleboard] Release bus after use

2015-05-07 Thread Alberto Potenza
Dear all, I have a problem with my BBB. I use several buses such as GPMC, SPI...and I initialize the by a dtbo file in the /etc/rc.local If I try to take a look in /sys/devices/bone_capemgr.10/slots I can clearly see them loaded and they work. Now, at some point, after I used it, I would like

[beagleboard] GPIO0_4 with beaglebone black

2014-10-13 Thread Alberto Potenza
Dear all, it looks like I cannot take control of pin gpio0_4 (P9, 18). I tried to export it by doing echo 4 export in /sys/class/gpio but it doesn't work: I cannot set it as output and move its value and I cannot set it as input to check values. By doing: cat

[beagleboard] I2C0 and TPS65217C

2014-07-31 Thread Alberto Potenza
Dear all, I would like to see if my Beaglebone black is powered by USB cable or by an external power supply. To do that I would like to read the Status register of the TPS65217C. It should be done by using the I2C0. As far as I have understood, it cannot be done by userspace by using

[beagleboard] Re: I2C0 and TPS65217C

2014-07-31 Thread Alberto Potenza
Ok, as usual, after one day searching around, I found the solution 2 minutes later I wrote the post. Here the solution: https://github.com/pehrtree/beaglebone_snippets/tree/master/power Alberto Il giorno giovedì 31 luglio 2014 11:02:03 UTC+2, Alberto Potenza ha scritto: Dear all, I would

[beagleboard] mmap SPI1 beaglebone black

2014-07-18 Thread Alberto Potenza
Dear all, I have tried to work with SPI1 on the beaglebone black (kernel 3.8) by using spidev. I saw several guides on that and so, I compiled my own device tree and it works: I can send and receive packet, change the spi clock frequency and so on. This is my device tree file /dts-v1/;

Re: [beagleboard] Bootloader, MLO, u-boot and boot button

2014-05-22 Thread Alberto Potenza
Dear all, thanks for your answer: maybe move resistors is the better solution for me. Thanks again. Alberto -- 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

[beagleboard] Re: mmc2 on beaglebone black

2014-05-22 Thread Alberto Potenza
Hi, no results...searched a lot around but..nothing. Sorry. Regards. -- 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

[beagleboard] Bootloader, MLO, u-boot and boot button

2014-05-21 Thread Alberto Potenza
Dear all, I have some problems trying to understand how the boot procedure is in the Beaglebone Black. I saw several posts around but it is quite hard for me to fully understand how it works. So, sorry if I am repeating something that most of you already know. What I've understood so far (I

[beagleboard] mmc2 on beaglebone black

2014-01-24 Thread Alberto Potenza
Dear all, according to AM335xx TRM, a beaglebone black should have 3 mmc available: - mmc0 (sd card) - mmc1 (2G flash) - mmc2. I am trying to enable mmc2 by device tree (and I am quite sure to have the right pin settings) but, by doing dmesg I obtain: /ocp/mmc@4781: can't find DMA channel

[beagleboard] SD card on mmc2

2014-01-16 Thread Alberto Potenza
Dear all, I would like to make a board to connect to the BBB in such a way to have an SD card connected to the BBB by the mmc2 bus. In this way could have 2 SD card accessible by the ARM. I am not pretty sure if it is possible (in principle it could be). I need your help in setting the software

[beagleboard] Re: SPI - SD card

2014-01-15 Thread Alberto Potenza
automatically the SD card. Regards. Alberto Il giorno martedì 14 gennaio 2014 12:50:19 UTC+1, Alberto Potenza ha scritto: Dear all, I have a question about SPI and SD card. I've already seen a couple of posts with a similar question but the answer is not fully clear to me. I have a beaglebone black

[beagleboard] SPI - SD card

2014-01-14 Thread Alberto Potenza
Dear all, I have a question about SPI and SD card. I've already seen a couple of posts with a similar question but the answer is not fully clear to me. I have a beaglebone black. I am booting from SD card. I am using the GPMC bus. I would like to use the SPI1 lines to connect another SD card. I

Re: [beagleboard] Re: BBB boot when connected to other devices

2013-12-19 Thread Alberto Potenza
Dear Gerald and William, sorry for the long delay. I fixed the boot problem: I was using the GPIO2_9 and GPIO2_10 pins which should be free during the booting phase. When the FPGA is off, those pins are grounded (which is not good). By removing those wires, everything works fine!! It is written

Re: [beagleboard] Re: BBB boot when connected to other devices

2013-11-14 Thread Alberto Potenza
Gerald, William, thanks for your help. Here there is my .dts file. Alberto -- 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

[beagleboard] Re: BBB boot when connected to other devices

2013-11-13 Thread Alberto Potenza
I forgot to mention that I am connecting the gpmc and the spi0-spi1 pins of the headers. Alberto -- 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

Re: [beagleboard] Re: BBB boot when connected to other devices

2013-11-13 Thread Alberto Potenza
Hi Gerald, actually I've already disabled eMMC: In fact, I obtain: root@arm:/# cat /sys/devices/bone_capemgr.9/slots 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-- Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 5: ff:P-O-- Bone-Black-HDMI,00A0,Texas

Re: [beagleboard] Re: BBB boot when connected to other devices

2013-11-13 Thread Alberto Potenza
Yes, I press the boot button and then I plug the USB cable to power on the board. Alberto Il giorno mercoledì 13 novembre 2013 19:22:56 UTC+1, Gerald ha scritto: Did you press the boot button before you applied power? Gerald On Wed, Nov 13, 2013 at 11:33 AM, Alberto Potenza alberto

[beagleboard] BBB, GPMC bus for FPGA FIFO and 3.8 linux kernel

2013-10-22 Thread Alberto Potenza
Dear all, I posted a similar post in the TI E2E forum and they said to post it here, so... I have to set the AM3x side to manage the reading phase from a FIFO placed inside an FPGA and I almost lost. I saw several posts which starts as: I have to use GPMC bus and I do not know how to do it.,

Re: [beagleboard] Use SD card to save data and also GPMC bus

2013-10-14 Thread Alberto Potenza
Dear Gerald, once again you are right: I should not use the word high so easily. By the way, thanks again for your help. Alberto Depends on your definition of HIGH. GPMC is 100MHZ and up to 16Bits wide. Gerald On Fri, Oct 11, 2013 at 9:58 AM, Alberto Potenza alberto

Re: [beagleboard] Use SD card to save data and also GPMC bus

2013-10-14 Thread Alberto Potenza
there is the possibility to send out the mmc signals without a clock for them? Am I missing something also here? Thanks again for your help. Alberto Depends on your definition of HIGH. GPMC is 100MHZ and up to 16Bits wide. Gerald On Fri, Oct 11, 2013 at 9:58 AM, Alberto Potenza alberto

Re: [beagleboard] Use SD card to save data and also GPMC bus

2013-10-14 Thread Alberto Potenza
Dear Gerald, thanks a lot for your help: it is really useful for me to have you on the other side. Maybe I'm begginning to see the light (as Duke Ellington said...). Now, this point is not clear to me: Now, if we take again the BeagleBone Black System Reference Manual at pag.82 there is

[beagleboard] Use SD card to save data and also GPMC bus

2013-10-10 Thread Alberto Potenza
Dear all, I need help to understand if BBB fits what I need. I would like to use the BBB-GPMC bus to communicate with an FPGA (placed on a custom made PCB) and save some data in the SD card. In particular, I would like to send data from FPGA to BBB, have some data-analysis and then save them in

[beagleboard] SPI data throughput

2013-10-07 Thread Alberto Potenza
Dear all, I am new in this forum. I looked carefully all around but I cannot find this information: the GPMC max speed is - 16 bit X 100 MHz = 1.6 Gbit/s I would like to know that information for the SPI case (probably it is written somewhere in capital letters but I missed it). Could you