how to enable my touchpad of laptop in freebsd14.2 VT shell ?

Dear all :
i have a laptop with touchpad , below is inform:
hmt0: <DELL0B21:00 04F3:3147 TouchPad> on hidbus0
hconf0: <DELL0B21:00 04F3:3147 Configuration> on hidbus0
hmt0: Multitouch touchpad with 0 external buttons, click-pad


how to enable touchpad in freebsd14.2 VT shell ? thanks.
 
Does this work? It's all I need for my Dell laptop.
/etc/rc.conf
moused_enable="YES"

Dear phishfry:
yeah, i am dell laptop user same. i can use mouse and touchpad in gnome GUI. but when working in VT shell, i can't use touchpad . i can use the usb mouse in VT SHELL. my question was : i want to use touchpad of laptop in freebsd14.2 VT shell. thanks.
 
i can use the usb mouse in VT SHELL. ... i want to use touchpad of laptop in freebsd14.2 VT shell.
If you can use the USB mouse in vt(4), then it communicates with port /dev/psm0, which is set by default to communicate with in /etc/defaults/rc.conf:
Rich (BB code):
592 moused_enable="NO"      # Run the mouse daemon.
593 moused_type="auto"      # See man page for rc.conf(5) for available settings.
594 moused_port="/dev/psm0" # Set to your mouse port.
595 moused_flags=""         # Any additional flags to moused.

See which which port the touchpad has been assigned to: ls /dev/psm* (EDIT alternatively dmesg | grep psm/EDIT), and set in /etc/rc.conf, i.e.:
Rich (BB code):
moused_enable="YES"
moused_port="/dev/psm1"
See moused(8) manual.
 
If you can use the USB mouse in vt(4), then it communicates with port /dev/psm0, which is set by default to communicate with in /etc/defaults/rc.conf:
Rich (BB code):
592 moused_enable="NO"      # Run the mouse daemon.
593 moused_type="auto"      # See man page for rc.conf(5) for available settings.
594 moused_port="/dev/psm0" # Set to your mouse port.
595 moused_flags=""         # Any additional flags to moused.

See which which port the touchpad has been assigned to: ls /dev/psm* (EDIT alternatively dmesg | grep psm/EDIT), and set in /etc/rc.conf, i.e.:
Rich (BB code):
moused_enable="YES"
moused_port="/dev/psm1"
See moused(8) manual.
DEAr t-daemon:
now i can't find psm* device in my laptop. and i know the psm device for ps/2 mouse. i have configure my VT use usb mouse, and work normal. now, question was enable tochpad of laptop for VT shell. thanks.
 
Yes but hmt driver is for HID i2c bus devices not ps2.

I would say have a look at libinput list-devices to see what it detected.
DEAR phishfry:
thanks for your help . below was ilbinput list-devices. but , i still not find any /dev/hmt* device . why my gnome can use touchpad , VT shell can't . please help me again. thanks.
libinput list-devices
Device: System keyboard multiplexer
Kernel: /dev/input/event0
Group: 1
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0

Device: System mouse
Kernel: /dev/input/event1
Group: 2
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: button
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: flat *adaptive custom
Rotation: 0.0

Device: Control Method Lid Switch
Kernel: /dev/input/event2
Group: 3
Seat: seat0, default
Capabilities: switch
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0

Device: Power Button
Kernel: /dev/input/event3
Group: 4
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0

Device: Sleep Button
Kernel: /dev/input/event4
Group: 5
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0

Device: AT keyboard
Kernel: /dev/input/event5
Group: 6
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: n/a
Rotation: 0.0

Device: DELL0B21:00 04F3:3147 Mouse
Kernel: /dev/input/event6
Group: 7
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: n/a
Calibration: n/a
Scroll methods: button
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: flat *adaptive custom
Rotation: 0.0

Device: DELL0B21:00 04F3:3147 TouchPad
Kernel: /dev/input/event7
Group: 8
Seat: seat0, default
Size: 117x81mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: *two-finger edge
Click methods: *button-areas clickfinger
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles: flat *adaptive custom
Rotation: n/a
 
below was my device:
ls /dev/
acpi geom.ctl log pfil ufssuspend
apm gpt mdctl pts ugen0.1
apmctl hpet0 mem random ugen1.1
atkbd0 iic0 midistat reroot ugen1.2
audit iic1 mixer0 sequencer0 ugen1.3
auditpipe iic10 mixer1 sndstat uinput
backlight iic11 mlx5ctl stderr urandom
bpf iic12 music0 stdin usb
bpf0 iic13 nda0 stdout usbctl
console iic2 nda0p1 sysmouse wmistat0
consolectl iic3 nda0p2 tcp_log wmistat1
crypto iic4 nda0p3 ttyv0 wmistat2
ctty iic5 netdump ttyv1 wmistat3
devctl iic6 netmap ttyv2 wmistat4
devctl2 iic7 null ttyv3 wmistat5
devstat iic8 nvd0 ttyv4 wmistat6
dri iic9 nvd0p1 ttyv5 xpt0
drm input nvd0p2 ttyv6 zero
dsp0 io nvd0p3 ttyv7 zfs
dsp1 kbd0 nvme0 ttyv8 zvol
efi kbd1 nvme0ns1 ttyv9
fd kbdmux0 pass0 ttyva
fido klog pci ttyvb
full kmem pf ufsid
 
Back
Top