Go to advanced search

by rudiratlos
Thu Jul 04, 2019 9:39 am
Forum: C/C++
Topic: Rapberry pi 4 IO memory base address
Replies: 18
Views: 1422

Re: Rapberry pi 4 IO memory base address

cat /proc/iomem | grep gpio@ produces the following output on different plattforms: rpi4: fe200000-fe2000b3 : gpio@7e200000 rpi2-3x: 3f200000-3f2000b3 : gpio@7e200000 zerow: 20200000-202000b3 : gpio@7e200000 e.g. just subtract the GPIO-BaseAddr 0x00200000 from fe200000 or 3f200000 or 20200000 and yo...
by rudiratlos
Mon May 20, 2019 12:37 pm
Forum: HATs and other add-ons
Topic: Deleted
Replies: 13
Views: 2904

Re: Deleted

with new version of raspian, the boot process get stuck.
removing fbcon=map:10 from /boot/cmdline.txt every thing went fine.
by rudiratlos
Mon May 13, 2019 1:38 pm
Forum: Networking and servers
Topic: Access point on 3B+ without a WiFi adaptor?
Replies: 3
Views: 264

Re: Access point on 3B+ without a WiFi adaptor?

I think that's not working. The link will describe AP mode on wlan0 device and on eth0 (ethernet port) internet access.
both adapters are bridged.
What's asked is AP function and internet connection on same wlan adaptor.
by rudiratlos
Mon May 13, 2019 12:53 pm
Forum: Networking and servers
Topic: Pi 3 as wiireless client and wireless AP?
Replies: 193
Views: 127314

Re: Pi 3 as wiireless client and wireless AP?

mybe you will find that script useful: https://github.com/rudiratlos/hotspot/blob/master/hotspot but with recent raspian OS, I couldn't get ap&client function to work on same wlan device. I'm using internal wlan apapter for ap and eth0 or an additional optional wlan adapter for internet connection.
by rudiratlos
Tue Mar 19, 2019 9:43 pm
Forum: Graphics programming
Topic: 128x160 tft display
Replies: 4
Views: 827

Re: 128x160 tft display

I'm using the same display with fbtft. It's a framebuffer /dev/fb1 where you can pass an orientation (like 270 degrees).
No need for direct access the hardware registers for the display itself.
by rudiratlos
Tue Mar 19, 2019 4:03 pm
Forum: Networking and servers
Topic: Need help to make an hostapd AP on an RPI2 Raspbian Stretch
Replies: 30
Views: 3562

Re: Need help to make an hostapd AP on an RPI2 Raspbian Stretch

you can use this script, it uses 2 wlan adapter. wlan0 as hotspot adpter. eth0 or wlan1 for internet connection.

https://github.com/rudiratlos/hotspot
by rudiratlos
Thu Feb 14, 2019 4:55 pm
Forum: Networking and servers
Topic: Raspberry pi 3 B+ as Access Point and Wifi client
Replies: 15
Views: 12286

Re: Raspberry pi 3 B+ as Access Point and Wifi client

Will this support simultaneous use of hotspot and wifi client? Some posts say you must choose a hotspot frequency that's the same as what the client uses. But, I think I read your script uses one based on the least congesting frequency band? Does that impact the reliability of the client connection...
by rudiratlos
Thu Feb 14, 2019 1:49 pm
Forum: Networking and servers
Topic: hostapd not running properly at boot
Replies: 1
Views: 234

Re: hostapd not running properly at boot

pls. look at:
https://github.com/rudiratlos/hotspot
you will find a full blown script
by rudiratlos
Thu Feb 14, 2019 1:47 pm
Forum: Networking and servers
Topic: Raspberry Pi as WiFi Access point
Replies: 1
Views: 162

Re: Raspberry Pi as WiFi Access point

pls. look here:
https://github.com/rudiratlos/hotspot
you will find a full blown script.
by rudiratlos
Thu Feb 14, 2019 1:45 pm
Forum: Networking and servers
Topic: Raspberry pi 3 B+ as Access Point and Wifi client
Replies: 15
Views: 12286

Re: Raspberry pi 3 B+ as Access Point and Wifi client

pls. look at:
https://github.com/rudiratlos/hotspot
you will find here a full blown hotspot script.
by rudiratlos
Thu Jan 31, 2019 5:56 pm
Forum: Other projects
Topic: Powermanagement for RPI controlled by ATtiny and a relais
Replies: 2
Views: 392

Re: Powermanagement for RPI controlled by ATtiny and a relais

Hi, just uploaded to github my new project: https://github.com/rudiratlos/RPI_PowerMgmt An ATtiny chip will control a button, a relais and a BiColor LED for showing the status. The RPI is 5V backpowered, the ATtiny will switch on/off the relais. Shutdown RPI, by button press: The Button is connecte...
by rudiratlos
Wed Jan 30, 2019 3:54 pm
Forum: Other projects
Topic: Powermanagement for RPI controlled by ATtiny and a relais
Replies: 2
Views: 392

Powermanagement for RPI controlled by ATtiny and a relais

Hi, just uploaded to github my new project: https://github.com/rudiratlos/RPI_PowerMgmt An ATtiny chip will control a button, a relais and a BiColor LED for showing the status. The RPI is 5V backpowered, the ATtiny will switch on/off the relais. Shutdown RPI, by button press: The Button is connected...
by rudiratlos
Mon Jan 07, 2019 2:38 pm
Forum: Raspbian
Topic: unload overlay does not work
Replies: 0
Views: 168

unload overlay does not work

Hello, I have gpio-shutdown loaded through an entry in /boot/config.txt: dtoverlay=gpio-shutdown,gpio_pin=24,gpio_pull=up OS-release: Linux pump 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux it works great, pushing a button on GPIO#24 with closing a button to GND. But I can't se...
by rudiratlos
Tue Nov 20, 2018 12:21 pm
Forum: Networking and servers
Topic: B+ as 5GHz wifi access point
Replies: 8
Views: 6764

Re: B+ as 5GHz and 2.4GHz wifi access point

Does anyone has a solution for my hotspot script https://github.com/rudiratlos/hotspot ? I tried to extend it with the functionality that the hotspot (device ap0) is activ in parallel on the same adpater (wlan0) to a wlan connection (wpa_supplicant). I want to implement it for 2.4GHz and 5GHz (hwmod...
by rudiratlos
Sat Oct 27, 2018 12:26 pm
Forum: Networking and servers
Topic: B+ as 5GHz wifi access point
Replies: 8
Views: 6764

Re: B+ as 5GHz wifi access point

Hi, just created a shell script that will create all required config files: https://github.com/rudiratlos/hotspot maybe it's helpful for some people. It works on rpi 3B and 3B+ My intention is: - provide hostapd setup and management functions in one single script - looking for feedback on github iss...
by rudiratlos
Sat Oct 27, 2018 12:01 pm
Forum: Networking and servers
Topic: Pi 3 B+ and Hostapd.conf
Replies: 4
Views: 6535

Re: Pi 3 B+ and Hostapd.conf

Hi, just created a shell script that will create all required config files: https://github.com/rudiratlos/hotspot maybe it's helpful for some people. It works on rpi 3B and 3B+ My intention is: - provide hostapd setup and management functions in one single script - looking for feedback on github iss...
by rudiratlos
Sat Oct 27, 2018 11:58 am
Forum: Troubleshooting
Topic: Raspberry Pi 3 B+ hostapd issues
Replies: 9
Views: 8193

Re: Raspberry Pi 3 B+ hostapd issues

Hi, just created a shell script that will create all required config files: https://github.com/rudiratlos/hotspot maybe it's helpful for some people. It works on rpi 3B and 3B+ My intention is: - provide hostapd setup and management functions in one single script - looking for feedback on github iss...
by rudiratlos
Tue Apr 10, 2018 8:14 am
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 3037

Re: api to firmware

whould be really nice, if someone could supply a working c code.
I've spent days to get it working, with no luck. I'm the maintainer of rpi_hal (free pascal library) and want to include mailbox api to the library.
Looks like that I have problems in my memory mapping from ARM <-> core.
by rudiratlos
Mon Apr 09, 2018 2:46 pm
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 3037

Re: api to firmware

currently I'm already using vcgencmd and/or cat /sys/devices/virtual/thermal/thermal_zone0/temp
but these commands will access the OS level and this takes to long. I want to have direct mailbox access.
by rudiratlos
Sat Apr 07, 2018 4:59 pm
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 3037

Re: api to firmware

is there a good guy that can provide a working complete source code?

Go to advanced search