Tiny Core Extensions > TCE Corepure64

[Solved] Sound on ThinkPad T440p

<< < (5/8) > >>

Rich:
Hi MikeLockmoore
unknown symbol in module  can mean a missing dependency.
To see if  thinkpad_acpi  has any dependencies:

--- Code: ---modinfo thinkpad_acpi | grep depends
--- End code ---

If it does, check the loaded modules to see if any of those dependencies missing:

--- Code: ---lsmod
--- End code ---

MikeLockmoore:

--- Quote from: Rich on June 08, 2023, 08:34:32 PM ---Hi MikeLockmoore
...
First let's try to figure out if it's an unknown symbol in module, or unknown parameter.
Do this:

--- Code: ---sudo modprobe thinkpad options index=1
dmesg | tail
--- End code ---
and see if the dmesg output provides more details.
...

To see if  thinkpad_acpi  has any dependencies:

--- Code: ---modinfo thinkpad_acpi | grep depends
--- End code ---

If it does, check the loaded modules to see if any of those dependencies missing:

--- Code: ---lsmod

--- End code ---


--- End quote ---

OK.... I pasted the console log together here:


--- Code: ---tc@box:~$ sudo modprobe thinkpad_acpi options index=1
modprobe: can't load module thinkpad_acpi (kernel.tclocal/drivers/platform/x86/thinkpad_acpi.ko.gz): unknown symbol in module, or unknown parameter
tc@box:~$ lsmod | grep thinkpad
tc@box:~$ dmesg | tail
...
wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by f8:bb:bf:24:44:28
thinkpad_acpi: Unknown symbol drm_privacy_screen_unregister (err -2)
thinkpad_acpi: Unknown symbol drm_privacy_screen_call_notifier_chain (err -2)
thinkpad_acpi: Unknown symbol drm_privacy_screen_register (err -2)
tc@box:~$ modinfo thinkpad_acpi | grep depends
depends:        platform_profile,drm,battery,snd,backlight,video
tc@box:~$ lsmod | grep platform_profile
platform_profile       12288  0
tc@box:~$ lsmod | grep drm
tc@box:~$ lsmod | grep battery
battery                16384  0
tc@box:~$ lsmod | grep snd
snd                    49152  0
soundcore              12288  1 snd
tc@box:~$ lsmod | grep backlight
backlight              12288  1 video
tc@box:~$ lsmod | grep video
video                  45056  0
backlight             12288  1 video
wmi                    16384  3 think_lmi,wmi_bmof,video

--- End code ---

Seems like drm is the culprit!

I'll try the GRUB menu suggestions too!  Thanks, Rich.

Rich:
Hi MikeLockmoore

--- Quote from: MikeLockmoore on June 09, 2023, 10:34:57 PM --- ... Seems like drm is the culprit! ...
--- End quote ---
Use the  Apps  utility to  Download Only  graphics-KERNEL.tcz.
Then add it to the beginning of  onboot.lst.
Reboot and see if the error is gone.

MikeLockmoore:

--- Quote from: Rich on June 10, 2023, 09:10:41 AM ---...
Use the  Apps  utility to  Download Only  graphics-KERNEL.tcz.
Then add it to the beginning of  onboot.lst.
Reboot and see if the error is gone.

--- End quote ---

Yes, I assume you mean graphics-6.1.2-tinycore64.tcz.  I downloaded and put it first in my onboot.lst.  I am now able to modprobe thinkpad_acpi without error.  I put back all of the earlier modprobe commands in my bootlocal.sh and I am able to get sound automatically after reboot!  Thanks again, Rich and aus9!

A side effect of graphics-6.1.2-tinycore64.tcz is now my desktop boots into native resolution of 1920x1080 which provides a nice square aspect ratio for my text and graphics, but everything is fairly small in the native FLTK apps and terminal window.  Some apps like Firefox have font scaling features, but I'd really like to get bigger text in my terminal for my less-than-young eyes.  Is there a way to control it, or do I need a different terminal app if I want to keep the native resolution and run with larger fonts? 

Another option I suppose is running at lower resolution.  The current boot codes with "vga=795" I think are getting ignored:


--- Code: ---Unknown kernel command line parameters "cde BOOT_IMAGE=/tce64/boot/vmlinuz64 tce=sda1/tce64 vga=795 blacklist=snd_hda_intel,thinkpad_acpi", will be passed to user space.
--- End code ---

I don't have an Xvesa option enabled in my control panel app (it is grayed out).  Maybe I need to run the Xorg system like I did in the past on other machines to have more control?

Another question I have is how to disable the trackpad or reduce its sensitivity... it is very easy to accidentally reposition the mouse pointer when I'm typing by brushing part of my hands on the trackpad.  Maybe better if I start a new thread for this?

Rich:
Hi MikeLockmoore

--- Quote from: MikeLockmoore on June 10, 2023, 11:07:08 PM --- ... I don't have an Xvesa option enabled in my control panel app (it is grayed out). ...
--- End quote ---
Xvesa is only an option for x86 (32 bit).


--- Quote --- ... Another question I have is how to disable the trackpad or reduce its sensitivity... it is very easy to accidentally reposition the mouse pointer when I'm typing by brushing part of my hands on the trackpad. ...
--- End quote ---
That's one of my pet peeves too. I use the attached script to disable
my touchpad. I keep the script in ~/.local/bin. I have a file called  touchpad
in  ~/.X.d/  which contains the line:

--- Code: ---Touchpad.sh Off
--- End code ---
That command gets executed after  X  starts.

You just need to setup 2 variables,  TouchpadName  and  PropertyName.
Read the comments in the script to find out how to obtain their values.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version