Results 1 to 7 of 7

Thread: reverse enginering a webcam driver.

  1. #1
    Join Date
    Nov 2007
    Location
    Pittsburgh, Pa
    Beans
    325
    Distro
    Ubuntu 10.04 Lucid Lynx

    reverse enginering a webcam driver.

    I bought a cheap webcam from staples (because it was cheap) and it cam with windows drivers, but I can get it to work on ubuntu. I did some research and found it is made by a company called Sakar (they make a lot of cheapo products for other companies who don't have the means to produce products stamped with their logo) My question is, is there a way to take the windows driver and reverse enginer it so i can turn it into a linux driver.

    please note: I have almost no programing experiance and what little i do have is with webpages and basic stamp robots.

  2. #2
    Join Date
    Jun 2007
    Location
    Maryland, US
    Beans
    6,288
    Distro
    Kubuntu

    Re: reverse enginering a webcam driver.

    Quote Originally Posted by wildman4god View Post
    ...
    is there a way to take the windows driver and reverse enginer it so i can turn it into a linux driver.
    Yes there is; in fact many drivers that are used with Linux were developed in this fashion. There is also the 'ndiswrapper' utility, but I have only heard of it being used for wireless drivers.

    Quote Originally Posted by wildman4god View Post
    please note: I have almost no programing experiance and what little i do have is with webpages and basic stamp robots.
    The lack of experience could impact your ability to develop a driver. Nevertheless, this shouldn't stop you from trying.

  3. #3
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: reverse enginering a webcam driver.

    one-man-writes-linux-drivers-for-235-usb-webcams
    that is old news..

    i'd imagine, this is close to 300 webcams now, but he started with gphoto then moving forward from there.

  4. #4
    Join Date
    Apr 2007
    Beans
    14,781

    Re: reverse enginering a webcam driver.

    Quote Originally Posted by wildman4god View Post
    I bought a cheap webcam from staples (because it was cheap) and it cam with windows drivers, but I can get it to work on ubuntu. I did some research and found it is made by a company called Sakar (they make a lot of cheapo products for other companies who don't have the means to produce products stamped with their logo) My question is, is there a way to take the windows driver and reverse enginer it so i can turn it into a linux driver.

    please note: I have almost no programing experiance and what little i do have is with webpages and basic stamp robots.
    No. You can't. You can try existing solutions, like ndiswrapper though.

    Reverse engineering or disassembling the code of drivers is almost always explicitly against the EULA of the driver.

    You can try to find a driver that will work with it though. Look at https://help.ubuntu.com/community/Webcam

  5. #5
    Join Date
    Oct 2007
    Beans
    1,914
    Distro
    Lubuntu 12.10 Quantal Quetzal

    Re: reverse enginering a webcam driver.

    Quote Originally Posted by LaRoza View Post
    Reverse engineering or disassembling the code of drivers is almost always explicitly against the EULA of the driver.
    With regards to this, one should mention that some countries (unfortunately not the one that the OP seems to live in) have laws stating that you can always disassemble programs if your aim is to fix compatibility problems (which cannot be overwritten by any EULA). See here for details.

  6. #6
    Join Date
    Oct 2005
    Location
    Davao, Philippines
    Beans
    4,830

    Re: reverse enginering a webcam driver.

    I would just like to add that you can not in any way, use ndiswrapper for webcam windows drivers.

  7. #7
    Join Date
    Nov 2007
    Beans
    706
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: reverse enginering a webcam driver.

    And I would like to point out that reverse engineering is never illegal.
    Programming is an art. Learn it. Live it. Love it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •