Go to advanced search

by JacoFourie
Fri Jan 17, 2020 3:15 pm
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

Re: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

Do you think it is bad hardware on the Pi side? It is my Dev 4GB Pi 4. I guess I could get another Pi and make sure I do not see the same problem on other hardware. The LibUSB does not pull. It communicates every 2 seconds so it is not doing anything crazy. I am looking at ways to reset the USB side...
by JacoFourie
Fri Jan 17, 2020 12:50 pm
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

Re: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

Yes that is correct. I use libusb to talk directly to a USB device an I can run it on its own without the serial converters. The Serial converters are connected to a battery pack. One RS232 and the other RS485. Just for testing at this stage. I will be rewriting the Python code also but I need to un...
by JacoFourie
Fri Jan 17, 2020 11:42 am
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

Re: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

This is what I see before the crash [ 0.067819] usbcore: registered new interface driver usbfs [ 0.067885] usbcore: registered new interface driver hub [ 0.067995] usbcore: registered new device driver usb [ 0.434065] usbcore: registered new interface driver r8152 [ 0.435101] usbcore: registered new...
by JacoFourie
Fri Jan 17, 2020 9:23 am
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

Re: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

Mmmmm I now got the same using Python 3 also. That is a real problem then. Is there a way I can restart the USB side without having to reboot ?
by JacoFourie
Fri Jan 17, 2020 4:42 am
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

Re: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

This is what I see once the USB system crashes. [177154.390351] pl2303 ttyUSB0: pl2303_set_control_lines - failed: -110 [177154.500387] pl2303 ttyUSB0: error sending break = -110 [177155.320685] usb 1-1.3: failed to send control message: -110 [177163.910789] pl2303 1-1.1:1.0: pl2303_vendor_write - f...
by JacoFourie
Wed Jan 15, 2020 4:02 pm
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

Re: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

I can reproduce the crash. When the subsystem crashes all the programs throw errors and can no longer connect to any device connected to the USB ports. I can have the LibUSB program run for days with no issue. I can let the Python 2.7 script run for days with no issues. I can run the same Python scr...
by JacoFourie
Wed Jan 15, 2020 8:20 am
Forum: Troubleshooting
Topic: USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.
Replies: 11
Views: 641

USB subsystem breaks if I run Python 2.7 pyserial and LibUSB together.

Hi all. I have to interface with a USB device. To get this working I wrote a program that uses LibUSB and that works 100% I have another Python 2.7 program that uses pyserial to communicate with an Arduino and that works 100% on its own. If I run the 2 programs together at some random stage the USB ...
by JacoFourie
Thu Aug 22, 2019 8:18 pm
Forum: Official Foundation Display
Topic: Raspberry Pi 4 + 7" Official Touch screen = Xorg High CPU Load
Replies: 5
Views: 5209

Re: Raspberry Pi 4 + 7" Official Touch screen = Xorg High CPU Load

I found in Raspi-Config that you can disable the OpenGL driver and use the legacy one. Now all is working again. Will this driver stay part of Raspbian as the OpenGL one is buggy it seems.
by JacoFourie
Thu Aug 22, 2019 7:18 pm
Forum: Official Foundation Display
Topic: Raspberry Pi 4 + 7" Official Touch screen = Xorg High CPU Load
Replies: 5
Views: 5209

Re: Raspberry Pi 4 + 7" Official Touch screen = Xorg High CPU Load

Sorry I had to go buy an HDMI cable to test that. So it does the same on the HDMI side also. So this is not a screen issue. Should I open a new issue on the Pi side? http://jdphotography.co.za/files/pi/pihdmi.JPG You state it is because of the OpenGL driver. How do I fix this issue? Can I put it bac...
by JacoFourie
Mon Aug 19, 2019 5:13 pm
Forum: Official Foundation Display
Topic: Raspberry Pi 4 + 7" Official Touch screen = Xorg High CPU Load
Replies: 5
Views: 5209

Raspberry Pi 4 + 7" Official Touch screen = Xorg High CPU Load

Hi all. I have developed a system that uses the 7" Touch screen. It has been running fine on the Pi 3 using the screen for 2 years. Here you can see the load when I go to the charting tab http://jdphotography.co.za/files/pi/pi3screenok.JPG I now got a Pi 4 to make sure all is working fine in the fut...
by JacoFourie
Sun Jul 28, 2019 7:21 pm
Forum: Official Foundation Display
Topic: Does the 7" Official screen work with the new 4B ?
Replies: 1
Views: 1531

Re: Does the 7" Official screen work with the new 4B ?

OK nevermind. I got it working. The new screen I got has the ribbon cable printed the other way around. I connected it the same as all my other Pis but this one I need to connect the other way around. All is working now.
by JacoFourie
Sun Jul 28, 2019 6:44 pm
Forum: Official Foundation Display
Topic: Does the 7" Official screen work with the new 4B ?
Replies: 1
Views: 1531

Does the 7" Official screen work with the new 4B ?

Hi.

I got 2 new 4B pies and connected the 7" screen. When I power it up nothing happens. The screen stays black. Does the new Pi work with the 7" screen ?
by JacoFourie
Mon Feb 25, 2019 11:29 am
Forum: Troubleshooting
Topic: wlan0 gets de-associate after ap reboot
Replies: 9
Views: 653

Re: wlan0 gets de-associate after ap reboot

When you say my set-up should not work why do you say that? Can I not have 2 wifi connections on the same network on different IPs ? I have it that way on all my PI's. Why should it not work ?
by JacoFourie
Sun Feb 24, 2019 8:28 pm
Forum: Troubleshooting
Topic: wlan0 gets de-associate after ap reboot
Replies: 9
Views: 653

Re: wlan0 gets de-associate after ap reboot

I want to have a bond but when I started the project I was told I could not bond 2 wifi connections. The reason for 2 is just in case the one fails then I still have another. They both connect to the same AP but each on a separate IP. If I could have one IP on both WiFi connections that would be fir...
by JacoFourie
Sun Feb 24, 2019 4:55 pm
Forum: Troubleshooting
Topic: wlan0 gets de-associate after ap reboot
Replies: 9
Views: 653

Re: wlan0 gets de-associate after ap reboot

Are you using wpa_supplicant? Do you see wpa_supplicant processes running? There should be one process running by interface. Depending on your network setup: "ifconfig up/down" is equivalent to "ip link up/down". This is different from "ifup/ifdown" which go through /etc/network/* and launch variou...
by JacoFourie
Sun Feb 24, 2019 4:45 pm
Forum: Troubleshooting
Topic: wlan0 gets de-associate after ap reboot
Replies: 9
Views: 653

Re: wlan0 gets de-associate after ap reboot

I can update to stretch. I will take some time but I can do it. I have developed a controller to dry tobacco. https://www.youtube.com/watch?v=yAx9-Uk6Lck&t=6s There is no way to run a lan cable. It all works with WiFi. It is very stable but now and again the wifi will do this. And not matter what I ...
by JacoFourie
Sat Feb 23, 2019 12:44 pm
Forum: Troubleshooting
Topic: wlan0 gets de-associate after ap reboot
Replies: 9
Views: 653

wlan0 gets de-associate after ap reboot

Hi all. I have been running a number of Pi's in the field over the last 3 years. I have picked up some issues with the WiFi. Wifi will work 100%. All my PI's run on UPS power. Then if there is a power failure the AP will go down as that is not on back-up power. When the power comes back sometimes on...
by JacoFourie
Sat Dec 23, 2017 3:18 pm
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

The Zero is so cheap. Who is going to fuss over warranty replacement? Well some people dont even want to pay 2 cents to fit the header at the factory it seems. What I take away from all this is dont solder on any Raspberry Pi boards. Then you are ok. In future I will ask the supplier before we do a...
by JacoFourie
Sat Dec 23, 2017 12:50 pm
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

Bottom line is those connectors are not populated, and the pins are not included, so adding them is a modification. I really don't understand why you find this so hard to understand. The composite video output connector is not populated. Nor are the GPIO connectors on most Pi Zero and Pi Zero W. Do...
by JacoFourie
Sat Dec 23, 2017 11:14 am
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

DougieLawson wrote:
Sat Dec 23, 2017 8:49 am
You should stop posting here (it's now a circular argument) and GO AND ASK YOUR HARDWARE VENDOR.
Thanks for your input. I got my answer. Regards.
by JacoFourie
Sat Dec 23, 2017 11:13 am
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

... most PCs have a on off and reset switch. Yes, and using that switch on just about any modern PC will result in OS corruption. Powering on/off your computer at-will has not been a reality for several decades. Modern computers and operating systems need a proper shutdown procedure (with few excep...
by JacoFourie
Sat Dec 23, 2017 8:44 am
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

Your car analogy does not stand up for me. The Pi is a fully built, fully working thing when you buy it. Not a kit or self-assembly furniture. Then why is the run headers not populated. This car comes without a on off switch lol. Is that a feature lol. The car analogy is not mine btw. Because 99.99...
by JacoFourie
Sat Dec 23, 2017 5:23 am
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

Heater wrote:
Sat Dec 23, 2017 5:08 am
Your car analogy does not stand up for me. The Pi is a fully built, fully working thing when you buy it. Not a kit or self-assembly furniture.
Then why is the run headers not populated. This car comes without a on off switch lol. Is that a feature lol.
The car analogy is not mine btw.
by JacoFourie
Sat Dec 23, 2017 4:43 am
Forum: General discussion
Topic: Warrenty of the Pi ?
Replies: 63
Views: 7878

Re: Warrenty of the Pi ?

Thanks all for the input. I just wanted to know If I void the wranty by adding the pins as there are a lot of info on the net about adding them but nobody says you loose your waranty by doing it. Suppliers do, we do. And, tbh, it should be fairly obvious. Fiddle with the engine on your new car, you...

Go to advanced search