Usb ports

Questions about Wine on macOS.
Locked
ELIOGARGIULO
Newbie
Newbie
Posts: 2
Joined: Sun Nov 06, 2022 5:15 pm

Usb ports

Post by ELIOGARGIULO »

how is it possible to recognize the usb ports for hardware keys and printers? otherwise the program is useless
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Usb ports

Post by Gcenx »

You’d need to compile with against libusb, however this doesn’t guarantee your application will now see the USB key.

When running wine built against libusb wine will end up claiming all usb devices until all wine processes exit.
ELIOGARGIULO
Newbie
Newbie
Posts: 2
Joined: Sun Nov 06, 2022 5:15 pm

Re: Usb ports

Post by ELIOGARGIULO »

libusb? whati is this?
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Usb ports

Post by Gcenx »

ELIOGARGIULO wrote: Tue Nov 08, 2022 1:45 am libusb? whati is this?
It’s the libusb is the library that wine uses to communicate with usb devices. You’d need to compile wine from source and configure needs to find it.
Locked