Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: TrackPad support?



On Wed, 23 Apr 2008, Michael Lorenz wrote:

I'm the proud (or maybe unfortunate) owner of a Acer Travelmate
2413WLCi laptop.  The only "mouse" device on this machine is
TrackPad (or is it a TouchPad?) - no little knobby joystick or
anything.

Does anyone have any idea what it would take to make it work

I think this is what you're looking for:
PS2M (SYN0302) at acpi0 not configured

Pretty much all touchpads behave like mice initially, just add the PS/
2 mouse goo back to your kernel config.

Hmmm.

I _have_ "pms0 at pckbc0" in my config file, and the dmesg shows a "pckbc0 at acpi0" exists. So it would seem that this particular device is not being recognized as a PS2Mouse. And the PS2M line in the dmesg occurs at exactly the place where you'd expect it to find the mouse (ie, right after it finds "pckbd0 at pckbc0").

The full config file for this machine is attached in case someone can see what I've done wrong.
include "arch/i386/conf/std.i386"

options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary

#ident          "GENERIC-$Revision: 1.889 $"

ident           "LAPPY (Acer Travelmate 2413WLCi) 2008-04-22 23:19:28"

maxusers        64              # estimated number of users

options         I686_CPU
makeoptions     CPUFLAGS="-march=i686"

# CPU-related options.
options         USER_LDT        # user-settable LDT; used by WINE

# Enhanced SpeedStep Technology in the Pentium M
options         ENHANCED_SPEEDSTEP
#options        EST_FREQ_USERWRITE      # any user can set frequency

options         MTRR            # memory-type range register syscall support
#options        PERFCTRS        # performance-monitoring counters support

options         MULTIBOOT       # Multiboot support (see multiboot(8))

# delay between "rebooting ..." message and hardware reset, in milliseconds
#options        CPURESET_DELAY=2000

# Standard system options

options         INSECURE        # disable kernel security levels - X needs this
options         RTC_OFFSET=0    # hardware clock is this many mins. west of GMT
options         NTP             # NTP phase/frequency locked loop
options         KTRACE          # system call tracing via ktrace(1)
#options        SYSTRACE        # system call vetting via systrace(1)

options         SYSVMSG         # System V-like message queues
options         SYSVSEM         # System V-like semaphores
options         SYSVSHM         # System V-like memory sharing
#options        SHMMAXPGS=2048  # 2048 pages is the default
options         P1003_1B_SEMAPHORE      # p1003.1b semaphore support

options         LKM             # loadable kernel modules

options         USERCONF        # userconf(4) support
#options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)
#options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel

# Diagnostic/debugging support options
#options        DIAGNOSTIC      # expensive kernel consistency checks
#options        DEBUG           # expensive debugging checks/support
#options        KMEMSTATS       # kernel memory statistics (vmstat -m)
options         DDB             # in-kernel debugger
#options        DDB_ONPANIC=1   # see also sysctl(8): `ddb.onpanic'
options         DDB_HISTORY_SIZE=512    # enable history editing in DDB
#options        KGDB            # remote debugger
#options        KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
makeoptions     DEBUG="-g"      # compile full symbol table

options         COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
options         COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
options         COMPAT_40

options         PAX_MPROTECT=0
options         PAX_ASLR=0

options         DKWEDGE_AUTODISCOVER
options         DKWEDGE_METHOD_GPT

# File systems
file-system     FFS             # UFS
#file-system    LFS             # log-structured file system
file-system     MFS             # memory file system
file-system     NFS             # Network File System client
#file-system    NTFS            # Windows/NT file system (experimental)
file-system     CD9660          # ISO 9660 + Rock Ridge file system
file-system     MSDOSFS         # MS-DOS file system
file-system     FDESC           # /dev/fd
file-system     KERNFS          # /kern
file-system     NULLFS          # loopback file system
#file-system    OVERLAY         # overlay file system
file-system     PROCFS          # /proc
#file-system    UNION           # union file system
file-system     PTYFS           # /dev/ptm support
file-system     TMPFS           # Efficient memory file-system

# File system options
#options        QUOTA           # UFS quotas
#options        FFS_EI          # FFS Endian Independent support
options         SOFTDEP         # FFS soft updates support.
options         NFSSERVER       # Network File System server
#options        FFS_NO_SNAPSHOT # No FFS snapshot support

# Networking options
#options        GATEWAY         # packet forwarding
options         INET            # IP + ICMP + TCP + UDP
options         PFIL_HOOKS      # pfil(9) packet filter hooks
options         IPFILTER_LOG    # ipmon(8) log support
options         IPFILTER_LOOKUP # ippool(8) support
#options        IPFILTER_DEFAULT_BLOCK  # block all packets by default

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options        MIIVERBOSE      # verbose PHY autoconfig messages
options         PCIVERBOSE      # verbose PCI device autoconfig messages
#options        PCI_CONFIG_DUMP # verbosely dump PCI config space
#options        PCMCIAVERBOSE   # verbose PCMCIA configuration messages
#options        SCSIVERBOSE     # human readable SCSI error messages
options         USBVERBOSE      # verbose USB device autoconfig messages
#options        PNPBIOSVERBOSE  # verbose PnP BIOS messages
#options        PNPBIOSDEBUG    # more fulsome PnP BIOS debugging messages

#
# wscons options
#
# builtin terminal emulations
options         WSEMUL_VT100            # VT100 / VT220 emulation
options         WSDISPLAY_CUSTOM_OUTPUT # color customization from wsconsctl(8)
options         WS_KERNEL_FG=WSCOL_GREEN
options         WSDISPLAY_CUSTOM_BORDER # custom border colors via wsconsctl(8)
options         WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
options         WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
options         WSDISPLAY_COMPAT_USL            # VT handling
options         WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
options         PCDISPLAY_SOFTCURSOR
options         WSDISPLAY_SCROLLSUPPORT

config          netbsd  root on wd0a type ffs

#
# Device configuration
#

mainbus0 at root

cpu0            at mainbus0
ioapic0         at mainbus0
acpi0           at mainbus0
options         ACPI_SCANPCI
options         MULTIPROCESSOR
options         APM_NO_IDLE
options         MPBIOS

com0            at acpi0
lpt0            at acpi0
acpilid0        at acpi0
acpibut0        at acpi0
#acpibat0       at acpi0        # XXX broken
acpiacad0       at acpi0
acpitz0         at acpi0
acpitz1         at acpi0
acpiec0         at acpi0
acpiecdt0       at acpi0
pckbc0          at acpi0
attimer0        at acpi0
#pcppi0         at acpi0
pcppi0          at isa0         # Not found on acpi0
sysbeep0        at pcppi0
midi0           at pcppi0

# PCI bus configuration

options         PCIBIOS                 # PCI BIOS support
#options        PCIBIOSVERBOSE          # PCI BIOS verbose info
#options        PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
options         PCIBIOS_INTR_GUESS      # see pcibios(4)
#options        PCIINTR_DEBUG           # super-verbose PCI interrupt fixup
#options        PCI_ADDR_FIXUP          # fixup PCI I/O addresses
options         PCI_BUS_FIXUP           # fixup PCI bus numbering
options         PCI_INTR_FIXUP          # fixup PCI interrupt routing

# PCI bus
pci0            at mainbus0 bus 0
pchb0           at pci0 dev  0 function 0
agp0            at pchb0
vga0            at pci0 dev  2 function 0
uhci0           at pci0 dev 29 function 0
uhci1           at pci0 dev 29 function 1
uhci2           at pci0 dev 29 function 2
uhci3           at pci0 dev 29 function 3
ehci0           at pci0 dev 29 function 7
ppb0            at pci0 dev 30 function 0
auich0          at pci0 dev 30 function 2
audio0          at auich0
pcib0           at pci0 dev 31 function 0
isa0            at pcib0
isapnp0         at isa0
npx0            at isa0
piixide0        at pci0 dev 31 function 1
ichsmb0         at pci0 dev 31 function 3

pci1            at ppb0 bus  1
rtk0            at pci1 dev  7 function 0
rlphy0          at rtk0 phy  7
cbb0            at pci1 dev  9 function 0
cardslot0       at cbb0
cardbus0        at cardslot0
pcmcia0         at cardslot0

# Display, keyboard, and mouse
options         PMS_SYNAPTICS_TOUCHPAD  # Enable support for Synaptics Touchpads
wsdisplay0      at vga0 kbdmux 1
pckbd0          at pckbc0
wskbd0          at pckbd0
pms0            at pckbc0
wsmouse0        at pms0 mux 0

# Mass storage
atabus0         at piixide0 channel 0
wd0             at atabus0 drive 0
atapibus0       at atabus0
cd0             at atapibus0 drive 1

# USB config
usb0            at uhci0
usb1            at uhci1
usb2            at uhci2
usb3            at uhci3
usb4            at ehci0

uhub*           at uhub? port ?
uhub0           at usb0
uhub1           at usb1
uhub2           at usb2
uhub3           at usb3
uhub4           at usb4

uhidev*         at uhub? port ? configuration ? interface ?
ums*            at uhidev? reportid ?
wsmouse*        at ums? mux 0
ukbd*           at uhidev? reportid ?
wskbd*          at ukbd? console ? mux 1
uhid*           at uhidev? reportid ?

ulpt*           at uhub? port ? configuration ? interface ?
umass*          at uhub? port ? configuration ? interface ?
scsibus*        at umass?

rum*            at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g

sd*             at scsibus?
ugen*           at uhub? port ?
options         UGEN_BULK_RA_WB

# Pseudo-Devices

pseudo-device   cgd             4       # cryptographic disk devices
pseudo-device   fss             4       # file system snapshot device
pseudo-device   md              1       # memory disk device (ramdisk)
pseudo-device   vnd                     # disk-like interface to files
#options        VND_COMPRESSION         # compressed vnd(4)

# network pseudo-devices
pseudo-device   bpfilter                # Berkeley packet filter
pseudo-device   ipfilter                # IP filter (firewall) and NAT
pseudo-device   loop                    # network loopback

# miscellaneous pseudo-devices
pseudo-device   pty                     # pseudo-terminals
pseudo-device   sequencer       1       # MIDI sequencer
pseudo-device   rnd                     # /dev/random and in-kernel generator
pseudo-device   clockctl                # user control of clock subsystem
pseudo-device   ksyms                   # /dev/ksyms
#pseudo-device  pf                      # PF packet filter
#pseudo-device  pflog                   # PF log if
pseudo-device   drvctl

# wscons pseudo-devices
pseudo-device   wsmux                   # mouse & keyboard multiplexor
pseudo-device   wsfont

# cryptography stuff
pseudo-device   crypto                  # /dev/crypto device
pseudo-device   swcrypto                # software crypto implementation

pseudo-device   lockstat

# I2C Bus
iic0            at ichsmb0
spdmem0         at iic0 addr 0x50
spdmem1         at iic0 addr 0x52

options         DDB_ONPANIC=0
options         DDB_COMMANDONENTER="call ddb_vgapost; bt"


Home | Main Index | Thread Index | Old Index