Go to advanced search

by edo1
Tue Feb 04, 2020 7:48 pm
Forum: Русский
Topic: Запуск MS Excel на Raspbian
Replies: 2
Views: 156

Re: Запуск MS Excel на Raspbian

а вы учитываете, что на raspberry другой процессор? (arm, а не x86)
by edo1
Tue Feb 04, 2020 7:47 pm
Forum: Русский
Topic: Локальная сеть Raspberry 3 B+ и Windows 10
Replies: 5
Views: 291

Re: Локальная сеть Raspberry 3 B+ и Windows 10

Задача: получить возможность видеть с ПК расшаренную папку Малинки с возможностью копировать в неё файлы
samba
а также видеть с Малинки расшаренные папки Винды с возможностью запускать видео из них.
cifs
by edo1
Sun Jan 26, 2020 10:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI interface C code
Replies: 2
Views: 248

Re: SPI interface C code

There is kernel module, so you do not need do SPI programming at all. Do rpi-update to add anyspi support, add line to the config,txt: dtoverlay=anyspi:spi0-1,dev="microchip,mcp3201" (replace spi0-1 with actual address). After reboot you should be able to read ADC values via sysfs interface, e.g.: #...
by edo1
Sun Jan 26, 2020 8:36 am
Forum: General discussion
Topic: UART: mini UART or PL011
Replies: 4
Views: 277

Re: UART: mini UART or PL011

1.- The mini UART (/dev/ttyS0) is dependent on the frequency of the core VPU, which can vary according to the processor load, and therefore could be unstable and fail. look to "enable_uart=1" option in config.txt 2.- On the other hand, using the PL011 (/dev/ttyAMA0) implies having to disable Blueto...
by edo1
Wed Jan 08, 2020 12:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Inconsistent gpiochipX name
Replies: 2
Views: 267

Re: Inconsistent gpiochipX name

I tested RPi 2b, 3b, 3b+, there could be 1, 2 or 3 gpiochip devices on board. So my HC595 GPIO expander could be detected as gpiochip1, gpiochip2 or gpiochip3 (depending on the RPi model). Now I use this shell script: MYGPIOCHIP=`ls -1r /dev/gpiochip?|head -n1` [ "$MYGPIOCHIP" ] && /usr/bin/gpioset ...
by edo1
Sun Jan 05, 2020 7:25 pm
Forum: Русский
Topic: Sip звонок
Replies: 1
Views: 268

Re: Sip звонок

На спине?
by edo1
Wed Jan 01, 2020 6:44 pm
Forum: General discussion
Topic: Unable to write back to serial console (reading works fine)
Replies: 2
Views: 187

Re: Unable to write back to serial console (reading works fine)

maybe port is used by another application?
try

Code: Select all

lsof /dev/ttyAMA0 /dev/serial0
by edo1
Fri Dec 27, 2019 8:20 pm
Forum: Advanced users
Topic: Any reason to do not use Thumb-2
Replies: 1
Views: 218

Any reason to do not use Thumb-2

My target is RPi2 and later.
Is there any reason (other than support of first generation RPi) to do not use Thumb-2 instruction set?

AFAIK Thumb-2 produces more compact code with near to zero performance loss.
by edo1
Thu Dec 26, 2019 8:39 pm
Forum: Русский
Topic: видео в полноэкранном режиме на 2х мониторах
Replies: 1
Views: 338

Re: видео в полноэкранном режиме на 2х мониторах

2 выхода hdmi есть, так что принципиальных препятствий я не вижу.
by edo1
Tue Dec 24, 2019 6:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Inconsistent gpiochipX name
Replies: 2
Views: 267

Inconsistent gpiochipX name

I use HC595 chip as SPI GPIO expander for a while. I have spidev interface used to manage this chip. Now I'm trying to use kernel GPIO ifrastructure. It works ok, but gpiochip device name differs across RPi models: gpiochip3 on RPi3 and gpiochip3 on RPi3+ # echo `cat /sys/firmware/devicetree/base/mo...
by edo1
Mon Dec 23, 2019 8:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Writing to SST25VF080B
Replies: 4
Views: 278

Re: Writing to SST25VF080B

Could you make a check with another chip?

P.S. write test can be done by simple "echo test > /dev/mtd0; hd /dev/mtd0"
by edo1
Mon Dec 23, 2019 12:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI clock frequency
Replies: 4
Views: 323

Re: SPI clock frequency

You can recompile jedec-spi-nor-overlay.dts
You can compile anyspi-overlay.dts from my patch
You can write your own overlay

Easiest way is get precompiled anyspi.dtbo
by edo1
Mon Dec 23, 2019 12:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Writing to SST25VF080B
Replies: 4
Views: 278

Re: Writing to SST25VF080B

How is "Write Protect Pin (WP#)" connected?
by edo1
Sat Dec 21, 2019 11:58 am
Forum: Troubleshooting
Topic: driver for a device that does not have a driver loaded automatically
Replies: 2
Views: 127

Re: driver for a device that does not have a driver loaded automatically

I just want ANY driver.
It is impossible. Driver can work with supported hardware only.

It is possible to go without kernel driver at all (with libusb), but low-level programming skills are necessary.
by edo1
Sat Dec 21, 2019 2:36 am
Forum: Русский
Topic: Rasberry Pi 4 GPU Память
Replies: 6
Views: 2245

Re: Rasberry Pi 4 GPU Память

XJ7aM wrote:
Wed Sep 25, 2019 6:36 pm
Пытаюсь поставить размер GPU память 1024 мб на Расбиан ос,
но зачем?
by edo1
Sat Dec 21, 2019 2:15 am
Forum: Русский
Topic: Disabling IRQ
Replies: 6
Views: 614

Re: Disabling IRQ

BerZerK wrote:
Tue Dec 10, 2019 9:39 am
Нашел один из вариантов решения проблемы прописать в grub.cfg "noirqdebug", но у меня Raspbian и там нет grub. Как осуществить это действие в Raspbian?
опции ядра лежат в /boot/cmdline.txt
by edo1
Sat Dec 21, 2019 2:12 am
Forum: Русский
Topic: Disabling IRQ
Replies: 6
Views: 614

Re: Disabling IRQ

BerZerK wrote:
Wed Dec 11, 2019 5:40 am
Добавил эти строки и ttyS0 перестал работать, пишет ошибка чтения/записи.
вместо ttyS0 используйте ttyAMA0
by edo1
Sat Dec 21, 2019 2:09 am
Forum: Русский
Topic: Питание через GPIO
Replies: 1
Views: 388

Re: Питание через GPIO

Имеется в виду "еслиу вы подключаете RPi к своей плате через 40-контактный разъём, то вы можете запитать малинку через этот разъём"
by edo1
Fri Dec 20, 2019 11:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI clock frequency
Replies: 4
Views: 323

Re: SPI clock frequency

SPI clock frequency is hardcoded in jedec-spi-nor overlay:
https://github.com/raspberrypi/linux/bl ... verlay.dts

I proposed new overlay with tunable frequency, but it isn't approved yet:
https://github.com/raspberrypi/linux/pull/3374
by edo1
Thu Mar 16, 2017 7:38 pm
Forum: General discussion
Topic: Cheapest power solution
Replies: 30
Views: 5294

Re: Cheapest power solution

You could try the charger from aliexpress, but not sure about the quality.

Beware: a broken power supply can damage Pi!
by edo1
Thu Mar 16, 2017 7:31 pm
Forum: General discussion
Topic: One large 5 volt supply?
Replies: 26
Views: 4052

Re: One large 5 volt supply?

It isn't a good idea to deliver 5V via long cables.
by edo1
Mon Mar 13, 2017 6:37 pm
Forum: Advanced users
Topic: Does anyone use the UART pins and the SPI bus at the same ti
Replies: 2
Views: 721

Re: Does anyone use the UART pins and the SPI bus at the sam

I use both SPI and UART without any issue (and I2C as well)
by edo1
Mon Mar 13, 2017 6:33 pm
Forum: Русский
Topic: Одно реле или один датчик и две малины
Replies: 1
Views: 1000

Re: Одно реле или один датчик и две малины

А вот что делать например с реле? Можно ли управлять с двух малин им??? даже если и можно, то не нужно Я понимаю что с датчиком например можно подключить к одной малине, дальше класть данные в базу и отображать от туда на второй. вот и с реле аналогично - на одной малинке управляющая программка, к ...
by edo1
Mon Mar 13, 2017 6:19 pm
Forum: Русский
Topic: При падение напряжения запускать генератор.
Replies: 1
Views: 1037

Re: При падение напряжения запускать генератор.

программы пишутся по-английски, должно быть что-то вроде такого:

Code: Select all

while (infinity_isnt_over) {
    if (voltage_is_falling) {
        start_generator();
    }
}
by edo1
Mon Feb 27, 2017 8:19 am
Forum: Networking and servers
Topic: OpenWRT on Pi3 or Alternative?
Replies: 4
Views: 4012

Re: OpenWRT on Pi3 or Alternative?

You could use LEDE release:
https://downloads.lede-project.org/rele ... 8/bcm2710/
(LEDE is OpenWRT fork and it looks promising)

Or you could use Raspbian or any other linux distributive for pi3.

P.S. not sure about Alfa Network card support in OpenWRT/LEDE

Go to advanced search