Go to advanced search

by Grumpy Mike
Mon Aug 27, 2012 3:02 pm
Forum: Beginners
Topic: Not user friendly
Replies: 27
Views: 6314

Re: Not user friendly

If you think that Linux is stealing Control of the System from you than you have to learn what Microsoft is trying to do with things like "TCPA" and "Secure Boot". They want to completely draw your power to control the computer from you to them. What a totally facetious, moronic argument that. It i...
by Grumpy Mike
Mon Aug 27, 2012 11:52 am
Forum: Beginners
Topic: Sudo for the desktop
Replies: 18
Views: 24590

Re: Sudo for the desktop

Burngate wrote:
***** Nanny.
I can't think of a verb with five letters that would fit there. Apart from "quote" which doesn't make sense.
An adjective that works is "silly"
It is like passwords, they don't always have the same number of *s as letters typed :lol:
by Grumpy Mike
Sun Aug 26, 2012 9:05 pm
Forum: Python
Topic: Python under the hood book?
Replies: 3
Views: 1175

Re: Python under the hood book?

Thanks Guys, that is enough bed time reading to last me the next few months. :D Writing an extension in C would not be my first choice to wrap a C library. It is just that I need full access to the ARM peripherals on the Pi. I can do this in C but these are not available in the existing Python modul...
by Grumpy Mike
Sun Aug 26, 2012 8:46 pm
Forum: Beginners
Topic: Not user friendly
Replies: 27
Views: 6314

Re: Not user friendly

Thinking a bit more about it Linux is like a classic Star Trek plot. The one where they are stranded on a paradise planet with all the comforts, technology and knowledge they could wish for, all they have to do to achieve this nirvana is to give up their freedom. Given that a lot of Linux geeks are ...
by Grumpy Mike
Sun Aug 26, 2012 8:33 pm
Forum: Beginners
Topic: Not user friendly
Replies: 27
Views: 6314

Re: Not user friendly

Yes, Linux appears to be designed to annoy. You can't do anything worthwhile without declaiming 'sudo' at regular intervals. The thing is designed for a large organisation, an enterprise with one large facility tended by arch-priests and with mere users consigned to the peripheral. Nobody uses thei...
by Grumpy Mike
Sun Aug 26, 2012 8:23 pm
Forum: Beginners
Topic: Sudo for the desktop
Replies: 18
Views: 24590

Re: Sudo for the desktop

OK thanks I will give that a go in the morning.
by Grumpy Mike
Sun Aug 26, 2012 8:06 pm
Forum: Beginners
Topic: Sudo for the desktop
Replies: 18
Views: 24590

Re: Sudo for the desktop

Thanks.
I know what I want to do and as usual Linux is stopping me.
What a nanny operating system.
by Grumpy Mike
Sun Aug 26, 2012 3:08 pm
Forum: Beginners
Topic: Sudo for the desktop
Replies: 18
Views: 24590

Re: Sudo for the desktop

Do you mean drag and drop in the sense "move"? Yes That is not a task I can easily imagine needing root privileges for. Yes suppose you want to put something in a directory that is owned by root, like putting a customised wallpaper image in a directory or ejecting an SD card as a user that was firs...
by Grumpy Mike
Sun Aug 26, 2012 2:34 pm
Forum: Python
Topic: Python under the hood book?
Replies: 3
Views: 1175

Python under the hood book?

Is there a good book or downloadable PDF telling you about how to manage Python. There are plenty telling you how to actually write code but that is only half the story. I want to be able to understand what build and setup does, how to create wrappers to C code, not just type in these magic words bu...
by Grumpy Mike
Sun Aug 26, 2012 2:13 pm
Forum: Beginners
Topic: Sudo for the desktop
Replies: 18
Views: 24590

Sudo for the desktop

I know I can log on as root but is there a way of doing a drag and drop desktop operation temporarily as root when I log on as Pi?
Having googled this I see there are some flavors of Linux you can do this with. Is there any way of doing this with Raspbain?
by Grumpy Mike
Sat Aug 25, 2012 9:16 pm
Forum: RISCOS
Topic: RISC OS on Raspberry Pi
Replies: 356
Views: 134572

Re: RISC OS on Raspberry Pi

thradtke wrote: Not an option to me, as my keyboard sacrifices 100mW for its LEDs alone
You can always bypass the poly fuses with a wire link connected back to the main board's input poly fuse.
by Grumpy Mike
Sat Aug 25, 2012 9:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry Pi, Chua Circuit and Chaos
Replies: 2
Views: 1181

Re: Raspberry Pi, Chua Circuit and Chaos

Thanks for posting that. Most impressive scope traces, I have bookmarked the page and might try an do something with this one day.

Have you tried listening to the waveforms?
by Grumpy Mike
Sat Aug 25, 2012 8:39 pm
Forum: Python
Topic: Grumpy Mike's instructions for PCF8591
Replies: 50
Views: 28134

Re: Grumpy Mike's instructions for PCF8591

That error message is telling you there is no I2C device at the address you used.
What have you done with the external address pins 5, 6 & 7 on the PCF8591? In order to respond to address 0x48 these pins have to be connected to ground.
by Grumpy Mike
Fri Aug 24, 2012 4:00 pm
Forum: RISCOS
Topic: RISC OS on Raspberry Pi
Replies: 356
Views: 134572

Re: RISC OS on Raspberry Pi

On the Linux platforms this keyboard problem is caused by the USB driver dropping packages. I am assured by several people it is being worked on. So it might be the same driver for RISC OS. The thing was that the keyboard I used didn't show repeat keys on the last two Linux distros. It was my Apple ...
by Grumpy Mike
Fri Aug 24, 2012 3:52 pm
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

No platform remains "stable" in the areas of active development, and that is exactly what you are looking at. "Linux", which you are criticising, is a stable OS. So it is stable and not stable simultaneously, rather like Schrodinger's cat. try getting bugs fixed by Microsoft - So Mussolini was not ...
by Grumpy Mike
Fri Aug 24, 2012 11:34 am
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

@Grumpy Mike: Just do the same search with „Windows” instead of „Linux”. Maybe it is a typical *user* reaction to ignore errors that don't seem to impact the result, because users can't do anything about it anyway. It may be, and my googling was not meant to be exclusive research. But I have seen m...
by Grumpy Mike
Fri Aug 24, 2012 10:22 am
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

BlackJack wrote:@Grumpy Mike: I don't think ignoring errors is or should be a typical Linux user reaction.
I agree it should not be but in my experience it is. I just googled:-
Linux "ignore the error"
and got 567,000 hits!
by Grumpy Mike
Fri Aug 24, 2012 8:27 am
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

For Raspbian (wheezy) I used the instructions on this site. http://www.sirmc.net/view/9001/ There was one error package init file 'WiringPi/__init__.py' not found (or not a regular file) It was not a fatal error, the installation appeared to complete successfully. That said I have no means to actua...
by Grumpy Mike
Thu Aug 23, 2012 1:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how to configure GPIO sink current
Replies: 4
Views: 4746

Re: how to configure GPIO sink current

You can get this distance if you use an logic level signal from 0 to 12V, then at the Pi end you have it going into the base of a transistor through a resistor and then connect the collector to the GPIO pin with the internal pull-ups enabled and the emitter to ground. Also a resistor from base to gr...
by Grumpy Mike
Wed Aug 22, 2012 7:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: how to configure GPIO sink current
Replies: 4
Views: 4746

Re: how to configure GPIO sink current

I've read at several locations that the RPI GPIO sink current is configurable from 2 to 16mA No that is not quite right. It is the drive current and hence the impedance of the output that is configurable. BUT this does not limit the current to a safe value or indeed a value equal to the drive curre...
by Grumpy Mike
Wed Aug 22, 2012 11:26 am
Forum: Python
Topic: Motors and transistors...
Replies: 30
Views: 5830

Re: Motors and transistors...

Anyone happen to know the coefficient of friction of lino? By itself this is useless you also need to know the materials your wheels are made of and then calculate the friction between the two. However that will only give you the force you can apply before the wheel slips, not how much power you ne...
by Grumpy Mike
Wed Aug 22, 2012 11:19 am
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

You might want to ditch your local files and grab the repo again, as I'm not sure what git commands would get it into the right state. That is what I did yesterday. I deleted all the files and went with the instructions on http://blogs.foomatic.org/blink-away-the-tears/ Have you checked this to see...
by Grumpy Mike
Wed Aug 22, 2012 11:10 am
Forum: Python
Topic: What sort of WAV file for pygame?
Replies: 3
Views: 1672

Re: What sort of WAV file for pygame?

Thanks that worked a treat. :)

I was using Audacity and matched all the parameters on the playing files, including no compression, little endian 16 bits without success.
by Grumpy Mike
Tue Aug 21, 2012 5:59 pm
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

Yes I am using Wiring Pi in C but I need to be able to produce stuff in Python.
by Grumpy Mike
Tue Aug 21, 2012 5:41 pm
Forum: Python
Topic: WiringPython - WiringPi for Python
Replies: 205
Views: 72609

Re: WiringPython - WiringPi for Python

dimonic wrote:I assume you have attached something (like an LED) to actually determine if it is working as advertised?
Yes I looked at them with a scope.

Go to advanced search