Go to advanced search

by doublehp
Mon Jan 15, 2018 5:49 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 355
Views: 67500

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

To test HDMI, I use an HDMI2AV converter, then, an AV-USB decoder; they produce a crappy image, but they are very cheap: https://fr.aliexpress.com/item/DZLST-Mini-HD-Video-Converter-Box-HDMI-to-RCA-AV-CVSB-L-R-Video-1080P-HDMI2AV/32815095086.html?spm=a2g0s.9042311.0.0.vsKuhX https://fr.aliexpress.co...
by doublehp
Wed Jan 10, 2018 3:06 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

There are many bugs in the forum API. I have fixed the links.
by doublehp
Wed Jan 10, 2018 11:09 am
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

Oh, I had not paste/crosslink it here :

Getting OrangePi Zero work with WS2811
http://www.orangepi.org/orangepibbsen// ... 318&extra=
by doublehp
Wed Jan 10, 2018 9:33 am
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

How about https://playground.arduino.cc/uploads/Main/i2c-level-shift-mosfet.png That circuit is known to not work with WS2811. I did not fully understand why, but the result is that this circuit does not respect timings, and kills high frequencies signal. Solutions have been given in the Orange lin...
by doublehp
Sun Dec 31, 2017 3:05 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

What is your scheduler frequency ? zcat /proc/config.gz | grep -i CONFIG_HZ Even if you dedicate a core to a task, GPIO_SET probably calls the BCM2835 kernel driver is probably called at some point; and this will always remains subject to kernel scheduling issues. Much less than any other cases. But...
by doublehp
Sat Dec 30, 2017 6:26 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

Are you up for a simple test of dynamic CPU isolation? Should only take half an hour. Honest. I have spent one hour it, and it failed. rt-tools failed on make: [ 50%] Building C object bitcalc/test/CMakeFiles/test_bitcalc.dir/__/src/bitcalc.c.o cc1: error: unrecognized command line option â-fsaniti...
by doublehp
Thu Dec 28, 2017 12:12 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

Heater I have read various tutos about the CPU topic; there are at least 4 variables involved; in my use case, this one works, and does the job. maxcpus will keep some cores reserved, but without saying which ones; isolcpus is specific and states directly the one you want to keep. There are various ...
by doublehp
Wed Dec 27, 2017 11:04 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

I did not say adding a transistor can't help. I said that adding the voltage converter I have make things worst, and that the issue can be solved by stopping X, and made worst by running fork bombs. Fact is, I am used to work with many chips; and honestly, a chip that does not take 1.8V as a logical...
by doublehp
Tue Dec 26, 2017 9:12 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

Heater Of course the kernel is messing around; I said I am using an rPi2, so, it's a quad core CPU. Nice could help, but, if I apply it to my bash script, what will happen to child process ? my generic code is in bash; but the LED API is in python; so my bash script is calling python each time I nee...
by doublehp
Tue Dec 26, 2017 9:03 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

After reboot (and removing some daemons to free more CPU time), bug occurs much less. My question was: many forums mention that WS2811 hardly work on rPi; my error rate is now between 1:400 and 1:1000. Are there better libraries than the ones I have mentionned, or do other references provide better ...
by doublehp
Tue Dec 26, 2017 7:01 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

https://www.amazon.fr/gp/product/B0148B ... UTF8&psc=1
makes things worst. It completely blocks the signal; I don't have any other model; I may try with a pair of transistors.

After reboot, things work ... without level adapter.
by doublehp
Tue Dec 26, 2017 5:41 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Re: Only 99% reliability with ws281* : sometimes it produces mess

It's true I am using the raw rPi pin, and I have a voltage converter I can use to fix this detail, but, I believe it will not fix the bug I have.
by doublehp
Tue Dec 26, 2017 5:04 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 43
Views: 1299

Only 99% reliability with ws281* : sometimes it produces mess

Hello. Hardware: Raspberry Pi v2, with good PSU. On pin 18: one LED strip of 12V groups of WS2811 (12 blocks); then, the data line is sent to a serie of individual WS2812 LEDs (5V). For a total of 12+48+1=61 pixels. Took me some time to understand how to send my very first WS2811 frame, and I had a ...
by doublehp
Sat Dec 23, 2017 12:14 am
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 20
Views: 1539

Re: broken filesystem, e2fsck can not fix things

CH340G ( http://dx.com/p/398436 ) was not able to talk with my electric meter (1200B 7b and some other funny things). I have used PL2303 because it was cheaper, and working (better) ( http://dx.com/p/149859 ). Since you say the filesystem corruption could be related with the 2303 driver, I will try ...
by doublehp
Sun Nov 26, 2017 11:40 am
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 355
Views: 67500

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

Class is irrelevant; event U2 Cards able to stand 80MB/s write are labelled C10 (10MB/s certified write). Modern cards can stand up to 120MB/s (and much faster read); but what is the max capability of the rpi ? If the rpi is hardware limited to something below 60MB/s, you can increase your write rat...
by doublehp
Sun Nov 26, 2017 11:06 am
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 22
Views: 12940

Re: Pi Zero as a USB keyboard (HID gadget)

Can all versions of rpi0 do it ? 1.2, 1.3, W ?
by doublehp
Thu Nov 16, 2017 5:27 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 20
Views: 1539

Re: broken filesystem, e2fsck can not fix things

Most of the time, the average iddle time is 92%, and the load is 1.35. Every 5 mn, cron does heavy work, and uses over 50%. My code is not perfect, but I have done speed optimisation on the most important loops. It's not what I would call an intense work.
by doublehp
Thu Nov 16, 2017 1:14 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 20
Views: 1539

Re: broken filesystem, e2fsck can not fix things

I have had problems with other serial adapters. For this project (which is duplicated 8 times), I need very specific serial settings, to comply an old industrial standard (forgot the name), where, in short, the port needs to be 1200 baud, 7 bits, with parity, and something else inverted. I have trie...
by doublehp
Tue Nov 14, 2017 5:31 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 15808

Re: PI3 microSD and wear leveling

Ideal for Android, they mean, ideal for the external SD storage for phones. And even with this use, I had a 64GB card die in one year. ... A somewhat "narrow" interpretation, since both 'phones & tablets may have "Android apps." that can run from the external uSDHC card. (That doesn't exclude the p...
by doublehp
Tue Nov 14, 2017 5:09 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 15808

Re: PI3 microSD and wear leveling

The official answer from Transcend is: All of our flash products support wear leveling but for heavy usage it is suggest to use MLC chip based cards for better endurance. https://nl.transcend-info.com/Embedded/Essay-22 https://nl.transcend-info.com/Products/No-727 If you can find them, you can also ...
by doublehp
Tue Nov 14, 2017 4:59 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 20
Views: 1539

Re: broken filesystem, e2fsck can not fix things

# lsusb Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB li...
by doublehp
Tue Nov 14, 2017 4:43 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 15808

Re: PI3 microSD and wear leveling

Ideal for Android, they mean, ideal for the external SD storage for phones. And even with this use, I had a 64GB card die in one year. What they don't like is to boot on uSD, and store /var/log in there. ext3 is pretty much designed to kill classic SD cards. It's pretty much urgent Raspbian moves to...
by doublehp
Fri Nov 10, 2017 3:34 pm
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 133
Views: 41710

Re: ext3/4 and SD-card wear leveling

I have just checked.

f2fs-tools is not natively installed in Raspbian, but it's easy to install via aptitude. Kernel includes the driver so it's almost trivial to use.

F2FS supports expansion; so it's possible to create ready to install images ... that are based on F2FS, and use grow after install.
by doublehp
Sat Nov 04, 2017 11:39 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 20
Views: 1539

Re: broken filesystem, e2fsck can not fix things

ATM, the Pi is dead untill webnesday. Amazon should have delivered me a High Endurance card this morning, but, the postman was lasy, and thought he could take a day off; so delivery is delayed for mid-next-week. I have solder the capacitor in the input ceramic capa of the pi, on the 5V side. This ca...
by doublehp
Sat Nov 04, 2017 3:45 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 20
Views: 1539

Re: broken filesystem, e2fsck can not fix things

On the same rPi, the filesystem is broken again. I am getting on nerves. I had solder a huge capacitor o the supply (one chemical, and a huge ceramic); had bought a new SD card (Sandisk ultra white-grey), configured fstrim ... don't know what to do. The only external devices on this rPi are two USB-...

Go to advanced search