Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keyboard keys don't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zouzou85
n00b
n00b


Joined: 17 Jan 2008
Posts: 23

PostPosted: Sun Apr 13, 2008 8:55 am    Post subject: keyboard keys don't work Reply with quote

hi all,
There is some keys that don't work at all. i mean they even don't issue an error in dmesg. I was just wondering if there is a way to force them to issue an event like hacking the kernel or patching it or sth like that.

Is it even possible??

reason i need this is because the key that transfers the display output to VGA port doesn't work and i need it for work and presentations.

thanx in advance.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Sun Apr 13, 2008 8:58 am    Post subject: Reply with quote

are they single keys, or key combinations (like fn+F7)?

cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Sun Apr 13, 2008 5:28 pm    Post subject: Reply with quote

zouzou85, were your keys working before?

Please post your emerge --info, /etc/X11/xorg.conf, and emerge -pv x11-base/xorg-server x11-drivers/xf86-input-keyboard
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
zouzou85
n00b
n00b


Joined: 17 Jan 2008
Posts: 23

PostPosted: Mon Apr 14, 2008 12:29 pm    Post subject: Reply with quote

bunder, some keys are a combination of fn+Fx, and some are just multimedia keys on my laptop (such as a "rotate screen" button).
OmSai, no, the keys weren't working before. At least not under linux.
Quote:
emerge --info

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-64
Timestamp of tree: Sun, 13 Apr 2008 08:34:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python: 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_US en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apm arts avahi bash-completion berkdb bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt css cups curl curlwrappers dbus disk-partition dri dvd dvdr dvdread encode fam ffmpeg flac fontconfig fortran gdbm gif glib gnome gpm gtk guile hal hddtemp iconv ieee1394 imagemagick ipod ipv6 irda isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lame libnotify libwww lirc lm_sensors mad midi mmx mng mp3 mpd mpeg msn mudflap ncurses networking nforce2 nls nptl nptlonly nvidia ogg openexr opengl openmp oss pam pcmcia pcre pdf perl pmu png pppd python qt3 qt3support qt4 quicktime raw rdynamic readline reflection rss ruby session smartcard smp spell spl sse sse2 ssl subversion svg szip tcpd tiff truetype unicode usb vorbis webcam wifi wmf xcomposite xorg xvmc yahoo zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Quote:

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse" "SendCoreEvents"
# InputDevice "EETI" "SendCoreEvents"
InputDevice "touchscreen" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "extmod"
Load "glx"
Load "v4l"
# Load "dri"
Load "dbe" #Double buffer extension
EndSection

Section "ServerFlags"
Option "Xinerama" "False"
Option "blank time" "5" # Blank the screen after 5 minutes (Fake)
Option "standby time" "10" # Turn off screen after 10 minutes (DPMS)
Option "suspend time" "20" # Full suspend after 20 minutes
Option "off time" "30" # Turn off after half an hour
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "UpDownScrolling" "1"
EndSection

Section "InputDevice"
Identifier "touchscreen"
Driver "evtouch"
Option "Device" "/dev/input/evtouch_event"
Option "DeviceName" "touchscreen"
Option "ReportingMode" "Raw"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
Option "SendCoreEvents" "On"
# Option "Calibrate" "1"
Option "MinX" "44"
Option "MinY" "119"
Option "MaxX" "4001"
Option "MaxY" "3989"
EndSection

#Section "InputDevice"
# Identifier "EETI"
# Driver "egalax"
# Option "Device" "/dev/usb/hiddev0"
# Option "Parameters" "/etc/egalax.cal"
# Option "ScreenNo" "0"
#EndSection

Section "Monitor"
Identifier "Generic Monitor"
VendorName "Plug 'n' Play"
ModelName "Plug 'n' Play"
Option "RandRRotation" "on"
Option "DPMS"
EndSection

Section "Device"
Identifier "nVidia Corporation C51 [Geforce 6150 Go]"
Driver "nvidia"
BoardName "nv"
Option "NoLogo" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "on"
Option "RenderAccel" "true"
Screen 0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation C51 [Geforce 6150 Go]"
Monitor "Generic Monitor"
DefaultDepth 24
Option "metamodes" "1280x800_60 +0+0"
Option "AddARGBGLXVisuals" "true"
Option "RenderAccel" "on"
Option "AllowGLXWithComposite" "on"
Option "HWCursor" "on"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection


Quote:

[ebuild R ] x11-base/xorg-server-1.3.0.0-r5 USE="dri ipv6 nptl xorg (-3dfx) -debug -dmx -kdrive -minimal -sdl -xprint" INPUT_DEVICES="keyboard mouse synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="nvidia -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 (-i740) -i810 (-impact) (-imstt) -mach64 -mga -neomagic (-newport) (-nsc) -nv -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga -via -vmware -voodoo" 0 kB
[ebuild R ] x11-drivers/xf86-input-keyboard-1.1.1-r1 USE="-debug" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Tue Apr 15, 2008 12:41 am    Post subject: Reply with quote

I'm surprised I could not find a HOWTO for laptop keyboards in the gentoo-wiki...

zouzou85, checkout keytouch -
Code:
emerge x11-misc/keytouch

Don't worry if your keyboard is not supported on the website, you can configure your keyboard on your own -
Code:
emerge x11-misc/keytouch-editor

I haven't used keytouch myself before, but you might need to see the keycodes corresponding to your particular keys -
Code:
emerge xev

Also which brand and model laptop are you using, by the way?
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
zouzou85
n00b
n00b


Joined: 17 Jan 2008
Posts: 23

PostPosted: Tue Apr 15, 2008 2:30 am    Post subject: Reply with quote

OmSai,
first, thanx for the quick reply.
i do have those installed.
My problem seems that the kernel doesn't issue and event when those keys are pressed (no error in dmesg). therefore, X doesn't even know they exist. there were some keys that actually issued an event error in dmesg, and i got those to be recognized in X too (using /etc/conf.d/local and ~/.Xmodmap).

my laptop brand is : HP Tx1410us from the TX1000 series.

So my question is (should be):
How can i make the kernel recognize the keys or the events generated by them?
Back to top
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Wed Apr 16, 2008 4:09 am    Post subject: Reply with quote

Apparently it's related to ACPI support...
Hopefully that's a good enough lead? :P
_________________
Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum