LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Student Project (https://www.linuxquestions.org/questions/linux-newbie-8/student-project-791229/)

sohumsin 02-24-2010 05:53 AM

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

brianL 02-24-2010 05:55 AM

http://www.google.co.uk/search?q=Lin...ient=firefox-a

sohumsin 02-24-2010 06:30 AM

thanks brianL.

Is there any program can detect usb plug in/out?

Hangdog42 02-24-2010 06:57 AM

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.

repo 02-24-2010 07:01 AM

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

onebuck 02-24-2010 07:54 AM

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

:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

QuestionMaster3000 02-24-2010 11:02 AM

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

worm5252 02-24-2010 12:14 PM

Quote:

Originally Posted by QuestionMaster3000 (Post 3875211)
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?

brianL 02-24-2010 01:13 PM

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.

onebuck 02-24-2010 04:03 PM

Hi,

Quote:

Originally Posted by worm5252 (Post 3875294)
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.

:hattip:

chrism01 02-24-2010 05:14 PM

Cmds to try include

lshw
lsusb
lspci
hal-device

QuestionMaster3000 02-25-2010 12:49 AM

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.

sohumsin 02-25-2010 01:54 AM

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.

onebuck 02-25-2010 08:03 AM

Hi,

Quote:

Originally Posted by QuestionMaster3000 (Post 3875975)
"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 (Post 3875975)
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 (Post 3875975)
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 (Post 3875975)
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 (Post 3875975)

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.
:hattip:

snowball0916 02-25-2010 08:05 AM

Quote:

Originally Posted by onebuck (Post 3875588)
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.

:hattip:

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


All times are GMT -5. The time now is 06:00 AM.