Atom/GMA500

From: Benoit Vaillant
Date: Sat Oct 21 2017 - 11:31:21 EST


Hello,

This is my first post here so please do point me to other places if
this is not the mailing list to follow. I've tried IRC #debian and
#linux which pointed to ask here. So here I am.

I'm trying to make an aigo-like machine (frenchy thing: an SFR M! PC
Pocket) live "again"[1] (do not belive the posting dates, I've
migrated this "blog" in 2016 and didn't consider relevent to update
the postings to the original ones ; these are more like in the 2012
ones).

Although I've got a lot of questions, my first one is on the gma500
linux device driver. I'd like to make the touchscreen be recognized.

Is this anything doable[2] in the current state of the kernel? I'm
using 4.9.0-4-686-pae, but can switch to any other brach if prefered,
like linux-4.14-rc4.

TIH,

--
Benoît

[1] old posts: http://www.auroras.fr/vaillant/spip.php?rubrique7
[2] attatched some more lspci/lswh infos
00:00.0 Host bridge: Intel Corporation Device 8101 (rev 06)
Subsystem: COMPAL Electronics Inc Device 002e
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0

00:02.0 VGA compatible controller: Intel Corporation Device 8109 (rev 06) (prog-if 00 [VGA controller])
Subsystem: COMPAL Electronics Inc Device 002e
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at c8080000 (32-bit, non-prefetchable) [size=512K]
Region 1: I/O ports at 1800 [size=8]
Region 2: Memory at d0000000 (32-bit, non-prefetchable) [size=128M]
Region 3: Memory at c8000000 (32-bit, non-prefetchable) [size=128K]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: gma500
Kernel modules: gma500_gfx

00:1a.0 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB Client Controller (rev 06) (prog-if 80 [Unspecified])
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) USB Client Controller
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 255
Region 0: Memory at c8020000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: <access denied>

00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller (rev 06)
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) HD Audio Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at c8024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1d.0 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #1 (rev 06) (prog-if 00 [UHCI])
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) USB UHCI
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 4: I/O ports at 1820 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd

00:1d.1 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #2 (rev 06) (prog-if 00 [UHCI])
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) USB UHCI
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 4: I/O ports at 1840 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd

00:1d.2 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #3 (rev 06) (prog-if 00 [UHCI])
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) USB UHCI
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 18
Region 4: I/O ports at 1860 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd

00:1d.7 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB EHCI #1 (rev 06) (prog-if 20 [EHCI])
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) USB EHCI
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 21
Region 0: Memory at c8021000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:1e.0 SD Host controller: Intel Corporation System Controller Hub (SCH Poulsbo) SDIO Controller #1 (rev 06) (prog-if 01)
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) SDIO Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 22
Region 0: Memory at c8021400 (32-bit, non-prefetchable) [size=256]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1e.1 SD Host controller: Intel Corporation System Controller Hub (SCH Poulsbo) SDIO Controller #2 (rev 06) (prog-if 01)
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) SDIO Controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 20
Region 0: Memory at c8021800 (32-bit, non-prefetchable) [size=256]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

00:1f.0 ISA bridge: Intel Corporation System Controller Hub (SCH Poulsbo) LPC Bridge (rev 06)
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) LPC Bridge
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Kernel driver in use: lpc_sch
Kernel modules: lpc_sch

00:1f.1 IDE interface: Intel Corporation System Controller Hub (SCH Poulsbo) IDE Controller (rev 06) (prog-if 80 [Master])
Subsystem: COMPAL Electronics Inc System Controller Hub (SCH Poulsbo) IDE Controller
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable)
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable)
Region 4: I/O ports at 1810 [size=16]
Kernel driver in use: pata_sch
Kernel modules: pata_sch, ata_generic

Bus 001 Device 005: ID 174f:5271 Syntek
Bus 001 Device 003: ID 174f:5215 Syntek
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0af0:6911 Option
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0461:4e22 Primax Electronics, Ltd
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
pcpocket
description: Computer
product: INVALID (Compal)
vendor: COMPAL
version: Compal
serial: INVALID
width: 32 bits
capabilities: smbios-2.5 dmi-2.5 smp-1.4 smp
configuration: administrator_password=disabled boot=oem-specific cpus=1 family=Compal frontpanel_password=unknown keyboard_password=unknown power-on_password=disabled sku=Compal uuid=4A415831-3000-0432-1195-715015330000
*-core
description: Motherboard
product: JAX1X
vendor: COMPAL
physical id: 0
version: REFERENCE
serial: INVALID
*-firmware
description: BIOS
vendor: COMPAL
physical id: 0
version: 108S
date: 10/03/2008
size: 96KiB
capacity: 960KiB
capabilities: isa pci pcmcia pnp apm upgrade shadowing escd cdboot acpi usb agp biosbootspecification
*-cpu
description: CPU
product: Intel(R) Atom(TM) CPU Z500 @ 800MHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 6.12.2
serial: 0001-06C2-0000-0000-0000-0000
slot: U3E1
size: 800MHz
capacity: 2666MHz
width: 32 bits
capabilities: boot fpu fpu_exception wp vme de tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx constant_tsc arch_perfmon pebs bts aperfmperf eagerfpu pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dtherm cpufreq
configuration: cores=1 enabledcores=1 threads=1
*-cache:0
description: L1 cache
physical id: 5
slot: L1 Cache
size: 64KiB
capacity: 64KiB
capabilities: asynchronous internal write-back
configuration: level=1
*-cache:1
description: L2 cache
physical id: 6
slot: L2 Cache
size: 512KiB
capacity: 512KiB
capabilities: burst external write-back
configuration: level=2
*-memory
description: System Memory
physical id: 17
slot: System board or motherboard
size: 512MiB
capacity: 1GiB
*-bank
description: SODIMM DDR2 Synchronous
product: SODIMM000
vendor: Mfg 0
physical id: 0
serial: 1234-B0
slot: DIMM0 J6D1
size: 512MiB
width: 32 bits
*-pci
description: Host bridge
product: Intel Corporation
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 06
width: 32 bits
clock: 33MHz
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 32 bits
clock: 33MHz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=gma500 latency=0
resources: irq:16 memory:c8080000-c80fffff ioport:1800(size=8) memory:d0000000-d7ffffff memory:c8000000-c801ffff memory:c0000-dffff
*-usb:0 UNCLAIMED
description: USB controller
product: System Controller Hub (SCH Poulsbo) USB Client Controller
vendor: Intel Corporation
physical id: 1a
bus info: pci@0000:00:1a.0
version: 06
width: 32 bits
clock: 33MHz
capabilities: pm unspecified bus_master cap_list
configuration: latency=0
resources: memory:c8020000-c8020fff
*-multimedia
description: Audio device
product: System Controller Hub (SCH Poulsbo) HD Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:22 memory:c8024000-c8027fff
*-usb:1
description: USB controller
product: System Controller Hub (SCH Poulsbo) USB UHCI #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 06
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:23 ioport:1820(size=32)
*-usbhost
product: UHCI Host Controller
vendor: Linux 4.9.0-4-686-pae uhci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 4.09
capabilities: usb-1.10
configuration: driver=hub slots=2 speed=12Mbit/s
*-usb
description: Mouse
product: USB Optical Mouse
vendor: PixArt
physical id: 1
bus info: usb@2:1
version: 1.00
capabilities: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
*-usb:2
description: USB controller
product: System Controller Hub (SCH Poulsbo) USB UHCI #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@0000:00:1d.1
version: 06
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:19 ioport:1840(size=32)
*-usbhost
product: UHCI Host Controller
vendor: Linux 4.9.0-4-686-pae uhci_hcd
physical id: 1
bus info: usb@3
logical name: usb3
version: 4.09
capabilities: usb-1.10
configuration: driver=hub slots=2 speed=12Mbit/s
*-usb:3
description: USB controller
product: System Controller Hub (SCH Poulsbo) USB UHCI #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@0000:00:1d.2
version: 06
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:18 ioport:1860(size=32)
*-usbhost
product: UHCI Host Controller
vendor: Linux 4.9.0-4-686-pae uhci_hcd
physical id: 1
bus info: usb@4
logical name: usb4
version: 4.09
capabilities: usb-1.10
configuration: driver=hub slots=2 speed=12Mbit/s
*-usb
description: Generic USB device
product: Globetrotter HSDPA Modem
vendor: Option N.V.
physical id: 1
bus info: usb@4:1
version: 0.00
serial: Serial Number
capabilities: usb-1.10
configuration: driver=hso maxpower=500mA speed=12Mbit/s
*-usb:4
description: USB controller
product: System Controller Hub (SCH Poulsbo) USB EHCI #1
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 06
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:21 memory:c8021000-c80213ff
*-usbhost
product: EHCI Host Controller
vendor: Linux 4.9.0-4-686-pae ehci_hcd
physical id: 1
bus info: usb@1
logical name: usb1
version: 4.09
capabilities: usb-2.00
configuration: driver=hub slots=8 speed=480Mbit/s
*-usb:0
description: Video
product: USB 2.0 PC Cam
vendor: Image Processor
physical id: 4
bus info: usb@1:4
version: 9.02
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:1
description: Video
product: USB 2.0 PC Cam
vendor: Image Processor
physical id: 8
bus info: usb@1:8
version: 8.22
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-generic:0
description: SD Host controller
product: System Controller Hub (SCH Poulsbo) SDIO Controller #1
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: 06
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=sdhci-pci latency=0
resources: irq:22 memory:c8021400-c80214ff
*-generic:1
description: SD Host controller
product: System Controller Hub (SCH Poulsbo) SDIO Controller #2
vendor: Intel Corporation
physical id: 1e.1
bus info: pci@0000:00:1e.1
version: 06
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=sdhci-pci latency=0
resources: irq:20 memory:c8021800-c80218ff
*-isa
description: ISA bridge
product: System Controller Hub (SCH Poulsbo) LPC Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 06
width: 32 bits
clock: 33MHz
capabilities: isa
configuration: driver=lpc_sch latency=0
resources: irq:0
*-ide
description: IDE interface
product: System Controller Hub (SCH Poulsbo) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
version: 06
width: 32 bits
clock: 33MHz
capabilities: ide bus_master
configuration: driver=pata_sch latency=0
resources: irq:0 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:1810(size=16)
*-scsi
physical id: 1
logical name: scsi0
capabilities: emulated
*-disk:0
description: ATA Disk
product: Intel_SSD
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 0506
serial: INTEL_SSD 00453904
size: 1840MiB (1929MB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=00081aff
*-volume
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
logical name: /dev/sda1
logical name: /
version: 1.0
serial: f76d4473-ca22-4dee-90f1-7f844e4748d3
size: 1839MiB
capacity: 1839MiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink 64bit extents ext4 ext2 initialized
configuration: created=2017-10-11 23:17:40 filesystem=ext4 lastmountpoint=/ modified=2017-10-20 18:59:34 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2017-10-20 18:54:54 state=mounted
*-disk:1
description: ATA Disk
product: Intel_SSD
physical id: 0.1.0
bus info: scsi@0:0.1.0
logical name: /dev/sdb
version: 0506
serial: INTEL_SSD 00453155
size: 1840MiB (1929MB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=00026f0a
*-volume:0
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.1.0,1
logical name: /dev/sdb1
logical name: /home
version: 1.0
serial: da07dbfa-a49f-4b02-81c7-7c912922a1c6
size: 1238MiB
capacity: 1238MiB
capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
configuration: created=2017-10-11 23:17:42 filesystem=ext4 lastmountpoint=/home modified=2017-10-20 18:59:48 mount.fstype=ext4 mount.options=rw,relatime,data=ordered mounted=2017-10-20 18:59:48 state=mounted
*-volume:1
description: Linux swap volume
physical id: 2
bus info: scsi@0:0.1.0,2
logical name: /dev/sdb2
version: 1
serial: ccc207ba-5f7f-4fc5-a686-9a978d8fec3f
size: 596MiB
capacity: 596MiB
capabilities: primary nofs swap initialized
configuration: filesystem=swap pagesize=4096
*-remoteaccess UNCLAIMED
vendor: Intel
physical id: 1
capabilities: inbound
*-network
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:1d:19:f0:cd:91
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=libertas driverversion=COMM-USB8388-323.p0 firmware=9.70.20.p0 ip=192.168.0.46 multicast=yes wireless=IEEE 802.11

Attachment: signature.asc
Description: PGP signature