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
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2005, 12:15 AM   #1
SoccerballTux
LQ Newbie
 
Registered: Oct 2004
Location: Central KY
Distribution: Suse 9.1 Personal
Posts: 6

Rep: Reputation: 0
Why can't a universal progarm write drivers based on the actual hardware it sees?


If it runs a byte through every little *bit* of hardware, could it not backwards design a hardware driver? Or would that be too much factoring and permutation?

I'm thinking the computer could write a hardware driver since it knew the input and the output from the hardware.....it would just have to simulate what happened inbetween the in and out part. Say the computer knew where it was trying to get, say a network device or a sound card, and it knew the results it was getting from doing thus and such, and then it knew (because we preprogrammed it how to respond) what to put in the next line of code, wouldn't we eventually get a working driver?

Of course that would probably already have been done if we could do it. Just a thought tho....

If it is possible, why don't we write a really robust driver of all drivers that can back compile a driver for programs, and then get IBM to put one of their supercomputers on writing drivers for really old ISA cards. If there were a learning mechanism, where it found that thus and such a result most of the time meant *this* was happening in the hardware, then it could catch those recurrences and begin to expect them. Eventually we would get a computer that was very fast at guessing how the newest sound card or NIC should work.

The software could be tested using known hardware and drivers...and then we could compare and change things until we had a near perfect driver writer. As long as the program could learn, I don't see why this wouldn't work. One last option would be for the computer to analyze a 3D X-ray of the device, just to give it another frame of reference.

Of course I'm only a Ti-83+ programmer, I have no idea if this would be possible.
 
Old 06-09-2005, 12:30 AM   #2
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
That's an interesting idea, but I think it would be very impractical for a computer to know what the desired output was.
 
Old 06-09-2005, 06:16 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Re: Why can't a universal progarm write drivers based on the actual hardware it sees?

Quote:
Originally posted by SoccerballTux
If it runs a byte through every little *bit* of hardware, could it not backwards design a hardware driver? Or would that be too much factoring and permutation?
I envision a lot of magic smoke in your future. Randomly toggling registers is just asking to screw up your hardware... on top of that, some things are just so complex (and perhaps even need a firmware updated on boot) that it would be quite impractical. Your never going to "guess" the firmware.

Better suggestion.... download the datasheet for the part.... design the driver for it specifically... go on your merry way.
 
Old 06-09-2005, 09:59 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
AI is still beta.. wait til its full stable release and we'll have machines that can relate more to hardware devices to get those drivers automagically written in a matter of seconds for any type of OS..
 
  


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
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
get the actual hardware memory address of kernel oops edman007 Linux - General 0 02-24-2005 10:26 PM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
Is a INTEL 56K V.90\92 Hardware-Based Modem a TRUE hardware modem? ElijahLofgren Linux - Hardware 2 01-27-2004 07:06 PM
universal hardware probing tool dukeinlondon Linux - General 1 12-25-2003 07:53 PM

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

All times are GMT -5. The time now is 10:01 PM.

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