LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-16-2010, 12:09 AM   #1
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Rep: Reputation: 16
Would Like a Config file for Acer M5641


I have an Acer M5641. I had Centos 5.4 running on it and everything worked fine. I am trying to build a new kernel, and tried using the .config file in the boot directory, but that didn't work.

This is a wild try, but does anyone have a similar machine. Basically I can build a kernel and it will boot up, but the USB ports don't work, therefor I can't log in directly, I have to log into the machine remotely.

I have used the machine like this for a while, but have now come to the point I want to log in from the console. Any hints of fixing this?

BTW. when I used the working .config file from CentOS, it would even boot up. Thanks.
 
Old 03-16-2010, 12:40 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you have an acer did it work with the other kernel. because I had an acer desktop and found out there bios only liked to work for M$ devices with M$soft could not get them to recognize half my devices on usb .Well being a hardware person I thought I new a lot about hardware after 30 years. Well acer bios taught me why they have cheap stuff.

After building false nodes and creating device links. I read real close. all the bios and things are built for M$ even the updates only work for M$. so that mother board came out and I put a new one in.
( Of course do not do that if you do not know what your doing) Because the case and power supply and other things are different. They do this just to keep you from going some where else to buy.
But I like the case so I did it. it has that cool blue lights going on.

My problem .
here is the question you should ask. is my device being loaded. what is the name of your usb nic .
open a console and type lsusb and post it. then type dmesg and look for you usb hid devices being loaded and associated with a module driver in the kernel.
how did you test your usb port and what device. plug something in and type dmesg and read the out put.
Let me know before you waist another hour building a kernel. I know I did.

Last edited by Drakeo; 03-16-2010 at 12:42 AM.
 
Old 03-16-2010, 05:25 PM   #3
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
My current non-working USB kerenl configuration

Quote:
Originally Posted by Drakeo View Post
you have an acer did it work with the other kernel. because I had an acer desktop and found out there bios only liked to work for M$ devices with M$soft could not get them to recognize half my devices on usb .Well being a hardware person I thought I new a lot about hardware after 30 years. Well acer bios taught me why they have cheap stuff.

After building false nodes and creating device links. I read real close. all the bios and things are built for M$ even the updates only work for M$. so that mother board came out and I put a new one in.
( Of course do not do that if you do not know what your doing) Because the case and power supply and other things are different. They do this just to keep you from going some where else to buy.
But I like the case so I did it. it has that cool blue lights going on.

My problem .
here is the question you should ask. is my device being loaded. what is the name of your usb nic .
open a console and type lsusb and post it. then type dmesg and look for you usb hid devices being loaded and associated with a module driver in the kernel.
how did you test your usb port and what device. plug something in and type dmesg and read the out put.
Let me know before you waist another hour building a kernel. I know I did.

Everything on my machine works, as far as I know expect USB. I can't use the keyboard or the mouse. Here is the outpout of lspci:

gcr [ ~ ]$ /usr/sbin/lspci |grep USB
00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i USB (rev a1)
00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 Controller (EHCI) (rev a1)
gcr [ ~ ]$

The entire output:

http://pastebin.com/GtT6iUqb

My current config:

http://pastebin.com/03FY0zwc
 
Old 03-17-2010, 02:27 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
did your system boot with an initrd. if so you will have to mkintrid then add the modules to it to load. that would mean the config you used was for an initrid so that is why you are not geting modules to load.
Quote:
/sbin/modprobe uhci_hcd' and that will get your usb working.
coppy this to your /etc/rc.d/rc.local
Quote:
modprobe uhci_hcd
if that works then build the intrid or configure.
just because it is in lspci does not mean a module is loaded to run it.]
when you go to a newer kernel use the old .config but do a make oldconfig. this way you can configure the new modules in the kernel.
Quote:
centos on make install is supposed to create an initrd.img

Last edited by Drakeo; 03-17-2010 at 03:06 PM.
 
Old 03-17-2010, 02:37 PM   #5
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
did your system boot with an initrd. if so you will have to mkintrid then add the modules to it to load. that would mean the config you used was for an initrid so that is why you are not geting modules to load.
coppy this to your /etc/rc.d/rc.local
if that works then build the intrid or configure.
just because it is in lspci does not mean a module is loaded to run it.]
when you go to a newer kernel use the old .config but do a make oldconfig. this way you can configure the new modules in the kernel.
No, my system doesn't include a initrd.

The two previous posting were incomplete. Here is the repost:

sys.log:

http://pastebin.com/EGZYEdMe


config:

http://pastebin.com/TVa6pvbx

The module was already loaded, but still doesn't work. I'm getting errors in sys.log.
 
Old 03-18-2010, 03:07 PM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I put in a new config it should build everything you need
 
Old 03-18-2010, 03:35 PM   #7
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
I put in a new config it should build everything you need
OK, thank you. How did you determine what to change? I am able to boot up with my current kernel, but as stated before, its the USB that doesn't work. Its using nVidia, which has given me lots of problems.
 
Old 03-19-2010, 08:19 AM   #8
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you are not building enabling the drivers so they where not staged in the modules.
so when you did your make modules_install only the very basic storage driver was being
built into the kernel. this is a must for the firmware on the devices
Quote:
CONFIG_HOTPLUG=y
Quote:
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=y
CONFIG_INPUT_POLLDEV=m
and make a bunch work
Quote:
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m
then get the key board and the other stuff that needs to be built
Quote:
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ADP5588=m
CONFIG_KEYBOARD_ATKBD=y
CONFIG_QT2160=m
# CONFIG_KEYBOARD_LKKBD is not set
CONFIG_KEYBOARD_GPIO=m
CONFIG_KEYBOARD_MATRIX=m
CONFIG_KEYBOARD_LM8323=m
CONFIG_KEYBOARD_MAX7359=m
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_KEYBOARD_OPENCORES=m
CONFIG_KEYBOARD_STOWAWAY=m
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
CONFIG_MOUSE_PS2_SENTELIC=y
CONFIG_MOUSE_PS2_TOUCHKIT=y
CONFIG_MOUSE_SERIAL=m
CONFIG_MOUSE_APPLETOUCH=m
CONFIG_MOUSE_BCM5974=m
CONFIG_MOUSE_VSXXXAA=m
CONFIG_MOUSE_GPIO=m
CONFIG_MOUSE_SYNAPTICS_I2C=m
CONFIG_INPUT_JOYSTICK=y
CONFIG_JOYSTICK_ANALOG=m
CONFIG_JOYSTICK_A3D=m
CONFIG_JOYSTICK_ADI=m
CONFIG_JOYSTICK_COBRA=m
CONFIG_JOYSTICK_GF2K=m
CONFIG_JOYSTICK_GRIP=m
CONFIG_JOYSTICK_GRIP_MP=m
CONFIG_JOYSTICK_GUILLEMOT=m
CONFIG_JOYSTICK_INTERACT=m
CONFIG_JOYSTICK_SIDEWINDER=m
CONFIG_JOYSTICK_TMDC=m
CONFIG_JOYSTICK_IFORCE=m
CONFIG_JOYSTICK_IFORCE_USB=y
CONFIG_JOYSTICK_IFORCE_232=y
CONFIG_JOYSTICK_WARRIOR=m
CONFIG_JOYSTICK_MAGELLAN=m
CONFIG_JOYSTICK_SPACEORB=m
CONFIG_JOYSTICK_SPACEBALL=m
CONFIG_JOYSTICK_STINGER=m
CONFIG_JOYSTICK_TWIDJOY=m
CONFIG_JOYSTICK_ZHENHUA=m
CONFIG_JOYSTICK_DB9=m
CONFIG_JOYSTICK_GAMECON=m
CONFIG_JOYSTICK_TURBOGRAFX=m
CONFIG_JOYSTICK_JOYDUMP=m
CONFIG_JOYSTICK_XPAD=m
CONFIG_JOYSTICK_XPAD_FF=y
CONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not set
CONFIG_INPUT_TABLET=y
CONFIG_TABLET_USB_ACECAD=m
CONFIG_TABLET_USB_AIPTEK=m
CONFIG_TABLET_USB_GTCO=m
CONFIG_TABLET_USB_KBTAB=m
CONFIG_TABLET_USB_WACOM=m
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_AD7879_I2C=m
CONFIG_TOUCHSCREEN_AD7879=m
CONFIG_TOUCHSCREEN_EETI=m
CONFIG_TOUCHSCREEN_FUJITSU=m
CONFIG_TOUCHSCREEN_GUNZE=m
CONFIG_TOUCHSCREEN_ELO=m
CONFIG_TOUCHSCREEN_WACOM_W8001=m
CONFIG_TOUCHSCREEN_MCS5000=m
CONFIG_TOUCHSCREEN_MTOUCH=m
CONFIG_TOUCHSCREEN_INEXIO=m
CONFIG_TOUCHSCREEN_MK712=m
CONFIG_TOUCHSCREEN_PENMOUNT=m
CONFIG_TOUCHSCREEN_TOUCHRIGHT=m
CONFIG_TOUCHSCREEN_TOUCHWIN=m
CONFIG_TOUCHSCREEN_UCB1400=m
CONFIG_TOUCHSCREEN_WM97XX=m
CONFIG_TOUCHSCREEN_WM9705=y
CONFIG_TOUCHSCREEN_WM9712=y
CONFIG_TOUCHSCREEN_WM9713=y
CONFIG_TOUCHSCREEN_USB_COMPOSITE=m
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_TOUCHIT213=m
CONFIG_TOUCHSCREEN_TSC2007=m
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
CONFIG_INPUT_APANEL=m
CONFIG_INPUT_ATLAS_BTNS=m
CONFIG_INPUT_ATI_REMOTE=m
CONFIG_INPUT_ATI_REMOTE2=m
CONFIG_INPUT_KEYSPAN_REMOTE=m
CONFIG_INPUT_POWERMATE=m
CONFIG_INPUT_YEALINK=m
CONFIG_INPUT_CM109=m
CONFIG_INPUT_UINPUT=m
CONFIG_INPUT_WINBOND_CIR=m
CONFIG_INPUT_PCF50633_PMU=m
CONFIG_INPUT_GPIO_ROTARY_ENCODER=m
CONFIG_INPUT_WM831X_ON=m
since I am building a kernel for multiple systems. I need a bunch of modules.
make modules_install. this should also install the firmware but if not
make firmware_install

Last edited by Drakeo; 03-19-2010 at 08:21 AM.
 
Old 03-19-2010, 10:17 AM   #9
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
you are not building enabling the drivers so they where not staged in the modules.
so when you did your make modules_install only the very basic storage driver was being
built into the kernel. this is a must for the firmware on the devices
and make a bunch work
then get the key board and the other stuff that needs to be built
since I am building a kernel for multiple systems. I need a bunch of modules.
make modules_install. this should also install the firmware but if not
make firmware_install
I didn't do the install firmware, but the new .config yelded the same result. I am not on the system now, but will post the output of sys.log later. Sorry if I gave the impression that it had already worked.
 
Old 03-19-2010, 02:40 PM   #10
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
you are not building enabling the drivers so they where not staged in the modules.
so when you did your make modules_install only the very basic storage driver was being
built into the kernel. this is a must for the firmware on the devices
and make a bunch work
then get the key board and the other stuff that needs to be built
since I am building a kernel for multiple systems. I need a bunch of modules.
make modules_install. this should also install the firmware but if not
make firmware_install

The Centos kernel works, but in looking at it, there are dozens of modules enabled:

http://pastebin.com/aB2RcDxW

The module I am trying to get to work, only has two modules loaded:

gcr [ ~ ]$ hostname
guajome-dome
gcr [ ~ ]$ lsmod
Module Size Used by
ohci_hcd 19241 0
ehci_hcd 30605 0
gcr [ ~ ]$
 
Old 03-19-2010, 03:10 PM   #11
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
you are not building enabling the drivers so they where not staged in the modules.
so when you did your make modules_install only the very basic storage driver was being
built into the kernel. this is a must for the firmware on the devices
and make a bunch work
then get the key board and the other stuff that needs to be built
since I am building a kernel for multiple systems. I need a bunch of modules.
make modules_install. this should also install the firmware but if not
make firmware_install

I also posted the sys.log file of the kernel I built from the config you gave me:

http://pastebin.com/VnGArHJx
 
Old 03-20-2010, 10:22 AM   #12
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
if you do not make clean then make mrpropper before every Kernel build the bzImage (vmlinuz)
will not change. and you will keep having the same problem this also is a must in your.
/etc/modprobe.d/usb-controller.conf
Quote:
# Make sure that ehci-hcd is always loaded before uhci-hci
# # or ohci-hcd to prevent a kernel warning:
install uhci-hcd /sbin/modprobe ehci-hcd ; /sbin/modprobe -i uhci-hcd
install ohci-hcd /sbin/modprobe ehci-hcd ; /sbin/modprobe -i ohci-hcd
If you changed something in bios please enable usb 1 and 2.
also while your in there set bios to none OS.
Then go back and read my first post as to why I got rid of the acer motherboard.
I compile the newest kernel out when they make stable. and that board drove me nuts.

Last edited by Drakeo; 03-20-2010 at 10:31 AM.
 
Old 03-20-2010, 06:14 PM   #13
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Drakeo View Post
if you do not make clean then make mrpropper before every Kernel build the bzImage (vmlinuz)
will not change. and you will keep having the same problem this also is a must in your.
/etc/modprobe.d/usb-controller.conf

If you changed something in bios please enable usb 1 and 2.
also while your in there set bios to none OS.
Then go back and read my first post as to why I got rid of the acer motherboard.
I compile the newest kernel out when they make stable. and that board drove me nuts.

Well, I couldn't afford to replace the board. Its only a year old and I wouldn't want to waste the money I have invested in it.

I have this setup for usb:

root [ /home/gcr ]# more /etc/modprobe.d/usb.conf
# Begin /etc/modprobe.d/usb.conf

install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true

# End /etc/modprobe.d/usb.conf
root [ /home/gcr ]#
 
Old 03-20-2010, 06:44 PM   #14
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by brownwrap View Post
I have an Acer M5641. I had Centos 5.4 running on it and everything worked fine. I am trying to build a new kernel, and tried using the .config file in the boot directory, but that didn't work.
I know you're already going 7 different ways at once, but I'm having a hard time accepting this at face value. By definition, the config file in /boot is a working config. Exactly, what command did you use to copy the config over? Was it this or the equivalent?
Code:
cp /boot/config-`uname -r`    .config
Also, did you run "make oldconfig" after copying it to .config?
 
Old 03-20-2010, 07:02 PM   #15
brownwrap
Member
 
Registered: Jan 2010
Posts: 121

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Quakeboy02 View Post
I know you're already going 7 different ways at once, but I'm having a hard time accepting this at face value. By definition, the config file in /boot is a working config. Exactly, what command did you use to copy the config over? Was it this or the equivalent?
Code:
cp /boot/config-`uname -r`    .config
Also, did you run "make oldconfig" after copying it to .config?
I have various config files I have tried. What I do is:

make mrproper

make LANG=en_US.UTF-8 LC_ALL= menuconfig

Then use the menu to load the config fcp -v .config /boot/config-2.6.32.8ile I want. Save it to .config

make

make modules_install

cp -v arch/x86/boot/bzImage /boot/vmlinux-2.6.32.7-lfs-6.6-rc1

cp -v System.map /boot/System.map-2.6.32.7

cp -v .config /boot/config-2.6.32.7

then rebooted.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora on Acer Aspire M5641 citibk Linux - Laptop and Netbook 1 02-12-2009 07:57 PM
.config on an Acer TM8202 Aldebaran Linux - Laptop and Netbook 0 10-08-2006 02:08 PM
config xorg for Acer c100 tablet device bb002 Linux - Software 1 10-03-2005 01:50 AM
I have an XF86 config file for video, how do I turn it into XORG config lowpingnoob Linux - Newbie 18 06-12-2005 12:07 PM
Lan Config file / internet config file Raven_X_Neo Linux - Networking 1 10-30-2002 01:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration