LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-07-2004, 11:41 AM   #1
bizx
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Question porting windows drivers to linux?


guyz,
it might be a stupid question.but i m just a newbie in device drivers.
well i wanna know if we cannot port windows drivers to linux.
to my knowledge windows drivers r written using ddk.so there might be some standard functions using which we can write drivers(not exactly but similar to wrinting win app using win api).
wanna know if writing drivers goes like that?dont get ready to shoot me if it sounds too silly.
if it goes similar to that then i think we can port windows drivers to linux.

waiting for a cool responce.....
 
Old 07-07-2004, 01:23 PM   #2
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
bang your dead. the big problem with porting drivers is how are you going to read them. the windoze drivers are dll and the such the intergrate with windoze and are mostly the evil P word. propriatary. The way that linux works is someone designs a module or kernel patch and tests it. They get all the info from either the hardware manufacture or by testing the card by hand. < very rare. once this is done. the kernel patch is submited to the kernel maintainer for that section of the kernel and it may be integrated with the kernel or not. that is the reason that alot of hardware will not work with linux, because the manufacture must devulge the great interupt secrets and what not.
hope it helps, was it a nice responSe
wolfe?
 
Old 07-07-2004, 01:54 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Ok, to continue with another 'naive' question: would it be feasible to run a (modem-)driver under wine?
 
Old 07-07-2004, 02:11 PM   #4
foamrotreturns
Member
 
Registered: Jul 2004
Location: Ft. Collins, CO
Distribution: Knoppix, PHLAK, FC2, Debian, Mandrake
Posts: 33

Rep: Reputation: 15
There's a great program for wrapping windows drivers for linux. It's been done with quite a few device drivers, and it would do you good to look into it before trying to run a driver under wine (not even sure that's possible)
here's the link:
Linuxant
maybe they will have a wrapper for your modem driver.
 
Old 07-07-2004, 04:41 PM   #5
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
NdisWrapper can make some wlan drivers work in linux. by emulating the windows network device driver API.

search for it on SF, I immagine that the people who wrote that would be the first people to go to when asking about making some sort of universal deriver wrapper. although I have a feeling that unless a bunch of money comes their way, they will only have time to maintain the NdisWrapper package.
 
Old 07-08-2004, 03:10 PM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Thing is I have a Rockwell Winmodem and am not about to spend money on a driver (I'd sooner spend it on a 'real' modem)
 
Old 07-08-2004, 03:23 PM   #7
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
man, spend the 15$ for the driver and support a company that supports linux, if companies see linux as comercially inviable then nobody will ever make programs for it. and a "real" modem will cost you alot more than 15$.
 
Old 07-08-2004, 05:30 PM   #8
foamrotreturns
Member
 
Registered: Jul 2004
Location: Ft. Collins, CO
Distribution: Knoppix, PHLAK, FC2, Debian, Mandrake
Posts: 33

Rep: Reputation: 15
AMEN!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
linux to windows porting Atrocity Linux - Software 5 02-19-2013 09:36 AM
Sockets Porting from Windows to Linux oriel_gizmo Programming 3 09-22-2004 07:20 PM
Porting C++ code from windows to Linux ashwinipahuja Linux - General 1 03-22-2004 03:57 AM
porting windows ce code to linux rainmann Programming 7 06-12-2003 08:19 AM
Device Drivers - Porting from Solaris to Linux jvs Linux - General 1 05-29-2002 12:30 AM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration