Go to advanced search

by Zhendos
Mon Apr 24, 2017 6:29 pm
Forum: Troubleshooting
Topic: apt-get woes
Replies: 4
Views: 561

Re: apt-get woes

Try

Code: Select all

sudo apt-get autoremove
What does it say?
by Zhendos
Mon Apr 24, 2017 11:28 am
Forum: Troubleshooting
Topic: Bluetooth Keyboard sticks
Replies: 6
Views: 721

Re: Bluetooth Keyboard sticks

Turn your Wi-Fi from off to on and open terminal
Typ the command

Code: Select all

dmesg | tail -l
What does it print?
by Zhendos
Sun Apr 23, 2017 5:17 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

The micro SD card has a size of 32 GB. https://s1.postimg.org/sdpew0rbz/IMG_20170423_170156.jpg ^ This is the adapter I am using. I am just wondering, is there any chance I can access the root map or where my files are stored? I note in that picture that the write protect switch is turned on. This ...
by Zhendos
Sun Apr 23, 2017 3:07 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

The micro SD card has a size of 32 GB.
Image
^ This is the adapter I am using.

I am just wondering, is there any chance I can access the root map or where my files are stored?
by Zhendos
Sun Apr 23, 2017 2:31 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

You are running against the wrong partition. Keep trying and there's a very strong possibility you will DESTROY your filesystem. start with sudo fdisk -l to see the partitions. Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 2048 131071 129024 63M c W95 FAT32 (LBA) /dev/mmcblk0p2 131072 9...
by Zhendos
Sun Apr 23, 2017 2:20 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

You are running against the wrong partition. Keep trying and there's a very strong possibility you will DESTROY your filesystem. start with sudo fdisk -l to see the partitions. Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 2048 131071 129024 63M c W95 FAT32 (LBA) /dev/mmcblk0p2 131072 9...
by Zhendos
Sun Apr 23, 2017 2:15 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

sudo e2fsck -n -b 8193 /dev/mmcblk0p2 e2fsck 1.42.13 (17-May-2015) e2fsck: Bad magic number in super-block while trying to open /dev/mmcblk0p2 The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 fil...
by Zhendos
Sun Apr 23, 2017 1:36 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

You will have to unmount the card, run e2fsck as root and use the physical device id (/dev/sd<something> or /dev/mmc<something>, depending on how the SD card is connected) It says it is read-only, but when I add the -n argument it says bad magic number in superblock. sudo e2fsck -b 8193 /dev/mmcblk...
by Zhendos
Sun Apr 23, 2017 12:49 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

I tried it already before posting this topic. Would have been nice if you had mentioned that. I wouldn't have bothered posting the response... If you're sure you are looking in the correct location then there's a good chance you lost the data. You could try to run e2fsck on the ext4 partition of yo...
by Zhendos
Sun Apr 23, 2017 12:38 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

I found out that in my

Code: Select all

/media/pi
there are the next directories
Image

Is there any chance in the locked maps that there is my content?
I cannot access it so I can not check it :?
by Zhendos
Sun Apr 23, 2017 12:20 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

Re: /home/pi?

Go into 'home' (you can see it in the second pic) and then into 'pi'. You should then see 'Documents' as one of the folders. I tried it already before posting this topic. If I press 'home' it will go to a directory containing 'oem'. Inside 'oem' there is nothing. https://s3.postimg.org/5uucau7lf/PR...
by Zhendos
Sun Apr 23, 2017 12:09 pm
Forum: Troubleshooting
Topic: /home/pi?
Replies: 25
Views: 1862

/home/pi?

Dear Raspberry Pi community, It has been a bad day for me. My Raspbian OS says on boot [ 11.482318] mmc0: timeout waiting for hardware interrupt. However, if I plug my SD card into my Linux laptop I can see my my data. Well sorta... https://s7.postimg.org/p67c3o017/Prove2.png https://s10.postimg.org...
by Zhendos
Thu Nov 10, 2016 7:52 pm
Forum: Troubleshooting
Topic: PHP gpio SYSFS method
Replies: 0
Views: 321

PHP gpio SYSFS method

Dear community, I am trying to turn my LED on over the internet in an PHP file. I've tried everything by hand with following commands sudo echo 17 > /sys/class/gpio/export sudo echo out > /sys/class/gpio/gpio17/direction sudo echo 1 > /sys/class/gpio/gpio17/value Everyhing works if I do by hand. So ...
by Zhendos
Tue Sep 20, 2016 7:15 am
Forum: Troubleshooting
Topic: Infrared sensor - HELP
Replies: 1
Views: 474

Infrared sensor - HELP

Dear Raspberry PI community, I am trying to set up an infrared sensor with GPIO but I can't get it working :| Here are 2 different pictures of the circuit I am using. http://i67.tinypic.com/34dr3ps.jpg http://i68.tinypic.com/sdn4me.jpg I have lirc installed and in /etc/modules I said which pin is in...
by Zhendos
Wed Apr 13, 2016 6:53 pm
Forum: Beginners
Topic: I2C addresses
Replies: 5
Views: 771

Re: I2C addresses

Ultrabord => UltraBorg? You can control the servo and read the distance sensor through the I2C address of the UltraBorg. How? Check out the Python software, that is probably the easiest way to find out how it's done. Even easier: don't bother about C or C++ and use the Python software. The computer...
by Zhendos
Wed Apr 13, 2016 5:52 pm
Forum: Beginners
Topic: I2C addresses
Replies: 5
Views: 771

Re: I2C addresses

Only devices directly connected to the I2C bus will have I2C addresses. But how would I be able to read data out from devices connected to this motorcontroller? I am currently writing an API with the linux i2c-dev header file and one way or another, I need an address. Might need the 7-bit address i...
by Zhendos
Wed Apr 13, 2016 5:44 pm
Forum: Beginners
Topic: I2C addresses
Replies: 5
Views: 771

I2C addresses

Dear RPi forum, Currently if I run the command i2cdetect -y 1 It only shows the Ultrabord motorcontroller I have plugged in and its address. http://i66.tinypic.com/34hf4u8.jpg But I connected a distance sensor and a servo motor. But I wonder their addersses of it so I can read out data. How would I ...
by Zhendos
Wed Apr 13, 2016 2:24 pm
Forum: C/C++
Topic: I2C - What is what...?
Replies: 4
Views: 1255

I2C - What is what...?

Dear RPi forum, I am busy to write my own API for I2C communication. This is the next code I have at the moment. #include <stdlib.h> #include <unistd.h> #include <linux/i2c-dev.h> #include <sys/ioctl.h> #include <fcnt.h> #include <string.h> #include stdio.h> #include <iostream> using namespace std; ...
by Zhendos
Mon Apr 11, 2016 3:00 pm
Forum: Troubleshooting
Topic: I2C-dev header
Replies: 2
Views: 783

I2C-dev header

Dear RPi forum, I am currently playing with the I2C method to read out slaves. Sadly the API itselves contains errors according to the compiler: http://i65.tinypic.com/2qvumfd.png sudo apt-get update && sudo apt-get upgrade does not have anything new for the API, it is outdated? I hope anyone could ...
by Zhendos
Sun Apr 10, 2016 12:46 pm
Forum: Troubleshooting
Topic: I2C - Read out
Replies: 1
Views: 430

I2C - Read out

Dear RPi community; I am new to the scene of I2C/SPI. I bought an Ultraborg motorcontroller which is on a portable powerpack. I ran the command i2cdetect -y 1 http://i67.tinypic.com/16h2mj6.jpg to check if something is detected and so it was. The address is 0x36 I got a distance sensor on the Ultrab...
by Zhendos
Sat Apr 09, 2016 2:16 pm
Forum: Troubleshooting
Topic: [ERROR] I2C and SPI _ Raspi-config
Replies: 7
Views: 1080

Re: [ERROR] I2C and SPI _ Raspi-config

joan wrote:If you use device tree (via raspi-config) then you should not use the gpio load spi/i2c command.

It is really a note rather than an error.
So basicly I am ready to play with I2C now without problems?
by Zhendos
Sat Apr 09, 2016 2:08 pm
Forum: Troubleshooting
Topic: [ERROR] I2C and SPI _ Raspi-config
Replies: 7
Views: 1080

[ERROR] I2C and SPI _ Raspi-config

Dear RBPI forum, I am trying to get the SPI and I2C interface ready so first I've opened raspi-config -> Advanced options -> I2C raspi-config -> Advanced options -> SPI http://i64.tinypic.com/nx2ng7.png To enable everything. Then I checked with Gordons WiringPi if everything worked (after a reboot o...
by Zhendos
Thu Apr 07, 2016 5:33 pm
Forum: Troubleshooting
Topic: Error compiling C++ in Terminal
Replies: 3
Views: 504

Error compiling C++ in Terminal

Dear RBPI forum, Everything I try to compile the main.cpp file of different codes I keep getting the same error. I think it hasn't anything to do with my personal code, I even tried std::[keyword] before everything but nothing helped. Could it be that the standart C++ libraries contains errors? http...
by Zhendos
Sun Mar 06, 2016 10:00 am
Forum: Troubleshooting
Topic: VGA > DVI-I > HDMI
Replies: 5
Views: 878

Re: VGA > DVI-I > HDMI

I think this is what you need: http://www.allekabels.nl/hdmi-omvormer/1792/1215188/hdmi-naar-vga-omvormer.html From HDMI output (Pi) to VGA input (monitor). Think in the direction of the signal: from Pi to monitor. This one looks good too (and a lot cheaper): http://www.ekabels.nl/hdmi-accessoires/...
by Zhendos
Fri Mar 04, 2016 9:40 pm
Forum: Troubleshooting
Topic: VGA > DVI-I > HDMI
Replies: 5
Views: 878

VGA > DVI-I > HDMI

Dear RBPI forum, Today my package I ordered was delivered to my home. It was a DVI-I to HDMI adapter. From my computer screen a VGA cable comes from, that is in an VGA to DVI-I adapter and the DVI-I adapter is in the DVI-I to HDMI adapter, which is in the raspberry PI. But on screen just message 'no...

Go to advanced search