Request Wolfson WM97xx Touchscreen Driver

Bug #198867 reported by Pythonator
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Stefan Bader

Bug Description

The kernel driver, wm97xx-ts.ko is needed to make the touchscreen work in the Pepper Pad 3 UMPC.
The PepperPad3 comes with a WM9713 touchscreen.

Wolfson WM97xx Linux 2.6.x touchscreen drivers for the WM9705, WM9712, WM9713 and WM9715 AC97 codecs are here:

http://opensource.wolfsonmicro.com/node/7

Changed in linux:
importance: Wishlist → Medium
status: New → Triaged
Revision history for this message
Mark Brown (broonie) wrote :

The WM97xx touchscreen drivers have been merged into Linus' kernel as of 2.6.26 so this should simply be a case of enabling the driver in Kconfig (I'd assume that all new drivers will be enabled by default).

Unfortunately AC97 doesn't support module autoload so systems where this is needed will still need some mechanism for ensuring that the driver is actually loaded.

Revision history for this message
Pythonator (john-schnittker) wrote : Tested on Pepper Pad 3

Tested on Pepper Pad 3 (running Ubuntu Intrepid (kernel 2.6.26))

Added a line to /etc/modules to make the wm97xx-ts driver load at boot time.

The wm97xx-ts.ko module emits the error message upon load:

[ 38.481752] wm97xx-ts 0-0:WM9713,WM9714: Support for wm9713 not compiled in.

Revision history for this message
Pythonator (john-schnittker) wrote :

wm97xx-ts dmesg output:

[ 38.045474] wm97xx-ts 0-0:WM9713,WM9714: detected a wm9713 codec
[ 38.045496] wm97xx-ts 0-0:WM9713,WM9714: Support for wm9713 not compiled in.

Revision history for this message
Mark Brown (broonie) wrote :

The boolean options CONFIG_TOUCHSCREEN_WM9705, CONFIG_TOUCHSCREEN_WM9712 and CONFIG_TOUCHSCREEN_WM9713 should all be enabled in the kernel config to ensure that support for the individual touchscreen controllers are enabled.

Revision history for this message
Pythonator (john-schnittker) wrote :

Being sensitive to the burden that kernel-recompilation imposes on the end-user, is there any way around an end-user kernel re-compile to solve this issue ?

Revision history for this message
Mark Brown (broonie) wrote :

No, those options should just be enabled in the standard kernel build - there is no reason not to do so for a desktop distribution like Ubuntu, the only reason they are present is that these controllers are often used in very small embedded systems where space may be at a premium.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Mark Brown (broonie) wrote :

The configuration options are all still turned off in the current linux-2.6.27 source package.

This bug can be trivially tested for with:

    find debian/config -type f | xargs grep WM97

The various CONFIG_TOUCHSCREEN_WM97xx options should all be set but aren't.

Revision history for this message
Mark Brown (broonie) wrote :

The enclosed (completely untested but trivial) patch should fix this.

Revision history for this message
pepperman (manjuhegde) wrote :

I have installed Xubuntu 8.10 alpha 5 (alternate install CD) last week on my pepper pad 3 umpc. Got Xserver by using xorg.cong and keyboard working by compiling pp3_keypad.c both from pepper pad formus. But no touch screen, I can see wm97xx_ts module loaded
$ > lsmod | grep wm97
wm97xx_ts 15360 0
ac97_bus 9856 2 wm97xx_ts,snd_ac97_codec
I do not want compile the kernel at this point.
$ >uname -a
Linux pp3 2.6.27-3-generic #1 SMP Wed Sep 10 16:02:00 UTC 2008 i586 GNU/Linux

Stefan Bader (smb)
Changed in linux:
assignee: nobody → stefan-bader-canonical
status: Triaged → In Progress
Revision history for this message
Stefan Bader (smb) wrote :

commit 904c59b97249d941be5544efdd092200b2b4fddf
UBUNTU: Enabled CONFIG_TOUCHSCREEN_WM97xx=y for i386 and amd64.

Changed in linux:
status: In Progress → Fix Committed
Revision history for this message
pepperman (manjuhegde) wrote :

Just updated to 2.6.27-4 kernel with "apt-get" update manager dist upgrade (partial).

$ uname -a
Linux pp3 2.6.27-4-generic #1 SMP Wed Sep 24 01:30:51 UTC 2008 i586 GNU/Linux

Had to delete below line from /etc/X11/xorg.conf to get X
RgbPath "/usr/share/X11/rgb"
also had recompile pp3 keypad.

But still no touchscreen, might be because the kernel was compile before "WM97xx=y" change. will wait for the next kernel update from ubuntu......

Revision history for this message
pepperman (manjuhegde) wrote :

ok, I upgraded to 2.6.27-7, bu touch screen is still not working, and so are sound and battery.
Do I need to patch and compile touchscreen modules?
$ uname -a
Linux pp3 2.6.27-7-generic #1 SMP Fri Oct 17 22:24:21 UTC 2008 i586 GNU/Linux
--------------------------------------------------------------
$ lspci
00:01.0 Host bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge (rev 30)
00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode LX Video
00:01.2 Entertainment encryption device: Advanced Micro Devices [AMD] Geode LX AES Security Block
00:0d.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
00:0f.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA (rev 03)
00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE (rev 01)
00:0f.3 Multimedia audio controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio (rev 01)
00:0f.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC (rev 02)
00:0f.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC (rev 02)
00:0f.6 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] UDC (rev 02)
00:0f.7 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] UOC (rev 02)
--------------------------------------------------------------
$ lsmod |grep wm
wm97xx_ts 29480 0
ac97_bus 9856 2 wm97xx_ts,snd_ac97_codec
snd_rawmidi 29824 1 snd_seq_midi
snd_seq_device 15116 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd 63268 10 snd_cs5535audio,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

@pepperman, it would probably best if you opened a new bug (run `ubuntu-bug linux`) regarding the issue you are seeing as it will likely require a different fix than what was applied here. However, first please confirm this issue exists with the latest release candidate for Jaunty 9.04 - http://cdimage.ubuntu.com/daily-live/current/ . For now I'm marking this Fix Released.

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.