Forum Settings
       
Reply To Thread

Question about the need for device driversFollow

#1 Oct 13 2006 at 6:17 AM Rating: Default
Scholar
****
4,593 posts
Why can't device drivers be built right into the devices? Let the device itself handle it. That way it will always work and you never have to go driver hunting. It just makes more sense to me. Plug it in it works, plug it into another computer it still works. None of this setup crap. It should be modular and each piece should be independent.

Hard drives for example. Why do we need a filesystem that the OS can read? Why can't the HD have its own file system? Computer says "hey, wake up! give me this file!" (as opposed to "go to FEEB0001 and tell me what it says", "ok it said EEEA0100, go there and get what's there") HD says "Ok, hold on" Looks it up, finds it and sends it through. PC doesn't need to know where on the HD the damn file is, it just needs the file. If it worked this way, you could read any HD with any OS because the OS wouldn't need to know NTFS or EXT3 or RIESER4. It would just need to know it needed pRon1.avi.

I'm just ranting cause I can't get my new Linux and Windows box to write to each other, and my damn DVD drive won't work, but I think these are valid arguments.
#2 Oct 13 2006 at 6:22 AM Rating: Good
****
6,760 posts
Yodabunny wrote:
... but I think these are valid arguments.


There ya go thinkin' again.
____________________________
Some people are like slinkies, they aren't really good for anything, but they still bring a smile to your face when you push them down the stairs.
#3 Oct 13 2006 at 6:26 AM Rating: Decent
**
448 posts
I'll use MS as an example, just 'cause of the market share.

MS makes Windows Platinum. Companies put the drivers in the firmware. All is good with the world.

MS makes Windows Adamantium. Companies now have hardware out there that has unsupported drivers in the firmware, and needs to update every single piece of hardware in order to make them work with the OS before it can be installed.


Much more efficient to update driver software than firmware.
#4 Oct 13 2006 at 6:35 AM Rating: Default
Scholar
****
4,593 posts
Yes, but why would the hardware break with a new version of windows if the hardware is doing all the processing? Why not force the OS companies to use a standard instruction set for requesting information from hardware devices.

As far as updates go, you can update your BIOS, why couldn't you update a DVD drive?

I see your point though. It's not easy. It would be nice if they had some kind of basic driver directly on the hardware though. Maybe not full functionality but something just to get it working. You can boot from CD-rom for example (before the drivers are loaded), but I'm not sure if that's a BIOS thing or built into the hardware.
#5 Oct 13 2006 at 6:51 AM Rating: Decent
*****
10,755 posts
Yodabunny wrote:
Yes, but why would the hardware break with a new version of windows if the hardware is doing all the processing? Why not force the OS companies to use a standard instruction set for requesting information from hardware devices.


Because we would still be using 3.1.
#6 Oct 13 2006 at 8:37 AM Rating: Default
Quote:
Yes, but why would the hardware break with a new version of windows if the hardware is doing all the processing? Why not force the OS companies to use a standard instruction set for requesting information from hardware devices.


If we had a standard instruction set for requesting information, nothing would ever advance...it would be a "driver" monopoly. Hardware development would be restricted to the current instruction sets and all they could handle...nothing would ever have new features, quicker access methods...life would suck. Smiley: disappointed

ed. Because I didn't realize Neph already pointed this out two hours ago...



Edited, Oct 13th 2006 at 9:40am PDT by xtremereign
#7 Oct 13 2006 at 9:12 AM Rating: Default
Scholar
****
4,593 posts
xtremereign wrote:
Quote:
Yes, but why would the hardware break with a new version of windows if the hardware is doing all the processing? Why not force the OS companies to use a standard instruction set for requesting information from hardware devices.


If we had a standard instruction set for requesting information, nothing would ever advance...it would be a "driver" monopoly. Hardware development would be restricted to the current instruction sets and all they could handle...nothing would ever have new features, quicker access methods...life would suck. Smiley: disappointed

ed. Because I didn't realize Neph already pointed this out two hours ago...



Edited, Oct 13th 2006 at 9:40am PDT by xtremereign


Good point, the standard would have to be updated on a regular basis. Which of course would be a nightmare, trying to get all parties to agree on changes all the time.
#8 Oct 13 2006 at 9:26 AM Rating: Decent
Yodabunny wrote:
Why can't device drivers be built right into the devices? Let the device itself handle it. That way it will always work and you never have to go driver hunting. It just makes more sense to me. Plug it in it works, plug it into another computer it still works. None of this setup crap. It should be modular and each piece should be independent.

Hard drives for example. Why do we need a filesystem that the OS can read? Why can't the HD have its own file system? Computer says "hey, wake up! give me this file!" (as opposed to "go to FEEB0001 and tell me what it says", "ok it said EEEA0100, go there and get what's there") HD says "Ok, hold on" Looks it up, finds it and sends it through. PC doesn't need to know where on the HD the damn file is, it just needs the file. If it worked this way, you could read any HD with any OS because the OS wouldn't need to know NTFS or EXT3 or RIESER4. It would just need to know it needed pRon1.avi.

I'm just ranting cause I can't get my new Linux and Windows box to write to each other, and my damn DVD drive won't work, but I think these are valid arguments.


as for getting linux and windows to write/read to the same sector on the hard drive you need to be running FAT32. there are some NTFS support in linux now, but i still do not trust it with critical data.

as for independent hardware that is possible, but at a cost. so much so that it makes it no longer fesable to offer to the average consumer. its called embedded software. gets very pricey, extremely difficult to update/patch and in the long run only valid in small sectors of the computer world.
#9 Oct 13 2006 at 9:34 AM Rating: Decent
Scholar
****
4,593 posts
Singdall wrote:

as for getting linux and windows to write/read to the same sector on the hard drive you need to be running FAT32. there are some NTFS support in linux now, but i still do not trust it with critical data.

as for independent hardware that is possible, but at a cost. so much so that it makes it no longer fesable to offer to the average consumer. its called embedded software. gets very pricey, extremely difficult to update/patch and in the long run only valid in small sectors of the computer world.


Yeah I know about the FAT32 thing. I just want to share music between the 2 machines, I don't want to have to resize and format partitions on my windows box because then I'd have to move all of my music into the new partition which just doesn't work for me (as in I'm too damn lazy to do it). I managed to get it to work after writing this.

Edited, Oct 13th 2006 at 10:35am PDT by Yodabunny
#10 Oct 13 2006 at 3:59 PM Rating: Good
**
559 posts
Quote:
You can boot from CD-rom for example (before the drivers are loaded), but I'm not sure if that's a BIOS thing or built into the hardware.


BIOS
#11 Oct 13 2006 at 4:41 PM Rating: Good
Encyclopedia
******
35,568 posts
Device drivers are the software component that sits between the OS and the device. You kinda can't get rid of them. Even if the Drive (for example) had its own filesystem manager on it, you'd still need one. Because you have to have a way for the OS to talk to the drive.

Let me explain this another way. You have an OS. Any OS. Within that OS, you can view files and directories. The OS itself has to decide what to do with that file, or that directory. It has to interpret the data it recieves when it opens those things and runs them. Regardless of where the filesystem itself is defined, the OS *must* do this, or it wont know what to do when you double click on that file.

You could eliminate the device driver, but then that requires that the OS know everything about every possible device that could be connected to it. This would make the OS itself *huge*. Impossibly huge. And really slow. With device drivers, we just load the ones that are needed. That way instead of having 50,000 segments of code, each 5k long, enabling us to access any of 50,000 different types of devices, we only need to load the handful we actually have hooked up to our system.


That's not to mention that putting the filesystem manager on the drive itself would be really silly. Which filesystem will you use? Doesn't my OS still have to know about the layout of data on the disk? What about different types of filesystems? You may think it's "simple" for the OS to just request a file, and the disk itself knows how to get it, but that request itself will vary based on OS. On a windows system, I might access a file as D:\myfiles\somedirectory\file_i_want. Wherase the same file in unix might be located in /home/myfiles/somedirectory/file_i_want. In order for your idea to work, the *drive* would have to know about every possible OS that might ask it for data and be able to present its filesystem to those OSes in a sane manner that each OS will understand.


It makes vastly more sense to make the HD just know about it's own layout (bytes, sectors, heads, etc). The OS only knows about what it needs to know (fileystem type, and directory paths). The device driver knows how to connect the particular OS you are using to the particular disk you're accessing. That's the modular way of doing it. And that's how it's done.
____________________________
King Nobby wrote:
More words please
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 293 All times are in CST
Anonymous Guests (293)