glorang / nwfermi

NextWindow Touchscreen on Ubuntu 22.04
MIT License
20 stars 3 forks source link

DKMS module loaded but not present in lsmod #11

Open KenwoodFox opened 7 months ago

KenwoodFox commented 7 months ago

I know this is maybe not actively watched but, if anyone looked at this it would be very appreciated!

I think i built everything right, i can see the DKMS module setup, but its not loaded in lsmod?

# dkms status
nwfermi/0.7.0.1, 6.1.0-17-amd64, x86_64: installed
# lsmod |grep -i fermi
#
# lsusb | grep "Touch"
Bus 005 Device 002: ID 1926:0003 NextWindow 1900 HID Touchscreen

Thanks for reading!

glorang commented 7 months ago

Your device ID 1926:0003 is not listed in the driver so it's unsure if this driver will work for your model.

You can always try to duplicate line https://github.com/glorang/nwfermi/blob/master/usr/src/nwfermi-0.7.0.1/nw-fermi.c#L52 and change 0x0006 in 0x0003, rebuild, reinstall and check if it works or not.

This is presumably a HP TouchSmart ? Which model exactly ?

KenwoodFox commented 7 months ago

Wow! That was really quick, I appreciate you replying so fast.

It was pretty easy to change that line you mentioned, thanks! I rebuilt and everything but, it doesn't seem to work, lsmod |grep -i fermi is still empty and

$ strings /dev/nwfermi1
strings: '/dev/nwfermi1': No such file

still says nothing is there.

This is presumably a HP TouchSmart ? Which model exactly ?

Its a HP TouchSmart dx9000

Thanks again for the help!

tinkermaniac commented 7 months ago

$ strings /dev/nwfermi1 , if you are getting output as no such file, try $ strings /dev/nwfermi2 if still doesnt's work , try $ strings /dev/nwfermi0 if it still doesn't work , try $ strings /dev/nw-fermi

glorang commented 7 months ago

lsmod |grep -i fermi is still empty

This should not happen, did you perhaps change the nw-fermi.c file in your local git copy but then didn't copy it to /usr/src/nwfermi-0.7.0.1/ ?

Does modinfo nw_fermi | grep "v1926p0003" return anything ? If not you are still using an old driver.

You can always do a modprobe nw-fermi as well and check dmesg output