[FreeBSD] moused+ps/2
Gabor Zahemszky
ZGabor at CoDe.hu
2001. Május. 4., P, 12:32:46 CEST
On Thu, May 03, 2001 at 07:03:16PM +0300, Otto Kreiter wrote:
>
> May 3 18:45:03 cache /kernel: psmintr: out of sync (00c8 != 0008).
man 4 psm
explicit le van irva, hogy ehhez tartozik egy, a drivernek beallitando
flag:
---
bit 8 NOCHECKSYNC
The psm driver tries to detect the first byte of the data packet
by checking the bit pattern of that byte. Although this method
should work with most PS/2 pointing devices, it may interfere with
some devices which are not so compatible with known devices. If
you think your pointing device is not functioning as expected, and
the kernel frequently prints the following message to the console,
psmintr: out of sync (xxxx != yyyy).
set this flag to disable synchronization check and see if it
helps.
---
Ezt mondjuk allitsd be a /boot/kernel.conf-ban
(flags psm0 0x10
ha jol csalodom), vagy esetleg fordits uj kernelt, ugyanezzel a parameterrel.
ZGabor at CoDe dot HU
Ui: hogy erre miert net talaltam utalast a LINT-ben, azt ne tolem kerdezd.
Hanem esetleg send-pr.
--
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
További információk a(z) BSD levelezőlistáról