Tiny Core Extensions > TCE Corepure64

[Solved] Sound on ThinkPad T440p

<< < (4/8) > >>

Rich:
Hi MikeLockmoore

--- Quote from: MikeLockmoore on June 06, 2023, 11:51:59 PM --- ... Can I edit the title of the thread to show SOLVED?  I don't see a way to edit that (so far).
--- End quote ---
No, you can't. After 30 minutes you can no longer edit your posts.

aus9:
Hi MikeLockmoore
I am still not happy....lets change again.


--- Code: ---modprobe: can't unload module 'snd': Resource temporarily unavailable
--- End code ---

it can be messy to remove modules that may have dependencies etc etc while live. snd is supposed to be the final module.
No matter. I noticed you have not download alsa-plugins, since you have sound we can ignore it

Change 1. I would like you to now have in your boot list- order not important due to change2
alsa-config.tcz
pavucontrol.tcz
thinkpad-acpi-6.1.2-tinycore64.tcz

change2 I would like you to have a blacklist boot code, not sure which your boot loader you are using but for grub you would edit the linux line to add
--- Quote ---blacklist=snd_hda_intel,thinkpad_acpi
--- End quote ---

Better still create 2 menus one with blacklist and one without as I am not sure we can work it all out in one post.

Test-condition
full reboot and

--- Code: ---lsmod | grep snd
lsmod | grep thinkpad
--- End code ---
should give no hits. We can not continue unless this Test-condition is fully met. Because the main dep of snd is snd_hda-intel, I agree its not the only one, but we do not need to blacklist snd

change3 now we attempt to load modules, without any remove modules commands as they not there.

--- Code: ---sudo su
modprobe snd_hda_intel options enable=0,1 index=0
modprobe thinkpad_acpi options index=1
--- End code ---

I do not think we can do anything about snd at this stage. Notice I added options to thinkpad


--- Code: ---aplay -l
--- End code ---
Do we still have card0 and your sound works ok after pavucontrol stuff?




aus9:
leaping assume your sound is good with the changes. You can then add - to your bootlocal.sh
modprobe snd_hda_intel options enable=0,1 index=0
modprobe thinkpad_acpi options index=1

full reboot and it should work, fingers crossed

MikeLockmoore:

--- Quote from: aus9 on June 07, 2023, 02:34:23 AM ---
--- Code: ---lsmod | grep snd
lsmod | grep thinkpad
--- End code ---

should give no hits.

--- End quote ---

Confirmed.


--- Quote from: aus9 on June 07, 2023, 02:34:23 AM ---change3 now we attempt to load modules, without any remove modules commands as they not there.

--- Code: ---sudo su
modprobe snd_hda_intel options enable=0,1 index=0
modprobe thinkpad_acpi options index=1
--- End code ---

--- End quote ---

The first modprobe worked without error
The second modprobe has an error like I saw before:

--- Code: ---root@box:/home/tc# 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

--- End code ---

aplay -l provides:

--- Code: ---**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3232 Analog [ALC3232 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

--- End code ---

Another issue I have is I don't see a GRUB menu.  I created an extlinux.conf file with a few options and an 8 second timeout, but it immediately goes to my default.  Any ideas on this?  The last entry is a carry over from the 32-bit install I started with.

extlinux.conf:

--- Code: ---DEFAULT TC64
PROMPT 0
TIMEOUT=8
ONTIMEOUT TC64

LABEL TC64
MENU LABEL TinyCorePure64
TEXT HELP
Boot TinyCorePure64 with Embedded X/GUI extensions
ENDTEXT
KERNEL /tce64/boot/vmlinuz64
INITRD /tce64/boot/corepure64.gz
#APPEND tce=sda1/tce64 loglevel=3 cde vga=791
APPEND tce=sda1/tce64 loglevel=3 cde vga=795 blacklist=snd_hda_intel,thinkpad_acpi

LABEL TC64orig
MENU LABEL TinyCorePure64 (no blacklist)
TEXT HELP
Boot TinyCorePure64 with Embedded X/GUI extensions
ENDTEXT
KERNEL /tce64/boot/vmlinuz64
INITRD /tce64/boot/corepure64.gz
APPEND tce=sda1/tce64 loglevel=3 cde vga=795

LABEL core
MENU LABEL core (no GUI)
KERNEL /tce/boot/vmlinuz
INITRD /tce/boot/core.gz
APPEND quiet  tce=sda1 waitusb=5:UUID="9bf23678-b856-45dd-a61b-0872ddc035fb" tce=UUID="9bf23678-b856-45dd-a61b-0872ddc035fb"


--- End code ---

Many thanks again.

Rich:
Hi MikeLockmoore

--- Quote from: MikeLockmoore on June 08, 2023, 07:00:09 PM --- ...
--- Code: ---root@box:/home/tc# 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
--- End code ---
...
--- End quote ---
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.


--- Quote --- ... I created an extlinux.conf file with a few options and an 8 second timeout, but it immediately goes to my default.  Any ideas on this? ...
--- End quote ---
Try setting  PROMPT  to 1. I think  TIMEOUT  is in tenths of a second.
See:
https://wiki.syslinux.org/wiki/index.php?title=SYSLINUX#PROMPT_flag_val
and:
https://wiki.syslinux.org/wiki/index.php?title=SYSLINUX#TIMEOUT_timeout

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version