Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: SergeiAlekseev on June 06, 2017, 06:19:52 AM

Title: wlan and touchpad
Post by: SergeiAlekseev on June 06, 2017, 06:19:52 AM
hello
1 How to connect to AP with ' in ESSID?
(http://autogrom.ru/files/essid.jpg)

2 How to disable Synaptic's tap-to-click? That feature must be disabled by default i think.

Thank you and excuse me for my broken English.
Title: Re: wlan and touchpad
Post by: Misalf on June 06, 2017, 06:45:58 AM
I don't know about SSIDs containing single quotes. Can you connect from other devices? Have you tried connecting manually? The single quote might need proper escaping which the wifi.sh script maybe isn't aware of yet.

For the touch pad, you can create an Xorg config like this
/usr/local/share/X11/xorg.conf.d/50-synaptics.conf
Code: [Select]
Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "0"
        Option "TapButton3" "0"
        Option "VertEdgeScroll" "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizEdgeScroll" "off"
        Option "HorizTwoFingerScroll" "off"
EndSection
Change
  Option "TapButton1" "1" 
to  0, off, or false .
Then add the file to your backup
Code: [Select]
echo "usr/local/share/X11/xorg.conf.d/50-synaptics.conf" >> /opt/.filetool.lst
filetool.sh -b
Title: Re: wlan and touchpad
Post by: Misalf on June 06, 2017, 06:49:19 AM
If the above config doesn't work, there's also that other driver for simpler touchpads. Stencil?
Code: [Select]
Section "InputClass"
Identifier       "Touchpad Defaults"
Option           "SendCoreEvents"    "true"
Option           "SHMConfig"         "true"
Option           "Emulate3Buttons"   "on"
Option           "HorizEdgeScroll"   "0"
Option           "HorizScrollDelta"  "0"
EndSection
Title: Re: wlan and touchpad
Post by: Misalf on June 06, 2017, 07:12:17 AM
Ah, yes
Code: [Select]
### Touchpad - Sentelic Finger Sensing Pad
{ sleep 3
TOUCHPAD="/sys/devices/platform/i8042/serio1"
# Disable tap-to-click:
#[ -e "$TOUCHPAD"/setreg ] && echo -n "0x90 0x80" > "$TOUCHPAD"/setreg
##[ -e "$TOUCHPAD"/flags ] && echo -n "c" | tee "$TOUCHPAD"/flags >/dev/null 2>&1
# Disable vertical tap scrolling:
#[ -e "$TOUCHPAD"/vscroll ] && echo "0" | tee "$TOUCHPAD"/vscroll >/dev/null 2>&1
# Disable horizontal tap scrolling:
[ -e "$TOUCHPAD"/hscroll ] && echo "0" | tee "$TOUCHPAD"/hscroll >/dev/null 2>&1
} &
Title: Re: wlan and touchpad
Post by: patrikg on June 06, 2017, 08:27:04 AM
I think you can edit the wifi.db file and add quotes round the ssid.
Something like this:

Code: (bash) [Select]
nano /home/tc/wifi.db

"Satan's Net" password