Wine, Air and USB

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
oliver.mentz
Newbie
Newbie
Posts: 2
Joined: Thu Feb 27, 2014 10:57 am

Wine, Air and USB

Post by oliver.mentz »

Hi

I've an unusual one for people - I have one of http://www.petzl.com/us/outdoor/headlamps/nao (headtoch) an it comes with windows / mac software which runs on Adobe Air. I've managed to install Air and the software via Wine (after updating to 1.7). Unfortunately the software doesn't seem to be detecting the torch being plugged into my USB port.

I'm unsure how to test if wine is able to pick up the USB and it's a problem with AIR / the software or if it's wine not detecting my torch as a USB device and therefore not passing it down the line. The laptop seems to have detected it:

Code: Select all

oliver@asus-u36-ubuntu:~$ dmesg | grep NAO
[12070.970313] input: PETZL NAO : USB Rechargeable Battery, PETZL.  as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.0/input/input12
[12070.970505] generic-usb 0003:2122:1A2A.0001: input,hiddev0,hidraw0: USB HID v1.11 Mouse [PETZL NAO : USB Rechargeable Battery, PETZL. ] on usb-0000:04:00.0-1/input0
[13181.177549] input: PETZL NAO : USB Rechargeable Battery, PETZL.  as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.0/input/input13
[13181.178324] generic-usb 0003:2122:1A2A.0002: input,hiddev0,hidraw0: USB HID v1.11 Mouse [PETZL NAO : USB Rechargeable Battery, PETZL. ] on usb-0000:04:00.0-1/input0
anyone able to offer some pointers?

Thanks in advance,

Ollie
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine, Air and USB

Post by dimesio »

Windows hardware drivers will not work in Wine, and Wine's support for USB devices is poor. If the device is pure serial over USB you might be able to make it work by symlinking it to COM1. http://www.winehq.org/docs/wineusr-guid ... ure#AEN901
oliver.mentz
Newbie
Newbie
Posts: 2
Joined: Thu Feb 27, 2014 10:57 am

Re: Wine, Air and USB

Post by oliver.mentz »

Shame usb isnt so universal eh. Oh well. Will try your suggestion and keep my fingers crossed. - How do I work :) out which device name to symlink? (Sorry a bit rusty on these things.)

Cheers for the tip anyway...
Locked