Power Developer
https://powerdeveloper.org/forums/

No Keyboard/Mouse with Debian Squeeze
https://powerdeveloper.org/forums/viewtopic.php?f=7&t=2114
Page 1 of 1

Author:  JeffHoogland [ Wed Nov 16, 2011 11:10 pm ]
Post subject:  No Keyboard/Mouse with Debian Squeeze

Is there a step by step guide out there somewhere for installing Debian Squeeze ARMEL on the Genesi Smartbook? I know there is this wiki page - http://wiki.debian.org/EfikaMX - but it is more generic instructions for the board contained within the device and it is a little bit all over the place.

Essentially I'd like to fast route to a working Debian Stable (Squeeze, ARMEL) on the Smartbook.

~Jeff

Author:  JeffHoogland [ Thu Nov 17, 2011 11:31 pm ]
Post subject: 

OK - so I've got Squeeze installed to a flash card (going to make a HOWTO after I get things fully working). Now it boots, but for whatever reason I have no mouse/keyboard functionality. Any ideas why that might be? I simply copied over the 200 meg partition from the ARMHF provided download. Do I need to edit something in this contents to get the keyboard and mouse to work under Squeeze (or do I need to actually compile the kernel myself?)

~Jeff

Author:  markos [ Fri Nov 18, 2011 2:29 am ]
Post subject: 

Quote:
OK - so I've got Squeeze installed to a flash card (going to make a HOWTO after I get things fully working). Now it boots, but for whatever reason I have no mouse/keyboard functionality. Any ideas why that might be? I simply copied over the 200 meg partition from the ARMHF provided download. Do I need to edit something in this contents to get the keyboard and mouse to work under Squeeze (or do I need to actually compile the kernel myself?)

~Jeff
Ok, this is a known issue with udev and older kernels -which do not include accept4 patch, but which is backported to our kernel so it works as expected with udev. Basically, udev does a kernel version check in /etc/init.d/udev and it refuses to load if the version is <= 2.6.31 (which ours is). What I do is just convert the checking routine to this:

supported_kernel() {
case "$(uname -r)" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.30|2.6.30[!0-9]*) return 1 ;;
esac
return 0
}

(basically check for .30 instead of .31).

Or you could just comment the resp. line. Problem is you might have to do that on every udev reboot.

Try that and let me know if it worked :)

Author:  JeffHoogland [ Fri Nov 18, 2011 8:27 am ]
Post subject: 

I pasted the code you provided over the existing chunk in my /etc/init.d/udev file. So it now reads:
Code:
supported_kernel() {
case "$(uname -r)" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.30|2.6.30[!0-9]*) return 1 ;;
esac
return 0
}
Same result with no keyboard/mouse working.

Other ideas?
~Jeff

Author:  markos [ Fri Nov 18, 2011 9:08 am ]
Post subject: 

Quote:
I pasted the code you provided over the existing chunk in my /etc/init.d/udev file. So it now reads:
Code:
supported_kernel() {
case "$(uname -r)" in
2.[012345].*|2.6.[0-9]|2.6.[0-9][!0-9]*) return 1 ;;
2.6.[12][0-9]|2.6.[12][0-9][!0-9]*) return 1 ;;
2.6.30|2.6.30[!0-9]*) return 1 ;;
esac
return 0
}
Same result with no keyboard/mouse working.

Other ideas?
~Jeff
ah, sorry you should also run depmod -a in the chroot of the sd card.

Author:  JeffHoogland [ Fri Nov 18, 2011 9:11 am ]
Post subject: 

Quote:
ah, sorry you should also run depmod -a in the chroot of the sd card.
Ahh - hopefully this is the missing piece on my puzzle. I will drop a post here letting me know if it worked out not when I get home from work in 6 hours or so.

~Jeff

Author:  JeffHoogland [ Fri Nov 18, 2011 4:15 pm ]
Post subject: 

Alrighty - depmod is giving me some error messages due to the location of the kernel. It complains /lib/modules/2.6.31.14.20-efikamx doesn't exist.

Two lines with similar messages, one starts with WARNING and the other with FATAL

I copied over this entire folder from the /lib/modules folder on the Ubuntu install and this removed the error message but the keyboard and mouse still do not work after a reboot.

~Jeff

Author:  JeffHoogland [ Sun Nov 20, 2011 4:23 pm ]
Post subject: 

Got this sorted with the help of a kernel provided by steev_ on IRC. Link to the download:

http://dev.gentoo.org/~steev/files/2.6. ... mx.tar.bz2

~Jeff

Page 1 of 1 All times are UTC-06:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/