Go to advanced search

by sibir
Thu May 07, 2020 7:31 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

So I received the same USB-C hub Kevin was using and I see the same problems and they are clearly not caused by the Labrador board confusing the channels. Connecting the Labrador board directly to the USB-C port (while powering the RPi via the header) avoids much of the trouble, but still, there are...
by sibir
Tue May 05, 2020 2:49 am
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

@Kevin, I suspect what you are seeing is related to https://github.com/EspoTek/Labrador/issues/98.
The bad voltages may belong to channel 2. Turn on the second channel and check.

But then I do not see the issue on a Mac or PC...

The dwc2 driver has been working very reliably for me.
by sibir
Fri May 01, 2020 10:53 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

Hmm, also Rev 1.1 but the USB-C hub feeds through the power and attaches the Labrador. I have to get me one of those. My USB-C hub (VAVA) is fancier and does not work with my RPi. Your bad voltages do look different from mine. My initial hope was a bug in the UI software. So I captured the USB data ...
by sibir
Wed Apr 29, 2020 1:25 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

As I mentioned, my power-through USB-C hub did not work and I wonder if the problem is the bad USB-C circuit of the Rev 1.1 RPi 4s, which shows the RPi 4 as an audio dongle to the USB-C port. (If you have lived under a rock see https://www.raspberrypi.org/forums/viewtopic.php?t=249975 ) Kevin, is yo...
by sibir
Sun Apr 19, 2020 5:17 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

My first hope was to use a power-through USB-C hub with USB-A ports. However, the one I have (VAVA VA-UC006) does not even register as a hub ( works fine on Mac and Dell) and also did not send the power through. But my RPi 4 is first gen, missing the 2nd resistor. Maybe it would work on the newer on...
by sibir
Sun Apr 19, 2020 2:40 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

How to put the USB-C hub into host mode is described here: https://www.raspberrypi.org/forums/viewtopic.php?t=246348 . So I powered my RPi 4 via the GPIO pins, added "dtoverlay=dwc2,dr_mode=host" to /boot/config.txt and rebooted. The hub shows up now with lsusb -t and I can connect the Labrador boar...
by sibir
Sat Apr 18, 2020 7:14 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

I also had the SSH server running. Connecting to WiFi apparently woke it up and caused trouble. Now with all interfaces disabled (except I2C for the RTC) I can even use the mouse's scroll wheel to change the display range of the Labrador display. Would you know of a way to make the preferences stick?
by sibir
Sat Apr 18, 2020 3:59 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

I had the VNC server enabled and even though there was no connection (even no cable plugged in nor WiFi enabled) I was getting error -9. Once I turned off the VNC server things looked good and stable, but as soon as I enabled WiFi error -9 was back and things went haywire. I think there should be a ...
by sibir
Fri Apr 17, 2020 6:24 pm
Forum: Troubleshooting
Topic: RPi4 won't run PC-based oscilloscopes, kernel bug?
Replies: 27
Views: 1681

Re: RPi4 won't run PC-based oscilloscopes, kernel bug?

Sorry, no help from me, but I ran into the same issue with my new Pi 4 under Buster (stable 4.19.97-v7l+ kernel). I also tried the new 4.19.115-v7l+, but still the same libusb_claim_interface FAILED. But my Labrador board also does not run smoothly on my older Pi 3B+ under Buster. I get errors with ...
by sibir
Mon Apr 13, 2020 5:05 pm
Forum: Beginners
Topic: How to disable caps-lock
Replies: 1
Views: 153

How to disable caps-lock

Looking for a quick how-to I was surprised not to find anything (easily) here. So if you want to permanently disable the caps-lock key on the keyboard for the user "pi" and you are running Buster, add this line @setxkbmap -option caps:none to your /etc/xdg/lxsession/LXDE-pi/autostart You need root-a...
by sibir
Thu Apr 09, 2020 9:00 pm
Forum: Automation, sensing and robotics
Topic: Send number of pulses with Pigpio
Replies: 23
Views: 2673

Re: Send number of pulses with Pigpio

I was not even using Python, I was using Joan's pigs. But using Python it looks pretty much the same. It was my understanding that all the timing is handled by the C code of the pigpio demon. Why would C do better then? Also, interrupts delay events in my experience, but the 10 us pulses are cut sho...
by sibir
Thu Apr 09, 2020 3:39 am
Forum: Automation, sensing and robotics
Topic: Send number of pulses with Pigpio
Replies: 23
Views: 2673

Re: Send number of pulses with Pigpio

Running Joan's terminal code on my RPi3B+ under Buster creates 201 pulses of varying length (between 2 and <10 us). What's going on?
by sibir
Thu Feb 13, 2020 4:22 pm
Forum: Python
Topic: Good python IDE for raspberry pi
Replies: 9
Views: 2373

Re: Good python IDE for raspberry pi

I have been using Thonny for a while and really like it. I love the multi-platform support as I am switching between Win10, macOS, and RPi all the time. Now that my projects are getting bigger the feature I miss most are collapsible function definitions to save screen real estate and reduce scrollin...
by sibir
Thu Oct 31, 2019 6:22 pm
Forum: Mathematica
Topic: Bugs in Mathematica on Raspberry Pi 3?
Replies: 3
Views: 13983

Re: Bugs in Mathematica on Raspberry Pi 3?

I found a solution:
  • create a fresh SD card with Jessie 2017-02-16 which last included Mathematica 10.3.1
  • mark wolfram-engine to not be upgraded with

    Code: Select all

    $ sudo apt-mark hold wolfram-engine
  • the do the usual upgrades
by sibir
Wed Sep 18, 2019 12:33 pm
Forum: Mathematica
Topic: A writing on the development of mathematical systems
Replies: 7
Views: 5199

Re: A writing on the development of mathematical systems

In the DOS days there also was the ingenious "Derive", which used amazingly few resources and probably would fly on the Pi.
Comprehensive list here: https://en.wikipedia.org/wiki/List_of_c ... ra_systems
by sibir
Tue Sep 17, 2019 8:20 pm
Forum: Mathematica
Topic: Bugs in Mathematica on Raspberry Pi 3?
Replies: 3
Views: 13983

Re: Bugs in Mathematica on Raspberry Pi 3?

I wrote some Mathematica code reading data fast from a TCP device. It works reliably under 10.3.1 but not version 11 or 12. Any idea idea how to install version 10.3 now? "sudo apt-get install wolfram-engine" installs version 12.0.1 and "apt-cache madison wolfram-engine" only shows that version as c...
by sibir
Fri Mar 23, 2018 5:22 pm
Forum: Raspberry Pi OS
Topic: USB Test & Measurement class (usbtmc) driver?
Replies: 13
Views: 12992

Re: USB Test & Measurement class (usbtmc) driver?

Which source code did you use?
by sibir
Mon Dec 11, 2017 4:35 pm
Forum: Python
Topic: Reading multiple DS18B20 with Python
Replies: 16
Views: 27726

Re: Reading multiple DS18B20 with Python

Dan,

your DropBox link does not work anymore, any other way I could look at your code?

Thanks,
Martin

Go to advanced search