Slashdot Mirror


Thoughts on Automating Driver Installs for Linux?

Auzy asks: "Originally I thought that the implementation of a system in Linux which could automatically locate and install drivers would revolutionize Linux usability, however, there has been some strong negative feedback, including comments such as that it will kill open source drivers in Linux, and that even a system which employs digital signatures could never be secure enough to stop worms. I believe the opposite, and now I want to know from the Slashdot crowd, if they think I should drop the project now and potentially save Linux from possible security problems, or if I am right in saying that potential problems can be avoided, and that this system can become successful."

129 comments

  1. Huge boost for me by NanoGator · · Score: 4, Interesting

    One of the reasons I *don't* want to switch to Linux is that I don't want to deal with driver installs with stuff that came out later than whatever flavor of Linux I have. If they could automate this, boy would I be strongly interested in attempting the switch again. Frankly, any steps the community takes to minimize the actual maintenance aspect of Linux would be greatly appreciated. Surprisingly, not all of us want to sit there and tweak the damn thing.

    --
    "Derp de derp."
    1. Re:Huge boost for me by golge011 · · Score: 1

      I also would like to automate the driver installation. I don't want to look to tens of pages just to find a suitable modem driver or something else. By automating driver installations, maybe manufacturers put drivers to P2P networks so that everyone can find suitable drivers. Although I think automation shouldn't be a must, there should be a disabling option.

    2. Re:Huge boost for me by NanoGator · · Score: 3, Insightful

      "All drivers are included in the kernel. Seems pretty centralized to me. Nice troll, though. "

      If it worked out that way for me, I'd be running Linux now. Sorry, not a troll. I will say at the risk of being flamed to heck that I'm not trying as hard as most Linux users would. Fine. Just remember that the less intervention that is required by the end user, the more mainstream Linux will go. Linux is so close to cracking the Windows monopoly, but some attitudes about how 'smart' the user needs to be are really detrimental (sp?).

      --
      "Derp de derp."
    3. Re:Huge boost for me by Anonvmous+Coward · · Score: 3, Insightful

      "All drivers are included in the kernel. Seems pretty centralized to me. Nice troll, though."

      This dismissive attitude about problems with Linux (ill-informed or not) is exactly why I won't switch. I'm so sick of the 7337 attitude some people like you have. You're just going to have to deal with the fact that you'll have n00bs complaining about things like this.

    4. Re:Huge boost for me by Rapid+Home+Offer · · Score: 1

      "I'm so sick of the 7337 attitude some people like you have."

      I think you mean 1337 attitude. ;-)

    5. Re:Huge boost for me by Apreche · · Score: 1

      How to install linux drivers in a few easy steps.

      First, you must have the source code to your kernel, it is located in /usr/src/linux.
      Download the new driver in source code form and mix it in with the linux source code. You either do this via the patch command or by just untar/zipping it on top of the source.
      Next go to the source directory and type make menuconfig. You will get a nice menu with all the kernel configuration options. Find your driver, it will be in its logical place. Network card drivers in the network card drivers menu, etc. When you find the driver press M to mark it as module. Exit menuconfig and make sure you say yes save my config.
      Next type make modules.
      Next type make modules_install.
      I use gentoo so next I type modules-update.
      Done.

      If you are installing a binary driver, like nvidias or anything else out of the ordinary it comes with its own instructions. If not, screw it, it's not worth it.

      --
      The GeekNights podcast is going strong. Listen!
    6. Re:Huge boost for me by MullerMn · · Score: 1

      What's a 'teet' attitude, and how would we know if we had one?

    7. Re:Huge boost for me by NanoGator · · Score: 1

      "What's a 'teet' attitude"

      It's where you're cold, like a which's 7337. Duh.

      --
      "Derp de derp."
    8. Re:Huge boost for me by nathanh · · Score: 1
      This dismissive attitude about problems with Linux (ill-informed or not) is exactly why I won't switch.

      You're being silly. The Anonymous Coward who wrote that dismissive comment almost certainly doesn't write Linux code or have any influence over the process. Their dismissive attitude has little to no bearing on the actual work being undertaken to fix problems in Linux. It almost certainly doesn't reflect the opinion of real Linux developers.

      Consider this, if I found you an anonymous Windows user denying a problem in Windows XP, would you refuse to use Windows XP? Yes? No? If no, then why are you applying a different standard to Linux?

    9. Re:Huge boost for me by auzy · · Score: 1

      I have actually thought about hooking this up with a P2P like system for large drivers, but if I end up doing that, its way in the future.. Such a system would probably use gnutella or something like that, but at this time, I think its better the manufacturers handle the entire traffic, because even if we P2P'ed the drivers, they probably still wouldn't bother dropping prices :(

    10. Re:Huge boost for me by Curtman · · Score: 1

      Download the new driver in source code form and mix it in with the linux source code

      What driver is that? I've been using Linux for a long time, and I've never heard of such craziness. Why wouldn't they just allow you to specify a location to find the kernel headers, and build outside the kernel source tree?

    11. Re:Huge boost for me by Anonymous Coward · · Score: 0

      -I had to swap network cards to find one that was supported. Strangely enough, I had to swap back when I upgraded the kernel, as the one I was using wasn't supported anymore, but the one that hadn't been was
      -nVidia. Had to fight with this one a little bit, but fortunately, nVidia has fairly simple instructions on what to do
      -Creative. Took a few days to get the sound card working

      This was under a year ago. Out of the box with fairly common hardware, I had to change network cards, and was limited to command line, with no sound. That's REAL effective centralization there.

    12. Re:Huge boost for me by psycho_eddy · · Score: 2, Funny

      If you are installing a binary driver, like nvidias or anything else out of the ordinary it comes with its own instructions. If not, screw it, it's not worth it.

      ja, ja, were it so that we could all ride beside you on ze high horse, sire!

      --
      your denial is beneath you, and thanks to the use of hallucinogenic drugs...i see through you - another dead hero
    13. Re:Huge boost for me by slpalmer · · Score: 1

      I guess my /. ID makes me a 'geet' then?

    14. Re:Huge boost for me by dave420 · · Score: 2, Insightful
      Like having to pay money to get conexant drivers for your soft-modem. Things like that, while not huge, do cause users to stay away.

      It's one of the biggest issues with linux. I know this sounds pro-ms, but drivers just aren't an issue with windows. you swap out drivers whenever you want, and you can always get the ones you want (for free). Windows can even get drivers for you off the net automatically. Custom drivers are available, as well as microsoft-certified ones. I think linux needs to head in this direction to get more of a hold on the userbase. Things like this reassure end users, who don't want to deal with a broken computer.

    15. Re:Huge boost for me by pqdave · · Score: 1

      Sometimes the "if you can't figure it out you don't deserve Linux" is actually "my system worked with the GUI install, but I didn't learn anything so I can't help you fix yours". There are a lot of very helpful people out there, but there are at least a few people who don't know much more than I do, and hide the lack with attitude.

    16. Re:Huge boost for me by jo42 · · Score: 1

      The one thing that royally, totally, throughly and completely ticks me off about Linux is the driver situation. I just got in a nice 1U server using the Intel S875WP1 server motherboard. It has an Adaptec SATA RAID chip on-board. Intel provides a Red Hat 9.0 driver. Download and install the latest RH 9.0 kernel from RH and guess what? The kernel DOES NOT work with the driver. Nor does Fedora work this this driver. Microsoft Windows at least has drivers that work with every service pack of Win2K and/or WinXP. I could kick Linus from here to Mars and back for the half-ass, half-crock, half-baked cluster fubar that is Linux drivers.

  2. Fear, Uncertainty, and Doubt by n1ywb · · Score: 4, Insightful

    Bahahah! Kill opensource drivers! right!

    Anytime you come with a new and potentially revolutionary idea, you are going to run into old stick-in-the-muds who will try to bury you in a flood of FUD. FUCK THEM! If you think it's a good idea, GO FOR IT. PROVE that it works, then let the community sort it out.

    --
    -73, de n1ywb
    www.n1ywb.com
    1. Re:Fear, Uncertainty, and Doubt by Anonymous Coward · · Score: 0

      IF you want to support open source drivers just make it so your system doesn't accept closed source ones : p

      You might want to make sure it works and is compelling despite missing a few drivers here and there first though.

  3. You should ask yourself... by COBOL/MVS · · Score: 2, Interesting

    Do I want it easy or secure? Windows is ubiquitous because it's easy. Linux is secure, but complicated and therefore mostly ignored (for desktop use anyway--something that demands drivers be installed). I like Windows because installing drivers is easy. I'd like Linux, but it's hard to install and configure drivers.

    --
    GOBACK.
    1. Re:You should ask yourself... by n1ywb · · Score: 4, Insightful

      Security and ease-of-configuration are NOT mutually exclusive. In fact, the simpler the configuration is, the less likely it is for a user to make a configuration mistake that will lead to a security hole.

      --
      -73, de n1ywb
      www.n1ywb.com
    2. Re:You should ask yourself... by JohnFluxx · · Score: 1

      I agree that they are not mutually exclusive.

      You have the distro come with a pgp key, the drivers are signed against that, and put on some website. The url of that website is also put in the tools. The tools grab the ID's of your hardware, grab the ID's of the supported hardware on the remote site, compare them, and download the drivers where they match.

      You check the signed drivers, and install.

      Where are the security flaws in that extremely easy and automated system?

    3. Re:You should ask yourself... by buttahead · · Score: 1

      1. you get a hacked package.
      2. the package is signed with evilGuy's key
      3. evilGuy changes the url in the package to be his site that you can verify the package against.
      4. you install the hacked package.

    4. Re:You should ask yourself... by chromatic · · Score: 1
      Windows is ubiquitous because it's easy.

      Are you sure it's not the other way around?

    5. Re:You should ask yourself... by JohnFluxx · · Score: 1

      How exactly do you do step 2?
      And if it's easy, why hasn't anyone managed to get any of the 800 or so debian developers private keys and signed a bad package.

    6. Re:You should ask yourself... by buttahead · · Score: 1

      2.a evil guy generates his own key to sign with. read the rest of the steps above.

    7. Re:You should ask yourself... by Anonymous Coward · · Score: 0

      Linux is not secure.

    8. Re:You should ask yourself... by ADRA · · Score: 2, Insightful

      That is always a threat. Any newb looking at these packages won't have a flipping clue on if a package is from a good site, signature or not! It is either them searching for the internet for driver X then who knows what they'll get back, or else they get a signed drivier that has a better chance of success. Ideally, if you approve the root cert for linuxdriversondemand.org or whatever site, any driver from that site should be able to get certified against that site's keys. If you don't know where the driver is coming from, then suspect the worst.

      --
      Bye!
    9. Re:You should ask yourself... by JohnFluxx · · Score: 1

      I specifically said that the the signature would be checked against the public key that would come as part of the distro.

    10. Re:You should ask yourself... by JohnFluxx · · Score: 1

      We were talking about the program getting them automatically.
      There is no threat of someone just creating a key and signing against it. The program will check the signature and know it's not trusted.

    11. Re:You should ask yourself... by COBOL/MVS · · Score: 1

      You bring up a good point there. Windows works pretty much the same on all computers its installed on. Linux (GNU stuff included, not just the kernel) varies from distribution to distribution (e.g. Debian is different from Slackware is different from [fill in the blank]) in the way the configuration files are stored, the startup scripts are run, etc.

      If I want to configure something on my Windows machines (Win98, WinXP) I know I can go to the control panel and do it there using basically the same interface on both machines. I don't care how it actually works under the hood. I care that I can make it work the way I want and be able to do it on both machines in a similar way.

      Most people are like that. They like familiar, they like easy, they don't necessarily care about details like that.

      I'm not judging anyone here because a lot of us like the details. I'm just saying that I don't care about the details anymore. I just want to be able to do my thing.

      --
      GOBACK.
    12. Re:You should ask yourself... by chromatic · · Score: 1

      That's true; there's a lot of diversity between Linux distributions. It's well worth keeping that in mind.

      I meant something else, however. The more people who run Linux, the more motivation hardware developers will have to write or to help to write drivers. Things are much better now than they were five years ago. I think this will continue.

    13. Re:You should ask yourself... by Anonymous Coward · · Score: 0

      I disagree. Security and ease of use are of the same idea, on opposite ends of the spectrum. Look at Windows. Many parts of it are easy to use and many people don't know or care to use these configurations. Not forcing someone to understand some of the specifics allows them to use services that they should not be using. Making things too easy allows people to bypass any configuration and use default setting if anything vs. someone not doing anything unless they actually understand what they are doing. The truth is that people use ease of use type things because often they don't know what is going on under the hood. It is a layer of abstraction. It is much easier to be naive if you don't understand consequences of your actions. Sometimes this is good, but you must admit, this doesn't sounds very secure.

    14. Re:You should ask yourself... by COBOL/MVS · · Score: 1

      The more people who run Linux, the more people can tailor it or screw it up. OEMs want a line drawn in the sand to something that's supportable.

      --
      GOBACK.
    15. Re:You should ask yourself... by n1ywb · · Score: 1

      "Easy" and "powerful" are also not mutually exclusive. I find Linux easier to use than windows, and a great deal more powerful. Part of it's power comes from it's ease of use. Of course not everybody is a computer engineer like me, so YMMV. But I can run the latest and greatest Linux kernel and software on every computer I own, from my POS 200MHz PPC 604e to my 1.2GHz Athlon. Thats one system to learn. That makes my life easier.

      --
      -73, de n1ywb
      www.n1ywb.com
    16. Re:You should ask yourself... by buttahead · · Score: 1

      specifically, if I give you a hacked package... you don't get to decide what I do with it. sure it checks against whatever key.... but it also hacks you up. you can only trust automated systems if you can manualy verify them. catch 22.

    17. Re:You should ask yourself... by buttahead · · Score: 1

      if the program is hacked, you can't trust what it will do. you assume security to prove that this situation is secure.

    18. Re:You should ask yourself... by Nebu · · Score: 1

      In fact, the simpler the configuration is, the less likely it is for a user to make a configuration mistake that will lead to a security hole.

      Based on this logic, Windows should be one of the most secure OSes of all: It almost never asksthe user to make a configuration decision. All the default settings are there already! Linux distributions I've used, though, tends to ask you crazy questions like what's your subnet?

    19. Re:You should ask yourself... by JohnFluxx · · Score: 1

      The program is in the distribution. I keep saying this.
      For something like this, it's going to be extremely difficult to get a backdoor in.
      Take debian for example. Something like this is going to have it's source code checked over before it's signed. It's going to be very difficult to get a hacked packaged signed by a debian developer.

      So far, I don't think any cracked package has ever managed to make it into debian.

    20. Re:You should ask yourself... by buttahead · · Score: 1

      And I keep saying over and over: if you get your package or distribution or whatever from an untrusted source, it can have signatures out the wazzu, but that doesn't make it safe.

      no cracked package has made it into debian... but by the time debian discovered that their distribution server was hacked, you can bet a few people had already installed potentially compromised packages that were supposed to be safe.

      This type of thing happened about 3 times last year to high profile software sites (debian, openssh, and someone else). And I say it again... you cannot rely on a package being safe just because it is from a reputable distributor or has signatures.

      To be safe you must verify that the package has not been tampered with since creation. If you rely on signatures to prove that, you must prove that the sigs haven't been tampered with. Finally you must prove that the sig is from someone you trust before trusting the package. There may even be a step here that I'm missing.

      My point is that you are looking at a small part of the picture and that part seems secure only if you implicitly trust all the other parts. In doing that, you take your security in your own hands... just don't install stuff on my system :)

    21. Re:You should ask yourself... by JohnFluxx · · Score: 1

      people can break into debian servers all they want. They still can't put up their own package that will be downloaded and installed.
      The debian developers are extremely anal about security.

      I'm not talking about whether is it theoritcally possible to crack the system - of course it is.
      But realistically, I think it's going to be very difficult for someone to.

      Theoritically you could put a back door in the MS Windows's source code. But it's going to be damn difficult to do so.

    22. Re:You should ask yourself... by buttahead · · Score: 1

      wow... you are welcome for the help.

      you went from asking the question Where are the security flaws in that extremely easy and automated system? to defending debian's and windows' security. you have lost your focus.

      if you ask a question... be happy you got an answer, and try to listen to it. instead you have dragged this puppy out for several days and probably are none the wiser for it.

      welcome to my foes list.

    23. Re:You should ask yourself... by maxbang · · Score: 1

      Maybe. Personally, I think Windows is easy because it has low self-esteem and a bad coke habit.

      --
      I also reply below your current threshold.
    24. Re:You should ask yourself... by JohnFluxx · · Score: 1


      Perhaps I should have phrased it better, and said "Where are the practical security flaws in that?".

      I compared it to windows security because what you would need to do is very similiar. In both cases you would have to somehow crack into the cvs server, modify it without being noticed, and then that code being pulled downstream into a package.

      Yes it could be done, but there's no weakness in this system that isn't in the system already. It's no less secure than it is as the moment.

      Perhaps I should have said "What new security flaws does this easy and automated system introduce?"

  4. Kudzu by dacarr · · Score: 1

    Doesn't kudzu do something to that effect?

    --
    This sig no verb.
    1. Re:Kudzu by tka · · Score: 1

      Kudzu only detects and install driver modules found on the computer, as far as I know.

      From the frontpage of http://driverondemand.sourceforge.net/

      Overview of Driver On Demand

      Driver on demand is an attempt to ease driver installations in linux. Basically, what happens is that a user installs a PCI, PCMCIA, or USB (not implemented yet) device, if a driver isn't found, the client connects to a CGI server, to check if the device is known, if it isn't, then the driver lookup fails and the user is no worse off then they currently are. However, if the device is found online, the driver information file (similar to .inf's, just XML and more versatile), and it is analysed. If its built into newer versions of kernels, but theres a driver available, the driver is installed, but the system recommends strongly that the user upgrades their kernel, automatically.

  5. Do it. by Alethes · · Score: 1

    The worst thing that can happen is that your project evolves into something else entirely, and in the meantime you find out if it works.

    People hate change, so sometimes you just have to do what you want.

  6. yes, do it. by Miriku+chan · · Score: 4, Insightful

    expect a million people saying "dont do it, it's the end of the world as we know it"

    if you write it and it works it'll be an amazing feature that will make the world a better place

    if you write it and it doesnt work, no one will use it and no worries. it'll be a learning experience

    everyone else has an agenda up their butt =)

    --
    shaolin punk, activist post-industrial
    1. Re:yes, do it. by Gleapsite · · Score: 1

      I agree. Anything done with the intentions of bettering open source cannot hurt it. [if it doesn't work, no one uses it].

      --
      face the world with eyes of fire.
  7. No worse than package management by Anonymous Coward · · Score: 0

    I don't think such a system is any worse than your normal package management system that automatically calculates dependencies and grabs all the relevant libraries.

    I assume you'll want to set it up so you only download the drivers from a trusted mirror, not just any yoho website you get from google.

    If it's compromised it's compromised. Just like if the package archive on debian or gentoo gets compromised you're screwed.

    1. Re:No worse than package management by Gordonjcp · · Score: 1

      Could this be adapted from Debian's apt?

  8. cooool by drfrog · · Score: 4, Insightful

    one of the things that always bothers me is the amount of programming knowledge i have to have if a driver doesnt autodetect and autoload

    i dont want to nessecarily start debugging drivers under linux or having to compile them
    thats for developers of the drivers.. not the users of the drivers

    so a thumbs up to your vision

    --
    back in the day we didnt have no old school
  9. Sounds like a fantastic idea by FattMattP · · Score: 4, Interesting
    This sounds like a great idea. The majority of computer users want stuff to just work. Being able to plug something in and then tell the system to get and install the driver for your new hardware automatically is something I've always wanted.
    there has been some strong negative feedback, including comments such as that it will kill open source drivers in Linux
    You don't address any of these objections on your web page, at least that I could tell. It's hard to comment on this one since I can't see the original objection nor your response.
    a system which employs digital signatures could never be secure enough to stop worms
    I don't see how this system is much different than using apt-get under debian. People trust Debian's repository and its mirrors to install software all the time. It's not that much more of a stretch to trust a system like that to install drivers. Before you draw a distinction between drivers and packages, keep in mind that the install process in both instances is going to require root. If something nefarious is going to be installed it could happen via either process.
    --
    Prevent email address forgery. Publish SPF records for y
    1. Re:Sounds like a fantastic idea by bergeron76 · · Score: 2, Insightful

      The difference is that Debian is a trusted source. Anyone can get a certificate. The point being that being "trusted" and "accountable" are 2 different things. You'd have to bring a lawsuit or otherwise litigate against someone that caused damage to your install. The fact that you can track the person makes it easier to seek damages, however, it doesn't make them a "trusted" source by any stretch.

      --
      Don't think that a small group of dedicated individuals can't change the world. It's the only thing that ever has.
  10. Great idea by wonkavader · · Score: 1

    I think it's a great idea, and you should go forward full steam ahead.

    Seems like the key is the database. Keep that open and if there are real security issues, a darn good competing project will spring up (with more security) from the same folk who pooh-poohed your initial project. And that is EXACTLY what you and the community need.

    Remember what happend with CD signature databases (CDDB) -- it was well populated, but the owner of the data was... well... the OWNER.

    Keep it open, and this project won't fail -- it'll morph into three others.

    1. Re:Great idea by dave420 · · Score: 1
      I don't think the community needs two competing sources for drivers. In fact, that would be horrible. They just want one that does it well, not two that are trying to compete.

      CDDB is one thing, but it's not tied into someone's OS, and stops their computer booting if it mis-recognises a celine dion CD. :)

  11. Full Automation by AtariAmarok · · Score: 1

    Will this be full automation, complete with an automatic deduction of $699 from your bank account for each update that contains code disputed by SCO?

    --
    Don't blame Durga. I voted for Centauri.
  12. go for it by rogabean · · Score: 2, Insightful

    Forget the naysayers. Looking over what you have done I have to say its a start. It could even help users who are afraid of linux because of driver issues. However after seeing this comment alot "
    -Money to allow me to spend more time on this project, so i dont need to run off and get a job anytime soon. ", I'd recommend possibly toning that down a bit. It struck me in a negative fashion as I am sure it will strike alot of people. Thats just my 2 cents. As to hardware however, I may look through my piles of stuff to see if there is anything I can send you to help out.

    --
    "why don't you just slip into something more comfortable...like a coma!"
  13. New ideas in Free software always... by RdsArts · · Score: 1

    New ideas in Free software always meet with resistance if there is already a 'solution.' If you have a good idea, just impliment it and ignore what anyone has to say about it unless it's a constructive critisism on how to improve it. Otherwise nothing'll get done.

    If you get it working, and no one uses or codes on it, THEN you can consider dropping it, but until then, just code away.

  14. Nice idea..but by floydman · · Score: 1

    i believe that before doing that, the OSS community should reach a level of infulence to convince the big hardware makers to release their hardware as Linux compliant. Cause you can write a driver, and tomorrow morning the same harware vendor will release an upgrade thats gonna waste your few years effort down the drain.

    --
    The lunatic is in my head
    1. Re:Nice idea..but by dave420 · · Score: 1
      Linux should first get a marketshare large enough to warrant that approach.

      Hardware mfrs create hardware. They then spend 95% of their time working on drivers that run on 95% of desktop computers (windows). Why should they have to spend more than 5% of their time to support 5% of users?

      When linux is large enough, and on enough machines, hardware mfrs will sit up and take notice. After all, if your latest graphics card doesn't work on linux, and linux is 50% of the market, they'll make linux drivers.

  15. sounds good, but what does it actually solve? by Shaleh · · Score: 1, Informative

    Ok, let's take a look at the practical side of this.

    I pop in a new card. If my distro kernel (and this is mostly aimed at people using distro kernels) supports it the driver is already there it just may take some config, i.e. sound cards and the like.

    Otherwise I need a new kernel. Debian's woody release defaults to a 2.2 kernel but has the option of 2.4. Many newbies install the 2.2 and then have non-supported hardware. A project like this won't help them.

    The real problem here is the Linux kernel changes often enough and the hardware supported changes often enough that you need to go and grab the latest code to use the latest stuff.

    This works on Windows and OS X because the kernel is know and has not changed recently. Every WinXP user has the same kernel and driver needs.

    All I see this project helping with are the people with closed source drivers which the user's distro may not have shipped. But even then, only if the kernel versions match -- and they usually don't.

    *OR* I see it being a boon to someone like Lindows (aka Linsprire). They could run this server and guarantee that drivers exist for new hardware when users run the Lindows kernel.

    1. Re:sounds good, but what does it actually solve? by Electrum · · Score: 1

      This works on Windows and OS X because the kernel is know and has not changed recently. Every WinXP user has the same kernel and driver needs.

      It would be more accurate to say that it works because Microsoft and Apple had the foresight to define a stable ABI for drivers. The Linux kernel developers refuse to do this.

    2. Re:sounds good, but what does it actually solve? by rusty0101 · · Score: 1

      Remember, pleasing everyone is almost never the goal.

      That said, if the driver is available as a module for a 2.4 kernel, but the user has a 2.2 kernel, the process could be handled in one of two ways.

      Feedback to the driver writer that lets them know that there is a (or several) users who could use the driver compiled for the 2.2 kernel, and would they please compile such.

      Ask the user if they would like to contribute to a bounty fund for that device, such that when someone sees the available bounty, they can take a look at the situation and decide if they feel like working on the code from the later driver (assuming it is an open source driver) and do whatever needs to be done to back port the driver to the 2.2 kernal as a module the tool can install.

      The down side of both options is that the user may decide that switching kernels is going to solve his problem. With some distributions this is an issue, with others it is not. Debian is fairly straightforward to upgrade the kernel, so long as it is available in the stability level you are comfortable with. That isn't necesarily true for minor revisions of the kernel in other distributions.

      Why this is a down side is that if the user decides to make that change, the driver may never be built. I also do not know how many projects where end user supported bounties have been at all effective.

      Of course you could use the donated money for the bounty to purchase stock in publicly owned companies that the hardware comes from, then as investors advise that you would like to see them make such drivers available. The question then would be would you get enough donations to make such investments feasable. Perhaps if the post driver availability sale of that stock were re-invested in other bounties, the bounties could become more enticing sooner. [Perhaps distribute the cash in accord with the apparent demand for specific hardware drivers? Users donating to the bountie would be considered a greater demand than users just requesting that the manufacturer make the driver available?]

      Would you want this to be a non-profit to make it more attractive to users, and possibly manufacters and developers?

      All kinds of questions...

      -Rusty

      --
      You never know...
  16. Keep working. by NotoriousQ · · Score: 2, Interesting

    It is not a bad idea really. Security and trust can be dealt with. No one on the server will ever run this, some users might. Make sure to have an option of using only open source drivers, or some kind of notification of what is loaded. I would be afraid of silent installs.

    Technical issues...
    How do you plan to deal with all the different kernel versions? Are you providing your own image version? How do you deal with different architectures?

    --
    badness 10000
    1. Re:Keep working. by auzy · · Score: 1

      To deal with different kernel versions, theres a flag for each driver on the list that sets what kernels it works on.. Whole thing needs revamping though, so I will improve that.. But yeah, if a driver doesn't work on a specific kernel, the next suitable one on the list is installed instead..

  17. I've noticed the opposite by Rapid+Home+Offer · · Score: 2, Interesting

    I don't normally have the latest cutting edge hardware, and so my kernel usually has all of the needed drivers already available. Have you ever tried getting drivers for older hardware in windows? I had an ethernet card that was correctly detected and set up in Linux, and that I had to go download the driver from a shady site in windows.

    1. Re:I've noticed the opposite by NanoGator · · Score: 1

      Yep. I'm aware of Linux's advantage here. I do like that it's more 'out of the box' friendly than Windows in some cases. At the same time, though, I've had much better luck finding unsupported (out of the box I mean) stuff for Windows than I have with Linux. I hated that defeating "Damn, I just can't use it" feeling I had with Linux. Bear in mind, most of my attempts have been with laptops than with desktops. Painful painful painful. I do try again every year or so, though.

      --
      "Derp de derp."
    2. Re:I've noticed the opposite by ignorant_newbie · · Score: 2, Interesting

      I've got a scanner which is 5 years old, and still perfectly good. UMAX isn't interested in writing drivers for it anymore, so the only OSs I can use it with are:

      Mac OS 8
      Windows 98
      Linux/FreeBSD/OpenBSD

      Free/Oss software emerges as a great way to avoid the planned obsolescence generated by the windows 2 year update cycle.

    3. Re:I've noticed the opposite by shaitand · · Score: 2, Informative

      Yeah, I imagine in laptops this is still a painful experience. Hell they don't even work with windows versions they weren't shipped with half the time.

      For instance we just had a customer with a toshiba laptop we sold him last year. It shipped with XP but he wanted 2000 (per his corporate requirements) so we loaded it and all worked for a year. And then recently they did a windows update and bam, thing won't boot in normal or safe. Repair install does no good (and neither did 2 days of everything else). Reloading the OS clean and then updating produces the same result.

      Using windows without updates, not an option, for anyone really. So he bought a new computer for the office and is using the laptop with XP at home now.

      On the desktop it's different. Generally the drivers can be had if not supported right out of the box. But still with windows the drivers can be had, period. With linux you won't need to look for any drivers at all 90% of the time, if you do it's 50/50.

      With windows you'll need to download (or install from CD/floppy) drivers 100% of the time, but those drivers are findable 100% of the time as well.

      Have you consulted with your local lug? One of the most annoying things I've seen has been that linux driver modules often group the past 5yrs of functionally similar hardware under a module named after a 10yr old piece of hardware. Alot of the time the guru's at your local lug will know where the driver you need is hidden.

      Despite the fact that you and I have debated on the linux versus windows issue a half dozen times in the past. I'd be happy to work with you to get your laptop up and running if your nearby...

    4. Re:I've noticed the opposite by Halfbaked+Plan · · Score: 1

      I have a Nikon Slide Scanner that only works with the oldest version of Windows 95, or Windows 3.1. I guess there's a SANE driver that I should fiddle around with sometime, too. But it seems to be an old unmaintained piece of code. Still would be worth putting on a system with an old version of Linux if it made the Slide Scanner go well, though. But I am starting to need an 8-port KVM switch, my 4-wide switch isn't cutting it anymore. Dual-boot is against my religion.

      --
      resigned
    5. Re:I've noticed the opposite by Curtman · · Score: 1
      Speaking of UMAX and drivers. What the hell is their problem? I have a UMAX 1200S scanner, that I've lost my driver CD for. So I naively head off to their web page, and try to download the driver, only to find:

      • This software IS NOT downloadable.
        Available on CD-ROM only. This product is non-returnable and non-refundable


      But for some reason, the German page has the same damn driver available for download for free.

      Meanwhile SANE for Linux supports it out of the box.
    6. Re:I've noticed the opposite by sumdumass · · Score: 1
      Have you consulted with your local lug? One of the most annoying things I've seen has been that linux driver modules often group the past 5yrs of functionally similar hardware under a module named after a 10yr old piece of hardware. Alot of the time the guru's at your local lug will know where the driver you need is hidden.


      what would really be interesting is a site or chart that attemps to link the hardware to the driver name. I mean how many cards/nics does a tulip driver support? And most of the stuff is labled after chipsets how am i (as a newbie) supposed to know that the new aopen network card i just bought is actually a realtek.

      Taking some of the guess work out of this would go miles into the ease and use of even getting the drivers. I (as with most) can follow direction once I know what I need but finding out what I need can be worse then getting it going sometimes.

      This would almost as beneficial as the drivers being links to the suported diver too or the automated install stuff. I think i would still want to do it on my own for accedemic/learing reasons but others might enjoy the rest of it. One question is, does some distrobutions modify the kernel enough to make it neccesary to get a driver specific to that distro? If so wouldn't it be more prudent to try to get the distro to either host thast version of driver or actually recomend the driver? I know they do alot already while usually asking for so little in return. It might be too much for them to handle.
  18. Network Card Drivers. by et289807 · · Score: 4, Funny

    What happens when "Driver On Demand" trys to get a driver for my network card, but it can't, since my network card needs a driver? :-P

    1. Re:Network Card Drivers. by auzy · · Score: 1

      Thats a obvious drawback of the system :P Network cards very rarely have problems though (in fact, never seen anyone object that their's doesn't work).. Wireless networks though very commonly have problems.. I didn't think that was that much of a concern because users could just use a hardwired network to install the drivers and get them running.

    2. Re:Network Card Drivers. by curator_thew · · Score: 1

      > What happens when "Driver On Demand" trys to get a driver for my network card, but it can't, since my network card needs a driver? :-P

      Huh? Obviously you'll put in a distribution (or independent) CD that contains a large set of drivers.

    3. Re:Network Card Drivers. by weecol · · Score: 1

      Would this have to be a case for the routine

      pop the disk labeled...
      network card drivers source code.

      The disk would be organised with source codes to enable all supported cards and a means of detecting each type of card from the rest.

      Note if you were working with a floppy it would have to be based on precompliled network drivers because you don't have the space.

      Another example of the same issue could occour with diffrent underlying protocol implmentations.

      --
      A sig is only as good as it's creator, that doesn't mean it is as good as it's creator.
  19. PLEASE! - Continue by Anonymous Coward · · Score: 0

    this would really help a lot! The only problem I can see is: Linux(Linus?) don't want non GPL-Drivers. But IMHO it would give LINUX a big boost if propietary drivers would be officially allowed, even for desktops.

  20. On Windoze the opposite is true ... by e-Trolley · · Score: 0

    On Windoze the opposite is true.
    If more people would automatically run Windows Update there wouldn't be so many worms.
    Most worms use security holes that Microsoft fixed long time ago.

  21. You can't please everybody by Doug+Dante · · Score: 3, Insightful
    there has been some strong negative feedback

    Tough luck for them. They don't need to use your software,and they don't need to include it in their distributions.

    If it were built into Mandrake or Knoppix or Fedora, I'd love the feature and never think twice about it.

    --
    The world will not get better through technology. We must seek to be better people.
  22. I'm of two minds on this one by ignorant_newbie · · Score: 2, Insightful

    I agree that it's wonderful to have devices work easily. The way I've achieved this historically, has been to have a current kernel. Most Distros add all the usefull drivers into their release of the kernel.

    I know that people are afraid of it, but compiling the kernel isn't that big a deal ( especially if you don't mess with the config and just include everything ).

    On the other hand, as someone who has to deal with supporting end users, I like the idea that people will be forced to learn wtf they're doing before they're able to do it.

    Most of the 'stupid' users out there are simply lazy, and feel that if they whine long enough the computer will do for them.

    1. Re:I'm of two minds on this one by eraserewind · · Score: 1

      Most of the 'stupid' users out there are simply lazy, and feel that if they whine long enough the computer will do for them

      And the obvious question to ask is why the hell doesn't it? It's perfectly capable of doing so after all.

      It is ridiculous to require a user to do things that can be easily automated. That includes compiling a kernel on a system where regular kernel upgrades are a requirement.

  23. Intel Drivers by Oriumpor · · Score: 4, Insightful

    The centrino wifi drivers I have agonized over for the past two months. I am so frustrated with the overall driver config that I'm about to throw my laptop out a window.

    I am tired of having to recompile my kernel because some function isn't enabled by default (hotplug in this case.) Frustration with the 2.4.25/6 kernel forced me to dig around looking at the 2.6 kernel. Then finding out that the (2.6.6) kernel version has a problem with my laptop in atkbd so whenever I press a certain key I get a kernel error, oh but now modprobe ipw2100 works as long as I make sure I compile the driver in legacy firmware mode bypassing hotplug. Not to mention the fact that there are little inconsistencies in procedure between kernels and packages. Not that this is the kernel developers fault, but having to enable PCMCIA support in the 2.6 to get HOSTAP to compile and having to disable it in 2.4 is something that the joe-blow consumer isn't even going to comprehend, let alone know how to do via config/menuconfig etc.

    Automatic driver installation would be a headache to secure, but the need is surely there. My headaches are those of someone who's had to do this before... I can only imagine the headaches of someone un-initiated.

    1. Re:Intel Drivers by bersl2 · · Score: 1

      The fear is that this system will somehow take away the ability to compile one's own drivers. Whether or not you think that this could happen, you must respect this sentiment.

      On the issue of drivers, this is related with reverse engineering, one of the hacker qualities on which the open source movement has been based. Alienating driver hacks would greatly undermine Linux.

    2. Re:Intel Drivers by shaitand · · Score: 1

      "The fear is that this system will somehow take away the ability to compile one's own drivers. Whether or not you think that this could happen, you must respect this sentiment."

      Why? This is an open source project, for an open system. If it were to do so then we'd simply change it. If the original maintainer goes in a different direction we just fork it and declare a new official release.

    3. Re:Intel Drivers by bersl2 · · Score: 1

      Notice that I'm not talking about anything logical. Fear isn't logical. It's a feeling. I specifically used such words as "fear" and "sentiment" to indicate as such.

      Just because it can't happen doesn't mean that people won't be afraid that it will.

    4. Re:Intel Drivers by shaitand · · Score: 1

      "Just because it can't happen doesn't mean that people won't be afraid that it will."

      I'm not saying people won't be afraid it will. I'm saying that since it cannot happen there is no reason to RESPECT the sentiment, only to dispel it.

  24. My thoughts by 0x0d0a · · Score: 2, Interesting

    No. Kudzu is strictly an autoconfiguration utility. It doesn't download and install new drivers.

    While I'm posting anyway, I'll drop in my other thoughts on the story to avoid multiple posts:

    I could see something like this happening, but I think that it's going to need heavy interaction with the big distros to come out.

    If money is a concern (as it apparently is, based on your requests for it) you could try to get hired on at one of the distro companies, though I wouldn't count your chickens (especially since this isn't in a " v1 state" yet). This is stuff related to end-user-experience and configuration, which has traditionally fallen more into the hands of the distro people.

    Personally, I don't see any reason this couldn't be used with GPLed drivers or even source distributions of drivers-- download, build, install. I still don't intend to purchase hardware that only has a binary driver.

    I'm not entirely sure that it wouldn't be better to extend existing (well supported) management and distribution systems like apt, yum, or red-carpet. It'd be a little weird to have a completely different system for providing driver downloads. Furthermore, your system seems to require that one be online when installing drivers. A caching mechanism may be more useful.

    I don't think that you maintaining full control over the distribution server is feasible. Some software vendors will complain ("Why do we need to go through you to make updates available? Are you providing serious testing and QA services for us, or is it just a speed bump?"), and some distros may want to provide reliability guarantees. I really think that, at the least, this should be a distro vendor-provided service (if the drivers undergo distro QA), and if not, the server should basically be a "server tracker" that links to drivers on manufacturer-provided sites.

    A couple of issues:

    * Because you're specifically providing third-party services, almost all Linux kernel hackers will be much less interested in fixing drivers, and those drivers will not be maintained. Users of binary-only drivers are generally SOL when it comes to kernel hackers providing fixes, and even thirt-party people that don't merge drivers into the mainstream kernel run the risk of having the Linux folks break their driver at every release. Linux provides very weak binary backwards compatability guarantees -- the field is strongly tilted toward open-source drivers. It is difficult to produce and support a binary-only driver.

    If you use a signing mechanism, I would recommend GPG rather than a homebrew. It's well-built, widely-available, and there are keyservers already out there. It's what RPM uses.

    Remember that signing is *only* useful to the end user if it leverages some degree of trust. Signing on Windows is useless to the end user, because Microsoft does little effective testing of signed drivers -- the only reason the signing mechanism is present is to give them control over who can release hardware products for Windows. It doesn't provide the user a whit of good to have a "signed" driver. That means either letting the end user or distro designate manufacturers that they trust (having a system where any "manufacturer" can be add themselves to the list and their drivers trusted just doesn't work), having distro vendors sign the software after testing it, or signing it yourself after testing (which I'm assuming that you don't have the resources to do).

    You should provide a GUI, given that that's all the rage when it comes to configuration these days. It should be optional, as a number of folks only have a TUI available (or only want to use a TUI).

    You should provide a mechanism for drivers superceding others (for example, Tulip Ethernet chipsets have a couple of drivers out there -- one is designated as "recommended").

    IMHO, you should have a non-interactive mode in which drivers can be installed without users being asked for parameters (and the driver is required to attempt

  25. Bring it on! by nvrrobx · · Score: 2, Insightful

    I am a computer geek (both personally and professionally) and I _hate_ spending long amounts of time trying to get my hardware working in Linux.

    I welcome something like Kudzu matched with an automatic driver download / install service.

    There are ways to help with the security aspects, like requiring digital signatures, giving the user plenty of information about who is providing the driver, etc etc.

    And frankly, I don't care if the driver is open source or not. Yes, I do prefer open source drivers, but when it comes down to it, if I have to deal with binary only to make a great piece of hardware work well, I can cope. (NVIDIA drivers, anyone?)

  26. Giving the user information is key. by munpfazy · · Score: 1

    It only becomes a security issue if it decides to install things without prompting or without telling the user where a driver is coming from. As long as it's possible to see what the system is doing and potentially override a bad decision, it's no more dangerous than installing drivers the old fashioned way.

    Giving the user a chance to say "no" is vital. There are a lot of people who would be willing to run a signed binary driver from someone like nvidia, but would *not* be willing to install a binary driver compiled and submitted by some random dude somewhere. (And no, I'm not a proponent of closed source drivers. The key word here is *binary*. Given a choice, I'd much rather install an open source driver written by some dude somewhere.) Just don't expect us to trust you that a particular driver is safe.

    Offering the option of an "install everything without asking questions" mode is okay, but at least force them to actively acknowledge that they're putting the security of their system in your hands. Many will probably choose it, and that's great. But the linux newbie who plugs in a second network card for the first time ought to be given fair warning.

    That said, I'm probably not going to use a system like this any time soon. So far every attempt at hardware auto-configuration I've tried has turned out to be a bigger pain in the neck than just installing things by hand. It also seems like making it work would be really tough. What version of the kernel/kernl-options/kernel-patches/x11/alsa/etc is a person running? Trying to support all possible options isn't easy.

    On the other hand, if you've found a way to make it work, more power to you! I'm sure a lot of people will find it useful.

  27. OEMs made it ubiquitous, not ease of use by Anonymous Coward · · Score: 0
    Enough. It is ubiquitous because of one-sided deals with OEMs prevent them from selling any other operating system. This is a matter of court record.

    We all know that Windows is not any easier than Linux to use or install.

    Linux is both easy enough and secure, but the big obstacle is OEMs still holding out. Most users do not want to install or configure their operating system, they want to just plug in their new computer and have it work, be it OS X or Linux.

    1. Re:OEMs made it ubiquitous, not ease of use by COBOL/MVS · · Score: 1

      I fail to see your point. The article you link to is 2 years old. A lot has changed since those days.

      I use WinXP pro at work and at home and I couldn't be happier with how easy it is to use and maintain.

      OEMs like it when they can hold somebody financially responsible to the shit they install on the machines they sell. People feel more comfortable at home buying from them in turn since somebody on the other end of the line can tell them "Open your browser, click tools, etc." versus "edit /etc/rhosts and make sure [other stuff I forgot about since I don't use Linux anymore]".

      Hardware manufacturers aren't exactly thrilled about supporting drivers for Linux. It seems to me Linux can be changed too easily so that suddenly things get broken. I'm not convinced that everyone does enough regression testing when they make a change to ensure driver support for their next release. I remember downloading a verison of WindowMaker and trying like hell to get the thing to compile and install. Finally, I had to dig up some obscure howto on some website and as it turns out some .so I had was the wrong version. So, I downloaded it and guess what? It broke a few other things.

      Windows has had its share of problems too, but I haven't seen them for some time now. I guess I'm trying to say to each his own, but for now I'm sticking with XP. I like to write code, but why should I have to dig into my computer's code and recompile something just to get it to work? I already paid someone to do that for me so I can spend my time here with all of you.

      --
      GOBACK.
  28. How would this work? by ratboy666 · · Score: 2, Interesting

    The Linux kernel runs on x86, mips, ibm mainframes, alpha, sparc and etc.

    There are multiple versions of the kernel, smp and non-smp.

    Typically, to load a driver module requires building it against the source tree for your particular kernel, which requires a kernel C compiler, and build environment to be installed.

    A possible solution is to provide an architecture neutral layer (forth, byte-code) in which drivers could be written. A layer can introduce this to the kernel, giving only a single module to move. Perhaps existing drivers could be "compiled" into this intermediate (C -> driver language or byte-code).

    Then, only the interface layer would need to be added into a Linux system -- and if built once, could be distributed as a binary. The "binary" drivers could be compiled into native code on the fly. Perhaps even x86 code could be used as the intermediate system (use something like QEMU to do the translation). Self-modifying code wouldn't be a problem. The "shim" layer for x86->x86 is simply an interception layer.

    In principle, this could be done. And yes, I would use such a thing. As it is, whenever I upgrade a kernel, I have to rebuild all non-vendor modules (only 2 -- shfs and wlan-ng) and it is a pain in the ass.

    Would sandboxing be of interest? Easier if not, but could be done if something like forth was used (declare the ports that the driver will touch -- provided for inspection to the operator, and trap all other references -- can also be filtered by kernel call).

    Of course the shim would have to be GPLd, but would make proprietary drivers even easier than Windows (because they can be cross-platform).

    Yes, this is a good idea.

    Ratboy

    PS I would be interested in working on this - contact me at fred (at) hotmail.com

    --
    Just another "Cubible(sic) Joe" 2 17 3061
    1. Re:How would this work? by auzy · · Score: 1

      Maybe talk about it on the IRC chan.. I want to at least wait until alpha 3 or 4 before I get the community to touch it though (ur right about the need for sandboxing though, that will come in later). irc.freenode.net #driverondemand I'm in there alot of the time..

  29. No thanks by smurf975 · · Score: 2, Insightful
    automatically locate and install
    Sounds a lot like Internet Explorer and Active X and one of the biggest reasons why I use firefox.

    Looks like a big potential security risk to me. And the same reason why it's disabled on future Windows OS's.
    --
    -- I don't buy it, I grow it.
    1. Re:No thanks by lish2 · · Score: 1

      "Automatically locate and install" doesn't have to mean "without the user's permission". No reason you can't have a box pop up once in a great while, "hey, I've found an updated driver for your Blah Brand sound card, do you want me to install it? []Yes []No, don't ask again []Not right now, ask later"

    2. Re:No thanks by sadler121 · · Score: 1

      No reason you can't have a box pop up once in a great while, "hey, I've found an updated driver for your Blah Brand sound card, do you want me to install it? []Yes []No, don't ask again []Not right now, ask later"

      and there is also no reason why you could not have a SECOND boox that pops up and asks for the root password (if your installing it system wide). This is something I like with OSX, when something is going ot be installed system wide it pops up and asks for a root password. theres a lot of app's I wish that did this, (like extensions for firefox that you may want to install system wide). Of course this will be a security risk *if* the operator doesn't know what she/he is doing, (like ~90% of windoze users), but for the rest of us who KNOW what is going on it could be a valuable asset. :-)

    3. Re:No thanks by dave420 · · Score: 1
      You're confusing unsigned, web-based applications with "windows update". Windows update gets drivers solely from microsoft, and are digitally signed. A system that works very well, funnily enough.

      I love it when people have opinions differing from me, I just hate it when those opinions are based on nothing.

  30. Excellent Idea by shaitand · · Score: 1

    Just a few suggestions however.

    First, you'll need the distro's working with you on this. But develop first, the distro's will ignore you until you actually have something.

    Develop this with support for local module configuration as well. If the module is already there, great, this should pick up on it and configure the module (this resolves the issue of there being a single module for 200 different pieces are hardware which are functionally similar but different model numbers, vendors, etc and all called under the module name which mirrors some ancient piece of hardware nobody has anymore). It also resolves the "nic and the egg" issue.

    Make sure it handles simple autoconfiguration of X-Windows. As a technician, I can say of the big barriers to linux on the desktop is that I can't usually take someone elses system grab it, and stick it onto my keyboard, monitor and mouse and load the gui without making a single adjustment, and then when it's done give them their tower back knowing they will be able to plug it in and go.

    X is great, it's just missing the part that checks for a new monitor on every boot, it sounds like that would be part of this utilitie's forte even if it would require code that strays a bit from the main body of the app.

    Get the distro's in on it, redhat will be against it, because they have kudzu, but once every other distro ships it that won't matter anymore. Right now Kudzu is the best hardware detection out there and gives i386 plug and play a whole new meaning.

    Give it a good solid flexible and easy to use interface, make sure it has few dependencies to run local, this way distro's will add it to the installer.

    Oh, that should you do it thing, DUH.

  31. Already exists by billcopc · · Score: 1

    This isn't a bad idea, but it already exists. It's called Kudzu and has many other names. You just grab the list of PCI ID's and cross-ref them with your driver signatures. What would be cool is offering a prompt for different versions of the same driver, or alternate drivers for the same hardware (in case one of them bombs on your rig).

    What I'd rather see effort pumped into is NOTEBOOK DRIVERS. Please people I have this shiny screaming Dell hotness but I can't get anything to run on it because I'm lacking an Ethernet driver/sound/whatever. Notebooks have become modular things just like desktops, with many models sharing the same chipsets. Maybe an easy X setup that deals with non-standard screen resolutions and dimensions (1680x1050 anyone?).

    Make it work on more machines, and more people will be able/want to use it.

    --
    -Billco, Fnarg.com
    1. Re:Already exists by auzy · · Score: 1

      kudzu is a bit different.. That just looks at a list of installed devices and finds an appropriate driver (only installed ones).. Mine looks at a list of installed devices, and if no driver is found, it goes online and downloads one.. The lists of devices can contain many drivers on the db, and so if a driver doesn't work in the list, it tries the next.. Think of mine as kudzu/hotplug with an unlimited amount of drivers for every device out (included ones not installed yet).. Kudzu just uses installed ones.. Driver on demand solves the old linux problem of having to look up drivers for devices you dont have installed, and automatically installs them for you.. The cool thing is that when PCI-hotplug comes out, u can pretty much change every device in your system without installing any drivers for them.. So newbies can easily handle it

    2. Re:Already exists by billcopc · · Score: 1

      This is (traditionally) the job of the distro maintainers. In order to pull this off we need a managed driver repository that will hold all the drivers and serve requests for them. Then you have to deal with differing kernel versions / patches / platforms.

      There is a reason why drivers aren't automated and tossed into packaging systems like APT, is that the whole "automated" aspect of it is rather scary. What if the driver is buggy, what if it bombs when paired with some other hardware, what if... just look at Microsoft, who have invested many long hours and dollars into Windows Update, and most of the driver updates still get whacked up (ahem, NForce!). Here's another nasty stab: certain types of hardware are often bundled with utilities/apps to work with them, like a mixer for the sound card, a video chat client for the web cam, or an imaging tool for the scanner. While compiling and loading a kernel module is fairly standardized, the same cannot be said of auxilliary software.

      --
      -Billco, Fnarg.com
    3. Re:Already exists by Anonymous Coward · · Score: 0

      > What I'd rather see effort pumped into is NOTEBOOK DRIVERS. Please people I have this shiny screaming Dell hotness but I can't get anything to run on it because I'm lacking an Ethernet driver/sound/whatever.

      Go yell at Dell, they're the ones who don't release the specs to enable anyone to write the drivers without painstaking reverse-engineering.

    4. Re:Already exists by auzy · · Score: 1

      It doesn't have to run in automated mode... Theres also a rating system (which allows u to disable unreliable drivers).. Thats gonna take some work though to get it up to scratch..

    5. Re:Already exists by Anonymous Coward · · Score: 0

      Sorry. I'm not trusting my driver installations to a guy that uses the word "u".

  32. There's a lot of people that want that... by Ayanami+Rei · · Score: 1

    But there is resistance for the following reasons:
    1) Encourages companies to release binary-only drivers, which hampers porting efforts and slows debugging (no better than windows)
    2) Sometimes changes to the kernel are far reaching and make certain assumed behaviors incorrect (even if certain APIs didn't change). Memory leaks are the least of your worries here.

    So then the only other option is to have all the drivers in source form, and built right at the time the kernel is built, all in one shot.

    I think the hybrid approach NVidia and Dell are taking is the right idea. That infrastructure should be standardized (where the drivers are ALWAYS built during the install phase, or at least LINKED) And each driver would be versioned and attached to one kernel (perhaps call it a "profile"). You could use the same system across x86 and PPC and such, which would be ideal (esp for USB devices and stuff which should work everywhere without firmware, etc.)

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  33. Base it on DKMS by Ayanami+Rei · · Score: 1

    You should consider basing it on DKMS. This is a Dell sponsored project to help manage the multiple kernel/source vs. binary/multiple driver versions mess that can result.

    You can turn a DKMS-ized driver package into an RPM or SRPM too. You could then just shunt it off to RPM or YUM or APT to handle keeping track of them at a package level, using the distro's built in package system. (It'd still require DKMS to be installed for RPM to call the scripts that work the magic)

    But having a central repository (or just running a service to point to where drivers would be, and offer to do that other stuff if possible) can not be a bad thing.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  34. I like it by ReyTFox · · Score: 1

    One of the major problems I've had in learning Linux is in configuration. While it isn't too bad to add a line to load a module when my kernel contains almost everything I need(except nvidia of course), I get squeamish about really dealing with it, because I don't know exactly what I have in the system, not down to the last part at least. Autodetection helps but there are different solutions and each one only goes so far.

    I think a unified driver/configuration solution would be optimal for desktop users like me. I would love the "idealized scenario" that's presented on the main page.

    The weak link, though, is that DoD can't help in the case where the hardware can't even get connected. But that's an issue for other projects to resolve...

  35. Related Projects by cowbutt · · Score: 1
    AFAIK, RH/Fedora plan to use HAL which communicates using D-BUS to extend the plug-n-play functionality already provided by Kudzu. Leveraging these projects will probably aid acceptance of DoD.

    --

  36. Tried installing WINDOWS lately? by zcat_NZ · · Score: 1

    I just spent the last 4 HOURS trying to find and isntall the correct 3d drivers for an SiS620 onboard chipset. It still doesn't work.

    Anyone who says Linux is "too hard to install" has probably NEVER installed any version of Windows.

    I've installed or reinstalled every version of Windows from 3.11 to XP, Slackware, Mandrake, Redhat, Fedora, and Debian, on a wide variety of hardware - 486's, Dual CPU PII's, etc. There is no doubt in my mind that on WINDOWS is generally the harder operating system to install, and on average supports less hardware out of the box. Period.

    --
    455fe10422ca29c4933f95052b792ab2
    1. Re:Tried installing WINDOWS lately? by zcat_NZ · · Score: 1

      I just spent the last 4 HOURS trying to find and isntall the correct 3d drivers for an SiS620 onboard chipset. It still doesn't work.

      Err.. if it wasn't obvious from the rant, I was trying to install them under Win2k. I found the drivers for the exact motherboard from the manufacturers site in .tw but they just don't seem to work.

      It's late. I'm tired and frustrated, but for fucks sake will you all get OFF this "Linux is too hard to install" shit. In my far-from-insignificant experience, Windows is much harder to install, expecially if you factor in the manditory service packs, firewall, virus checker, and the fact that a default Windows install comes with absolutely no useful software. It all has to be installed separately, and much of it has to be activated in the case of SOHO users or at the very least requires a lengthy CD code and a manditory reboot.

      --
      455fe10422ca29c4933f95052b792ab2
    2. Re:Tried installing WINDOWS lately? by carlislematthew · · Score: 1
      Those lengthy CD codes and reboots!!! HORRIBLE! SO difficult!!!

      Windows sucks, Linux rulez!

    3. Re:Tried installing WINDOWS lately? by zcat_NZ · · Score: 1

      It takes me about the same time to install Windows as Fedora Core 1.

      Hoewver, at the end of installing FC1 I have a secure web browser and email, a working firewall, an office suite that's good enough for most small office or home users, powerful image editing software, and a whole bunch of other genuinely useful software.

      At the end of installing Windows I have what? A minimal text editor, the same pain program tha was in Windows 3.11, some movie-making sotware, and the world's least secure email and web browser.

      The very first thing I need to do is install all the drivers. From CD if I have them, but far too often I've had to sarch them out on the net. Then a critical service pack (100+ meg), a firewall, and a virus scanner. Finally I can start installing real software. Assuming that this is a legitimate install, I then have to call Microsoft and get both Windows and Office activated. Small businesses can't afford to run warez, the fines are huge and the chance of getting caught fairly high. Corporate edition Windows and Office (the one without product activation) is really only an option for corporates. Microsoft don't give it away to just anyone!

      The ONLY reason most people think Windows is easy to install is because they have NEVER installed it. OEM prepacked 'ghost' recovery images don't count either!

      --
      455fe10422ca29c4933f95052b792ab2
    4. Re:Tried installing WINDOWS lately? by dave420 · · Score: 1
      I've installed plenty of both, and windows is far easier. Network-based automatic installation? You don't even have to touch the keyboard.

      Also, windows has a "sysprep" utility which you can use before ghosting the hard disk. Install your windows (including office suite, firewall, whatever), run sysprep, then take an image off the computer. I single-handedly installed windows on 10 PCs one afternoon. It only took me about an hour, and no CDs.

    5. Re:Tried installing WINDOWS lately? by zcat_NZ · · Score: 1

      And we set up a redhat boot floppy that would install and configure our standard 'client firewall' server with NAT, apache, imap, etc. At the end of the install it would fetch ${MAC}.conf from our server, and set up whatever LAN and user accounts we told it, too. Insert floppy into factory-fresh PC, type "yes" (only because I insisted) and go make a coffee. Fully configured client firewall/server in about 15-20 minutes.

      That's not my point; this is not the _standard_ install process that your Windows XP Home or Fedora Core 1 user ever sees.

      --
      455fe10422ca29c4933f95052b792ab2
  37. Re:No thanks.. its no less secure then package man by auzy · · Score: 1

    activex is completely different.. No one reviews the code for that, and bad activex controls dont even get their certificites revoked, and they just hand out their certs without checking.. This is completely different.. There will be lots of checks to ensure that the vendor certs actually belong to the vendor, and if one is found to be compromised, or their or files with worms, they will just be taken off the server to protect ppl.. This system is no less secure then apt-get, RPM's, or whatever, and just about everyone these days uses package management.. In the cases of stuff like RPM's, actually more secure (its especially more secure then services like RPMfind)

  38. Similar Premise by CaptCanuk · · Score: 1

    I had a similar idea a few years ago - like August 2000. It was slightly more elaborate though. Basically, it was create a linux distro closely integrated with the internet and other users of the distro. Their would reside a main database that maintained the state of each individual installed OS. The OS would evolve through the following mechanism. Expert users would be allowed to change the OS as they see fit and install drivers as optimally as possible. The beginner users would then be "bound" to a list of experts that have identical matching hardware and one of those experts' "driver profiles" (set of drivers installed and similar configuration) would be used. Same thing could apply for software installation (minus the ultimately required custom sections - hostname, etc.). Intermediate users could switch between expert and beginner as they saw fit to optimize the system. Of course credentials for experts would have to be established and in essence the evolution of the OS is tied directly to the non-malicious nature of the expert and the level of trust that individuals have in others. Changes could be checked by a central body to validate some changes.

    Yes yes. I know the privacy issues of this could be overwhelming, but it would have been opt in.

    Is this a feasible approach for you? Probably not - multiple distros to hit in your solution.

    --
    ---- The geek shall inherit the Earth.
    1. Re:Similar Premise by Anonymous Coward · · Score: 0

      Do we have to eat soylent green too? And how about
      how many times to we face westword and say a supplication to 'big brother'. Do we have to give
      you our wives and girlfriends for 'first night' as well?
      If you want that much control, how come you do not work for microsoft? They would LOVE you!

  39. Why not everything on demand? by porttikivi · · Score: 2, Insightful

    Why only drivers? Why not all software on demand? Perhaps package by package (apt-get & such almost do this already).

    Even better: file by file on demand. Why should I install all the 100 files of a package X today if my usage habit only really accesses 10 of them today, and 10 more tomorrow, and others never.

    Hmm... While we are at it, why stop at file level. Why not memory map the remote files to local VM and fetch them page by page on demand from the network? Persistent local page cache (a new sort of swap file) would make it fast after first fetch.

    --
    Anssi Porttikivi / app@iki.fi
    1. Re:Why not everything on demand? by Anonymous Coward · · Score: 0

      > Why not all software on demand?

      See: RoX and ZeroInstall - the first time you run a program, it's downloaded und untarred into an instantly working system, then cached for further use

  40. I really don't get it...the kernel HAS drivers... by Spoing · · Score: 1

    ...and the drivers are installed automatically when the hardware is detected by most distributions. Why is this even posed as an issue? What's the fuss?

    --
    A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  41. Go for it! Something has to give by Voivod · · Score: 2, Insightful

    The Linux driver situation is a disaster right now. The Linux kernel folks are unwilling to do any work to make it easier to load new drivers. Everything must be compiled from source. There is no standard way to figure out where the kernel source is. The process always emits threatening messages about kernel taining, or warnings about SUBDIRs, or other things that scare the hell out of customers. Binary kernel modules are the answer, not because developers are dying to write closed source modules, but because the idea that every single customer must compile these drivers from source is a support disaster!

  42. Re:I really don't get it...the kernel HAS drivers. by Cynar · · Score: 1

    This is true, I really can't see what the fuss is unless they are new users to linux and are trying to get their video card drivers installed. But hey, if the process is automated, then they're not going to learn anything. ;p It's always hard to do the first time but once you do it, next time is a piece of cake.

  43. Drivers by Betcour · · Score: 1

    Driver headache is the #1 reason while I stick to Windows. I have better things to do with my time than trying to get my OS working. A system that finds, download configure drivers would be a huge boost to Linux.

    One thing that would be important though is having a GUI to also view basic parameters for the drivers (MAC address, ATA mode, etc.)

  44. Re:I really don't get it...the kernel HAS drivers. by auzy · · Score: 1

    because those are the drivers which are already installed.. This handles even the drivers which aren't yet, and it can automatically install them

  45. Driver ABI by ikekrull · · Score: 1

    Whats ultimately needed is a standard ABI for the linux kernel - in this way drivers compiled for say, 2.4.8 would still work on 2.4.26.

    Binary drivers (regardless of whether the source was available or not) could be distributed, and it would, in general, make it a lot easier for users to understand and manage the drivers present on their system.

    However, this meets resistance because:

    a) the linux kernel is rearchitected too often to preserve an ABI across more than 4 point-versions, it seems.

    b) Kernel developers are unwary of giving manufacturers an easy way to ship binary drivers, thus making it easier for them to make the choice to withhold source. - Be aware it does not preclude this choice.

    c) The idea is that all drivers are maintained as part of the kernel - breaking out driver development and support, with the associated organisational, management and security problems that poses is too big a risk to take - If all drivers were like NVidia drivers, for example, almost nothing could possibly work 'out of the box' in most Linux distributions because of licensing issues.

    It should be remembered that Linux has not been built solely to provide a platform for people who are sick of Windows who want something that works exactly the same but for free, and as such, the goals of the kernel developers, and others associated with developing the core pieces of Linux, are often quite different to the average clueless user who 'just wants it to work'.

    Personally, I think the right way to approach this is to maintain and promote a 'driver interfacing layer', which can be added by distros to the stock kernel, and provide a simple way to package and distribute binary drivers - similar in function to the NDISWrapper package for Windows network card drivers.

    If binary Windows drivers can be wrapped and made to work with the kernel, surely this is a possibility for binary Linux drivers too.

    Don't try and force a specific way of doing things on the kernel developers - if the idea has true technical merit, and offers real benefits to the user without compromising other aspects of the kernel, it will be adopted in time.

    --
    I gots ta ding a ding dang my dang a long ling long
    1. Re:Driver ABI by lkaos · · Score: 1

      Whats ultimately needed is a standard ABI for the linux kernel - in this way drivers compiled for say, 2.4.8 would still work on 2.4.26.

      You don't see a lot of standard APIs (let alone ABIs) in the Open Source world because programming has to be enjoyable to attract programmers and let's face it, coding around standards generally isn't enjoyable. Not to mention the fact that the kernel is notorious for doing huge overhauls to support greater scalability, etc. The kernel is a great example of a project that started from humble roots and was refactored into something quite nice.

      b) Kernel developers are unwary of giving manufacturers an easy way to ship binary drivers, thus making it easier for them to make the choice to withhold source. - Be aware it does not preclude this choice.

      There are already problems with vendors jumping through hoops to violate the kernel licensing... It's not fun to have your code stolen.

      It should be remembered that Linux has not been built solely to provide a platform for people who are sick of Windows who want something that works exactly the same but for free,

      Let me extend this. Linux is not at all written to provide a platform for people who are sick of Windows who want something that works exactly the same but for free. Not at all. Linux is about making a good, robust, and fun operating system that the people who develop it actually like to use.

      The minute it has things like automagic driver install that requires some "trusted third party" to sign any driver I write in order to distribute it (or starts doing logo certification or something gay like that), is the day I stop using Linux and start working on something else (and I imagine a lot of people feel the same way as I do).

      --
      int func(int a);
      func((b += 3, b));
  46. Re:I really don't get it...the kernel HAS drivers. by NewStarRising · · Score: 1

    I am new to linux. First time getting my video card drivers to work was a hassle, but eventually worked. Now I have upgraded my card, I am running into other problems. It is not easy. I am having to learn a whole new set of things than the first time. For me, this is OK - I WANT to learn. But not every one does want to be an OS-engineer, like most people who drive carsdo not want to be mechanics.

    --
    b3 4phr41d 0f my 4bov3-4v3r4g3 c0mpu73r kn0wI3dg3!
    MadDwarf