PicoLog under Linux does not see a TC-08

Forum for discussing PicoLog
Post Reply
kallea
Newbie
Posts: 0
Joined: Sat Apr 08, 2023 2:46 pm

PicoLog under Linux does not see a TC-08

Post by kallea »

Hi all,
I wanted to have the TC-08 that works nicely under Windows log data with a laptop running Ubuntu Linux.
Versions: Ubuntu 22.04 (tried also 20.04.6)
PicoLog 6.2.7 (cannot find older version to try).

After setting usb permissions in /etc/udev/rules.d I can start the AppImage, but it will not detect the device.
"lsusb" shows the Pico device with a correct VendorID (0ce9).
(created a file 95-pico.rules with 1 row: ATTRS{idVendor}=="0ce9", MODE="777")

I can start the AppImage with a double click. It seems to work but will never see the TC-08.

If I start it from terminal I do get some error messages:
./picolog-6.2.7-x86_64.AppImage
[3998:0408/180006.215804:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
(node:4019) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `exe --trace-deprecation ...` to show where the warning was created)

If i try to start is as root I cannot - even more errors and only a white box loads with no graphics!? probably some AppImage thing...

I also tried to manually install the TC-08 drivers - no change.
(sudo apt-get install libusbtc08-1 )

Any help deeply appreciated!

Cheers!

mikopi
Newbie
Posts: 0
Joined: Fri Jun 30, 2023 6:46 am

Re: PicoLog under Linux does not see a TC-08

Post by mikopi »

Same issue here.

Running a fresh installation of Ubuntu 22.04LTS. Dowloaded latest PicoLog 6.2.8 from https://www.picotech.com/downloads and followed the installation notes.

I also tried to install PicoScope 7 Stable from https://www.picotech.com/downloads/linux. This worked, but still unable to PicoLog.

Then I tried to install the packages libusbtc08 and libpswrappers (just for testing), but theses are not available for Ubuntu 22.04.

I have the same issue on my Raspberry Pi 4 where I installed the according .deb package.

Code: Select all

# uname -r
5.19.0-46-generic

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:        22.04
Codename:       jammy

# cat /etc/udev/rules.d/95-pico.rules
ATTRS{idVendor}=="0ce9", MODE="0666"

# sudo dmesg
...
[14679.647386] usb 3-2.1: new full-speed USB device number 14 using xhci_hcd
[14679.754869] usb 3-2.1: New USB device found, idVendor=0ce9, idProduct=1000, bcdDevice= 0.00
[14679.754880] usb 3-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[14680.711026] usb 3-2.1: reset full-speed USB device number 14 using xhci_hcd


mikopi
Newbie
Posts: 0
Joined: Fri Jun 30, 2023 6:46 am

Re: PicoLog under Linux does not see a TC-08

Post by mikopi »

Btw, when I run the AppImage from command line, I can see that the software recognices the TC-08 somehow from the log messages when I connect/disconnect the device, but it will not show up in the GUI somehow.

Code: Select all

# /opt/picolog/picolog-6.2.8-x86_64.AppImage
[27996:0704/161627.257583:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[27996:0704/161628.750845:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[27996:0704/161628.755602:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[27996:0704/161628.760094:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
USB: {"locationId":1,"vendorId":3305,"productId":4096,"deviceName":"","manufacturer":"","serialNumber":"","deviceAddress":3}
USB: {"locationId":1,"vendorId":3305,"productId":4096,"deviceName":"1000","manufacturer":"0ce9","serialNumber":"","deviceAddress":4}
USB: {"locationId":1,"vendorId":3305,"productId":4096,"deviceName":"1000","manufacturer":"0ce9","serialNumber":"","deviceAddress":4}
USB: {"locationId":1,"vendorId":3305,"productId":4096,"deviceName":"1000","manufacturer":"0ce9","serialNumber":"","deviceAddress":5}

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PicoLog under Linux does not see a TC-08

Post by Martyn »

Can you try

Code: Select all

/opt/picolog/picolog-6.2.8-x86_64.AppImage --no-sandbox
and see if that helps.

There is a known issue in this area which we are looking into, it affects a number of applications built using Electron, including PicoLog 6
Martyn
Technical Support Manager

LGrossmann
Newbie
Posts: 0
Joined: Tue Oct 10, 2023 9:33 am

Re: PicoLog under Linux does not see a TC-08

Post by LGrossmann »

Hi everyone,

so I thought i share my solution to this problem.
I had exactly the same issue, and after finding this forum, i was able to detect the TC-08 with the Picolog software on Ubuntu 18.04

So for me it was the following: When i started the program with the AppImage Icon, i had a notification showing that some rules can not be applied (i dont know exactly what it was). There were three possibilities: "Ignore", "Do not show again", and "Run commands". It was independent on what i chose, the TC-08 was not detected by the software.

But then there is also the line "Show commands", which show you the command it wants to execute.

I then closed the Picolog software and ran the same command as sudo in the terminal after two times cd ..

Then, when reopening the Picolog software, the notification will not show up and the TC-08 was detected.

I know this is not a solution from an expert but i hope this can help anyone.

Post Reply