Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disabling /sys/devices/platform/i8042/serio0
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
cb951303
n00b
n00b


Joined: 07 May 2008
Posts: 5

PostPosted: Wed May 07, 2008 3:46 pm    Post subject: Disabling /sys/devices/platform/i8042/serio0 Reply with quote

Hello all

My laptop's keyboard is broken. It presses random keys thus it won't let me write anything. That's why I need to disable it.

Code:
 dmesg | grep KBD


with this I found out that the keyboard is presented by
Code:
 /sys/devices/platform/i8042/serio0/input/input1

and the KBD port is presented by
Code:
/sys/devices/platform/i8042/serio0


I want to disable one of them. any help would be appreciated...

PS: Virtualbox uses i8042 as it's keyboard serial interface. you can mess with it :)

thanks very much
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed May 07, 2008 7:33 pm    Post subject: Reply with quote

Add this to your kernel boot parameters:

i8042.nokbd

Good luck :)
Back to top
View user's profile Send private message
cb951303
n00b
n00b


Joined: 07 May 2008
Posts: 5

PostPosted: Wed May 07, 2008 9:37 pm    Post subject: Reply with quote

thanks very much
that worked, but mouse doesn't work too
I use an external usb mouse but it would be great if touchpad worked too
any ideas?


Last edited by cb951303 on Thu May 08, 2008 5:08 am; edited 1 time in total
Back to top
View user's profile Send private message
cb951303
n00b
n00b


Joined: 07 May 2008
Posts: 5

PostPosted: Wed May 07, 2008 9:43 pm    Post subject: Reply with quote

I noticed that mouse works until I touch a key
after that it just stops working
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Wed May 07, 2008 10:38 pm    Post subject: Reply with quote

What shows up in dmesg before & after you hit a key?
Back to top
View user's profile Send private message
cb951303
n00b
n00b


Joined: 07 May 2008
Posts: 5

PostPosted: Thu May 08, 2008 5:15 am    Post subject: Reply with quote

ok. it's been a little tricky. I setup cron jobs to get dmesg since screen keyboard wasn't installed :)

unfortunately nothing shows up in dmesg :/ exactly the same dmesg before and after pressing the key
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Thu May 08, 2008 7:18 am    Post subject: Reply with quote

Well, here's the various 8042 options for the kernel... you could try experimenting but I can't imagine why hitting a key would make the mouse not work anymore. Maybe something is really messed up with your keyboard controller?

Code:
        i8042.direct    [HW] Put keyboard port into non-translated mode
        i8042.dumbkbd   [HW] Pretend that controller can only read data from
                             keyboard and cannot control its state
                             (Don't attempt to blink the leds)
        i8042.noaux     [HW] Don't check for auxiliary (== mouse) port
        i8042.nokbd     [HW] Don't check/create keyboard port
        i8042.nomux     [HW] Don't check presence of an active multiplexing
                             controller
        i8042.nopnp     [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
                             controllers
        i8042.panicblink=
                        [HW] Frequency with which keyboard LEDs should blink
                             when kernel panics (default is 0.5 sec)
        i8042.reset     [HW] Reset the controller during init and cleanup
        i8042.unlock    [HW] Unlock (ignore) the keylock
Back to top
View user's profile Send private message
cb951303
n00b
n00b


Joined: 07 May 2008
Posts: 5

PostPosted: Thu May 08, 2008 12:20 pm    Post subject: Reply with quote

thanks very much.
I didn't have the chance to try any of this in my actual laptop yet. I tried all of this with virtualbox 1.6. so it may very well be a virtualbox bug ;)

thanks again :)
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