Slashdot Mirror


Lone Programmer Writes 352 Webcam Drivers For Linux

mrneutron2004 writes "A French physician and ardent Linux supporter is the one man you can all thank for adding support for 352 webcams in Linux. The Open Source OS world may still be a bit of a mess when competing with the ease of Windows, but efforts like this make you wonder. One man with drive, tenacity, and no funding does what no one else can do. And none of the major Linux distributions back this guy's efforts, even the big players dipping into the corporate world's coffers."

51 of 450 comments (clear)

  1. Hey Scuttlemonkey by Anonymous Coward · · Score: 5, Funny

    What kind of a geek misspells Bawls? And an editor at Slashdot no less. For SHAME!

    1. Re:Hey Scuttlemonkey by moranar · · Score: 4, Informative

      You just lost an excellent opportunity to keep your mouth shut. "He didn't even make the deb pkg files"... What else, do you want mr. Xhaard a hot cup of latte in bed with those? Most distros I've used, including Mandriva and Ubuntu, already package his drivers. I know it because I've used them for months now: If you've ever used an spcaxxx-based webcam, the driver was written by him.

      God, I shouldn't need to write this.

      --
      "I think it would be a good idea!"
      Gandhi, about Internet Security
  2. WOW!!!! by axia777 · · Score: 4, Insightful

    I am stunned. That is a lot of code to write. That guy is a machine. Props to him 100%.

    1. Re:WOW!!!! by errxn · · Score: 5, Funny

      Anybody else glad that they are not one of this guy's patients?

      --
      In Soviet Russia, Chuck Norris will still kick your ass.
    2. Re:WOW!!!! by doti · · Score: 5, Informative
      While I still value his work, it's worth noticing that the /. title is a lot misleading. He didn't made 253 different drivers, but one driver that works on 253 different webcams that have a lot in common.
      From TFA:

      FC: So how did the ice ball grow to reach today's 253+ webcams supported with several different chipsets?
      MX: Starting with the Sunplus chipset support, I realised that most code in the core driver could be "shareable" to support several webcam chipset(s). That is why the "GSPCA" drivers now support over 250 webcams from different chipset vendors.
      --
      factor 966971: 966971
    3. Re:WOW!!!! by pclminion · · Score: 4, Insightful

      He didn't made 253 different drivers, but one driver that works on 253 different webcams that have a lot in common.

      Writing a solid core that easily integrates with over 253 device-specific modules is something to be DAMNED impressed by. I always love it when I'm given some new requirement at work, and it just fits right in to my existing infrastructure almost effortlessly. It means I designed the thing properly in the first place. This guy has done that, 253 times.
    4. Re:WOW!!!! by StikyPad · · Score: 4, Funny

      Lonely Programmer Writes 352 Webcam Drivers For Linux

      There. Fixed that.

  3. Amazing by SirJorgelOfBorgel · · Score: 5, Funny

    An amazing feat, this man should be recognized. Linux will never be on the desktop if your teenage daughter cant videochat with predators 2000 miles away! I for one welcome this new voyeur overlord.

    1. Re:Amazing by Anonymous Coward · · Score: 5, Funny

      > "One man with drive, tenacity, and no funding does what no one else can do."

      s/can/wants to/g

      There. Fixed that for you. :)

  4. Summary Title by jeffy210 · · Score: 5, Funny

    And even the summary title wants to short him for 99 cameras to his credit!

    --
    ------
    "And may your days be long upon the earth."
    1. Re:Summary Title by Anonymous Coward · · Score: 5, Funny

      It gets worse...

      Slashdot Title? 253
      Article text/Slashdot summary? 352
      Article photo caption? 235

    2. Re:Summary Title by Reverend528 · · Score: 5, Funny

      He wrote those 99 drivers in the time it took for the article to be posted.

  5. Dear Michel Xhaard by Anonymous Coward · · Score: 5, Insightful

    Thank you

  6. But not, apparently... by UbuntuDupe · · Score: 5, Insightful

    important enough for his name to get into a Slashdot summary. Oh well, at least he wasn't referred to as "the French Linux driver guy", like how Ramanujan was "the Indian math guy".

    1. Re:But not, apparently... by jez9999 · · Score: 4, Informative

      His name is Michel Xhaard.

  7. Re:253 or 352? by Frequency+Domain · · Score: 4, Funny

    You know how Europeans always write their dates the reverse of the USA? This is like that, only different.

  8. I hate this.. by .Chndru · · Score: 5, Informative

    The man wrote 350+ drivers. How about some link love for him, slashdot? http://mxhaard.free.fr/spca5xx.html

  9. Re:Let the market speaks by cowscows · · Score: 5, Insightful

    Some people enjoy the challenge and the work involved in maintaining and/or improving things that they own, whether that's a car or a computer. This guy could've thrown his webcam away and then gotten another, but instead he installed an OS where he could freely see and tinker with all the guts, and make the hardware he had already spent money on work.

    Apparently he really enjoyed the project, because he went and did basically the same thing a few hundred times more. Good for him.

    --

    One time I threw a brick at a duck.

  10. Re:how many? by fudgefactor7 · · Score: 4, Informative

    Not Dyslexia, it's Dyscalculia when dealing with numbers.

  11. Re:Let the market speaks by LiquidCoooled · · Score: 5, Insightful

    What if you got the camera without realising it?
    What if its been sat in a drawer for years 'cos it worked "sometimes" and you didn't find a real use because of the stability?
    What if it was second hand?
    Some people cannot afford to waste money buying extra kit and won't look the gift horse in the mouth.

    We have become such a wasteful generation.
    If something doesn't quite work right, we throw it away.

    Cameras are technically simple and most will work in a similar manner (theres only so many ways you can send the same data across a wire). My bet is this guy has created a core driver and is using variants on the devices, this allows all those useless cameras before to now be usable. There must be millions of similar working devices around the world.

    Why bitch at him for helping?

    People now won't have to suffer with crap 'cos they can be made to work well (apparently).
    props to him.

    --
    liqbase :: faster than paper
  12. Re:Let the market speaks by KingSkippus · · Score: 4, Informative

    No, you misunderstand. The person who gave up on W2K is the reporter, not the guy who created the drivers. The guy who wrote the drivers did it because he bought webcams for his daughters and they didn't have drivers.

    As for you comment, it's not the camera that has the problem; it's the drivers, and that's what he fixed for Linux. In your analogy, it's more like buying a used car with a heavy discount because it has a dirty air filter. If you know that the car is perfectly fine with a new air filter, why not buy it? A famous man once said, "A dirty air filter does not a bad car make." (Okay, I admit it, it was me, just then, and I guess I'm not that famous.)

  13. Re:how many? by treeves · · Score: 4, Funny

    Should have just said "300, give or take 50."

    --
    ...the future crusty old bastards are already drinking the Kool-Aid.
  14. Not 352 seperate drivers by rminsk · · Score: 5, Informative

    The programmer did not write 352 seperate drivers for web cams, he wrote drivers for 8 different camera bridge chips and different versions of those chipss.

    1. Re:Not 352 seperate drivers by Bastard+of+Subhumani · · Score: 4, Insightful

      I don't know about you, but in that case he beats me by at least 8 bridge chips and numerous versions thereof ...

      --
      Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
    2. Re:Not 352 seperate drivers by ewhac · · Score: 5, Insightful
      Having written my share of device drivers, that's still an accomplishment worthy of note, especially if the documentation was thin or (unjustifiably, all-too often) non-existent.

      Schwab

  15. Re:Let the market speaks by solafide · · Score: 4, Funny

    He has 352 daughters?

  16. Re:In other news... by IdleTime · · Score: 4, Funny

    Maybe, but according to the article, he has had sex at least two times more than you have.

    --
    If you mod me down, I *will* introduce you to my sister!
  17. Re:Let the market speaks by DaleGlass · · Score: 5, Insightful

    So how does the market know?

    In Linux, this is possible. You actually have chances of getting somebody knowledgeable to tell you that the hardware itself sucks (there used to be comments about how much realtek hardware sucks somewhere in the kernel source), or that the driver isn't properly written. Linux also makes it easy to make it possible for people to tell you so: somebody can tell you to run "lspci -v" and "dmesg" and paste it into your mail, which is easy even if you have no clue what all that stuff is.

    Windows on the other hand, gets more and more obscure with each passing day. Starting from XP it reboots instead of letting you see the BSOD, so without considerable effort you can't even find what went wrong. You go to make tea, come back, and the box mysteriosly rebooted meanwhile. Windows installations are also often infested with spyware, which makes it a lot harder to figure out what exactly is going wrong, as something going wrong in bizarre ways is depressingly common.

    There's also that consumers are simply not informed. Most people don't spend time googling around to try to find out whether the webcam they're about to buy is any good. If they find reviews, often they will be by somebody who tried it for 15 minutes, which will miss any longer term issues. About the only way of a bad one getting abandoned by consumers is that it's such incredible crap that even people with no experience at all see it's horrible and return it.

  18. For once by einhverfr · · Score: 5, Funny

    one can argue that this was not entirely the fault of Slashdot editors. Maybe the real number was 532?

    --

    LedgerSMB: Open source Accounting/ERP
  19. Donation Link?? by Harmonious+Botch · · Score: 4, Interesting

    How about a link to his paypal account? Anyone?
    I'd donate a few bucks.

    1. Re:Donation Link?? by AchiIIe · · Score: 5, Informative

      You only need an email address (or phone number) to send paypal money. And here you go: mxhaard@magic.fr

      Paypal link: Send money - Enter email or phone

      -- Note: It's on his website as well: http://mxhaard.free.fr/apropos.html

      --
      Nature journal lied in Britannica vs Wikipedia Ask to retrac
  20. Re:Object oriented? by DaleGlass · · Score: 4, Informative

    See my other post, it's the same thing as with sound cards for instance. Linux doesn't have a driver specifically for the "Creative SB Live Value", it has a driver for the EMU10K1 chip the card is based on. This driver works for several models of the SB Live series, and perhaps even for non-Creative cards if some other company builds cards using the EMU10K1 chip.

  21. Re:Damn.. by matt+me · · Score: 4, Funny

    Too bad all the stupid chicks that show their tits, don't use linux. Too bad for you all the stupid chicks who use linux don't show their tits. :p
  22. Yes, a machine. by Palmyst · · Score: 5, Funny

    What we need, obviously, is a Beowulf cluster of French Physicists.

    1. Re:Yes, a machine. by xappax · · Score: 5, Funny

      Would a werewolf cluster work in the interim?

      No way! The last thing we need is an American werewolf cluster in Paris.

  23. Physicist, not physician by thib_gc · · Score: 5, Informative

    The article and the summary say that this guy is a physician, but he isn't. He's a physicist. The French word for physicist is physicien. Apparently someone got their words mixed up (but that's okay because they also appear to have their digits mixed up anyway).

  24. The French help America once again! by Anonymous Coward · · Score: 4, Funny

    And again France helps America win it's freedom!!!

    1. Re:The French help America once again! by Cantus · · Score: 4, Informative
      It's sad really how nobody remembers that the French were decisive in getting Americans gain their independence. From Wikipedia:

      The colonists' victory at Saratoga led the French into an open alliance with the United States. In 1781, a combined American and French Army, acting with the support of a French fleet, captured a large British army, led by General Charles Cornwallis, at Yorktown, Virginia. The surrender of General Cornwallis ended serious British efforts to find a military solution to their American problem.
    2. Re:The French help America once again! by Anonymous Coward · · Score: 4, Interesting

      Americans are very strange. They think they're not British, yet retain the traditional British antipathy toward the French. Of course, Britain and France have been rivals for centuries, but France and America have never been, so why do Americans spend so much time abusing the frogs? I suppose it's the same national schizophrenia that makes Americans identify with the Rebelk Alliance in Star Wars rather than the Empire, which depicts them far more accurately. Americans charaterise the frogs as militarily incompetent or cowardly, totally ignoring Napoleon's extraordinary military achievements. Weird.

      I'm English, of course, so I can say with easy conviction that I love France and hate the French. Especially my ex-girlfriend.

    3. Re:The French help America once again! by Anonymous Coward · · Score: 4, Insightful

      1) who will sell mirages to any sand dictator that comes along

      This is a pretty hysterical claim considering the scum that the Americans have armed over the last five decades. Saddam, anyone? The fucking TALEBAN?

      2) harbor some of the most radical people on this planet starting with kommeni

      YOU created the disaster in Iran with your idiotic Shah - if you want to go looking for despots and lunatics in exile, London and New York harbour as many if not more than Paris.

      3) like them and their quefranbec relations have an ENTIRE GOVERNMENT AGENCY on the preservation of french.... in others words to keep OUT AMERICAN INFLUENCES on culture and lanquage

      Who will look after the French language and culture if not the French? Do ordinary Americans actually WANT corporate 'culture' - whether from the US or anywhere else - to flood the planet?

      4) lack of support of its allies, namely the US, since WWII

      What have you done that merited support and was not supported by the French? DOn't forget how the US didn't support (officially) the British in the Falklands, and where has British support of the calamity in Itaq gotten us? Blind support is even worse than blind opposition.

      dissent

  25. This is why I wrote a Wacom driver for Mac OS X by Slur · · Score: 4, Interesting

    (Shameless plug) I had this tablet I'd spent $500 on back when it first came out, and I was going to be damned if I didn't get support for it on my favorite OS. It took something like 3 years to get it into shape, but now I have this project with a life of its own. Most recently I was prompted to add support for TabletPC computers running Mac OS X unsupported. All along the way, I've had people interested in the results, who have helped me to add support for their tablets. The internet has made it possible to collaborate instantly with people you've only just connected with for the first time, and do in a matter of days what might have taken weeks.

    So it doesn't surprise me that this guy's driver works for so many cameras. So many of these hardware devices with different brand names use the same off-the-shelf chip-sets. And serial devices are all very similar in their protocols, so new drivers are easier to make.

    I don't think my driver for their old serial tablets has cost Wacom much in sales, and that was never the intent. Their new USB tablets are thinner and totally hassle-free, which makes them attractive for most people. There have been a few people who told me they had specifically held out on buying a new Wacom USB tablet, and who either had put the old one away or were using it with Mac OS 9. And there were a few people who had bought USB-Serial adapters only to find that no driver existed to make their tablets work. I sympathized with both situations somewhat, and this also spurred me on.

    As an open source developer I have the advantage of total loyalty to my project, and not to any other parasitic motive. So when I get a feature working in my driver or control panel, it remains available. A company may remove features to encourage upgrades, and reducing functionality for non-technical reasons is evil.

    I propose a new holiday: Driver Writers' Day. It could co-incide with the date of the first shipment of Mountain Dew.

    --
    -- thinkyhead software and media
  26. to bad it's not in mainline kernel by the+Hewster · · Score: 5, Informative

    I have to applaud this person for the huge work he has done to support all these webcams under Linux. However, from what I could tell from a quick google search, he seems to be one of these developpers who write GPL drivers for Linux (also GPL) but then refuse to have them included in the mainline kernel for some mystical reason.
    This situation really makes me sad because thousands, perhaps millions of people could have their webcam "just work" out of the box, but instead, they have to do all sorts of voodoo magic (look on google, find the package, compile it, patch source etc.). Statistically, a percentage of these people will spend a lot of time getting it to work, some people will fail to make it work and some won't even bother. What a waste.
    The worst part of it is that the driver, being GPL, could be included legally without the autor's consent however, this would risk alienating this valuable developper. Imagine if the people developping drivers for motherboard chipsets had the same attitude and what that would do to the usability of Linux.
    So please, Michel Xhaard, do a huge favor to the whole Free software comunity at little or no cost to yourself and get that driver in mainline.

  27. Re:First frenchman in history by Anonymous Coward · · Score: 5, Insightful

    If of course, by "in history", you mean other than 99.9% of the rest of history.

    The French are notorious for not giving up, with one exception, when their "allies" deserted them with the entire German army on their doorstep.

    "Liberty or Death" is a false dichotomy, and a phrase that can only be repeated by someone that has never had to make that choice.
    You don't win wars by dying, you win them by living.

  28. Coming soon to a distro near you by dogwelder99 · · Score: 5, Funny

    Anyone else start to hear the movie trailer guy's voice reading the summary?

    In a world of drivers gone mad... one man with drive, tenacity, and no funding does what no one else can do...

  29. Re:First frenchman in history by pivo · · Score: 4, Insightful

    French surrender jokes are the favorite joke of people who know just enough history to know that the French surrendered to the Germans during WWII. These surrender joke tellers probably learned this history when they read someone else's surrender joke and then figured out what it meant. It makes these people feel smart that they now know enough history to make this joke. There's probably some internet law that states that any story involving France or the French will eventually accumulate a surrender joke in the comment area. Jokes like these are the essence of not funny.

  30. Re:Let the market speaks by DaleGlass · · Score: 5, Insightful

    It's a nice theory, but I've never seen it in practice.

    I've seen it in practice on Linux -- my bug report resulted in an email from the developer the next day, and a fix for the bug I found in the next few hours.

    Sure you can send reports to MS, but I've never ever seen anything come out of it. If the device manufacturer ever gets around fixing it I won't hear about it, and if MS does fix it I won't notice either -- it'll be quietly rolled into the next service pack that might come out 4 months later, if it gets there at all.

    And that still doesn't address what I was talking about, anyway. Yeah, great, the user can click "ok" and get a dump sent to MS. Wonderful. And meanwhile what? An user still can't find out what failed without a developer's asistance, and on Linux those are a whole lot easier to get a hold of, and a lot more responsive. Patches for kernel exploits come out in *hours*.

  31. Re:First frenchman in history by Red+Flayer · · Score: 4, Insightful

    For those of us that deal globally with many countries and cultures, the answer is clear: While most of the French people are fairly nice, we find their government and "culture" to be arrogant and insincere, particularly the official attitude toward individual Americans over the years.
    As an American, can I just say that though the French may have deservedly earned such a reputation (I'm not sure how deservedly in general, by my personal experiences corroborate it), your post is the height of hypocracy? The American hubris is awful, considering we are falling down the same slope of crashing hegemony as the French did -- and very soon all we'll have left is our pride. We talk of the superiority of the American political system, American sports, American pop culture, etc -- but the Chinese or the Indians or the Pacific Rim countries will scoff at our arrogant hubris when it's all we have left.
    --
    "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
  32. Re:First frenchman in history by MrNaz · · Score: 4, Funny

    A smart post. But he said he's American. But it's actually insightful. But he's an American. Gargh! My mind can't handle the upheaval of reality!

    --
    I hate printers.
  33. Re:First frenchman in history by Red+Flayer · · Score: 4, Insightful
    I think the American attitude comes from the John Wayne complex we have. The perception is that only cowards and women need people to do their fighting for them (which was the perception of the insulated Americans at home during WWII). Americans at home had no idea of what the French faced; a lot of Americans overseas were just bitter with their lot in the war.

    There are even quite a few movies made about the French Resistance. Perhaps some of them are considered beyond the pale to some Americans, because of the
    I'll cut that off right there, since the reasons they are beyond the pale to Americans are because they don't glorify America, and because they aren't about Americans. We're so self-centered that even movies about Britain need to be about Americans in Britain.

    Not speaking for all Americans, hell, I'm not even speaking of my own views, but mainstream American culture disgusts me.
    --
    "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
  34. Re:First frenchman in history by gowen · · Score: 4, Informative
    The British were driven into the sea, but the Belgian king rather meekly capitulated, which exposed the left flank of the retreating Brits and the French. If you read Churchill's "Fight Them On The Beaches" speech (as reprinted in last weeks Guardian) he makes explicit reference to this

    Yet at the last moment, when Belgium was already invaded, King Leopard called upon us to come to his aid, and even at the last moment we came. He and his brave, efficient Army, nearly half a million strong, guarded our left flank and thus kept open our only line of retreat to the sea. Suddenly, without prior consultation, with the least possible notice, without the advice of his Ministers and upon his own personal act, he sent a plenipotentiary to the German Command, surrendered his Army, and exposed our whole flank and means of retreat.

    I asked the House a week ago to suspend its judgment because the facts were not clear, but I do not feel that any reason now exists why we should not form our own opinions upon this pitiful episode. The surrender of the Belgian Army compelled the British at the shortest notice to cover a flank to the sea more than 30 miles in length. Otherwise all would have been cut off, and all would have shared the fate to which King Leopold had condemned the finest Army his country had ever formed. So in doing this and in exposing this flank, as anyone who followed the operations on the map will see, contact was lost between the British and two out of the three corps forming the First French Army, who were still farther from the coast than we were, and it seemed impossible that any large number of Allied troops could reach the coast.
    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
  35. Re:First frenchman in history by aunitt · · Score: 4, Informative

    Or to make things worse, they take things that the Brits did (before the Yanks entered the War) and pretended that Americans did it. :)