Go to advanced search

by dgordon42
Thu Sep 25, 2014 5:47 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2242

Re: r-pi samba directory won't allow write, permission a-ok

Looking at your fstab and smb.conf files from a previous post, I noticed the lines:

fstab:

Code: Select all

/dev/sda1     /home/mallory/shared     ext4    defaults,noatime  0     2
smb.conf:

Code: Select all

path = /home/mark/shared
Should the paths be the same, or is this OK?

Dave.
by dgordon42
Sat Sep 20, 2014 3:53 pm
Forum: General discussion
Topic: Idle, Idle 3 and Python games please
Replies: 13
Views: 3109

Re: Idle, Idle 3 and Python games please

Hi, I'm not a Pi guru either, but: idle runs in the GUI, it will not start without a GUI running, so it will not start when entering "idle" in a consloe. When I tried "idle" in the console, I get eror messages like the ones you posted. Run startx, and open an LXTerminal. Try entering "idle" in the L...
by dgordon42
Tue Aug 26, 2014 1:41 pm
Forum: Beginners
Topic: Keyboard mapping. SSH, VNC
Replies: 3
Views: 1333

Re: Keyboard mapping. SSH, VNC

Are you using PuTTY to SSH into your Pi?
After much googling, I managed to solve a similar problem with PuTTY by changing
the Connection -> Data -> Terminal-type string setting from the default setting of
"xterm" to "putty".

Hope this helps,

Dave.
by dgordon42
Sun Jul 06, 2014 7:06 pm
Forum: Python
Topic: i2c and smbus
Replies: 2
Views: 1778

Re: i2c and smbus

Are you using Python3?

Code: Select all

apt-get install python smbus
installs smbus to Python2, not sure how to install it for python3.

Hope this helps,

Dave.
by dgordon42
Mon May 26, 2014 10:00 am
Forum: Beginners
Topic: vcgencmd otp_dump and wiki not consistent?
Replies: 1
Views: 1105

Re: vcgencmd otp_dump and wiki not consistent?

Hi, If you look at the second last line of /proc/cpuinfo, it will show the RaspberryPi hardware revision, and it should be 000e, same as item 30 in vcgencmd otp_dump. The "CPU Revision : 7" line in /proc/cpuinfo, refers to the ARM revision number. Don't know anything about the warranty bits. Hope th...
by dgordon42
Mon Mar 10, 2014 7:13 pm
Forum: General discussion
Topic: cctv interfacing to raspberri pi.
Replies: 27
Views: 6620

Re: cctv interfacing to raspberri pi.

A different approach might be to use an IP camera.
Add the camera to the Raspberry Pi's network, and view the image in a web browser.
Not sure if the Pi is powerful enough to do this though.

Dave.
by dgordon42
Sun Feb 09, 2014 9:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Unable to see my I2C device on address 0x00
Replies: 8
Views: 5674

Re: Unable to see my I2C device on address 0x00

The Pi comes with two I2C buses. they are at addresses 0x00 and 0x01. Any device you add on must be at a higher address, hence the original error message you posted which says: "Error: Chip address out of range (0x03-0x77)!" As far as I know (and I may be wrong, I'm new at this) any device you want ...
by dgordon42
Sun Feb 09, 2014 8:27 pm
Forum: Python
Topic: Using raw_input data
Replies: 6
Views: 1063

Re: Using raw_input data

When you define a variable inside a function, you defined the variable playerName inside the function playerName, you can normally only use that variable in the function. To use the variable outside the function, you need to use a global variable. Try defining playerName in your main program first p...
by dgordon42
Sun Feb 09, 2014 8:12 pm
Forum: Python
Topic: pygame installation problem
Replies: 20
Views: 26725

Re: pygame installation problem

Just to say thanks for this again.

If anyone is thinking of doing this, the whole process takes the best part of an hour.

Dave.
by dgordon42
Sun Jan 26, 2014 9:33 pm
Forum: Beginners
Topic: Keyboard problem
Replies: 6
Views: 832

Re: Keyboard problem

I've had a similar problem with a Maplin supplied kit keyboard.
I've found that, to get it to work reliably, I have to power up the USB powered hub before powering up the Pi.
Since I've discovered this, I've had no more problems.

Hope This helps,

Dave.
by dgordon42
Mon Jan 13, 2014 5:03 pm
Forum: Beginners
Topic: where is start.elf??
Replies: 1
Views: 442

Re: where is start.elf??

Hi,

Windows cannot read Linux file systems.
Various applications are available to allow Windows to read Linux file systems.
Try Google "Windows read linux files", it will find many.

I loaded Samba on my Pi, and I can now see the Pi on my Windows network, and can access all it's files.

Dave.
by dgordon42
Thu Dec 12, 2013 4:30 pm
Forum: Raspbian
Topic: No space available on device
Replies: 7
Views: 2403

Re: No space available on device

Perhaps you could modify your data logging program so that it appends all the data points for one day to a text file. You could then create a new text file once per day, thus saving inodes. You appear to have over 2G of space still on your SD card, which could hold a lot of data in text files. Good ...
by dgordon42
Thu Dec 12, 2013 12:22 am
Forum: Raspbian
Topic: No space available on device
Replies: 7
Views: 2403

Re: No space available on device

Hi,

Your problem seems to be that you have run out of Inodes, and not out of disk space.
Have a look here:-
http://www.ivankuznetsov.com/2010/02/no ... nodes.html

Dave.
by dgordon42
Wed Oct 16, 2013 3:55 pm
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3563
Views: 127872

Re: Introduce yourself!

Hello everybody, the name's Dave. Got my Raspberry Pi a few months ago, but only now am I getting time to play with it. I must say i'm impressed, with both the Pi, and the Foundation and people behind it. The MagPi is probably the best computer magazine I have come across. I started on a BBC Micro b...

Go to advanced search