Need help with a USB device under Wine

Questions about Wine on Linux
Locked
kanyck
Newbie
Newbie
Posts: 2
Joined: Fri Aug 19, 2016 7:23 am

Need help with a USB device under Wine

Post by kanyck »

Hi everybody!

I'm trying to get working the Sigma USB Dock under Linux (device to customize and make adjustments to connected lens).
Sigma provides software for MacOS and Windows.
The app installs and runs fine... except it doesn't see the lens in the dock.
dmesg output as follows:
[16850.655052] usb 5-1.1: new high-speed USB device number 5 using xhci_hcd
[16850.737818] usb 5-1.1: New USB device found, idVendor=04b0, idProduct=0439
[16850.737823] usb 5-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[16850.737826] usb 5-1.1: Product: NIKON DSC D7200
[16850.737829] usb 5-1.1: Manufacturer: NIKON
[16850.737831] usb 5-1.1: SerialNumber: 0000004355785
[16901.205393] usb 5-1.1: USB disconnect, device number 5
[18761.287496] usb 5-1.3: new full-speed USB device number 6 using xhci_hcd
[18761.374524] usb 5-1.3: New USB device found, idVendor=1003, idProduct=8781
[18761.374528] usb 5-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18761.374529] usb 5-1.3: Product: USB-DOCK
[18761.374530] usb 5-1.3: Manufacturer: SIGMA
[18761.374531] usb 5-1.3: SerialNumber: USB-DOCK
[18771.377976] hid-generic 0003:1003:8781.0005: timeout initializing reports
[18771.378103] input: SIGMA USB-DOCK as /devices/pci0000:00/0000:00:10.0/usb5/5-1/5-1.3/5-1.3:1.0/0003:1003:8781.0005/input/input20
[18771.431179] hid-generic 0003:1003:8781.0005: input,hidraw2: USB HID v1.10 Device [SIGMA USB-DOCK] on usb-0000:00:10.0-1.3/input0
Will I have any luck with this under Wine or I'll have to set the virtual machine up to run native windows under it?
(I have pretty thorough experience with linux but very limited one with windows).
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Need help with a USB device under Wine

Post by Bob Wya »

kanyck wrote: ...
Will I have any luck with this under Wine or I'll have to set the virtual machine up to run native windows under it?
(I have pretty thorough experience with linux but very limited one with windows).
USB support in Wine is very rudimentary (it will only be able to see USB devices that the Linux kernel sees as a serial device). Richer support was meant to be introduced in Wine version 1.4 (I think) - but then got abandoned due to the complexity!

A VM-based solution would definitely be the "easiest" way to go.

I would just add a note to hassle the manufacturer - about the lack of a native Linux driver... It's 2016 people!! :evil:
I try to do this - when I can! It's sometimes the only way this sort of issue even gets on their radar!

Bob
kanyck
Newbie
Newbie
Posts: 2
Joined: Fri Aug 19, 2016 7:23 am

Re: Need help with a USB device under Wine

Post by kanyck »

Thanks Bob!
So the VM... Not sure I still have any Windows CD... So many years have gone...
At least you've saved a lot of my time and efforts -- given that I don't understand how exactly it shall work I'd go try-and-fail... and eventually would fail anyway.
Cheers@!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Need help with a USB device under Wine

Post by Bob Wya »

kanyck wrote:Thanks Bob!
So the VM... Not sure I still have any Windows CD... So many years have gone...
At least you've saved a lot of my time and efforts -- given that I don't understand how exactly it shall work I'd go try-and-fail... and eventually would fail anyway.
Cheers@!
Just to add further comment... Well why not... Talk is cheap after all 8)

It's been very quiet, on the wine-devel ML, about USB support in recent years. Most of the current focus is on DirectX 10.1/11 API support.
I did manage to dredge up a fairly recent Phoronix article about the subject of USB Support.
tl;dr... it would need a focused, organised team of experienced developers. It's not really feasible for a single developer to tackle or as a GSOC project!

Microsoft do offer "free" VM images of their OS to developers - which are time-limited (90 days) ... That might be of some use to you?

Bob
Locked