Linux News
How to Auto Hide Default Dock in Ubuntu
Check out this quick tutorial on how to auto hide the default GNOME desktop dock in Ubuntu from the settings.
The post How to Auto Hide Default Dock in Ubuntu appeared first on Linux Today.
Bluez documentation
But I'm really struggling to find good documentation for it.
What are the best bluez resources that you have bookmarked?
Microsoft Upgrades Defender To Lock Down Linux Devices For Their Own Good
Read more of this story at Slashdot.
LXer: helloSystem 0.8: A friendly, all-graphical FreeBSD
Not complete yet, but getting closer to welcoming Mac migrants and systemd scorners. After almost a year, version 0.8 of the helloSystem is here: an easy-to-use graphical distribution based on FreeBSD 13.1 aiming to offer a different way forward for people looking to leave Apple's macOS � or contemporary Linux.�
Read More...
Open-Source Security Index Lists Top Projects
Two venture investors have launched an index to track the most popular open-source security projects. Learn more here.
The post Open-Source Security Index Lists Top Projects appeared first on Linux Today.
helloSystem 0.8: A friendly, all-graphical FreeBSD
O_TRUNC on open(2)
unfortunately, the man pages tend to describe flag behavior when set, but do not describe the effect when not set, or the behavior of combinations with other flags.
Oracle virtualbox 7 not working on kernel 5.19 linux mint 21.1
"Re: VM not starting when using Linux kernel 6.0
by agaskew � 16. Nov 2022, 22:43
This isn't pretty, but it worked for me.
I had this error with VirtualBox 7 and Kernel 6.0.8 on Linux Mint:
7/9The VirtualBox Linux kernel driver is either not loaded or not set up correctly....etc
I reran 'sudo /sbin/vboxconfig' manually and it failed to build the kernel module. Checked
the log file /var/log/vbox-setup.log. The log file indicated syntax errors with the gcc
command, and at the top was a warning that the 6.0.8 kernel had been built with gcc version
12 whereas the system was still using gcc version 11.
Installed gcc-12 via 'sudo apt get gcc-12'
Deleted /usr/bin/gcc as its just a symlink to /usr/bin/gcc-11 and recreated it via 'sudo ln -s
/usr/bin/gcc-12 /usr/bin/gcc'. Checked the version of gcc being called is correct via 'gcc --
version' - result shows 'gcc (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0'
After that I moved /var/log/vbox-setup.log out of the way, reran 'sudo /sbin/vboxconfig' and
this time no errors were generated.
Finally my Guest VMs would run."
Rudolf-CZ wrote:
"God bless you! This was exactly my issues a Virtualbox works flawlessly since then (Kernel
5.19.17 & Virtualbox 6.1.40). Just to add existing symlink could be directly changed by using
"-f" so using "sudo ln -s /usr/bin/gcc-12 /usr/bin/gcc -f" so deleting is not required."
Discover 5 Interesting Plug-Ins for Your Neovim System
In this article, we are going to show you five plug-ins for your Neovim system to further increase your productivity.
The post Discover 5 Interesting Plug-Ins for Your Neovim System appeared first on Linux Today.
Touchpad not detected on Lenovo 300w gen 3 (82J1)
My first suspicion was that with a BIOS update the problem would be solved. I installed the latest version (GACN43WW) and disabled Secure Boot, Fast Boot, etc. None of it worked.
As you can see, lspci and lsusb do not list the touchpad (ELAN0642):
Code: lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series] (rev e9)
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
02:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
02:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven2 USB 3.1
02:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
02:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
02:00.7 Non-VGA unclassified device: Advanced Micro Devices, Inc. [AMD] Sensor Fusion Hub Code: lsusb
Bus 002 Device 003: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 002: ID 0bc2:2322 Seagate RSS LLC SRD0NF1 Expansion Portable (STEA)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 30c9:0028 Luxvisions Innotech Limited Integrated Camera
Bus 001 Device 003: ID 0bda:c123 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub I tried adding parameters to the kernel boot that in many cases worked for similar laptops (Lenovo Ideapad). I tried several (pci=nocrs, i8042.nopnp=1, i8042.nomux=1, i8042.reset), but nothing worked.
During boot, before systemd starts, an acpi interface error message appears on the screen. Using journalctl, the following appears:
Code: Jan 27 14:24:08 kernel: ACPI BIOS Error (bug): Failure creating named object [\CDAT], AE_ALREADY_EXISTS (20220331/dsfield-637)
Jan 27 14:24:08 kernel: ACPI Warning: NsLookup: Type mismatch on CDAT (Integer), searching for (RegionField) (20220331/nsaccess-696)
Jan 27 14:24:08 kernel: ACPI: 9 ACPI AML tables successfully acquired and loaded
Jan 27 14:24:08 kernel: ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored I don't know if this error is related to the problem with the touchpad, but it seems to me that it is.
The kernel module responsible for the touchpad should be elan_i2c. Using modinfo elan_i2c, the following appears:
Code: sudo modinfo elan_i2c
filename: /lib/modules/6.1.0-2-amd64/kernel/drivers/input/mouse/elan_i2c.ko
license: GPL
description: Elan I2C/SMBus Touchpad driver
author: Duson Lin <dusonlin@emc.com.tw>
alias: i2c:elan_i2c
alias: acpi*:ELAN1000:*
alias: acpi*:ELAN0637:*
alias: acpi*:ELAN0636:*
alias: acpi*:ELAN0635:*
alias: acpi*:ELAN0634:*
alias: acpi*:ELAN0633:*
alias: acpi*:ELAN0632:*
alias: acpi*:ELAN0631:*
alias: acpi*:ELAN062F:*
alias: acpi*:ELAN062E:*
alias: acpi*:ELAN062D:*
alias: acpi*:ELAN062C:*
alias: acpi*:ELAN062B:*
alias: acpi*:ELAN062A:*
alias: acpi*:ELAN0629:*
alias: acpi*:ELAN0628:*
alias: acpi*:ELAN0627:*
alias: acpi*:ELAN0626:*
alias: acpi*:ELAN0625:*
alias: acpi*:ELAN0624:*
alias: acpi*:ELAN0623:*
alias: acpi*:ELAN0622:*
alias: acpi*:ELAN0621:*
alias: acpi*:ELAN0620:*
alias: acpi*:ELAN061F:*
alias: acpi*:ELAN061E:*
alias: acpi*:ELAN061D:*
alias: acpi*:ELAN061C:*
alias: acpi*:ELAN061A:*
alias: acpi*:ELAN0619:*
alias: acpi*:ELAN0618:*
alias: acpi*:ELAN0617:*
alias: acpi*:ELAN0616:*
alias: acpi*:ELAN0615:*
alias: acpi*:ELAN0612:*
alias: acpi*:ELAN0611:*
alias: acpi*:ELAN0610:*
alias: acpi*:ELAN060F:*
alias: acpi*:ELAN060C:*
alias: acpi*:ELAN060B:*
alias: acpi*:ELAN0609:*
alias: acpi*:ELAN0608:*
alias: acpi*:ELAN0607:*
alias: acpi*:ELAN0606:*
alias: acpi*:ELAN0605:*
alias: acpi*:ELAN0604:*
alias: acpi*:ELAN0603:*
alias: acpi*:ELAN0602:*
alias: acpi*:ELAN0601:*
alias: acpi*:ELAN0600:*
alias: acpi*:ELAN0100:*
alias: acpi*:ELAN0000:*
depends:
retpoline: Y
intree: Y
name: elan_i2c
vermagic: 6.1.0-2-amd64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Debian Secure Boot CA I noticed that the touchpad hid is not listed in the module. I then downloaded kernel 6.1.8, edited /linux-6.1.8/include/linux/input/elan-i2c-ids.h, which lists the devices, inserting hid ELAN0642, and compiled.
The touchpad didn't work, but the acpi error message changed to ucsi_acpi USBC000:00: UCSI_GET_PDOS failed (-95).
Building on what has been done here and here, I've disassembled the acpi table to look for mentions of the touchpad. I found the following entry:
Code: Name (CDAT, 0x00)
Scope (_SB.I2CD)
{
Device (TPD0)
{
Name (_HID, "ELAN0642") // _HID: Hardware ID
Name (_CID, "PNP0C50" /* HID Protocol Device (I2C bus) */) // _CID: Compatible ID
ICMS = 0x0A
DCMS = 0x01
ICMS = 0x20
CDAT = DCMS /* \DCMS */
If ((CDAT == 0x02))
{
_HID = "SYNA2392"
}
If ((CDAT == 0x01))
{
_HID = "ELAN0642"
}
Method (_STA, 0, NotSerialized) // _STA: Status
{
If ((CDAT == 0x00))
{
Return (0x00)
}
Else
{
Return (0x0F)
}
}
Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method
{
If ((Arg0 == ToUUID ("3cdff6f7-4267-4555-ad05-b30a3d8938de") /* HID I2C Device */))
{
Switch (ToInteger (Arg2))
{
Case (0x00)
{
Switch (ToInteger (Arg1))
{
Case (0x01)
{
Return (Buffer (0x01)
{
0x03 // .
})
}
Default
{
Return (Buffer (0x01)
{
0x00 // .
})
}
}
}
Case (0x01)
{
If ((^^^PCI0.LPC0.H_EC.ECRD (RefOf (^^^PCI0.LPC0.H_EC.TPTY)) == 0x01))
{
Return (0x01)
}
If ((^^^PCI0.LPC0.H_EC.ECRD (RefOf (^^^PCI0.LPC0.H_EC.TPTY)) == 0x02))
{
Return (0x20)
}
}
Default
{
Return (0x00)
}
}
}
Else
{
Return (Buffer (0x01)
{
0x00 // .
})
}
}
Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
{
Name (SBFG, ResourceTemplate ()
{
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,
)
{ // Pin list
0x0009
}
})
If ((^^^PCI0.LPC0.H_EC.ECRD (RefOf (^^^PCI0.LPC0.H_EC.TPTY)) == 0x01))
{
Name (SBFB, ResourceTemplate ()
{
I2cSerialBusV2 (0x0015, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (ConcatenateResTemplate (SBFB, SBFG))
}
If ((^^^PCI0.LPC0.H_EC.ECRD (RefOf (^^^PCI0.LPC0.H_EC.TPTY)) == 0x02))
{
Name (SBFC, ResourceTemplate ()
{
I2cSerialBusV2 (0x002C, ControllerInitiated, 0x00061A80,
AddressingMode7Bit, "\\_SB.I2CD",
0x00, ResourceConsumer, , Exclusive,
)
})
Return (ConcatenateResTemplate (SBFC, SBFG))
}
}
}
} At this point, I'm not sure what to do anymore. I saw that some people have written dkms packages to enable elan touchpads as can be seen here.
Any ideas?
wsl2 ubuntu 22.04 repository
LXer: DIGI SOMs integrate pre-certified dual-band Wi-Fi 5/BL5 and Gigabit Ethernet connectivity
The Digi ConnectCore MP1 is an industrial embedded System-on-Module* platform which integrates the STM32MP157C microprocessor and a 3D GPU (Vivante � OpenGL ES) 2.0. This SoM offers up to 176x GPIOs ports and security features such as TrustZone, tamper pins, cryptographic processors, etc.* The datasheet specifies the Vivante 3D GPU has a performance up to [�]
Read More...
DIGI SOMs integrate pre-certified dual-band Wi-Fi 5/BL5 and Gigabit Ethernet connectivity
Start > Administration > Software Manager = Nothing Happens!
Software Manager appears, under Start > Administration, but when I click Software Manager, nothing happens! :confused:
Please tell me there's an easy fix for my naivete!
[SOLVED] For loop iterating endlessly - C
I've tested the variables are getting passed via printf statements. It just keeps looping till I stop it. Thank you in advance for any assistance.
Code: void winner_check_launch(char gameboard[], char player)
{
// horizontals
winner_check(gameboard, player, 1, 3, 1);
// verticals
winner_check(gameboard, player, 1, 7, 3);
// diagonals(
winner_check(gameboard, player, 1, 9, 4);
winner_check(gameboard, player, 3, 2, 7);
}
void winner_check(char gameboard[], char player, int ctr1, int ctr2, int ctr3) {
int counter = 0;
for (int i = ctr1; i <= ctr2; i + ctr3) {
if (gameboard[i] == player) {
counter += 1;
}
}
if (counter == 3) {
printf("%c wins! game over and thank you for playing\n", player);
exit(0);
}
} Full source I'm on now. https://gitlab.com/jmgibson1981/mycp...0-%2068/main.c
GNOME Survey Results: A Window Into User Behavior
GNOME has published the results of its last year August user survey. The findings are expected and telling. Here they are.
The post GNOME Survey Results: A Window Into User Behavior appeared first on Linux Today.
Virustotal scan said url was clean. But when I clicked on the url, I was redirected. A subsequent Virustotal scan showed potential trouble.
(I put a space between the "h"and "ttps" so no one would click on it accidentally. LQ kept illuminating it as a link)
I ran the link through Virustotal and it came out clean. https://www.virustotal.com/gui/url/c...cd3f/detection
So I clicked on it but it took me to youtube.com
Suspicious of tiktok.fb3lite.com I ran it through Virustotal and it showed https://www.virustotal.com/gui/url/4...9059/detection
I'm not very knowledgeable but I didn't like the looks of "base64-embedded" and "multiple-redirects." And when you click on "Details" it looks even scarier.
I am a bit worried. Do I need to be? Thank you.
PS. I am on a Linux computer (Xubuntu distro)
LXer: elementary OS 7 �Horus� Launches Based on Ubuntu 22.04 LTS, Here�s What�s New
elementary OS Founder and CEO Danielle For� announced today the general availability for download of the long-anticipated elementary OS 7 �Horus� distribution based on the latest Ubuntu LTS and packed with many new features and improvements.
Read More...
elementary OS 7 “Horus” Launches Based on Ubuntu 22.04 LTS, Here’s What’s New
Can't change postfix server configuration
How do I configure my server to use another port, and ideally, modify the server name as well.