Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Acer aspire es1-531-p9qu
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cowboy0629
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2016
Posts: 87
Location: Kawartha Lakes, Ontario

PostPosted: Wed Nov 02, 2016 2:51 am    Post subject: Acer aspire es1-531-p9qu Reply with quote

Hi All

I am installing Gentoo on my New Aspire Laptop..

I was just wondering if anyone has a .config for the kernel that works with this machine that I may be able to get...

and if anyone has been able to get the enhanced version of the Synaptics touch pad working.. I have to change it to basic in the BIOS to get it working...

Thanks in advance
Mike Dennison
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 548
Location: Scotland

PostPosted: Sat Nov 05, 2016 5:47 pm    Post subject: Reply with quote

Hey Mike, would genkernel not be suffice?
Then perhaps you could copy its config file.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
cowboy0629
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2016
Posts: 87
Location: Kawartha Lakes, Ontario

PostPosted: Sat Nov 05, 2016 9:46 pm    Post subject: Reply with quote

Thistled wrote:
Hey Mike, would genkernel not be suffice?
Then perhaps you could copy its config file.


I thought of using the Genkernel but found that it is just loading everything.. I am trying to make the kernel as small as possible even though this computer is new it is slower then my Duo Core machine... says its a 2.4gig quad core on box etc.. but I can only get it to work as a 1.6gig quad core..

I apolligize for spelling etc.. I just had a major surgery and still a little high on the meds...


Is there a program that I can download that will help me to find the stuff I need for my kernel.. that is better then lsusb and lspci ... I love my gentoo.. I played with arch for a little while on the laptop but the forum over at arch I don't find a friendly and helpful as the people here so I am trying to get it work ...

My problem is when I start to take things out I always take something I shouldn't out and lend up getting a kernel panic on the next reboot..

I also tried taking the .config from my arch setup and it caused major problems..

talk to you soon and thank you very much for the reply..

Or would someone be willing to SSH into my machine to config the kernel that is really good at it.. I am still really new with linux

thanks
Again
Mike Dennison
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 548
Location: Scotland

PostPosted: Sat Nov 05, 2016 11:14 pm    Post subject: Reply with quote

Hey Mike

Hope you get well soon after the surgery. Sounds like you are high as a kite just now. :lol:

I would be willing to try ssh-ing into your box and building your kernel.

Hell I do it all the time, it takes time but it is worth it.

I would be using lspci etc to establish what is required, but I am sure it can be done.

Drop me a private message if you like, and we'll see if we can take this forward.

Cheers
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 548
Location: Scotland

PostPosted: Sat Nov 05, 2016 11:29 pm    Post subject: Reply with quote

By the way...

Quote:
says its a 2.4gig quad core on box etc.. but I can only get it to work as a 1.6gig quad core..


Is it possible you have power saving enabled in the BIOS?

I have a box which had Intelligent Energy Power Saving enabled in the BIOS which meant my CPU was permanently under clocked. Weird.

The .config from arch was bound to cause a big no-no because an arch kernel config will be different to a gentoo-sources config.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
324874
Apprentice
Apprentice


Joined: 26 Jul 2014
Posts: 168

PostPosted: Sun Nov 06, 2016 9:30 am    Post subject: Kernel configuration Reply with quote

Hi cowboy0629! I wrote a tutorial. Surely, this tutorial is not necessary: I'm convinced there plenty of guidelines on the Gentoo forums. :D

cowboy0629 wrote:
Is there a program that I can download that will help me to find the stuff I need for my kernel.. that is better then lsusb and lspci ... I love my gentoo.. I played with arch for a little while on the laptop but the forum over at arch I don't find a friendly and helpful as the people here so I am trying to get it work ...

Code:
root# lspci -knn
00:14.0 USB Controller [0c03]: Intel Corporation Wildcat Point-LP USB xHCI Controller [8086:9cb1]
...


You get the [vendor:device] identifiers for devices connected to the PCI bus. You can search information using this references in a search engine or
you can search in the source files (modules?).

The purpose is getting knowledge about the device. Above, I see a USB xHCI controller connected to the PCI bus, made by a vendor devices.

[ If you don't know what is a bus, a PCI bus, a controller, an xHCI controller. You have to learn more about these ones (read a book or search on the Web).
| Indeed, you have to build the kernel with required support. Peripherals devices won't work if the necessary devices aren't activated (detected, managed, etc.).
|
[ I believe an overview of the organized structure (the hardware architecture of the computer) provides the most informations to enable devices. ]

I used the guidelines written in the "Linux Kernel in a Nutshell" book (chap. 7).

vendor_id: 8086:
root# cd /usr/src/linux
root# grep -i 8086 include/linux/pci_ids.h
PCI_VENDOR_ID_INTEL


The previous commands give you the name of the vendor (in the example: Intel).

USB_modules:
root# grep -Rl PCI_VENDOR_ID_INTEL
...
...
drivers/usb/dwc3/dwc3-pci.c
drivers/usb/gadget/udc/pch_udc.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/ehci-pci.c
drivers/usb/host/pci-quirks.c
drivers/usb/host/uhci-pci.c
drivers/usb/host/sdhci-pci-core.c
...
...


The above command gives you the list of (selected) modules which is related to a vendor devices (here: Intel devices).

Now, you can look at the files and search if they have support for the device (id_device: 9cb1)

id_device=9cb1:
root# grep -i 9cb1 drivers/usb/... <file_name>


Sadly, you haven't found any reference in the files (in this case, it does not). You don't understand why so you try another way.
You're going to search in the Linux configuration file the option(s) to enable the USB xHCI controller.

linux_config:
root# grep -i xHCI /usr/src/linux/.config
# CONFIG_USB_XHCI_HCD is not set


Don't forget, this is a sample. Others devices or options may be required.

backup_config:
root# make defconfig
root# mkdir -p /root/kconf/.default /root/kconf/{0001,/0002,/0003,/0004,/0005,}
root# cp .config /root/kconf/.default/config


Linux:
root# make menuconfig
### Configuration utility ###
(search USB_XHCI_HCD: type on the keyboard / )
(display/move in the menus)


The above operations give you a description about the option(s).

Code:
root# lsusb


You get the devices connected to the USB buses. I believe you can use the previous method (currently, I'm configuring the kernel so I'm not sure).

My tips (because rigor is required):
  • You print the useful gathered informations.
  • You configure the kernel after getting "all" (see below) the configuration options.
  • You note precisely (in a file or on a sheet) all the modifications you do (if saved) in the kernel configuration file.
  • You sort the Linux configuration files by "operation rules" (general configuration - specific configuration, etc.): directories 0001 0002 ...
  • In the same directory, you keep the different configuration versions (one configuration file per modifications).

If you don't understand what I've said (it may be unclear) you may look at:

(edition): we can find information in /usr/src/linux/Documentation :)

Best regards, feng.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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