Go to advanced search

by klricks
Mon Feb 24, 2020 3:36 pm
Forum: Beginners
Topic: Running console command at startup
Replies: 10
Views: 167

Re: Running console command at startup

tpyo kingg wrote:
Mon Feb 24, 2020 3:21 pm
Did you make /etc/rc.local executable?
/etc/rc.local already has execute permissions set by default.
by klricks
Sun Feb 23, 2020 12:34 am
Forum: Troubleshooting
Topic: Pi 3 - Hardware Error when Connecting Two Identical WD Passport USB Drives
Replies: 2
Views: 71

Re: Pi 3 - Hardware Error when Connecting Two Identical WD Passport USB Drives

What is the power or Amps rating of the drive?
The combined total current capacity of the RPi USB ports is 1.2A which usually limits the number of USB drives to 1.
by klricks
Sun Feb 23, 2020 12:12 am
Forum: Beginners
Topic: Logitech MX Keys keyboard and MX 2S mouse with Pi 4B? Any advantages in getting the Desktop Kit?
Replies: 2
Views: 185

Re: Logitech MX Keys keyboard and MX 2S mouse with Pi 4B? Any advantages in getting the Desktop Kit?

I got the Desktop kit mostly because it comes with the micro HDMI cables, power supply and case.
The keyboard with built in USB hub is nice.
My only complaint is the giant full size mouse. I wish the mouse was smaller
by klricks
Sat Feb 22, 2020 12:42 am
Forum: Troubleshooting
Topic: RPI4 wont boot red led blinking
Replies: 10
Views: 190

Re: RPI4 wont boot red led blinking

Ofc i use official PSU one at a time lol i think there is only one USB C port anyway Yeah i think its a faulty board... Thx anyway Yes likely there is a fault on the board. Most power supplies have short circuit or overload protection circuits which will shut down the power output when an overload ...
by klricks
Fri Feb 21, 2020 9:04 pm
Forum: General discussion
Topic: Commands
Replies: 6
Views: 216

Re: Commands

Also you need to type the full path:

Code: Select all

bash /home/pi/welp
or

Code: Select all

./welp
Note that alias will work however by default an alias won't survive a reboot.
by klricks
Fri Feb 21, 2020 4:24 pm
Forum: Troubleshooting
Topic: Dead after 5.5V Input at micro USB
Replies: 40
Views: 1071

Re: Dead after 5.5V Input at micro USB

ive heard that with older pi a models, you could force-feed 3.3v into BOTH the 5v and 3.3v pins of the gpio header, and ignore the usb entirely could similar things be used to bypass a dead PMIC safely? or could the PMIC have failed with the outputs shorted? definitely would want to use a current-l...
by klricks
Fri Feb 21, 2020 4:05 pm
Forum: General discussion
Topic: Directory for auto start does not exist?
Replies: 2
Views: 96

Re: Directory for auto start does not exist?

Good morning! I am just starting to play around, and I'm running into something that I cannot seem to troubleshoot, straight off the bat! I want to configure my auto start, but I keep getting the error message that the director does not exist. This is what I'm keying: sudo nano ~/.config/lxsession/...
by klricks
Fri Feb 21, 2020 12:00 am
Forum: Troubleshooting
Topic: Dead after 5.5V Input at micro USB
Replies: 40
Views: 1071

Re: Dead after 5.5V Input at micro USB

It's unlikely that the reset button fried your Pi- if it were to do so, it would have failed instantly. Not "after a while". It is also unlikely that 5.5V would damage it, either. What else is connected to the Pi 3.3V? You said: " I checked after that my 3.3V and GND were Shorted." This is nonsense...
by klricks
Wed Feb 19, 2020 4:23 pm
Forum: Troubleshooting
Topic: Libre Impress auto loop by default
Replies: 2
Views: 83

Re: Libre Impress auto loop by default

Impress does not appear to have loop default. The transitions and loop setting must be set and then saved as part of the document.* This command will play repeatedly until [Esc] key is pressed. Impress will then immediately exit to the command line. libreoffice --impress --show /home/pi/Documents/yo...
by klricks
Wed Feb 19, 2020 3:22 am
Forum: Beginners
Topic: Confused - how to safely shutdown RaspPi 3b+
Replies: 8
Views: 246

Re: Confused - how to safely shutdown RaspPi 3b+

GuppyHJD wrote:
Wed Feb 19, 2020 3:04 am
klricks
I modified my config.txt file.
I have pin 5 (GPIO 3) available on my board. Can I connect the pushbutton switch between pin 14 (ground) and pin 5 (GPIO 3)?
Thank you
Any ground can be used. Pin 6 would be the most convenient if not used for anything else.
by klricks
Tue Feb 18, 2020 9:38 pm
Forum: Beginners
Topic: Confused - how to safely shutdown RaspPi 3b+
Replies: 8
Views: 246

Re: Confused - how to safely shutdown RaspPi 3b+

PiLabs, Thank you. I will not have a keyboard or screen connected to the Pi, so I am looking for the safe way to shutdown the pi with a button / switch and any needed Python code. I currently have a small switch wired to pin 14 (Grnd) and pin 13 (GPIO 27). When I press the switch and hold a few sec...
by klricks
Tue Feb 18, 2020 8:16 pm
Forum: Beginners
Topic: the energy consumption
Replies: 1
Views: 81

Re: the energy consumption

Hello, I am doing a final internship and I am working on a "Smart irrigation system" project. I wanted to know if there is a script or other program which allows us to know the energy consumption of the system from the Raspberry pi card without adding electronic components and if we can know the se...
by klricks
Tue Feb 18, 2020 6:35 pm
Forum: Troubleshooting
Topic: Can't set the proper time zone for Rpi4
Replies: 12
Views: 235

Re: Can't set the proper time zone for Rpi4

I finally manage to get the pi connected to internet. I rebooted many times, but it seems that the problem was the router. I rebooted the router and then I turnd on and off the connection from the pi and now it seems to work fine. The clock though, doesn't seem to have changed even now that I'm ful...
by klricks
Mon Feb 17, 2020 11:52 pm
Forum: Troubleshooting
Topic: Can't set the proper time zone for Rpi4
Replies: 12
Views: 235

Re: Can't set the proper time zone for Rpi4

I changed the option through the graphical interface but weirdly enough it remains the same after I did it. I also rebooted the pi but didn’t work. Are you sure your Internet connection is good? Are the minutes and seconds correct? An Internet connection to the RPi is required to get the correct GM...
by klricks
Mon Feb 17, 2020 11:42 pm
Forum: Beginners
Topic: Using "The Recommended Software tool"
Replies: 5
Views: 174

Re: Using "The Recommended Software tool"

Hi: I saw your reply and tried your suggestion and it worked perfectly. Thank you for your immediate response. However I do have one small additional question. I originally assumed that the three lines in your response would be typed on the terminal. The 2 apt instructions worked but the terminal d...
by klricks
Mon Feb 17, 2020 11:12 pm
Forum: Troubleshooting
Topic: Can't set the proper time zone for Rpi4
Replies: 12
Views: 235

Re: Can't set the proper time zone for Rpi4

I changed the option through the graphical interface but weirdly enough it remains the same after I did it. I also rebooted the pi but didn’t work. Are you sure your Internet connection is good? Are the minutes and seconds correct? An Internet connection to the RPi is required to get the correct GM...
by klricks
Mon Feb 17, 2020 9:19 pm
Forum: Beginners
Topic: Using "The Recommended Software tool"
Replies: 5
Views: 174

Re: Using "The Recommended Software tool"

Open LXTermianl and do these 2 commands:

Code: Select all

sudo apt update
sudo apt full-upgrade
Then go back and try the Software tool.
by klricks
Mon Feb 17, 2020 3:34 pm
Forum: Python
Topic: Getting python in the menu bar
Replies: 2
Views: 111

Re: Getting python in the menu bar

Hello everyone ! I have one question ......I just installed the latest version of noobs and I saw that python was not there . So , I downloaded it online and installed it , but its not showing in the menu bar . So how do I get it on the menu bar ? Not clear what you are asking? 2 versions of Python...
by klricks
Mon Feb 17, 2020 2:54 pm
Forum: Raspbian
Topic: Raspbian Buster Lite - can't change keyboard to us
Replies: 3
Views: 98

Re: Raspbian Buster Lite - can't change keyboard to us

The keyboard setting only works with the physically attached local keyboard and does not do anything for a remote keyboard via ssh.
I believe you need to set the keyboard on the remote system as well.
by klricks
Sat Feb 15, 2020 6:43 pm
Forum: Python
Topic: Start the GUI app after RPi boot
Replies: 5
Views: 179

Re: Start the GUI app after RPi boot

The default autostart (Buster) is the global one here: /etc/xdg/lxsession/LXDE-pi/autostart If you have created a user autostart somewhere in /home/pi/.config/.... then the global autostart is completely ignored. Note it is very important that the user autostart, if you have one, contains all the co...
by klricks
Sat Feb 15, 2020 3:41 pm
Forum: General discussion
Topic: STRANGE -- make changes - reboot - changes are gone!???
Replies: 10
Views: 302

Re: STRANGE -- make changes - reboot - changes are gone!???

Likely your card has gone into read only mode. The controller on the SD card will do this in order to preserve existing data when impending failure is sensed. This is so you don't loose all your photos in a camera etc. This feature is not reversible. If so then you can use the SD copy tool and copy ...
by klricks
Sat Feb 15, 2020 1:34 am
Forum: Beginners
Topic: Idle3 command not found: Terminal to Pi3
Replies: 3
Views: 109

Re: Idle3 command not found: Terminal to Pi3

Idle3 is no longer installed by default.

Code: Select all

sudo apt install idle3
Then run from the local Desktop keyboard and screen not ssh.

Code: Select all

idle gpio_led.py
Note idle3 is for Python 3 code. You mentioned Python 2. Python 2 will go EOL soon.

idle is a GUI program so it can't be easily run via SSH.
by klricks
Fri Feb 14, 2020 9:01 pm
Forum: Beginners
Topic: Removing Shutdown Option from Menu UI
Replies: 1
Views: 90

Re: Removing Shutdown Option from Menu UI

You can edit this file:

Code: Select all

sudo nano /etc/xdg/lxpanel/LXDE-pi/panels/panel
Find the section with shutdown and comment out all 5 lines like this:

Code: Select all

....
   separator {
    }
#    item {
#      name=Shutdown...
#      image=system-shutdown
#      command=logout
#    }
  }
}
...
by klricks
Thu Feb 13, 2020 6:14 pm
Forum: General discussion
Topic: Wireless LED evacuation Project
Replies: 5
Views: 243

Re: Wireless LED evacuation Project

IMO relying on heat and humidity only is not sufficient. You also need smoke detection.
Most victims of fire are overcome by smoke and/or toxic fumes way before heat is an issue.
by klricks
Thu Feb 13, 2020 3:51 pm
Forum: General discussion
Topic: USB permissions
Replies: 5
Views: 169

Re: USB permissions

Is there a way to make programs that reside on a usb stick to be exactable? sudo chmod +x /media/filename never works. I see there maybe a security issue doing this but my stick is only used in house. How is the USB stick formatted? Linux commands such as chmod will not work on a FAT formatted drive.

Go to advanced search