OSX Wine and USB Drivers

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
nucleardreamer
Level 1
Level 1
Posts: 5
Joined: Tue Jul 28, 2009 7:11 pm

OSX Wine and USB Drivers

Post by nucleardreamer »

I feel like a big fat noob. I know that autodetect from device isnt supported yet (says so on the selection box, under the drives tab of winecfg) but I was curious if I could get some help.

I have a couple different USB devices, a Ralink based wifi adaptor and a motorola V3 phone. There are drivers for both that I have, and work nativly on windows.

On native windows, autodetect devices takes care of selecting whatever is plugged in. I hate windows.

My question: Is there a way I can install or select drivers to be assigned to a USB device? In osx /dev is foreign to me, but im pretty sure the motorola is running under /dev/tty.usbmodem411
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

OSX Wine and USB Drivers

Post by austin987 »

On Tue, Jul 28, 2009 at 7:29 PM,
nucleardreamer<[email protected]> wrote:
I feel like a big fat noob. I know that autodetect from device isnt supported yet (says so on the selection box, under the drives tab of winecfg) but I was curious if I could get some help.

I have a couple different USB devices, a Ralink based wifi adaptor and a motorola V3 phone. There are drivers for both that I have, and work nativly on windows.

On native windows, autodetect devices takes care of selecting whatever is plugged in. I hate windows.

My question: Is there a way I can install or select drivers to be assigned to a USB device? In osx /dev is foreign to me, but im pretty sure the motorola is running under /dev/tty.usbmodem411
No. Wine doesn't support hardware drivers. That detection is to detect
hard drives/disk devices, not random hardware.

--
-Austin
nucleardreamer
Level 1
Level 1
Posts: 5
Joined: Tue Jul 28, 2009 7:11 pm

Good to know

Post by nucleardreamer »

That clears up a lot of what I was looking for. If I have a device that I will be using with a program (which already has drivers loaded for the device) is there a way I can specify in the winecfg where that device is?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

OSX Wine and USB Drivers

Post by austin987 »

On Tue, Jul 28, 2009 at 8:05 PM,
nucleardreamer<[email protected]> wrote:
That clears up a lot of what I was looking for. If I have a device that I will be using with a program (which already has drivers loaded for the device) is there a way I can specify in the winecfg where that device is?
What device? Wine doesn't directly interact with your hardware. It
depends on your native OS to interact with devices.

--
-Austin
nucleardreamer
Level 1
Level 1
Posts: 5
Joined: Tue Jul 28, 2009 7:11 pm

Post by nucleardreamer »

I am using a motorola v3 phone as the device i'm trying to read. That makes sense now. Since OSX only reads the device as a serial device with no drivers, you are saying there is no way I can interact with it via wine? Does wine support any kind of serial device interaction at all? Is there a way I can mount the device and then add it as a drive in wine?

I guess the part that I don't understand about wine is how it can interact with drives but not devices.

what im trying to do is config the phone via software thats windows native, basically. I already knew it more than likely not possible, but it's good to know about how wine works.
Vincent Povirk

OSX Wine and USB Drivers

Post by Vincent Povirk »

I guess the part that I don't understand about wine is how it can interact with drives but not devices.
I don't think this is entirely true. Drives and file i/o is treated
specially. COM ports are another special case. There is some
architecture in place to support drivers, but the drivers cannot
actually access any hardware at the moment.

--
Vincent Povirk
nucleardreamer
Level 1
Level 1
Posts: 5
Joined: Tue Jul 28, 2009 7:11 pm

Post by nucleardreamer »

ahhhh, ok, that makes sense! stupid windows...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

nucleardreamer wrote:Does wine support any kind of serial device interaction at all?
Yes, if this is USB->serial type of device (seems like it is) just make a symlink:

Code: Select all

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com4
Then, hopefully, your program will see it.
nucleardreamer
Level 1
Level 1
Posts: 5
Joined: Tue Jul 28, 2009 7:11 pm

awesome

Post by nucleardreamer »

thank you so much, that worked perfectly! haha, that was easy =)
Locked