SliTaz SliTaz Forum

You are not logged in.

#76 2024-04-17 06:00:41

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

Thanks, if check modules could be related to i2c / hid touchpad.

See also you have pinctrl_cannonlake is loaded (seem great to add it but not enough)

I check to include this modules on linux64 :

+drivers/hid/intel-ish-hid/intel-ishtp-hid.ko.xz

+drivers/hid/intel-ish-hid/intel-ishtp.ko.xz

+drivers/hid/intel-ish-hid/intel-ish-ipc.ko.xz

+drivers/i2c/i2c-smbus.ko.xz

+drivers/i2c/busses/i2c-i801.ko.xz

Put new iso again https://people.slitaz.org/~shann/slitaz-current-stuff/efitest/slitaz-current-core64.iso

For pinctrl_* (intel) it's built-in in kernel maybe not necessary.

Offline

#77 2024-04-17 12:40:31

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

This image doesn't boot when I write it to the usb drive.

Tried it twice.

Offline

#78 2024-04-17 16:38:53

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

sad

I test it on qemu with/without UEFI with success.

In case i relaunch kernel build in quick break point in afternoon, rebuild iso in progress.

Only change same kernel that yesterday iso + modules i said previously.

Test iso on my eeepc (bios mode in case), iso build morning work on usb stick

Offline

#79 2024-04-17 16:47:02

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Iso available :

https://people.slitaz.org/~shann/slitaz-current-stuff/efitest/slitaz-current-core64.iso

md5sum 59db210b7676b0487f6938f286523eef

Boot ok on EeePC bios mode and boot EFI ok  on qemu

Offline

#80 2024-04-17 17:14:33

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Sorry You didn't have to remake the iso. It was my fault. The BIOS setting changed on booting to USB .

However still no touchpad.

I noticed if it matters that under preferences Keyboard and mouse there is no setting for the touchpad. That could be because it doesn't see one. I assume.

I will continue to test as you make new iso's but if you have other items that you are working on you don't have to keep trying this. I wish I could provide you with the info you need. Sounds like you are building from ground up. I don't have that level of experience to help.

I did at one time look into trying Linux from Scratch. But it was too much for me.

Thanks

Dan

Offline

#81 2024-04-17 17:22:51

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: UEFI only Laptop - Trouble booting

Ciao a tutti, il touchpad, o meglio il touchscreen è una battaglia dura farlo funzionare; sebbene il driver faccia capo ad un chip, il raster a cui è collegato, varia da modelloa modello. Ultimo pure udev se non carica nella giusta sequenza i moduli, non se ne viene a capo.

---------------------------------------------------------------------------

Hi all, the touchpad, or rather the touchscreen is a tough battle to get it to work; although the driver reports to a chip, the raster to which it is connected varies from model to model. Last as well udev if it doesn't load the modules in the right sequence, you can't get to grips with it.

Offline

#82 2024-04-18 19:29:50

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi,

@maybl8

no problem, in case i continue to upgrade stuff on current.

For kernel no from scratch, upgrade kernel from old slitaz config (3.16.55) to 4.x and 5.10 branch, with adjust config when necessary.

For touchpad feature, in case check with Ubuntu kernel config to see potential modules miss.

In my case I2C and PINCTRL_AMD to have touchpad work, but in your case seem miss again.

@gibor,

yes it's pain, for my touchpad on HP Elitebook, said miss PINCTRL_AMD, not that option i think first, focus to HID / I2C.

Infact maybe udev not load modules in correct order or miss again.

For alanyih, touchpad work, but its on AMD platform (Ryzen), that case think same modules need of my HP G7 Elitebook who have also Ryzen CPU.

I have good hope that maybl8 touchpad work.

Maybl8 can you please add manjaro kernel config in attachment to compare build-in modules ? Thanks

It's good achievement to have UEFI boot on recent laptop, but without touchpad not really great.

Offline

#83 2024-04-19 03:17:17

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Can you get what you need here?

[ul]https://github.com/manjaro-kernels/linux68/releases/tag/6.8.7-1[/ul]

I can download the files if you need me to?

Offline

#84 2024-04-19 03:20:33

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

I haven't figured out how to get url or code in with tags or markup.

Offline

#85 2024-04-19 08:20:52

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: UEFI only Laptop - Trouble booting

Hi,

i put amdgpu as module on kernel, 'black screen' with Xorg, and see on dmesg need amdgpu firmware, with it, Xorg happy and glxgears also ~3300 frames in 5s, ~600 FPS ^^

Failed to load /usr/lib/X11/modules/libglamoregl.so: libepoxy.so.0: cannot open shared object file: No such file or directory

/usr/share/libdrm/amdgpu.ids: No such file or directory

glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)

AIGLX: Loaded and initialized radeonsi

vblank_mode=0 glxgears

$ grep glamor /var/log/Xorg.0.log

[  1863.979] (II) Loading sub module "glamoregl"

[  1863.979] (II) LoadModule: "glamoregl"

[  1863.979] (II) Loading /usr/lib/X11/modules/libglamoregl.so

[  1863.981] (II) Module glamoregl: vendor="X.Org Foundation"

[  1863.996] (II) modeset(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)

[  1863.996] (II) modeset(0): glamor initialized

[  1864.050] (WW) modeset(0): DRI2: glamor lacks support for pixmap import/export

$ glxinfo -B | head

name of display: :0.0

display: :0  screen: 0

direct rendering: Yes

Extended renderer info (GLX_MESA_query_renderer):

    Vendor: AMD (0x1002)

    Device: AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0) (0x1638)

    Version: 21.3.5

    Accelerated: yes

    Video memory: 512MB

    Unified memory: no

$ vblank_mode=0 glxgears

ATTENTION: default value of option vblank_mode overridden by environment.

66640 frames in 5.0 seconds = 13327.949 FPS

79353 frames in 5.0 seconds = 15870.588 FPS

71401 frames in 5.0 seconds = 14280.120 FPS

79951 frames in 5.0 seconds = 15990.154 FPS

78137 frames in 5.0 seconds = 15627.323 FPS

74431 frames in 5.0 seconds = 14886.021 FP

$ grep -A8 AIGLX /var/log/Xorg.0.log

[  1864.056] (II) AIGLX: Loaded and initialized radeonsi

[  1864.056] (II) GLX: Initialized DRI2 GL provider for screen 0

[  1864.056] (II) Initializing extension XFree86-VidModeExtension

[  1864.056] (II) Initializing extension XFree86-DGA

[  1864.056] (II) Initializing extension XFree86-DRI

[  1864.056] (II) Initializing extension DRI2

[  1864.056] (II) modeset(0): Damage tracking initialized

[  1864.056] (II) modeset(0): Setting screen physical size to 761 x 476

[  1864.090] (II) config/udev: Adding input device Video Bus (/dev/input/event5)

[attachment=52274,3523]

Offline

#86 2024-04-19 16:38:21

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi alanyih,

Good catch, think push xorg-server update for libepoxy, not case.

It's fixed and i update libdrm-amdgpu to include amdgpu.ids

Maybl8, i see that link provide only package.

This link could be help me

https://gitlab.manjaro.org/packages/core/linux68 (but see linux510 could be help for diff).

Can you please try to use linux510 manjaro kernel to see if 5.x branch enough for your laptop.

Thanks

Offline

#87 2024-04-19 17:30:04

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Not sure how to get the manjaro kernel config that you need.

I installed the 5.10 kernel

Linux Manjaro 5.10.215-1-MANJARO #1 SMP PREEMPT Sat Apr 13 14:27:02 UTC 2024 x86_64 GNU/Linux

Touchpad working with this kernel in manjaro.

Thanks

Offline

#88 2024-04-20 18:25:31

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

In case config see here (same branch we use it)

https://gitlab.manjaro.org/packages/core/linux510/-/blob/master/config

Nice to read that on 5.10.215-MANJARO touchpad work, definitely we need find right conf.

I check quickly and see that for PINCTRL_ related to intel (*lake) is built-in not modules.

Offline

#89 2024-04-21 04:17:39

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

I'm sure you don't need this but does anything in this article help with troubleshooting the touchpad:

https://www.maketecheasier.com/fix-touchpad-not-working-linux/

After I boot can I run the xinput command? I don't think it worked when I tried it before.

Is it included in the .iso?

Offline

#90 2024-04-21 07:11:57

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi Maybl8,

Yes i use this to find driver used for my touchpad, (help for i2c / hid stuff, but mis PINCTRL_AMD part)

example for my tuxedo

stan@tuxedo:~$ find /sys | grep drivers.*093A:0255

find: ‘/sys/kernel/tracing’: Permission denied

find: ‘/sys/kernel/debug’: Permission denied

find: ‘/sys/fs/pstore’: Permission denied

find: ‘/sys/fs/bpf’: Permission denied

find: ‘/sys/fs/fuse/connections/178’: Permission denied

/sys/bus/hid/drivers/hid-multitouch/0018:093A:0255.0002

stan@tuxedo:~$ find /sys | grep drivers.*UNIW0001:00

find: ‘/sys/kernel/tracing’: Permission denied

find: ‘/sys/kernel/debug’: Permission denied

find: ‘/sys/fs/pstore’: Permission denied

find: ‘/sys/fs/bpf’: Permission denied

find: ‘/sys/fs/fuse/connections/178’: Permission denied

/sys/bus/i2c/drivers/i2c_hid_acpi/i2c-UNIW0001:00

In your case command should be :

[c]find /sys | grep drivers.*06CB:CD4F[/c]

[c]find /sys | grep drivers.*SYNA329A:00[/c]

For xinput, i rebuild iso to include them.

https://people.slitaz.org/~shann/slitaz-current-stuff/efitest/slitaz-current-core64.iso

Offline

#91 2024-04-21 16:41:47

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Since I cannot get keyboard to work correct. Example the letter a is not the letter a . It is hard to type something.

I took a pic of the xinput command. See attached.

Also here is the result of the find command on the Manjaro machine. I will post the result of find when I boot to slitaz next

[Manjaro demo]# find /sys | grep drivers.*06CB:CD4F

/sys/bus/hid/drivers/hid-multitouch/0018:06CB:CD4F.0002

[Manjaro demo]# find /sys | grep drivers.*SYNA329A:00

/sys/bus/i2c/drivers/i2c_hid/i2c-SYNA329A:00

Doing the find command on the slitaz iso returns nothing

Offline

#92 2024-04-21 16:54:08

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Figured out my keyboard issue.

I had to select US

Logout and back in.

Another questions is there a way to install the iso to the hard drive on my laptop so I can have a version that I can edit and save config files. I would like to do more testing like getting wireless to work and other things.

Thanks

Offline

#93 2024-04-21 18:25:19

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

In case same me in begin.

On Ubuntu, see i2c_hid / hid-multitouch with [c]find /sys[/c], that why i add I2C / HID but seem PINCTRL_AMD miss part.

In case if we see nothing on /sys, think miss major part for I2C/GPIO detected in case PINCTRL.

Let's me check to rebuild kernel with PINCTRL as built-in.

Concerning install iso, it's same as rolling, tazinst available or install from tazpanel.

Just keep in mind don't support grub2 / UEFI at time.

To be exactly you can install grub2 but we don't have /boot/efi stuff

Offline

#94 2024-04-21 23:45:45

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Maybe I should  start another post for this.

I thought I would try to install to the laptop hard drive.

I created a 1GB partition and tried to install to it from the Live USB I booted to.

It says it can't find the partition.

I know it is there.

It sees /dev/sda

but not the /dev/sda1

see the screenshot I attached.

[attachment=52294,3526]

Offline

#95 2024-04-22 05:55:44

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

Put new iso with new kernel with PINCTRL intel related built-in.

https://people.slitaz.org/~shann/slitaz-current-stuff/efitest/slitaz-current-core64.iso

USB has two partition

/dev/sda (raw,iso9660) for BIOS boot

/dev/sda1 (fat32) for EFI boot

root@tuxedo:/home/stan# mount /dev/sda /mnt

mount: /mnt: WARNING: device write-protected, mounted read-only.

root@tuxedo:/home/stan# ls /mnt

boot  EFI  index.html  md5sum  README

root@tuxedo:/home/stan# umount /mnt

root@tuxedo:/home/stan# mount /dev/sda1 /mnt

root@tuxedo:/home/stan# ls /mnt

EFI

But tazinst would like partition instead raw disk.

Need check for add this.

Offline

#96 2024-04-22 11:59:10

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

Sorry still no touchpad.

This is what I get when I run xinput list on Manjaro.

[demo@Manjaro bin]$ xinput -list

⎡ Virtual core pointer                        id=2    [master pointer  (3)]

⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]

⎜   ↳ ELAN2514:00 04F3:2992                       id=9    [slave  pointer  (2)]

⎜   ↳ SYNA329A:00 06CB:CD4F Mouse                 id=11    [slave  pointer  (2)]

⎜   ↳ SYNA329A:00 06CB:CD4F Touchpad              id=12    [slave  pointer  (2)]

⎣ Virtual core keyboard                       id=3    [master keyboard (2)]

    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]

    ↳ Video Bus                                   id=6    [slave  keyboard (3)]

    ↳ Video Bus                                   id=7    [slave  keyboard (3)]

    ↳ Power Button                                id=8    [slave  keyboard (3)]

    ↳ ELAN2514:00 04F3:2992 Stylus                id=10    [slave  keyboard (3)]

    ↳ Intel HID events                            id=13    [slave  keyboard (3)]

    ↳ Intel HID 5 button array                    id=14    [slave  keyboard (3)]

    ↳ AT Translated Set 2 keyboard                id=15    [slave  keyboard (3)]

    ↳ Wireless hotkeys                            id=16    [slave  keyboard (3)]

    ↳ HP WMI hotkeys                              id=17    [slave  keyboard (3)]

This laptop also has a touchscreen. I think that is the ELAN part.

Could that be part of the issue.  I am just grasping at straws.

Sorry I cannot be of more help.

I'll keep trying as you send me stuff to try.

I hate to see you spend so much time on my one laptop.

My main goal with your OS was to have it running persistent on a USB drive.

I have allot of os's running on usb drives to test them with.

It is kind of a hobby project of mine.

I built a script to install Arch on a USB .

You can see my script here:

https://bbs.archlinux.org/viewtopic.php?pid=2106581#p2106581

I have modified it a little since I posted this.

Offline

#97 2024-04-22 19:03:27

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

sad, think two commands of find not work on slitaz ?

[c]find /sys | grep drivers.*06CB:CD4F[/c]

[c]find /sys | grep drivers.*SYNA329A:00[/c]

In case not specially time for your laptop, hope could be help other user with similar hardware.

If understand, on your usb, you already have other OS, in case bootloader also ?

You can use tazinst cli with tips to use "usb" install type.

When you are on slitaz live, open sakura terminal and do root with "su -"

Create install-nvme file with this content

# SliTaz Installer setup file.

#

# Install type : [cdrom|usb|iso|web|weboot]

INST_TYPE="usb"

# Install source

# usb:/dev/xxx, ex: SRC_FILE=/dev/sdb1

# iso:file.iso, ex: SRC_FILE=~/slitaz.3.0.iso

# web: url, ex: SRC_FILE=http://mirror.slitaz.org/iso/cooking/slitaz-cooking.iso

# web: predefined mirrors (stable|cooking|rolling), ex: SRC_FILE=cooking

SRC_FILE="/dev/sdd1" ### < here is fictif usb device

# Install Target (Root Partition, ex /dev/hda5).

TGT_PARTITION="/dev/nvme0n1p10"  ### < ensure is right partition

# Target File system.

# SliTaz uses ext3 by default but another filesystem can be used if wanted,

# for this please adjust your /etc/fstab after installation. Valid options are:

# (btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|jfs|ntfs|reiser4|reiserfs|ufs|xfs)

TGT_FS="ext4"

# Home partition.

# On most GNU/Linux systems users personal files are stored in the directory

# /home. Home can be on another hard disk or on a separate partition.

TGT_HOME=""

# Home File system (if /home is on a separate partition)

TGT_HOME_FS=""

# Hostname

TGT_HOSTNAME="slitaz"

# root password

# The root administrator privilege lets you manage and configure the full

# system. A root user can damage your system so you should always setup a

# strong password with special characters and/or numbers.

TGT_ROOT_PWD="<replace_with_choose_root_password"

# The default user for the system will have his personal files stored

# in /home/*user* (and will be automatically added to the audio group).

TGT_USER="<replace_with_choose_username>"

TGT_USER_PWD="<replace_with_choose_password>"

# Grub bootloader

# install grub [yes|no]

TGT_GRUB="no"

# Windows dual-boot

# Dual boot is disabled if WINBOOT is empty: TGT_WINBOOT=""

# You may let tazinst find your win partition, mode=auto: TGT_WINBOOT="auto"

# or use manual setting: "hd[disk],[partition]" ex:TGT_WINBOOT=hd0,0

TGT_WINBOOT=""

Now we do create necessary stuff for tazinst :

mkdir /home/boot

mount /dev/sda /mnt

cp /mnt/boot/bzImage /home/boot/

cp /mnt/boot/rootfs.gz /home/boot/

umount /mnt

Install SliTaz on /dev/nvme0n1p10 smile

tazinst-stable install install-nvme

Adjust your bootloader config to have entry for SliTaz :

set root=(your_nvme_partition)

linux   /boot/vmlinuz-5.10.215-slitaz64 root=/dev/nvme0n1p10 ro

Suggest to use tazinst-stable-msrv in attachment, i use it for install SliTaz on mini computers i use as server (nvme disk and grub2).

Put in as /usr/sbin/tazinst-stable (i add .txt extension unless is deny)

Offline

#98 2024-04-23 17:49:09

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

I created the script

Mounted the dirs

When I ran tazinst-stable install install-nvme

I got

tazinst-stable not found

Offline

#99 2024-04-23 18:56:38

shann
Administrator
Registered: 2011-04-01
Posts: 1,296
Website

Re: UEFI only Laptop - Trouble booting

Hi maybl8,

shit i forget important part sad, you need to put script executable.

[c]chmod +x /usr/sbin/tazinst-stable[/c]

Offline

#100 2024-04-23 19:57:16

maybl8
Member
Registered: 2024-03-06
Posts: 63

Re: UEFI only Laptop - Trouble booting

I'm trying to use the usb live from the iso you created for me to test.

It doesn't have a tazinst-stable on it. it only has tazinst file.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.61 MiB (Peak: 1.78 MiB) ]