LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2010, 06:53 AM   #1
sohumsin
LQ Newbie
 
Registered: Feb 2010
Posts: 9

Rep: Reputation: 0
Smile Student Project


Hi Every one,

Currently, I am doing a project on Linux System Hardware Information List. I am new to Linux and I need some helps or directions to the following,

a. detection of usb devices -> present/absent
b. CPU -> type, Clock Frequency, temperature and fan speed
b. Ram -> type, size and speed
c. Hard disk -> type, size and usage.
d. CD/DVD drive -> type, size and usage if disk present.
e. Graphic Card-> Type, memory size and Clock Frequency
f. Audio Card-> Type, and play some announcement
g. Ethernet Card-> Type, speed and any connection
 
Old 02-24-2010, 06:55 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
http://www.google.co.uk/search?q=Lin...ient=firefox-a
 
Old 02-24-2010, 07:30 AM   #3
sohumsin
LQ Newbie
 
Registered: Feb 2010
Posts: 9

Original Poster
Rep: Reputation: 0
thanks brianL.

Is there any program can detect usb plug in/out?
 
Old 02-24-2010, 07:57 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Have a look at a program called lshw. I don't know if it gives the exact info you're looking for, but it does give a ton of info on hardware.
 
Old 02-24-2010, 08:01 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
Is there any program can detect usb plug in/out?
You can use the log files
Code:
dmesg
or the mount command
Code:
mount

Last edited by repo; 02-24-2010 at 08:06 AM.
 
Old 02-24-2010, 08:54 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

Welcome to LQ!

What does your Project Leader or Adviser say?

Google <Linux>
would be a good start.

Just a few links to get you going;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
0 members found this post helpful.
Old 02-24-2010, 12:02 PM   #7
QuestionMaster3000
LQ Newbie
 
Registered: Feb 2010
Location: Appleton, WI
Distribution: OpenSUSE 11.2
Posts: 7

Rep: Reputation: 0
a. detection of usb devices -> present/absent = "lsusb"
b. CPU -> type, Clock Frequency, temperature and fan speed "cat /proc/cpuinfo"
b. Ram -> type, size and speed = "dmidecode --type 17"
c. Hard disk -> type, size and usage. "df"
d. CD/DVD drive -> type, size and usage if disk present. here
e. Graphic Card-> Type, memory size and Clock Frequency here
f. Audio Card-> Type, and play some announcement here
g. Ethernet Card-> Type, speed and any connection here
 
1 members found this post helpful.
Old 02-24-2010, 01:14 PM   #8
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Quote:
Originally Posted by QuestionMaster3000 View Post
a. detection of usb devices -> present/absent = "lsusb"
b. CPU -> type, Clock Frequency, temperature and fan speed "cat /proc/cpuinfo"
b. Ram -> type, size and speed = "dmidecode --type 17"
c. Hard disk -> type, size and usage. "df"
d. CD/DVD drive -> type, size and usage if disk present. here
e. Graphic Card-> Type, memory size and Clock Frequency here
f. Audio Card-> Type, and play some announcement here
g. Ethernet Card-> Type, speed and any connection here
Thank You. I was going to post the same thing. I have noticed as of late it seems like people are just doign a quick google and saying read this instead of just saying hey look into "this topic" or here is the answer. I mean how hard is it if you know the answer to just give someone the answer to the question they are asking?
 
Old 02-24-2010, 02:13 PM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
It depends on the question and how it's asked. "Can you do my project/homework for me?", might help me to learn more than it does the one who's asking.
 
Old 02-24-2010, 05:03 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

Quote:
Originally Posted by worm5252 View Post
Thank You. I was going to post the same thing. I have noticed as of late it seems like people are just doign a quick google and saying read this instead of just saying hey look into "this topic" or here is the answer. I mean how hard is it if you know the answer to just give someone the answer to the question they are asking?
How hard is it for an individual to learn? How about reading for understanding? Or what about doing something for oneself instead of spoon feeding?

This is not a help desk nor a tech support line. If you don't like the way things are done then get involved. By giving the person a recipe will only provide a quick means to closer. Is that what LQ is about? NO, I think it is in helping along with aiding someone to learn in the use of GNU/Linux with the hardware or intrinsic understanding when warranted.

I like to provide appropriate links that allow the user or poster to have reference to what should aid in understanding. Sure, sometimes we need to prod the individual with command output requests to aid in diagnosis of a problem.

But most LQ members will aid posters when they show some effort to a solution. So if the poster provides us with what was attempted and then maybe someone will be able to assist them in coming to a solution.

 
1 members found this post helpful.
Old 02-24-2010, 06:14 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,254

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Cmds to try include

lshw
lsusb
lspci
hal-device
 
Old 02-25-2010, 01:49 AM   #12
QuestionMaster3000
LQ Newbie
 
Registered: Feb 2010
Location: Appleton, WI
Distribution: OpenSUSE 11.2
Posts: 7

Rep: Reputation: 0
My answers on questions.

"Information is not knowledge." --Albert Einstein

Google is a means of efficiently retrieving information. But it isn't knowledge which Google retrieves.

"The only source of knowledge is experience." --Albert Einstein

So, is the user still not gaining experience and also gaining knowledge by inputting those commands and interpreting the information that is resulted from that experience? Sometimes people just don't know where to start and what to search for; one has to give them the answer so that they can understand how to reach a solution to a similar question in the future. Just think back to some advanced math books in school that had the answers at the end of the book. And finally....

"A man should look for what is, and not for what he thinks should be." --Albert Einstein

this is what I believe is ....
An individual asked what is to me simple question and I will give that individual the answer that I feel is most accurate. I will not judge the individual's motive for asking the question.

and not what I think should be....
People should only ask complex questions, this question is too simple and simply must be that the individual was too lazy to find the answer to the question. I had to figure this stuff out by myself so should this individual. He isn't going to learn anything if I simply just give him the answer.
 
Old 02-25-2010, 02:54 AM   #13
sohumsin
LQ Newbie
 
Registered: Feb 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Hi Everyone,

It is so good to knew that there are so many nice guru around to provide help.

I will make good use what provide here to start with. I hope one day, I will be a guru provide help for newbie.

Thanks every one.
 
Old 02-25-2010, 09:03 AM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Hi,

Quote:
Originally Posted by QuestionMaster3000 View Post
"Information is not knowledge." --Albert Einstein
Because 'E' said it doesn't make it correct. Information will lead to knowledge.

Quote:
Originally Posted by QuestionMaster3000 View Post
Google is a means of efficiently retrieving information. But it isn't knowledge which Google retrieves.

"The only source of knowledge is experience." --Albert Einstein
But Google does provide information that a person can discern that leads to knowledge through experience. It is the 'Key word' that some need in order to have that trail pointed out.

Quote:
Originally Posted by QuestionMaster3000 View Post
So, is the user still not gaining experience and also gaining knowledge by inputting those commands and interpreting the information that is resulted from that experience? Sometimes people just don't know where to start and what to search for; one has to give them the answer so that they can understand how to reach a solution to a similar question in the future. Just think back to some advanced math books in school that had the answers at the end of the book. And finally....

"A man should look for what is, and not for what he thinks should be." --Albert Einstein
But if that same user doesn't understand what is being input then nothing is being learned, just a mimic.
As I stated before, sometimes a nudge or pointer as to where to start. Be it a command, reference material or just plain definitions for the user to ingest thus hopefully able to interpret to a understandable solution.

Quote:
Originally Posted by QuestionMaster3000 View Post
this is what I believe is ....
An individual asked what is to me simple question and I will give that individual the answer that I feel is most accurate. I will not judge the individual's motive for asking the question.
No one, at least not I is judging here but you. I come from academia and to learn you need to provide the means/present for the individual information to ingest the material in a understandable manner so as to allow the person(s) to perform a task(s). If you can convey the information so the individual will be able to perform or solve something on their own then that same person will have gained knowledge from the experience.

Quote:
Originally Posted by QuestionMaster3000 View Post

and not what I think should be....
People should only ask complex questions, this question is too simple and simply must be that the individual was too lazy to find the answer to the question. I had to figure this stuff out by myself so should this individual. He isn't going to learn anything if I simply just give him the answer.
Only in a contrite world!

Seriously, this thought is very PC drifting and simplistic minded. If the person is truly wanting to learn instead of just pitching out a query then most LQ members will aid. Sure there are people who have this line of thought but to truly state a condition of this sort does offend some. My self included!

Personal education is important to me. I hope others in this forum have the same intent of wanting to aid in extending the understanding of something as important as a person gaining experiences that have fruitful results in knowledge gained.
 
Old 02-25-2010, 09:05 AM   #15
snowball0916
Member
 
Registered: Mar 2006
Location: China
Distribution: CentOS
Posts: 89

Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by onebuck View Post
Hi,



How hard is it for an individual to learn? How about reading for understanding? Or what about doing something for oneself instead of spoon feeding?

This is not a help desk nor a tech support line. If you don't like the way things are done then get involved. By giving the person a recipe will only provide a quick means to closer. Is that what LQ is about? NO, I think it is in helping along with aiding someone to learn in the use of GNU/Linux with the hardware or intrinsic understanding when warranted.

I like to provide appropriate links that allow the user or poster to have reference to what should aid in understanding. Sure, sometimes we need to prod the individual with command output requests to aid in diagnosis of a problem.

But most LQ members will aid posters when they show some effort to a solution. So if the poster provides us with what was attempted and then maybe someone will be able to assist them in coming to a solution.

I really agree what onebuck said. Even though I am still remember when my mentor told me how to use google, it really help me in my future life.

"Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a life time."
It's the same thing while we talk about this. If you only want answers, you only know answers.

Best Regards,
Milo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mailing list and version control system for student project Tortanick Programming 2 11-19-2008 04:19 PM
student + major project + internship + future + suggestions + confused + help koodoo General 10 09-21-2007 05:16 PM
LXer: SA student's project accepted by Google LXer Syndicated Linux News 0 04-17-2007 08:31 PM
student project hosting Jordan&&&& General 3 04-10-2007 04:31 PM
Beginning a big project - Need an Good Project Manager gamehack Programming 3 01-15-2004 12:49 PM


All times are GMT -5. The time now is 07:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration