Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

lenovo legion y740 - trackpad

Need help with peripherals or devices?
Post Reply
Message
Author
negrao
Posts: 13
Joined: 2019-02-19 13:04

lenovo legion y740 - trackpad

#1 Post by negrao »

Hi

I just got a lenovo legion y740 15" which was launched in February so it is very recent. I have everything working except the trackpad. I'm running debian stable with kernel 4.19 from backports (which was needed to get wifi working).
I was wondering if it is possible to get the trackpad working or do I need to wait for a newer kernel version ?

Thanks,
Miguel Negrão

Code: Select all

Linux mbp 4.19.0-0.bpo.2-amd64 #1 SMP Debian 4.19.16-1~bpo9+1 (2019-02-07) x86_64 GNU/Linux

Code: Select all

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver Mouse             	id=10	[slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver Consumer Control  	id=11	[slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control	id=15	[slave  pointer  (2)]
⎜   ↳ Corsai Corsair Gaming K95 RGB PLATINUM Keyboard Consumer Control	id=18	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Logitech USB Receiver                   	id=9	[slave  keyboard (3)]
    ↳ Logitech USB Receiver System Control    	id=12	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) System Control	id=13	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Keyboard	id=14	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Wireless Radio Control	id=16	[slave  keyboard (3)]
    ↳ Corsai Corsair Gaming K95 RGB PLATINUM Keyboard Keyboard	id=17	[slave  keyboard (3)]
    ↳ Corsai Corsair Gaming K95 RGB PLATINUM Keyboard Wireless Radio Control	id=19	[slave  keyboard (3)]
    ↳ Corsai Corsair Gaming K95 RGB PLATINUM Keyboard System Control	id=20	[slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C         	id=21	[slave  keyboard (3)]
    ↳ Ideapad extra buttons                   	id=22	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=23	[slave  keyboard (3)]
    ↳ Logitech USB Receiver Consumer Control  	id=24	[slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control	id=25	[slave  keyboard (3)]
    ↳ Corsai Corsair Gaming K95 RGB PLATINUM Keyboard Consumer Control	id=26	[slave  keyboard (3)]

Code: Select all

mbp
    description: Notebook
    product: 81HE (LENOVO_MT_81HE_BU_idea_FM_Legion Y740-15ICHg)
    vendor: LENOVO
    version: Lenovo Legion Y740-15ICHg
    serial: MP1HP1FE
    width: 64 bits
    capabilities: smbios-3.0 dmi-3.0 smp vsyscall32
  *-core
       description: Motherboard
       product: LNVNB161216
       vendor: LENOVO
       physical id: 0
       version: SDK0R32862 WIN
       serial: MP1HP1FE
       slot: Type2 - Board Chassis Location
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: AVCN14WW(V1.04)
          date: 12/21/2018
          size: 128KiB
          capacity: 10176KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 900MHz
          capacity: 4100MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d cpufreq
          configuration: cores=6 enabledcores=6 threads=12
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1 Cache
             size: 384KiB
             capacity: 384KiB
             capabilities: synchronous internal write-back unified
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2 Cache
             size: 1536KiB
             capacity: 1536KiB
             capabilities: synchronous internal write-back unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: 7
             slot: L3 Cache
             size: 9MiB
             capacity: 9MiB
             capabilities: synchronous internal write-back unified
             configuration: level=3
     *-memory
          description: System Memory
          physical id: 25
          slot: System board or motherboard
          size: 16GiB
        *-bank:0
             description: SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
             product: RMSA3260ME78HAF-2666
             vendor: Ramaxel
             physical id: 0
             serial: 092EC900
             slot: ChannelA-DIMM0
             size: 8GiB
             width: 64 bits
             clock: 2667MHz (0.4ns)
        *-bank:1
             description: SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
             product: RMSA3260ME78HAF-2666
             vendor: Ramaxel
             physical id: 1
             serial: 01A02D01
             slot: ChannelB-DIMM0
             size: 8GiB
             width: 64 bits
             clock: 2667MHz (0.4ns)
     *-pci
          description: Host bridge
          product: Intel Corporation
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 07
          width: 32 bits
          clock: 33MHz
          configuration: driver=skl_uncore
          resources: irq:0
        *-pci:0
             description: PCI bridge
             product: Skylake PCIe Controller (x16)
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 07
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:121 ioport:4000(size=4096) memory:50000000-640fffff ioport:4022000000(size=1048576)
           *-display
                description: VGA compatible controller
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nvidia latency=0
                resources: irq:158 memory:63000000-63ffffff memory:50000000-5fffffff memory:60000000-61ffffff ioport:4000(size=128) memory:62000000-6207ffff
           *-multimedia
                description: Audio device
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:01:00.1
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:17 memory:64000000-64003fff
           *-usb
                description: USB controller
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0.2
                bus info: pci@0000:01:00.2
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: msi pciexpress pm xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: iomemory:400-3ff iomemory:400-3ff irq:129 memory:4022000000-402203ffff memory:4022040000-402204ffff
              *-usbhost:0
                   product: xHCI Host Controller
                   vendor: Linux 4.19.0-0.bpo.2-amd64 xhci-hcd
                   physical id: 0
                   bus info: usb@3
                   logical name: usb3
                   version: 4.19
                   capabilities: usb-2.00
                   configuration: driver=hub slots=2 speed=480Mbit/s
              *-usbhost:1
                   product: xHCI Host Controller
                   vendor: Linux 4.19.0-0.bpo.2-amd64 xhci-hcd
                   physical id: 1
                   bus info: usb@4
                   logical name: usb4
                   version: 4.19
                   capabilities: usb-3.10
                   configuration: driver=hub slots=4 speed=10000Mbit/s
           *-serial UNCLAIMED
                description: Serial bus controller
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0.3
                bus info: pci@0000:01:00.3
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: msi pciexpress pm cap_list
                configuration: latency=0
                resources: memory:64004000-64004fff
        *-generic:0
             description: Signal processing controller
             product: Skylake Processor Thermal Subsystem
             vendor: Intel Corporation
             physical id: 4
             bus info: pci@0000:00:04.0
             version: 07
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm bus_master cap_list
             configuration: driver=proc_thermal latency=0
             resources: iomemory:400-3ff irq:16 memory:4022200000-4022207fff
        *-generic:1 UNCLAIMED
             description: System peripheral
             product: Skylake Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 8
             bus info: pci@0000:00:08.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm bus_master cap_list
             configuration: latency=0
             resources: iomemory:400-3ff memory:4022219000-4022219fff
        *-generic:2
             description: Signal processing controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=intel_pch_thermal latency=0
             resources: iomemory:400-3ff irq:16 memory:4022218000-4022218fff
        *-usb
             description: USB controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:128 memory:64300000-6430ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 4.19.0-0.bpo.2-amd64 xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 4.19
                capabilities: usb-2.00
                configuration: driver=hub slots=16 speed=480Mbit/s
              *-usb:0
                   description: Keyboard
                   product: USB Receiver
                   vendor: Logitech
                   physical id: 3
                   bus info: usb@1:3
                   version: 29.00
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=98mA speed=12Mbit/s
              *-usb:1
                   description: Keyboard
                   product: ITE Device(8910)
                   vendor: ITE Tech. Inc.
                   physical id: 4
                   bus info: usb@1:4
                   version: 13.10
                   capabilities: usb-2.01
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usb:2
                   description: Keyboard
                   product: Corsair Gaming K95 RGB PLATINUM Keyboard
                   vendor: Corsai
                   physical id: 6
                   bus info: usb@1:6
                   version: 13.10
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usb:3
                   description: Video
                   product: Integrated Camera
                   vendor: Azurewave
                   physical id: 7
                   bus info: usb@1:7
                   version: 17.11
                   serial: 0001
                   capabilities: usb-2.01
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
              *-usb:4
                   description: Bluetooth wireless interface
                   vendor: Intel Corp.
                   physical id: e
                   bus info: usb@1:e
                   version: 0.02
                   capabilities: bluetooth usb-2.00
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 4.19.0-0.bpo.2-amd64 xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 4.19
                capabilities: usb-3.10
                configuration: driver=hub slots=8 speed=10000Mbit/s
              *-usb:0
                   description: Mass storage device
                   product: Ultra
                   vendor: SanDisk
                   physical id: 1
                   bus info: usb@2:1
                   logical name: scsi2
                   version: 1.00
                   serial: 4C530001210628110212
                   capabilities: usb-3.00 scsi emulated
                   configuration: driver=usb-storage maxpower=896mA speed=5000Mbit/s
                 *-disk
                      description: SCSI Disk
                      product: Ultra
                      vendor: SanDisk
                      physical id: 0.0.0
                      bus info: scsi@2:0.0.0
                      logical name: /dev/sdd
                      version: 1.00
                      serial: 4C530001210628110212
                      size: 28GiB (31GB)
                      capabilities: removable
                      configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512
                    *-medium
                         physical id: 0
                         logical name: /dev/sdd
                         size: 28GiB (31GB)
                         capabilities: gpt-1.00 partitioned partitioned:gpt
                         configuration: guid=90760878-b1ca-4fba-bec9-f24b54f8f883
                       
              *-usb:1
                   description: Mass storage device
                   product: ATAPI-6 Bridge Controller
                   vendor: Prolific Technology Inc.
                   physical id: 2
                   bus info: usb@2:2
                   logical name: scsi1
                   version: 1.00
                   serial: 01234567890000000C7
                   capabilities: usb-3.00 scsi emulated
                   configuration: driver=usb-storage maxpower=96mA speed=5000Mbit/s
                 *-disk:0
                      description: SCSI Disk
                      product: EZRX-00AZ6B0
                      vendor: WDC WD30
                      physical id: 0.0.0
                      bus info: scsi@1:0.0.0
                      logical name: /dev/sdb
                      version: 80.0
                      size: 2794GiB (3TB)
                      capabilities: partitioned partitioned:dos
                      configuration: logicalsectorsize=512 sectorsize=512 signature=96822aef
                   
                 *-disk:1
                      description: SCSI Disk
                      product: EZRX-00DC0B0
                      vendor: WDC WD30
                      physical id: 0.0.1
                      bus info: scsi@1:0.0.1
                      logical name: /dev/sdc
                      version: 80.0
                      size: 2794GiB (3TB)
                      capabilities: partitioned partitioned:dos
                      configuration: logicalsectorsize=512 sectorsize=512 signature=96822a91
                   
        *-memory UNCLAIMED
             description: RAM memory
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 10
             width: 64 bits
             clock: 33MHz (30.3ns)
             capabilities: pm bus_master cap_list
             configuration: latency=0
             resources: iomemory:400-3ff iomemory:400-3ff memory:4022210000-4022211fff memory:4022217000-4022217fff
        *-network
             description: Wireless interface
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14.3
             bus info: pci@0000:00:14.3
             logical name: wlp0s20f3
             version: 10
             serial: 48:f1:7f:82:1e:32
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
             configuration: broadcast=yes driver=iwlwifi driverversion=4.19.0-0.bpo.2-amd64 firmware=34.0.0 ip=192.168.1.123 latency=0 link=yes multicast=yes wireless=IEEE 802.11
             resources: iomemory:400-3ff irq:16 memory:402220c000-402220ffff
        *-serial:0
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 15
             bus info: pci@0000:00:15.0
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:16 memory:4022213000-4022213fff
        *-serial:1
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 15.1
             bus info: pci@0000:00:15.1
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:17 memory:4022215000-4022215fff
        *-communication:0
             description: Communication controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: iomemory:400-3ff irq:142 memory:4022214000-4022214fff
        *-storage
             description: SATA controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             version: 10
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:127 memory:64310000-64311fff memory:64314000-643140ff ioport:5040(size=8) ioport:5048(size=4) ioport:5020(size=32) memory:64313000-643137ff
        *-pci:1
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:122 ioport:6000(size=4096) memory:68000000-7e0fffff ioport:4000000000(size=570425344)
        *-pci:2
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1b.4
             bus info: pci@0000:00:1b.4
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:123 memory:64200000-642fffff
           *-storage
                description: Non-Volatile memory controller
                product: Sandisk Corp
                vendor: Sandisk Corp
                physical id: 0
                bus info: pci@0000:3e:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: storage pm msi msix pciexpress nvm_express bus_master cap_list
                configuration: driver=nvme latency=0
                resources: irq:16 memory:64200000-64203fff memory:64204000-642040ff
        *-pci:3
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:124 ioport:3000(size=4096) memory:64100000-641fffff
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:3f:00.0
                logical name: enp63s0
                version: 15
                serial: 9c:5a:44:17:12:40
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.122 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
                resources: irq:16 ioport:3000(size=256) memory:64104000-64104fff memory:64100000-64103fff
        *-communication:1
             description: Communication controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=intel-lpss latency=0
             resources: irq:20 memory:4022216000-4022216fff
        *-isa
             description: ISA bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 10
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-multimedia
             description: Audio device
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: iomemory:400-3ff iomemory:400-3ff irq:157 memory:4022208000-402220bfff memory:4022100000-40221fffff
        *-serial:2
             description: SMBus
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 10
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: iomemory:400-3ff irq:16 memory:4022212000-40222120ff ioport:5000(size=32)
        *-serial:3 UNCLAIMED
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.5
             bus info: pci@0000:00:1f.5
             version: 10
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: latency=0
             resources: memory:fe010000-fe010fff
     *-scsi
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: SanDisk SDSSDXPS
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: 00RL
             serial: 153252402597
             size: 447GiB (480GB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=064a5cbd-1ba1-4fdf-b0a8-9595e2faa783 logicalsectorsize=512 sectorsize=512
          
  *-battery
       description: Zinc Air Battery
       product: CRB Battery 0
       vendor: -Virtual Battery 0-
       physical id: 1
       version: 08/08/2010
       serial: Battery 0
       slot: Fake
  *-power UNCLAIMED
       description: OEM Define 1
       product: OEM Define 5
       vendor: OEM Define 2
       physical id: 2
       version: OEM Define 6
       serial: OEM Define 3
       capacity: 75mWh

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: lenovo legion y740 - trackpad

#2 Post by Head_on_a_Stick »

negrao wrote:wait for a newer kernel version
^ This.

The Liquorix kernel is up to v4.20, perhaps that will support it.

https://liquorix.net/
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: lenovo legion y740 - trackpad

#3 Post by stevepusser »

I'm pretty sure you need more than just the kernel from stretch-backports to get that hardware really working correctly. Usually a Mesa update plus some others are required.

Could you install inxi, update the hardware databases as sysadmin with

Code: Select all

update-pciids
update-usbids
and give the result as a regular user of

Code: Select all

inxi -Fxxz
I do have backports of the upstream Debian 4.19 and 4.20 kernels here:

https://build.opensuse.org/project/show ... re-support

as well as various versions of the Liquorix kernels for Stretch: https://build.opensuse.org/project/show ... r:codelite
MX Linux packager and developer

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#4 Post by negrao »

Here is the info:

Code: Select all

System:    Host: mbp Kernel: 4.19.0-0.bpo.2-amd64 x86_64 (64 bit gcc: 6.3.0)
           Desktop: Gnome 3.22.3 (Gtk 3.22.11) dm: gdm3
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: LENOVO product: 81HE v: Lenovo Legion Y740-15ICHg
           Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
           UEFI: LENOVO v: AVCN14WW(V1.04) date: 12/21/2018
           Chassis: type: 10 v: Lenovo Legion Y740-15ICHg
Battery    BAT1: charge: 42.3 Wh 73.4% condition: 57.6/57.0 Wh (101%)
           volts: 11.7/11.5
           model: 0000313100504D53 324750334D37314C serial: 737 status: Discharging
CPU:       Hexa core Intel Core i7-8750H (-HT-MCP-) cache: 9216 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26496
           clock speeds: min/max: 800/4100 MHz 1: 1260 MHz 2: 3541 MHz
           3: 3639 MHz 4: 3174 MHz 5: 3269 MHz 6: 3207 MHz 7: 3297 MHz
           8: 3210 MHz 9: 3234 MHz 10: 2700 MHz 11: 3309 MHz 12: 3228 MHz
Graphics:  Card: NVIDIA TU106M [GeForce RTX 2060 Mobile]
           bus-ID: 01:00.0 chip-ID: 10de:1f51
           Display Server: X.Org 1.19.2 driver: nvidia
           Resolution: 1920x1080@144.00hz
           GLX Renderer: GeForce RTX 2060/PCIe/SSE2
           GLX Version: 4.6.0 NVIDIA 415.27 Direct Rendering: Yes
Audio:     Card-1 Intel Cannon Lake PCH cAVS
           driver: snd_hda_intel bus-ID: 00:1f.3 chip-ID: 8086:a348
           Card-2 NVIDIA TU106 High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1 chip-ID: 10de:10f9
           Sound: Advanced Linux Sound Architecture v: k4.19.0-0.bpo.2-amd64
Network:   Card-1: Intel Wireless-AC 9560 [Jefferson Peak]
           driver: iwlwifi bus-ID: 00:14.3 chip-ID: 8086:a370
           IF: wlp0s20f3 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 port: 3000 bus-ID: 3f:00.0 chip-ID: 10ec:8168
           IF: enp63s0 state: down mac: <filter>
Drives:    HDD Total Size: 480.1GB (Used Error!)
           ID-1: /dev/nvme0n1 model: N/A size: 512.1GB serial: 185059420051
           ID-2: /dev/sda model: SanDisk_SDSSDXPS size: 480.1GB
           serial: 153252402597 temp: 0C
Partition: ID-1: / size: 394G used: 314G (81%) fs: btrfs dev: /dev/dm-0
           ID-2: /boot size: 362M used: 259M (77%) fs: ext4 dev: /dev/nvme0n1p4
           ID-3: /home size: 394G used: 314G (81%) fs: btrfs dev: /dev/dm-0
           ID-4: swap-1 size: 2.00GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p6
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A gpu: 1.0:46C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 385 Uptime: 19:38 Memory: 4380.4/15955.0MB
           Init: systemd v: 232 runlevel: 5 Gcc sys: 6.3.0
           Client: Shell (bash 4.4.121 running in gnome-terminal-) inxi: 2.3.5

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#5 Post by negrao »

Tried installing the 4.20 kernel from https://build.opensuse.org/project/show ... re-support.

I installed these deb files:

Code: Select all

linux-headers-4.20.0-1-amd64_4.20-1~obs_amd64.deb
linux-headers-4.20.0-1-common_4.20-1~obs_all.deb
linux-image-4.20.0-1-amd64-unsigned_4.20-1~obs_amd64.deb
linux-kbuild-4.20_4.20-1~obs_amd64.deb
The kernel installed correctly although there was on problem with module which is quite strange. During the installation of the 4.20 kernel it is apparently trying to build something in /lib/modules/4.19.0-0.bpo.2-amd64/ ?

Code: Select all

uname -a
Linux mbp 4.20.0-1-amd64 #1 SMP Debian 4.20-1~obs (2018-12-30) x86_64 GNU/Linux

Code: Select all

DKMS make.log for alsa-firewire-3.11 for kernel 4.20.0-1-amd64 (x86_64)
qua fev 20 16:12:02 WET 2019
make -C /lib/modules/4.19.0-0.bpo.2-amd64/build M=/var/lib/dkms/alsa-firewire/3.11/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-0.bpo.2-amd64'
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/iso-resources.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/packets-buffer.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fcp.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/dice-transaction.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/digi00x-stream.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/fireworks_transaction.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/bebob_command.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-command.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-proc.o
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fcp.c:20:0:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.c: In function ‘async_midi_port_callback’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.c:110:44: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  struct snd_rawmidi_substream *substream = ACCESS_ONCE(port->substream);
                                            ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.c:110:44: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.c: In function ‘midi_port_work’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.c:135:44: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
  struct snd_rawmidi_substream *substream = ACCESS_ONCE(port->substream);
                                            ^~~~~~~~~~~
cc1: some warnings being treated as errors
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/dice.h:40,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/dice-transaction.c:10:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/digi00x.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/digi00x-stream.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fcp.o' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fcp.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-stream.o
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/./../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/./fireworks.h:35,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/fireworks_transaction.c:32:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/./../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/./../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/./../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c:11:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c: In function ‘amdtp_motu_midi_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c:352:30: error: lvalue required as left operand of assignment
   ACCESS_ONCE(p->midi[port]) = midi;
                              ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c: In function ‘process_tx_data_blocks’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c:376:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  pcm = ACCESS_ONCE(s->pcm);
      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c: In function ‘process_rx_data_blocks’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.c:437:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  pcm = ACCESS_ONCE(s->pcm);
      ^
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw.h:34,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-command.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/digi00x-stream.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/digi00x-stream.o] Error 1
make[6]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/dice-transaction.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice/dice-transaction.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/dice] Error 2
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.o
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/./../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/./bebob.h:37,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/bebob_command.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/./../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/./../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/./../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-stream.o
cc1: some warnings being treated as errors
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/digi00x.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c:12:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
cc1: some warnings being treated as errors
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c: In function ‘amdtp_dot_midi_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c:368:30: error: lvalue required as left operand of assignment
   ACCESS_ONCE(p->midi[port]) = midi;
                              ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c: In function ‘process_tx_data_blocks’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c:380:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  pcm = ACCESS_ONCE(s->pcm);
      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c: In function ‘process_rx_data_blocks’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.c:402:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  pcm = ACCESS_ONCE(s->pcm);
      ^
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/fireworks_transaction.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks/fireworks_transaction.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/fireworks] Error 2
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/amdtp-motu.o] Error 1
make[6]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-proc.o
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-command.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-command.o] Error 1
make[6]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-transaction.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.o
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/./tascam.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-proc.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/./../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
cc1: some warnings being treated as errors
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/./../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/./../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/bebob_command.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob/bebob_command.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/bebob] Error 2
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x/amdtp-dot.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/digi00x] Error 2
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-stream.o
  CC [M]  /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-pcm.o
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-proc.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-proc.o] Error 1
make[6]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.o' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/lib.o] Error 1
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-pcm.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-pcm.c: At top level:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-pcm.c:293:11: error: ‘snd_pcm_lib_mmap_vmalloc’ undeclared here (not in a function)
  .mmap  = snd_pcm_lib_mmap_vmalloc,
           ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-pcm.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-pcm.o] Error 1
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-transaction.c:10:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-transaction.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-transaction.o] Error 1
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw.h:34,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-stream.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw.h:34,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.c:8:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.c: In function ‘snd_oxfw_create_pcm’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.c:401:16: error: ‘snd_pcm_lib_mmap_vmalloc’ undeclared (first use in this function)
   .mmap      = snd_pcm_lib_mmap_vmalloc,
                ^~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.c:401:16: note: each undeclared identifier is reported only once for each function it appears in
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-stream.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-stream.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-stream.o] Error 1
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/./../amdtp-am824.h:7:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/./oxfw.h:34,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-proc.c:9:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/./../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/./../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/./../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-pcm.o] Error 1
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.c:10:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
cc1: some warnings being treated as errors
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.c: In function ‘process_tx_data_blocks’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.c:184:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  pcm = ACCESS_ONCE(s->pcm);
      ^
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.c: In function ‘process_rx_data_blocks’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.c:204:6: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  pcm = ACCESS_ONCE(s->pcm);
      ^
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-proc.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw/oxfw-proc.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/oxfw] Error 2
cc1: some warnings being treated as errors
In file included from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam.h:34:0,
                 from /var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-stream.c:10:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h: In function ‘amdtp_stream_pcm_trigger’:
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h:211:2: error: implicit declaration of function ‘ACCESS_ONCE’ [-Werror=implicit-function-declaration]
  ACCESS_ONCE(s->pcm) = pcm;
  ^~~~~~~~~~~
/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/../amdtp-stream.h:211:22: error: lvalue required as left operand of assignment
  ACCESS_ONCE(s->pcm) = pcm;
                      ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-stream.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu/motu-stream.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/motu] Error 2
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/amdtp-tascam.o] Error 1
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:308: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-stream.o' failed
make[6]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam/tascam-stream.o] Error 1
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam' failed
make[5]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire/tascam] Error 2
/usr/src/linux-headers-4.19.0-0.bpo.2-common/scripts/Makefile.build:549: recipe for target '/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire' failed
make[4]: *** [/var/lib/dkms/alsa-firewire/3.11/build/sound/firewire] Error 2
/usr/src/linux-headers-4.19.0-0.bpo.2-common/Makefile:1540: recipe for target '_module_/var/lib/dkms/alsa-firewire/3.11/build' failed
make[3]: *** [_module_/var/lib/dkms/alsa-firewire/3.11/build] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-0.bpo.2-amd64'
Makefile:18: recipe for target 'all' failed
make: *** [all] Error 2
The trackpad is still not working ...

Thanks,
Miguel

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: lenovo legion y740 - trackpad

#6 Post by milomak »

do you have the below installed (nevermind the version, do you have the package)

Code: Select all

dpkg -l | grep synaptics
ii  xserver-xorg-input-synaptics                                1.9.1-1                              amd64        Synaptics TouchPad driver for X.Org server
and if so have you setup an xorg config for it?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: lenovo legion y740 - trackpad

#7 Post by stevepusser »

Well, that's weird. Apparently, you have some alsa-firewire dkms package I've never seen before, and dkms packages are outside of the kernel and are supposed to rebuild automatically when a new kernel or kernel update is installed. I don't know where yours came from, since I and nobody else has reported that.

Is your laptop Nvidia-only, or do you have the integrated Intel UHD 630 GPU disabled in the BIOS? I thought that that machine would be using the switchable Optimus setup. That Intel GPU really requires a backported Mesa to work correctly (which is also in my OBS repo or stretch-backports). The machine also needs the latest firmware-misc-nonfree to really work correctly, but you must have found that already for firmware-iwlwifi, since you have the wi-fi working.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: lenovo legion y740 - trackpad

#8 Post by stevepusser »

About the touchpad, it seems similar to other Lenovos with Elan touchpads with ACPI IDs that don't appear in the kernel driver. Can you run

Code: Select all

dmesg | grep i2c
and

Code: Select all

dmesg | grep elan
to see if the kernel can at least see and show the touchpad's ID?
MX Linux packager and developer

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#9 Post by negrao »

Yes, I have xserver-xorg-input-synaptics installed:

Code: Select all

dpkg -l | grep synaptics
ii  xserver-xorg-input-synaptics                                     1.9.0-1+b1                                  amd64        Synaptics TouchPad driver for X.Org server
But in https://wiki.debian.org/SynapticsTouchpad it says I should find out what type of trackpad I have and it doesn't find anything:
egrep -i 'synap|alps|etps|elan' /proc/bus/input/devices
displays nothing...

I have not setup a an xorg config for it.

Also the following displays nothing:
sudo dmesg | grep i2c
sudo dmesg | grep elan
Well, that's weird. Apparently, you have some alsa-firewire dkms package I've never seen before, and dkms packages are outside of the kernel and are supposed to rebuild automatically when a new kernel or kernel update is installed. I don't know where yours came from, since I and nobody else has reported that.
Ah, you're right ! I had installed that module manually from https://github.com/takaswie/snd-firewire-improve. I wanted to use my MOTU sound card directly with ALSA, without using ffado (in my previous machine), but that didn't work and I forgot to uninstall. I have uninstalled that module now.
Is your laptop Nvidia-only, or do you have the integrated Intel UHD 630 GPU disabled in the BIOS? I thought that that machine would be using the switchable Optimus setup. That Intel GPU really requires a backported Mesa to work correctly (which is also in my OBS repo or stretch-backports). The machine also needs the latest firmware-misc-nonfree to really work correctly, but you must have found that already for firmware-iwlwifi, since you have the wi-fi working.
It should have, I'm actually not totally sure. In the firmware setup menu there is an option to chose between "switchable graphics" and "discrete graphics". It came from factory in "discrete graphics" and I still haven't changed it from that. I installed the nvidia proprietary driver, and everything is running fine graphics wise. Even before installing the nvidia driver I was able to use gnome using what I suppose is a basic driver (because I don't think my version of the nouveau driver supports the RTX2060 yet).

My version of firmware-iwlwifi didn't have the firmware for my wifi card (9650) so I installed the firmware file manually from the intel website. After updating to 4.19 kernel the wifi started working.

ii firmware-iwlwifi 20161130-4

manually installed firmware:
/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-34.ucode

ii firmware-misc- 20161130-4

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: lenovo legion y740 - trackpad

#10 Post by stevepusser »

Well, the firmware-iwlwifi in backports and in debian testing does support that 9560 chipset. If you do use a new kernel, you should update all firmware from backports to match. Maybe Lenovo or Windows could tell you what exactly the trackpad is, because I'm stumped at the moment.

Yes, your machine has the Intel GPU turned off. Most users have it on to get better battery life, lower heat,maybe a faster CPU, and then use some kind of switcher like Bumblebee to use the discrete card only for demanding 3D rendering, such as in graphic programs and games.

When I turn on the Nvidia GPU on my MSI GP63, which has the same i7-8750H CPU, I do see my maximum sustained CPU speed drop from 3.6 to 3.2 or even 2.8 GHz, apparently because they are sharing the power bus. There are some advanced power tweaks I could do if I get into the secret advanced MSI BIOS power settings to fool it that there's more power (IM slope), but I'm pretty good with it now, especially since I undervolt it with iuvolt to reduce thermal throttling already without much hassle.
MX Linux packager and developer

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#11 Post by negrao »

Ok, I have updated the firmware packages to the versions in backports and removed the manually installed firmware file. Wireless is still working.

Code: Select all

ii  firmware-iwlwifi                                                 20180825+dfsg-1~bpo9+1                      all          Binary firmware for Intel Wireless cards
ii  firmware-linux-free                                              3.4                                         all          Binary firmware for various drivers in the Linux kernel
ii  firmware-linux-nonfree                                           20180825+dfsg-1~bpo9+1                      all          Binary firmware for various drivers in the Linux kernel (meta-package)
ii  firmware-misc-nonfree                                            20180825+dfsg-1~bpo9+1                      all          Binary firmware for various drivers in the Linux kernel
ii  firmware-realtek                                                 20180825+dfsg-1~bpo9+1                      all          Binary firmware for Realtek wired/wifi/BT adapters
I've looked in Windows 10 to see how the trackpad is reported, it shows:

Code: Select all

Device I2C HID

Hardware ID:

HID\VEN_SYNA&DEV_7DB5&Col02
HID\SYNA7DB5&Col02
HID\*SYNA7DB5&Col02
HID\VID_06CB&UP:000D_U:0005
HID_DEVICE_UP:000D_U:0005
HID_DEVICE
So it seems it is synaptics ? I've see with google other people with a computer with same trackpad and it is reported with xinput...

I would prefer actually to run all programs that run on the laptop screen with the intel card and only run the nvidia for anything over hdmi or dp. Will investigate how to do that.
Windows reports that the intel graphics card (after activating in firmware) is Intel(R) UHD Graphics 630.
Just to check what would happen I tried booting debian with the intel card activated, without installing bumblebee, but it got stuck in grub. Nothing appears after "loading ramdisk". I wonder if it is possible to use just the intel card with no switching ? I tried in the kernel parameters nvidia.modeset=0 but that didn't work. I see that nvidia driver 415.27 is now already in experimental, I will switch to that and then see if I can install bumblebee.

Thanks for all the help so far.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: lenovo legion y740 - trackpad

#12 Post by stevepusser »

Usually, if you turn on the switchable graphics, they take precedence, so the Intel card should be automatically detected. Your Lenovo may be quirky if they turned it off by default, even for Windows users, however. Normally the newer kernel will get your UHD 630 working with software acceleration, then you need to install a newer Mesa (libgl1-mesa-dri and libgl1-mesa-glx) from backports to get the hardware acceleration.

Could you try booting an MX 18.1 Linux Live USB? That has a 4.19 kernel and all the backports already on a Stretch base...I help develop it and wonder if it will still have the same trouble booting.
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: lenovo legion y740 - trackpad

#13 Post by Head_on_a_Stick »

negrao wrote:OI tried in the kernel parameters nvidia.modeset=0 but that didn't work
Try

Code: Select all

nomodeset nvidia.modeset=0
Both are needed for discrete cards.
deadbang

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#14 Post by negrao »

Hi

With the image MX-18.1_x64.iso and laptop firmware switched to switchable graphics the system boots fine, I can login in the graphical manager. The intel card appears in lspci. It does not however detect a second screen when I connect it via DP. In any case I believe nouveau does not yet support the RTX 2060 in kernel 4.19 or 4.20. The touchpad is still not detected, and does not appear in xinput or dmesg.

tryed booting my debian system with ' nomodeset nvidia.modeset=0' but I still get stuck in grub. I suppose to troubleshoot I should uninstall the nvidia driver, I will try that at some point. My / partition is inside luks, so a luks password is asked at start. I wonder if the stuck screen is because it is waiting to unlock the partition. I did try entering the password but nothing happened.

Thanks again !
Miguel

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#15 Post by negrao »

Regarding the original question, the trackpad, given that I now know the touchpad model (SYNA7DB5) and that it is not detected by the latest kernels, what should be my next steps ? Should I file a bug report, and if so on which package ?

Regarding the GPU, I have uninstalled the nvidia driver, and when I boot with intel card turned on, it does get stuck in grub, but once I enter my LUKS password blindly, after some seconds, the dmesg log appears, and the boot proceeds normally. The system reports the intel card being in use. The nouveau drivers reports it doesn't know this graphics card.
With the NVIDIA drivers installed, if I enter the password blindly I never exit the grub screen and I have to force shutdown the computer. Using journalctl -b -1 I can see that actually the system seems to boot fine, it just never shows anything on the screen, it stays in the grub screen. This indicates that the problem is related with the NVIDIA drivers, and possibly an interaction with LUKS. Since nouveau still doesn't support my card (NVIDIA RTX 2060) I cannot use it at this moment, in order to use the DP or HDMI ports.

Thanks
Miguel Negrão

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#16 Post by negrao »

Hi again,

I've now manage to see that the kernel is at least detecting the touchpad:

Code: Select all

ls /sys/bus/acpi/devices/SY*

/sys/bus/acpi/devices/SYNA7DB5:00:
hid  modalias  path  power  status  subsystem  uevent

/sys/bus/acpi/devices/SYNA7DB5:01:
adr  hid  modalias  path  physical_node  power	status	subsystem  uevent  uid
How can I use this information to determine why it is not working in gnome ?

Thanks
Miguel

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#17 Post by negrao »

Trackpad now working after updating system to buster/testing.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: lenovo legion y740 - trackpad

#18 Post by stevepusser »

The Nvidia 410.104 now in testing and stretch-backports also supports your Nvidia 20XX card now. I have it on a Stretch base because I need it for 5.0 Liquorix kernel backports, which I also have in an OBS repo: https://build.opensuse.org/project/show ... r:codelite
MX Linux packager and developer

negrao
Posts: 13
Joined: 2019-02-19 13:04

Re: lenovo legion y740 - trackpad

#19 Post by negrao »

The 410.104 driver doesn't support the RTX2060. I think the first driver that supports it is the 415.27.

Code: Select all

nvidia-detect 
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] [10de:1f51] (rev a1)

Checking card:  NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
Uh oh. Your card is not supported by any driver version up to 410.104.
A newer driver may add support for your card.
Newer driver releases may be available in backports, unstable or experimental.
Best,
Miguel Negrão

ps: How does one change the topic to [solved] ?

arzgi
Posts: 1197
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 32 times

Re: lenovo legion y740 - trackpad

#20 Post by arzgi »

negrao wrote: ps: How does one change the topic to [solved] ?
Edit the header of your first post in the thread.

Post Reply