Go to advanced search

by jamesh
Sun Dec 10, 2017 10:07 pm
Forum: C/C++
Topic: Writing a codec driver
Replies: 15
Views: 781

Re: Writing a codec driver

That kernel dump shows an exception - which is usually a bad thing. You should be able to track it down from the stack dump, and perhaps some more logging.
by jamesh
Sun Dec 10, 2017 9:54 pm
Forum: General discussion
Topic: Still only one rpi zero per purchase?
Replies: 10
Views: 203

Re: Still only one rpi zero per purchase?

Hi I'm a bit confused, but why on earth is it only possible to purchase a single Raspberry Pi Zero? I need a few of these for a project I'm working with, and without it, I'll need to get some chinese rubbish instead, which obviously works, but isn't nearly as god. roy Please see the linked threads,...
by jamesh
Sun Dec 10, 2017 5:12 pm
Forum: Beginners
Topic: Best command to shut Rpi down
Replies: 8
Views: 157

Re: Best command to shut Rpi down

I use sudo halt
by jamesh
Sun Dec 10, 2017 5:10 pm
Forum: Raspbian
Topic: Raspbian life cycle
Replies: 81
Views: 5760

Re: Raspbian life cycle

Debian and hence Raspbian comes to us with love for free. To expect their creators to support old versions for years on end would be ungrateful and greedy. But, you see, that's exactly the problem. People are aware that when you get something for free, it is worth about what you pay for it. Now, do...
by jamesh
Sun Dec 10, 2017 4:59 pm
Forum: Beginners
Topic: Screen Rotation
Replies: 8
Views: 5197

Re: Screen Rotation

Al the detail here. https://www.raspberrypi.org/documentation/configuration/config-txt/video.md This page will be updated soon to add some extra display rotate commands which will enable you to independently rotate the HDMI and the LCD, which makes it easier when switching between the two. display_h...
by jamesh
Sat Dec 09, 2017 7:35 pm
Forum: Beginners
Topic: Pi as just a processign device with data output
Replies: 6
Views: 181

Re: Pi as just a processign device with data output

Cool. In which case, use Raspbian, disable boot to desktop (in raspi-config), google for how to start stuff on startup. Also need to auto login, think that is also in raspi-config but not sure. Write a script that monitors a particular program to see if it is running, and reboot if not. Might alread...
by jamesh
Sat Dec 09, 2017 7:29 pm
Forum: Camera board
Topic: Optical Zoom
Replies: 2
Views: 101

Re: Optical Zoom

Not seen a compact one for the PI, they are actually pretty rare things, even in phones. Those you can get I suspect are quite expensive.
by jamesh
Sat Dec 09, 2017 1:28 pm
Forum: Camera board
Topic: h264 and the lag
Replies: 6
Views: 158

Re: h264 and the lag

Can you post a link to these C files? You don't run the .c files directly, they need to be compiled.
by jamesh
Sat Dec 09, 2017 1:24 pm
Forum: Graphics programming
Topic: run the HDMI and TFT screen simultaneously
Replies: 5
Views: 151

Re: run the HDMI and TFT screen simultaneously

From https://community.nxp.com/thread/462751 Victor Linnik Employee Oct 24, 2017 11:59 PM You can use fbset utility to manage framebuffers. Have a great day, Victor This may also help. http://www.tldp.org/HOWTO/pdf/Framebuffer-HOWTO.pdf The issue is that the underlying boot code enables a framebuff...
by jamesh
Sat Dec 09, 2017 1:22 pm
Forum: Beginners
Topic: Pi as just a processign device with data output
Replies: 6
Views: 181

Re: Pi as just a processign device with data output

That's probably OK, getting dataof the USB, but you then need to decode the format, produce your numerical numbers, then send them out. So you need to determine exaclty what sort of load you are going to put the CPU under to see if its possible.

I suspect it is, but you ought to run some numbers.
by jamesh
Sat Dec 09, 2017 11:10 am
Forum: Camera board
Topic: h264 and the lag
Replies: 6
Views: 158

Re: h264 and the lag

running test_launch.c doesn't look right at all.
by jamesh
Sat Dec 09, 2017 11:09 am
Forum: Beginners
Topic: Pi as just a processign device with data output
Replies: 6
Views: 181

Re: Pi as just a processign device with data output

The problem is going to be geting that sort of framerate over the USB.

What resolution are you using and what data format?
by jamesh
Sat Dec 09, 2017 11:06 am
Forum: Graphics programming
Topic: run the HDMI and TFT screen simultaneously
Replies: 5
Views: 151

Re: run the HDMI and TFT screen simultaneously

AFAIK, its one or the other. But I cannot remember why. I'll take a look on Monday since I have been dabbling in this area for other reasons.
by jamesh
Sat Dec 09, 2017 9:12 am
Forum: Camera board
Topic: h264 and the lag
Replies: 6
Views: 158

Re: h264 and the lag

H264 should be fine, it's quicker than mjpeg as its lower bandwidth. So its a setup problem I suspect.

I presume you are attempting to stream from Pi camera over Ethernet to some playback device?
by jamesh
Fri Dec 08, 2017 11:42 pm
Forum: Compute Module
Topic: [SOLVED] CM3 working with only one camera, two detected
Replies: 12
Views: 259

Re: CM3 working with only one camera, two detected

6by9 wrote:
Fri Dec 08, 2017 4:29 pm
Minor correction to James.
I2C is used to both crypto and sensor, but the sensor I2C goes through a level shifter to 1V8 which is likely to shift the acceptable high and low voltages to it, but by the sounds of it even those are behaving erratically.
ooh, I did not know that!
by jamesh
Fri Dec 08, 2017 4:21 pm
Forum: Compute Module
Topic: [SOLVED] CM3 working with only one camera, two detected
Replies: 12
Views: 259

Re: CM3 working with only one camera, two detected

So is the I2C on the camera interface just for the crypto chip? Is that why bypassing it fixed the problem? I will definitely add those pullup resistors in my next revision, and bodge some on for now to see if it helps. No, the camera commands are sent via I2C. i.e. setup, start, stop. The camera a...
by jamesh
Fri Dec 08, 2017 3:48 pm
Forum: General discussion
Topic: Should I move to Ubuntu
Replies: 10
Views: 419

Re: Should I move to Ubuntu

And use apt-get update and apt-get upgrade to keep up to date. That will work, but note that the newer, shorter commands apt update and apt upgrade may be better optimised for interactive use, while the longer form is optimised for script use. My guess is that the performance of the two versions wi...
by jamesh
Fri Dec 08, 2017 2:52 pm
Forum: General discussion
Topic: Should I move to Ubuntu
Replies: 10
Views: 419

Re: Should I move to Ubuntu

Obviously, the two posts so far in this thread are talking about different things (as is usually the case around here). That said, and "for what it is is worth", the issue OP raises is that while IN THEORY, you can just keep upgrading - i.e., if you have Wheezy, you can painlessly upgrade that to J...
by jamesh
Fri Dec 08, 2017 2:05 pm
Forum: General discussion
Topic: Cheapest High speed camera up to 900 FPS!!
Replies: 24
Views: 15855

Re: Cheapest High speed camera up to 900 FPS!!

Here are some more 600fps videos, starting from this posting: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=109137&start=300#p1243429 Candle light video with camera rotated 90°, animated .gif with 25fps, 24x slower than real: https://stamm-wilbrandt.de/en/forum/candle.600fps.25ps.anim.gif...
by jamesh
Fri Dec 08, 2017 2:00 pm
Forum: Troubleshooting
Topic: Raspberry Pi builtin WiFi keeps crashing
Replies: 26
Views: 989

Re: Raspberry Pi builtin WiFi keeps crashing

It is very easy to make it go wrong; have an mqtt broker running and subscribe to a topic, where another client periodically publishes the currrent time (that's how I do it). Between a couple of minutes and a few days, the wifi drivers crash ... kind regards, Jos Problem is a few days is too long, ...
by jamesh
Fri Dec 08, 2017 1:16 pm
Forum: General discussion
Topic: Should I move to Ubuntu
Replies: 10
Views: 419

Re: Should I move to Ubuntu

You can update the Raspbian system simply with sudo apt-get update sudo apt-get dist-upgrade You do not need to reinstall, except maybe/sometimes between major distro releases (i.e. Jessie to Stretch). And the next change of that magnitude is about 2 years away - we follow the Debian release schedul...
by jamesh
Fri Dec 08, 2017 11:35 am
Forum: Official Foundation Display
Topic: Get rid of the black sides?
Replies: 4
Views: 154

Re: Get rid of the black sides?

So the LCD can be panel mounted flat. It MIGHT be possible to use a heat gun to loosen the glue holding it and peel it off, but not sure if that will damage the touchscreen. Certainly makes the whole thing vulnerable to damage, and it will wreck the warranty.
by jamesh
Fri Dec 08, 2017 11:30 am
Forum: Troubleshooting
Topic: Raspberry Pi builtin WiFi keeps crashing
Replies: 26
Views: 989

Re: Raspberry Pi builtin WiFi keeps crashing

It is very easy to make it go wrong; have an mqtt broker running and subscribe to a topic, where another client periodically publishes the currrent time (that's how I do it). Between a couple of minutes and a few days, the wifi drivers crash ... kind regards, Jos Problem is a few days is too long, ...
by jamesh
Fri Dec 08, 2017 10:50 am
Forum: Troubleshooting
Topic: Updated some kernels and now the pi shuts down during boot
Replies: 1
Views: 97

Re: Updated some kernels and now the pi shuts down during boot

It might be easier just to re-image the SD card, it's an easy process, and get the Pi back to 'factory' settings.
by jamesh
Fri Dec 08, 2017 10:48 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: STICKY: X86 Debian Stretch with RPi Desktop
Replies: 14
Views: 622

Re: STICKY: X86 Debian Stretch with RPi Desktop

This is great. Brought a barely working Aspire One with a tiny HD back to life. Will be trying out the GPIO expander in the next couple of days. What a nice idea. Just wish it was easier to get the Raspberry Pi zero's in Canada. The options seem to be by a starter kit or go on a backorder waiting l...

Go to advanced search