Using windows driver on linux

Use drivers from windows to linux

I have this wifi card: WG311v3 — G54 Wireless PCI Adapter; that only work in Windows with specific driver. How can i use it too with GNU/Linux ? I read about the wine program but here they said that we can’t install drivers in wine. Is there an other solution ?

Does the wifi card «just work» in Linux now? Tried searching for the exact card (or however it’s identified in Linux) plus «linux»?

What make and model wifi card? I note that WIFI cards are relatively cheap, and it may pay — even in a notebook — to simply replace the card.

Do an lspci -n under Linux. This will give you the vendor and product id which you can use (in the form 0123:4567 ) to find out if the card is supported under Linux.

Yep, was easy to find instructions for using ndiswrapper with this card, though finding the download for the driver binaries was a little tricky.

1 Answer 1

The tool for getting Windows network drivers to work in Linux is called NdisWrapper (wiki, downloads). NDIS (Network Device Interface Specification) is the Windows network driver API; NdisWrapper is a Linux kernel module that basically presents a fake Windows kernel to a Windows network driver and translates between that and normal the Linux network driver interface.

NdisWrapper isn’t perfect — it doesn’t support all drivers and it may crash your Linux system — and free software advocates don’t like it because it’s basically loading proprietary code (the Windows driver) into a F/LOSS OS kernel. With that said, though, it often can be made to work. You may have better luck using drivers targeted at older Windows versions, since the NDIS spec changes somewhat over time; if you can’t find an XP driver for the card, look for a Vista/Win7 one, then Win8/8.1 if you can’t find that.

It’s a little more complicated to install and configure than is typical for either native Linux drivers or drivers on Windows, but if you want to run Linux on not-fully-compatible hardware it may just let you do that thing.

Источник

Installing Proprietary Windows Drivers on Linux

I have a PC Oscilloscope Instrustar ISDS205X which I used on Windows 10. Now that I have switched to Linux, I am unable to find the respective drivers for it. I have tried installing it on PlayOnLinux but the software doesn’t install and so do its drivers. Is there any method to convert such Windows drivers to run on Linux? (My CPU is i5-4570 and Distro is Debian 10 KDE Plasma)

Читайте также:  Linux указать прокси сервер

There are plans for Sigrok Firmware to support this device (sigrok.org/wiki/Instrustar_ISDS205X), but currently, I don’t see a way to use it in Linux without a Windows VM

On the general question «Installing Proprietary Windows Drivers on Linux», the answer depends on the type of drivers. For some network drivers ndiswrapper does exactly that, for example.

Hi Nabeel, welcome on SuperUser. You should ask to the producer if it exists a version for Linux of their software. It is even possible they have a version for Matlab (or compatible) even if it is not probable they will share it. Moreover, you may want to separate the data acquisition moment from the possibility to manage (command) the device from the computer. They may suggest a procedure to acquire data from Linux and/or give the list of command codes to manage the device through other programs.

1 Answer 1

To go further, a driver is a piece of software that interact with the kernel of the operating system. When you’re working in kernel world, interoperability doesn’t exist. POSIX neither. Everything is totally OS-specific: the architecture, the sub-systems and the way they have been built and designed, the standard library offered by the kernel to driver writer, there’s nothing in common between Linux and Windows.

The only ways you can get your oscilloscope working under linux is:

  • by using a Windows virtual machine and forwarding the USB device to it (possible with virtualbox or qemu).
  • by doing reverse engineering when using it with a Windows workstation: analyse USB exchanges, try to guess the protocol used and the command passed to achieve this or this operation. it’s a very hard and long job .

Another alternative is doing it the other way around, i.e. flashing a new firmware on the device that is natively supported by Linux.

A lot of Windows «drivers» are actually a package of a true device driver and a firmware blob that has to be pushed to the hardware at initialization time, loading it into RAM rather than storing on (EEP)ROM/flash. (They may actually have a separate file for the firmware blob, making the reverse engineering easier). I remember having devices on a dual-boot system that I could let the Windows driver initialize, then do a warm reboot into Linux, and the Linux driver worked fine until the system was shut down and the hardware lost that blob from memory.

@WhitequillRiclo NDIS stands for «Network Driver Interface Specification». So, unless the driver is for a network card, it isn’t supposed to apply for OP question. Moreover, NDIS is actually just an emulation, with all the limits it implies. To finish, last version of NDIS Wrapper was released on 2020-05-03 . i think the project is dying: the problem it was supposed to solve (drivers availability for Wifi devices) doesn’t really exists anymore.

Читайте также:  Linux куда монтировать диски

okay. I was looking for wifi drivers a long time ago. back when driver support was mostly non-existent on Linux. I should have looked up what NDIS did before commenting.

Источник

Thread: Installing Windows Drivers in Linux

HoneyBadger1 is offlineSpilled the Beans

Installing Windows Drivers in Linux

Guys I have an HP 300-1020, I recently installed Ubuntu 10.04
I went to the HP website here:

I downloaded all the original drivers, but they were made for Windows 7.
How do I install them in Linux?

grahammechanical is offlineUbuntu addict and loving it

Join Date Jun 2010 Location London, England Beans 12,356 —> Beans Hidden! Distro Ubuntu Development Release

Re: Installing Windows Drivers in Linux

Why do you want to install drivers for another operating system on Ubuntu?

What do you think that you need then for?

It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
Ubuntu user #33,200. Linux user #530,530

HoneyBadger1 is offlineSpilled the Beans

Re: Installing Windows Drivers in Linux

QuoteOriginally Posted by grahammechanical View Post

Why do you want to install drivers for another operating system on Ubuntu?

What do you think that you need then for?

My speakers no longer work, my microphone also does not work, and my wireless card does not get detected.

I think it is because after I autonuked my hardrive, all the HP drivers got deleted.
I was running Windows 7 previously, but after autonuking my hardrive decided to switch to Ubuntu 10.04 instead.

ottosykora is offlineDark Roasted Ubuntu

Re: Installing Windows Drivers in Linux

windows drivers can not be used directly, but some can be used with a workaround, try:

Bucky Ball is offlineCaffeine, theine, guaranine free.

Re: Installing Windows Drivers in Linux

QuoteOriginally Posted by ottosykora View Post

windows drivers can not be used directly, but some can be used with a workaround, try:

Not a good plan. Ndiswrapper for wireless = AVOID! It is superseded for most wireless cards and unnecessary (and generally a nightmare).

HoneyBadger1: Open a terminal (Applications>Accessories>Terminal) and paste this in:

Post the result back here and that will tell us what you have in there.

BUT FIRST: Plug in an ethernet cable, get online, and get all updates (System>Administration>Update Manager if you are not automatically offered updates) then check System>Adminstration>Additional Drivers (could be Hardware Drivers). Is there a driver for your wireless card in there disabled or have you been offered one by the update.

mastablasta is offlineUbuntu Member

Re: Installing Windows Drivers in Linux

also drivers inlinux are part of kernel. so newer version of the OS (latest stable is 11.10) would more likely have all drivers that you need.

Read the easy to understand, lots of pics Ubuntu manual.
Do i need antivirus/firewall in linux?
Full disk backup (newer kernel -> suitable for newer PC): Clonezilla
User friendly full disk backup: Rescuezilla

Читайте также:  Check gcc installed linux

HoneyBadger1 is offlineSpilled the Beans

Re: Installing Windows Drivers in Linux

QuoteOriginally Posted by Bucky Ball View Post

Not a good plan. Ndiswrapper for wireless = AVOID! It is superseded for most wireless cards and unnecessary (and generally a nightmare).

HoneyBadger1: Open a terminal (Applications>Accessories>Terminal) and paste this in:

Post the result back here and that will tell us what you have in there.

BUT FIRST: Plug in an ethernet cable, get online, and get all updates (System>Administration>Update Manager if you are not automatically offered updates) then check System>Adminstration>Additional Drivers (could be Hardware Drivers). Is there a driver for your wireless card in there disabled or have you been offered one by the update.

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge 00:01.0 PCI bridge: Hewlett-Packard Company Device 9602 00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1) 00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3) 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller 00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller 00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a) 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge 00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller 00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control 00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control 01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN [Radeon HD 3200 Graphics] 02:00.0 Network controller: RaLink RT3092 Wireless 802.11n 2T/2R PCIe 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)

Источник

Оцените статью
Adblock
detector