Go to advanced search

by PlanB
Tue Aug 04, 2015 11:52 pm
Forum: Troubleshooting
Topic: STICKY: WiFi Dongle Issues ? Start here !
Replies: 581
Views: 699340

Re: WiFi Issues ? Start here !

Are you there Mr. E? Just wondering if you could help me locate Model B+ drivers for; 148f:5370 Ralink Technology, Corp. RT5370 Wireless adapter. It shows rt2800 drivers with lsmod but won't work. 148f:7601 Ralink technology, Corp. It shows It also shows rt2800 drivers with lsmod but likewise won't ...
by PlanB
Mon Aug 03, 2015 8:59 am
Forum: Python
Topic: tty/shell/session
Replies: 11
Views: 1677

Re: tty/shell/session

If you only want to write to tty1, use write, not wall. Since you are assuming the same user will be logged in anyway, you can actually just open /dev/tty1 as a file and write to it. You could also take ownership ("sudo chown") of an empty console such as /dev/tty9, and then write directly to that....
by PlanB
Mon Aug 03, 2015 3:20 am
Forum: Python
Topic: tty/shell/session
Replies: 11
Views: 1677

Re: tty/shell/session

The python programs are for monitoring a piece of remote equipment Joe & sending it's vitals to a website. When it's all working properly this would would be the only output. In the early development it was easy enough to run individual python programs from a tty with the print going to just that tt...
by PlanB
Mon Aug 03, 2015 1:14 am
Forum: Python
Topic: tty/shell/session
Replies: 11
Views: 1677

Re: tty/shell/session

So for python that is booted automatically on power up; - prints appear in an SSH session & the local HDMI tty1 - walls appear in everything regardless of mesg n Is there a cmd I can use to selectively pipe output to where I want. It would be great to direct python output diagnostics to tty1 only so...
by PlanB
Sat Aug 01, 2015 11:04 am
Forum: Python
Topic: tty/shell/session
Replies: 11
Views: 1677

Re: tty/shell/session

Sorry I didn't explain very well. The python is run automatically by the system at boot up via a hook file. Any prints in the python code go to the user who initiated it, ie the system, & therefore don't appear in tty1. So we put diagnostics in a log_output file instead then dump it with a wall cmd ...
by PlanB
Fri Jul 31, 2015 1:20 pm
Forum: Python
Topic: tty/shell/session
Replies: 11
Views: 1677

tty/shell/session

I've got a python program putting out diagnostic text on the HDMI using log_output cmds . While I'm waiting for something interesting to happen it would be nice to edit some programs in nano. The problem is the python program's output keeps intruding. I tried <ctrl> <alt> <F2> to give me another tty...
by PlanB
Sat Jul 18, 2015 11:47 pm
Forum: Troubleshooting
Topic: STICKY: WiFi Dongle Issues ? Start here !
Replies: 581
Views: 699340

Re: WiFi Issues ? Start here !

Can someone please tell me where to find out what the difference between 'ifup --force wlan0' and 'ifup wlan0' is?
by PlanB
Fri Jul 17, 2015 1:43 am
Forum: Troubleshooting
Topic: STICKY: WiFi Dongle Issues ? Start here !
Replies: 581
Views: 699340

Re: WiFi Issues ? Start here !

When you say compile the driver, you mean run that shell script? When I got the 0bda:0179 dongle working on the Pi2B I found I had to run the script every time I powered up the 2B, the new driver didn't seem to be available in perpetuity? On the subject of power I'm running 5.1v 2A plugpacks with sh...
by PlanB
Thu Jul 16, 2015 8:12 am
Forum: Troubleshooting
Topic: STICKY: WiFi Dongle Issues ? Start here !
Replies: 581
Views: 699340

Re: WiFi Issues ? Start here !

Where do I find or what is PiWiFi? If you run command uname -a this will show the kernel build. It is the number with # at the beginning of it. Thnx, that's a kind offer. uname -a yiedls 3.18.7-v7+ #755 PiWiFi was a typo, I meant Pi WiFi as in WiFi connectivity for the Pi. You obviously know your s...
by PlanB
Tue Jul 14, 2015 1:48 am
Forum: Troubleshooting
Topic: STICKY: WiFi Dongle Issues ? Start here !
Replies: 581
Views: 699340

Re: WiFi Issues ? Start here !

Finally, after all my wandering in the WiFi wilderness, something worthwhile on PiWiFi. So I got a copy of the tar &, sure enough, ./install-8188eu.sh got one of the previously inoperable realtek WiFi dongles (obda:0179) running, Yea! However the other 2 recalcitrants (obda:8179 & obda:818b) generat...
by PlanB
Sun Jul 12, 2015 2:30 am
Forum: Compute Module
Topic: RPiCM HDMI ESD Protection
Replies: 12
Views: 4163

Re: RPiCM HDMI ESD Protection

I've managed to blow up 3 or 4 RPis, models ranging from the B (just 2 USB ports) to the B+ to the quad core. It always seems to happen when I plug or unplug the HDMI without removing the Pi 5v power first. The symptoms are always the same, increased current consumption, hotter main processor, no mo...
by PlanB
Mon Jan 05, 2015 12:26 pm
Forum: Troubleshooting
Topic: HDMI dignostics
Replies: 6
Views: 868

Re: HDMI dignostics

Nothing actually. Just booted it up to do some code development & no HDMI. Then I noticed it was running really hot, actually surprised to find it still alive via SSH.
by PlanB
Mon Jan 05, 2015 11:50 am
Forum: Troubleshooting
Topic: HDMI dignostics
Replies: 6
Views: 868

Re: HDMI dignostics

Yeah HDMI cable & monitor OK 'cause my B+ Pi works fine with them. Micro on the B is running at 86 celsius, tried turning off the HDMI with tvservice -0, no difference. Reminds me of an early model Android phone I had a few years ago, got really hot in my pocket one day & battery life after that was...
by PlanB
Mon Jan 05, 2015 11:45 am
Forum: Troubleshooting
Topic: HDMI dignostics
Replies: 6
Views: 868

Re: HDMI dignostics

Yeah HDMI cable & monitor OK 'cause my B+ Pi works fine with them. Micro on the B is running at 86 celsius, tried turning off the HDMI with tvservice -0, no difference. Reminds me of an early model Android phones I had a few years ago, got really hot in my pocket one day & battery life after that wa...
by PlanB
Sun Jan 04, 2015 2:02 am
Forum: Troubleshooting
Topic: HDMI dignostics
Replies: 6
Views: 868

HDMI dignostics

My B model Pi has lost HDMI output, is drawing 1A from the 5v suplly & the reg is running red hot. However the poor little beast is responding to pings & I can still SSH into it. Are there any diagnostic commands I can use on the cmd prompt to find out what the problem is?
by PlanB
Fri Nov 21, 2014 11:57 pm
Forum: Beginners
Topic: GPIO hysterisis with Python
Replies: 7
Views: 1799

Re: GPIO hysterisis with Python

Good point if max drive & schmitt trigger are selected by default I guess. Still, if I wasn't kept at arms length from the hardware in python, I'd probably have a play with the asychronous rising edge detect register to see just how fast a transition the thing could pick up.
by PlanB
Fri Nov 21, 2014 5:40 am
Forum: Beginners
Topic: GPIO hysterisis with Python
Replies: 7
Views: 1799

Re: GPIO hysterisis with Python

Thnx muchly. Seems like there is a whole machine language layer in there that Python can't get to?
by PlanB
Thu Nov 20, 2014 12:49 am
Forum: Beginners
Topic: GPIO hysterisis with Python
Replies: 7
Views: 1799

GPIO hysterisis with Python

Have worked out how to setup an input & even engage a pullup resistor with Pyhton so it doesn't float on open circuit. However http://www.mosaic-industries.com/embedded-systems/microcontroller-projects/raspberry-pi/gpio-pin-electrical-specifications suggests that it may be possible to configure a sc...
by PlanB
Wed Nov 12, 2014 11:48 am
Forum: Beginners
Topic: life of Pi WiFi
Replies: 3
Views: 814

life of Pi WiFi

OK, rookie mistake. Bought a $4 WiFi dongle of ebay without checking the wiki first. It was one of.....RT5370 USB-ID 148f:7601 Advertised on eBay as RT5370 chipset but has Mediatek 7601T chip instead. [9] DOES NOT WORK out of the box; requires compiling a driver downloadable from mediatek.com Compil...
by PlanB
Thu Oct 30, 2014 11:27 pm
Forum: Beginners
Topic: Inverting a GPIO pin
Replies: 17
Views: 3112

Re: Inverting a GPIO pin

Much obliged Joan. Is there a go to document that has all this detail on what packages have how much overheads?
by PlanB
Thu Oct 30, 2014 2:05 am
Forum: Beginners
Topic: Inverting a GPIO pin
Replies: 17
Views: 3112

Re: Inverting a GPIO pin

I forgot to mention the Pi is busy with some other processing intensive tasks so I really need to be using DMA style PWM, I can't afford to bog it down in a software loop.
by PlanB
Thu Oct 30, 2014 12:59 am
Forum: Beginners
Topic: Inverting a GPIO pin
Replies: 17
Views: 3112

Re: Inverting a GPIO pin

Pretty humble newby stuff. I'm just driving a bicolour 2 wire led on P1 pins 11 & 12. I can do green by holding pin 11 lo & PWMing 12, or red by taking pin 11 hi but I can't do orange (antiphase).
by PlanB
Thu Oct 30, 2014 12:22 am
Forum: Beginners
Topic: Inverting a GPIO pin
Replies: 17
Views: 3112

Re: Inverting a GPIO pin

Wow, impressive! So I have to load up C to do that? Is there a way to do it with the python that comes with noobs?
by PlanB
Wed Oct 29, 2014 11:09 pm
Forum: Beginners
Topic: Inverting a GPIO pin
Replies: 17
Views: 3112

Re: Inverting a GPIO pin

Just need a pair of antiphase square waves Joan (fixed 50% duty cycle) so very interested to hear of your trivials to do this please.
by PlanB
Wed Oct 29, 2014 4:11 am
Forum: Beginners
Topic: Inverting a GPIO pin
Replies: 17
Views: 3112

Re: Inverting a GPIO pin

thnx klricks the rdp is a bit more user friendly than the SSH. Surely I can get antiphase out of the Pi without resorting to external hardware Tao?

Go to advanced search