Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keyboard alt key problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Thu Sep 16, 2004 5:53 pm    Post subject: keyboard alt key problem Reply with quote

Hi all.
Everytime i press Alt + 1 (or any other number key) i get the weird symbols from the ASCII table like the sign for copyright etc. My keymap is set to uk. I noticed the problem when trying to switch windows in irssi. I have the same problem with my phlak liveCD.
Please help :cry:
Back to top
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Thu Sep 16, 2004 8:55 pm    Post subject: Reply with quote

use "xev" to look if keycode is associated to the correct keysym.
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sat Sep 18, 2004 11:28 am    Post subject: Reply with quote

Yes when i press Alt + 3 i see that 3 is being shown in the program. Sorry for delay :oops: .
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sat Sep 18, 2004 7:33 pm    Post subject: Reply with quote

Well, here's an example of my alt+1 response (xev | grep key):

state 0x18, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
state 0x10, keycode 10 (keysym 0x31, 1), same_screen YES,
keys: 54 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Check what your output says after keysym - it should be something like above. I think this is what revertex meant. ;)
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sat Sep 18, 2004 7:48 pm    Post subject: Reply with quote

i get this
Quote:
stage 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
state 0x8, keycode 10 (keysym 0x31, 1) same_screen YES,
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same screen YES,

Now when i press Alt + 1 i get just 1, just the number, it looks like alt is not being recognized, but i havent made any changes in the settings.
When i press shift + 1 i get !, which is the symbol im supposed to see. It seems like the keys are switched but when i press Alt + A i see "a" not "A" and Shift + A shows "A"
Thanks for the help so far
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sat Sep 18, 2004 8:16 pm    Post subject: Reply with quote

well, xev shows Alt_L is being pressed. So it's not a hardware problem. :?
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sat Sep 18, 2004 11:27 pm    Post subject: Reply with quote

hm could it be caused by xorg.org ? I think before i installed xorg it was working fine. Pls tell me what to do in order to get rid of xorg :) . btw i want to delete it anyway.
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 9:23 am    Post subject: Reply with quote

Well, if you really want to get rid of xorg, then run emerge unmerge xorg-x11. Strange choice though.
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 9:29 am    Post subject: Reply with quote

I know but since i cant use my usb wireless mouse on it (and ive tried everything) then there is no point of having xorg.org. I even might switch to slackware 10. I dont like the usb mouse support on gentoo.
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 10:05 am    Post subject: Reply with quote

I don't think USB support is distro specific. It depends on your kernel and settings. Or, less likely, the mouse won't work at all.
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 10:36 am    Post subject: Reply with quote

Yes i know but i have asked for help on the forums about the usb mouse and i changed the kernel settings properly but it still doesnt work and i get a weird error while compiling kernel. Ive started to hate gentoo when configuration is not finished, what about afterwards. Great performance but still, i dont think the pain in the ass is worth it.
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 10:39 am    Post subject: Reply with quote

If you get a wierd error while compiling a kernel, try another version.
Always stop at the first error. ;) Your kernel is the most important thing.
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 11:10 am    Post subject: Reply with quote

hm ok first i have to remove my 2.4 kernel. I did "emerge -C gentoo-sources" and then went to /usr/src/linux and did "make clean" then i did ls -l /usr/src/linux and the 2.4 kernel was still there. So then i emerged gentoo-dev-sources to see if its going to overwrite it but it didnt. I went to /usr/src/linux and typed make menuconfig but the kernel config didnt showed up? How do i get rid of my 2.4 kernel so that i can install 2.6 afterwards?
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 11:27 am    Post subject: Reply with quote

you already got rid of it. Just fix the symlink:
Code:

rm /usr/src/linux
ln -s /usr/src/linux-2.6.8-gentoo-r3(input the correct dir) /usr/src/linux


my example:
Code:

navaden@lynxlynxsp src $ ls -l /usr/src/
total 1
lrwxrwxrwx   1 root root   30 Sep 13 20:18 linux -> /usr/src/linux-2.6.8-gentoo-r3/
drwxr-xr-x  19 root root 1344 Sep 17 21:08 linux-2.6.8-gentoo-r3/
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 12:05 pm    Post subject: Reply with quote

yup i did that and started to compile the kernel. But the compilation stops and i see a line starting with "if" and continuing to right side of the monitor. Am i supposed to see something like "Compilation successful" when the kernel has compiled successfuly? Btw, i ignored the mistake and started xorgconfig, i configured it and after startx my usb mouse still wasnt working (yes i have activated HID and some other usb stuff).
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 1:02 pm    Post subject: Reply with quote

No, that's ok, when the kernel compile finishes, the last line you see is that if clause.

Don't forget to move the new image and system.map to /boot and fix lilo. Then restart and you should have the new kernel running. No use of doing anything before that - you're still running your old kernel.
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 2:35 pm    Post subject: Reply with quote

Wow man thanks i got my usb mouse working and i have the feeling gentoo is starting faster. I was wondering how do u get these cool themes on gentoo like this one http://www.gentoo.org/images/shots/alexander.png . Btw i spreciate all the help u gave me :) thanks
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 2:39 pm    Post subject: Reply with quote

Great! :D
You can apply themes to your desktop, eg. KDE(...). Kde has it even automized in 3.3.
You can get themes at www.kde-look.org etc etc, just search a bit.
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 3:43 pm    Post subject: Reply with quote

OMG im so dumb! I have a windows NTFS file system so i did make menuconfig to change the settings to that i can mount my windows partition. So after compilation i copied the System.map file and the image file to /boot and rebooted gentoo. When gentoo started i saw BIOS Checking Successful, Uncompressing Linux, ran out of input data, System halted. I thought /boot might be full because of the files from different kernels so i put gentoo livecd and mounted /boot and i deleted the old 2.4 kernel files. After boot the same problem showed up. Ive just had my gentoo running well and i f**ked it up :cry:
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 3:48 pm    Post subject: Reply with quote

Boot off a LiveCD and edit your lilo.conf or grub.conf appropriately(with the new kernel image name). You either forgot to do that before, or forgot to run lilo afterwards(which would apply the new settings). ;)
Back to top
View user's profile Send private message
oxide
n00b
n00b


Joined: 02 Sep 2004
Posts: 44

PostPosted: Sun Sep 19, 2004 7:48 pm    Post subject: Reply with quote

yup everything is ok now, thank you very very very much :D
Back to top
View user's profile Send private message
lynxnyl
Apprentice
Apprentice


Joined: 15 Aug 2004
Posts: 253
Location: Ljubljana, Slovenija

PostPosted: Sun Sep 19, 2004 7:59 pm    Post subject: Reply with quote

Great! :D
Nothing is better than happy linux users. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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