Fedora Linux Support Community & Resources Center
  #1  
Old 15th February 2012, 02:08 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608
linuxfirefox
Question Parsing for drivers of diffrent hardware

I'm heading to write a script that parses known devices, that are 'important' to the core system.
It then adds the result to a list, and installs that list in a later process.

The script, as of now, just parses the search strings, and prints out the result.
As i have not that many hardware, or dont cant think of more atm, i'd like to ask for your help.

Please run this code in a terminal, and post its result:
PHP Code:
    # | Variables
        
todoDriver="Audio Graphic VGA Display Wireless Ethernet"
        
dgpu="Intel Ati nVidia"
        
dnetworks="Realtek Broadcom"
        
dsound="Intel"
    
# | Parsing
        
for devItem in $todoDriver ; do
            
firstline="Parsing for $devItem devices..."
            
#echo $firstline
            
tempResult=$(lspci|grep $devItem)
            echo 
"$devItem :-___-: $tempResult"
        
done 
The results will let me continue with this, it shall only install drivers that are shipped with Fedora.
And determine which one's are needed (and their additional tools, if any) and which not.

If you have an addition what is essential for the system, dont kow, something like harddisk that needs a special drivers, please freel free to add it here.

Thank you.
PS:
Using now lspci, but later on, parsing either dmesg or dmidecode or even proc, but as you have a running system now, lspci is the easiest and quickest to get many information.
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb

Last edited by sea; 25th February 2012 at 02:45 AM.
Reply With Quote
  #2  
Old 25th February 2012, 02:44 AM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608
linuxfirefox
Re: Parsing for drivers of diffrent hardware

Ok figured that proc is a bad resource without the proper drivers loaded.
So lspci still would produce better results.

I'm asking for your output in order to make a script that installs the drivers for your hardware that are available in the fedora repos, so one doesnt need to figure out which device needs which drivers, nor have to type too much.

So somone with many diffrent devices starting from a minimal install, can simply run the script and be sure to have working hardware.
That is because my experience with minimal install is that my wifi neve worked 'out of the minimal box'
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
Reply

Tags
diffrent, drivers, hardware, parsing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install my hardware drivers in fedora 11? henn16 Hardware & Laptops 1 13th August 2009 03:57 PM
What is the diffrent ? ALBINALI Using Fedora 2 30th November 2008 05:57 PM
Drivers needed for new hardware vvvmay Hardware & Laptops 2 20th March 2007 05:53 PM
Fedora 5 Hardware Drivers for the OS where to look? KRAZYBASTID Installation and Live Media 2 19th November 2006 02:57 PM
Hardware Drivers for Fedora Core 4 evan Servers & Networking 3 1st September 2005 02:57 AM


Current GMT-time: 08:19 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat