Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Touchscreen on a Toshiba Portege M700
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 792
Location: Queensland

PostPosted: Sun Jul 03, 2016 12:22 pm    Post subject: Touchscreen on a Toshiba Portege M700 Reply with quote

Stylus or finger, I don't really mind. I've enabled just about every _TOUCHSCREEN_ configuration parameter but nothing. Any suggestions? Where to start? Current configuration here. I know this question seems a bit lame because it's so short, but I don't know where to go from here.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44027
Location: 56N 3W

PostPosted: Sun Jul 03, 2016 1:49 pm    Post subject: Reply with quote

mounty1,

Touch screens come with several interfaces. USB and serial are common but serial is dying out now.
Its a bit early to look at your kernel until you tell us about your touch screen interface.

If its not in lsusb, we probably need to guess.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 792
Location: Queensland

PostPosted: Sun Jul 03, 2016 6:55 pm    Post subject: Reply with quote

I know; I've been reading-up on them. I've tried all possible interfaces but without success. I was hoping to catch someone who's already done it, for this particular model. It doesn't show-up in lsusb.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44027
Location: 56N 3W

PostPosted: Sun Jul 03, 2016 7:21 pm    Post subject: Reply with quote

mounty1,

It works in Ubuntu.
A quick glance says its serial and wacom.

Serial ... that can be hours of fun all on its own.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 792
Location: Queensland

PostPosted: Mon Jul 04, 2016 12:35 pm    Post subject: Might have to install Ubuntu Reply with quote

Stuffed if I can see it. Ubuntu 16.04 certainly does work the stylus but despite hours of poring over diffs of kernel-config, lspci -v and lsmod output, I'm unable to get it going under Gentoo. It's pretty unhelpful that most of the information out there is obsolete, referring to kernel source patches, XF86 and XFConfig modification etc. I don't know where to go from here because most of the information out there is more confusing than helpful.

As Ubuntu loads kernel driver wacom_w8001 I tried searching for TOUCHSCREEN_WACOM_W8001 but nothing.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44027
Location: 56N 3W

PostPosted: Mon Jul 04, 2016 5:57 pm    Post subject: Reply with quote

mounty1,

Code:
$ cd /usr/src/linux
/usr/src/linux $ ls -R | grep wacom
sysfs-driver-wacom
wacom.h
wacom_sys.c
wacom_wac.c
wacom_wac.h
wacom_serial4.c
wacom_i2c.c
wacom_w8001.c
So its in the kernel. That's 4.6.0

wacom_i2c.c wacom_w8001.c appear to be in ./drivers/input/touchscreen.
Reading the config file with
Code:
less ./drivers/input/touchscreen/Kconfig
provides a few leads too

Looking in menuconfig
Code:
CONFIG_TOUCHSCREEN_WACOM_W8001:                                     │ 
  │                       │ 
  │ Say Y here if you have an Wacom W8001 penabled serial touchscreen                       │ 
  │ connected to your system.                   │ 
  │                                                                                                                                           │ 
  │ If unsure, say N.                                                                                                                         │ 
  │                                                                                                                                           │ 
  │ To compile this driver as a module, choose M here: the                                                                                    │ 
  │ module will be called wacom_w8001.                                                                                                        │ 
  │                                                                                                                                           │ 
  │ Symbol: TOUCHSCREEN_WACOM_W8001 [=n]                                                                                                      │ 
  │ Type  : tristate                                                                                                                          │ 
  │ Prompt: Wacom W8001 penabled serial touchscreen                                                                                           │ 
  │   Location:                                                                                                                               │ 
  │     -> Device Drivers                                                                                                                     │ 
  │       -> Input device support                                                                                                             │ 
  │         -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])                                                             │ 
  │           -> Touchscreens (INPUT_TOUCHSCREEN [=y])                                                                                        │ 
  │   Defined at drivers/input/touchscreen/Kconfig:424                                                                                        │ 
  │   Depends on: !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y]                                                                                │ 
  │   Selects: SERIO [=y]


If you go to the Location: and its not there press 'z' (that's a toggle) to see all the hidden options. Then you can read the help to see what options you need to make the Depends on: evaluate to true.

I don't know if you have the serial or i2c variant but
Code:
< >   Wacom Tablet support (I2C) (NEW)
is right below it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 792
Location: Queensland

PostPosted: Tue Jul 05, 2016 9:12 pm    Post subject: Dead end Reply with quote

Yep, yep, did all that.

Eventually I decided I just had to get the stylus working, by any means ... so I copied the kernel .config off the Ubuntu DVD and built my kernel against it ... I'd forgotten just how long it takes to build a `full' kernel as opposed to one stripped-down for ones own hardware ... anyway, several hours later, install and go, and ... it still doesn't work !

This is not some post-boot configuration error. When booted from the Ubuntu DVD, the wacom_w8001 driver was loaded and the stylus worked, but when booted from Gentoo kernel built against the Ubuntu .config, no wacom* driver was loaded, leading me to conclude that the hardware was not detected. If I modprobe wacom_w8001, no new /dev/input/* device appears.

I made a few changes to the Ubuntu .config:
  • make oldconfig and say no to everything
  • 32 bits not 64
  • Core2 CPU
  • systemd init not openrc
  • tweaks for Gentoo and portage (whatever they are)
  • build my libata driver (Intel) into the kernel to avoid having an initrd
but otherwise it was .config as per Ubuntu.

Any ideas on where to go now?
_________________
Michael Mounteney
Back to top
View user's profile Send private message
colly
n00b
n00b


Joined: 01 Aug 2004
Posts: 4

PostPosted: Sat Jul 09, 2016 11:56 am    Post subject: Reply with quote

I had a similar issue with a (different) touchscreen.

It started working after I enabled multitouch in de kernel config:

CONFIG_HID_MULTITOUCH=y
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 792
Location: Queensland

PostPosted: Sat Jul 09, 2016 9:16 pm    Post subject: Reply with quote

colly wrote:
I had a similar issue with a (different) touchscreen.

It started working after I enabled multitouch in de kernel config:

CONFIG_HID_MULTITOUCH=y
Thanks but that's not for Wacom tablets. I did try it anyway though, just in case.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum