Sysinfo – Nodejs console application released

Here is a Nodejs console application that prints system information. The full sources and all the instructions can be found from Sysinfo’s Github: https://github.com/postman721/sysinfo

Example output on Linux:

	Type : Linux
	Arch : x64
	Kernel : 5.10.0-14-amd64
	Kernel release details : #1 SMP Debian 5.10.113-1 (2022-04-29)
	Free memory : 10903 MB 
	Total memory : 15978 MB 
	Used memory : 5075 MB 
	System uptime: 4 Hour(s) 3 minute(s) and 16 second(s)
	Hostname: Tester
	CPU model: AMD Ryzen 5 5600X 6-Core Processor
	CPU speed in MHZ: 3719
	Number of CPU cores: 12

Example output on Windows:

	Type : Windows_NT
	Arch : x64
	Kernel : 10.0.19043
	Kernel release details : Windows 10 Home
	Free memory : 11205 MB
	Total memory : 16298 MB
	Used memory : 5093 MB
	System uptime: 0 Hour(s) 1 minute(s) and 39 second(s)
	Hostname: Something
	CPU model: AMD Ryzen 5 5600X 6-Core Processor
	CPU speed in MHZ: 3700
	Number of CPU cores: 12

Search Engines – Nodejs application released

Here is an application containing private search engines. The application is made with nodejs.

The source code and full READMEs are available at: https://github.com/postman721/Search_engines

GitHub resource also contains executables folder. The folder contains ready-made executables for Windows, Linux and Mac. The Search Engines application is tested with Windows and Linux.

Here is a screenshot:

Search engines, nodejs application
Search Engines application

Usb Tv-Tuner and Debian 11

Here is a step by step guide on how I set up Hauppauge’s WinTV-SoloHD usb On Debian 11.

1. Identifying the firmware that the tuner needs. Do this after device is plugged in:

sudo dmesg

36.588466] si2168 9-0064: firmware: failed to load dvb-demod-si2168-b40-01.fw (-2)
[ 36.588471] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 36.588473] si2168 9-0064: Direct firmware load for dvb-demod-si2168-b40-01.fw failed with error -2
[ 36.588476] si2168 9-0064: firmware file ‘dvb-demod-si2168-b40-01.fw’ not found
[ 36.699450] si2157 10-0060: found a ‘Silicon Labs Si2157-A30 ROM 0x50’
[ 36.699468] si2157 10-0060: firmware: failed to load dvb-tuner-si2157-a30-01.fw (-2)
[ 36.699472] si2157 10-0060: Can’t continue without a firmware.

2. Locate suitable firmwares. Suitable ones were found from Elec Github.

Download:

https://github.com/OpenELEC/dvb-firmware/blob/master/firmware/dvb-demod-si2168-b40-01.fw


https://github.com/CoreELEC/dvb-firmware/blob/master/firmware/dvb-tuner-si2157-a30-01.fw

3. Copy firmwares to correct locations:

Continue reading

Fixing error on Debian 11: No module named py_compile

The root cause of an error is: /usr/bin/python3.9: No module named py_compile.

This will prevent python3 packages from installing as the dpkg errors out during configuration.

A more complete error example, will look something like this:


Setting up python3.9-minimal (3.9.2-1) …
/usr/bin/python3.9: can’t open file ‘/usr/lib/python3.9/py_compile.py’: [Errno
2] No such file or directory
dpkg: error processing package python3.9-minimal (–configure):
installed python3.9-minimal package post-installation script subprocess return
ed error exit status 2
Errors were encountered while processing:
python3.9-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

/usr/bin/python3.9: No module named py_compile

Regardless of the package name, missing the py_compile will give plenty of issues. Here comes an easy fix.

Continue reading