Porteus 3.2.2 Synaptics touchpad hp stream 11

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
cmbarreto
Ronin
Ronin
Posts: 2
Joined: 11 Jan 2012, 16:16
Distribution: Slackware, porteus, ubuntu
Location: Uruguay

Porteus 3.2.2 Synaptics touchpad hp stream 11

Post#1 by cmbarreto » 24 Feb 2017, 17:31

I have a HP Stream 11 laptop, with synaptics touchpad, that dont work in porteus 3.2.2

Code: Select all

uname -a
Linux porteus 4.9.0-porteus #1 SMP PREEMPT Sat Dec 17 19:22:10 BRST 2016 x86_64 Intel(R) Celeron(R) CPU  N2840  @ 2.16GHz GenuineIntel GNU/Linux
Based on this solution for another porteus version:
https://forum.porteus.org/viewtopic.php?f=117&t=4628

I sucessfully compiled i2c-designware-core and i2c-designware-platdrv and now my touchpad is working under porteus 3.2.2.

The instructions for compiling these kernel modules.
==============================
I downloaded:
Source of the linux kernel stable 4.9.5:

Code: Select all

wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.5.tar.xz
And the crippled sources modules for porteus 3.2.2, that must be activated first.
crippled_sources.xzm

Compile modules:

Code: Select all

tar -zxvf linux-4.9.5.tar.xz /mnt/sda1/borrar/
cd /mnt/sda1/borrar/linux-4.9.5/
cd drivers/i2c/busses/
mv Makefile 20170221Makefile 
vi Makefile 
make
vi Makefile 
make
ls *.ko
insmod /mnt/sda1/borrar/linux-4.9.5/drivers/i2c/busses/i2c-designware-core.ko 
insmod /mnt/sda1/borrar/linux-4.9.5/drivers/i2c/busses/i2c-designware-platdrv.ko 
The contents of Makefile (vi Makefile) used.
First time for compiling i2c-designware-core:

Code: Select all

obj-m := i2c-designware-core.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
Second time for compiling i2c-designware-platdrv:

Code: Select all

obj-m := i2c-designware-platdrv.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
Now you can copy the compiled kernel modules for autodetection at boot to the rootcopy folder of porteus

Code: Select all

cd /mnt/sda1/porteus/rootcopy/
mkdir -p lib/modules/4.9.0-porteus
cd lib/modules/4.9.0-porteus/
cp /mnt/sda1/borrar/linux-4.9.5/drivers/i2c/busses/i2c-designware-core.ko ./
cp /mnt/sda1/borrar/linux-4.9.5/drivers/i2c/busses/i2c-designware-platdrv.ko ./
I hope that someone can help somebody.

Cesar.-

User avatar
brokenman
Site Admin
Site Admin
Posts: 5652
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus 3.2.2 Synaptics touchpad hp stream 11

Post#2 by brokenman » 25 Feb 2017, 23:59

Thanks. I've included the designware drivers in the latest kernel-4.9.12 (for 64bit).
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply