laziegoblin
Posts: 2
Joined: Sun Dec 03, 2017 12:41 pm

Mouse and keyboard, no power issue

Sun Dec 03, 2017 12:49 pm

Hey

First Raspberry pi ever. Version 3.
Have the noob SD. Installed Raspbian on it. Mouse and keyboard work fine on install screen.

When on the desktop version of Raspbian, the mouse lights up, but doesn't work.

I've read things online about checking the USB ports, but they talk about command lines and I don't even know where I'm supposed to put those lines. Do you press some button before the OS starts to get to some other part of the RPI where you put in the commands to check on the USB ports?
If anyone can point me into a direction, that would be great.

Lazie

PS: The power supply is high enough, the mouse and keyboard both use 100mA so nothing that should be an issue in that regard. Tried plugging them into different USB ports. HDMI and Ethernet connection work fine.

wh7qq
Posts: 1450
Joined: Thu Oct 09, 2014 2:50 am

Re: Mouse and keyboard, no power issue

Sun Dec 03, 2017 7:16 pm

If your keyboard still works,

Code: Select all

Ctrl-F2
will give you a black screen with a prompt where you can use the keyboard to enter various diagnostic commands like

Code: Select all

lsusb
and

Code: Select all

dmesg
. The output is not likely to be understandable to you but you can come back to this thread to ask for more help with the output.

I have heard...never used...that noobs has a "rescue mode" or something of the sort. If you can get to that, it will give you a command line prompt, something like
pi@raspberrypi$
You can enter commands from there.

If you can't access that, and perhaps in any case, you would do better to do a fresh download of Raspbian-latest from the Raspberrypi.org web site. Be sure that the sha256sum of the downloaded zip file matches the published sha256 sum. Use Etcher (free download) to unzip and burn the downloaded .zip file to your uSD card. IMHO, noobs just complicates an otherwise simple picture.

You claim that the power supply is "high enough" but what is actually printed on the supply and where did you get it? The RPi3 is pretty thirsty and may take more power than the little phone chargers will provide, or their tiny cords drop too much voltage before it gets to the RPi. Also, the uSD card...is it really what it claims to be? h2testw (windows & mac) or f3write/read in linux can verify the card and both are free downloads. They take some time to run so be patient. For future reference, buy only top end uSD cards from reliable sources, 16G or larger and Class 10. I like SanDisk Ultra from Amazon but others like Samsung are good too. Do not go for bargains here...your time is worth more than the savings. Counterfeits abound.

User avatar
HawaiianPi
Posts: 5886
Joined: Mon Apr 08, 2013 4:53 am
Location: Aloha, Oregon USA

Re: Mouse and keyboard, no power issue

Mon Dec 04, 2017 3:58 am

laziegoblin wrote:
Sun Dec 03, 2017 12:49 pm
PS: The power supply is high enough, the mouse and keyboard both use 100mA so nothing that should be an issue in that regard. Tried plugging them into different USB ports. HDMI and Ethernet connection work fine.
How do you know "The power supply is high enough," have you load tested it?

If Ethernet is working, then the USB ports should be working as well (they are all connected to the same internal hub).

This really sounds like a power problem to me. Exactly what are you using for a power supply, and how is it connected to the Pi3. Note that many phone chargers have poor voltage regulation, because battery charging does not require a precise 5V power delivery (your phone will charge at 4.5V, but that won't run a Raspberry Pi3). Another common source of power loss is through the micro-USB cable delivering the power. Many standard micro-USB cables have thin wires with too much resistance to deliver the kind of power a Pi3 might demand (they are only required to deliver 500mA, per the USB 2.0 spec, but the Pi3 can demand more than 4 times that when fully loaded).

wh7qq wrote:
Sun Dec 03, 2017 7:16 pm
I like SanDisk Ultra from Amazon but others like Samsung are good too. Do not go for bargains here...your time is worth more than the savings. Counterfeits abound.
Ironically, Sandisk and Samsung are probably the most commonly counterfeited cards. I use mostly Samsung EVO+ (EVO Plus) series cards now, because I have found them to be faster on the Pi than pretty much any other card (including cards with higher prices and speed ratings).

Try a Raspbian image instead of NOOBS.
  1. Grab the latest Raspbian image from https://www.raspberrypi.org/downloads/raspbian/
  2. Grab the Etcher software from https://etcher.io/
  3. Install Etcher and use it to write the Raspbian image to your SD card. You don't need to extract the image or format the card prior to writing. Just choose the Raspbian .zip, pick your SD card and write (if you have trouble, verify the SHA256 checksum of the download).
  4. Remove and reinsert the SD card so that your Windows or Mac PC can see the small FAT32 partition on the SD card.
  5. On that small partition, create a file with the name ssh (or ssh.txt). It can be empty, the contents don't matter.
  6. If you are connecting the Pi to your router with an Ethernet cable, then you can eject the card and use it to boot your Pi now.
  7. To connect to a wireless network, create another file on the card called wpa_supplicant.conf, which has the following inside:

    Code: Select all

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=US
    
    network={
    	ssid="Your network name/SSID"
    	psk="Your WPA/WPA2 security key"
    	key_mgmt=WPA-PSK
    }
    Edit country=, ssid= and psk= with your information and save the file.
  8. Safely eject the card from your PC and use it to boot the Pi.
If Raspbian finds an ssh file it will enable SSH and delete the file. If it finds a wpa_supplicant.conf file, it will move it to its correct location and connect to your wireless network. If you have installed iTunes or Bonjour you should be able to connect using raspberrypi.local instead of the Pi's IP address. However, if you have more than one Raspberry Pi on your network, and you have not changed the default hostnames, then you'll probably need to use the IP address.

To get your Pi's IP address, login to your router and look for raspberrypi in the list of connected clients. Or you could use a network scanner app, like Fing for your phone, which will scan your network and list all connected devices. If you have an ASUS router they have their own phone app.

Fing app: https://play.google.com/store/apps/deta ... fing&hl=en
ASUS Router app: https://play.google.com/store/apps/deta ... home&hl=en
Both of these should also be available for iPhone.

To login using SSH from Windows, you'll need the PuTTY app, which looks like this.
Image

In the Host Name (or IP address) field, enter either,

Code: Select all

pi@raspberrypi.local
or
pi@{your Pi's IP address}
make sure SSH is selected (it should be by default) and click on Open.

If you have done everything correctly, a terminal window will open and you should see a password request. Although, if it's the first time you've connected to your Pi, you may have to answer "yes" to a security question, and then you'll get the password prompt. You'll also get a warning about having SSH enabled with the default password, so type passwd[Enter] and enter a new password (twice).

If you can connect to your Pi with SSH, then it booted correctly and is working.

Enter the command:

Code: Select all

sudo apt-get update
And if there were no errors, enter:

Code: Select all

sudo apt-get dist-upgrade -y
which will install any updates to Raspbian. Reboot when that finishes and hopefully whatever problems you were having will be fixed.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?

Return to “Beginners”