dedicated usb support

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Jörg Kühne

dedicated usb support

Post by Jörg Kühne »

hi wine user group

I try to run a model aircraft simulator (aerofly professional deluxe) with wine. the installation was a success. after that, I can start the simulator but it doesn't identify the usb game commander (at least a 4 channel usb device). but the kde desktop control center detect the right device IPACS Ikarus Gamecommander (/dev/input/js1). how I get support for this device under wine?

thanks in advance.

best regards.

joerg
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: dedicated usb support

Post by vitamin »

Jörg Kühne wrote:hi wine user group

I try to run a model aircraft simulator (aerofly professional deluxe) with wine. the installation was a success. after that, I can start the simulator but it doesn't identify the usb game commander (at least a 4 channel usb device). but the kde desktop control center detect the right device IPACS Ikarus Gamecommander (/dev/input/js1). how I get support for this device under wine?
If it's a joystick, it needs to have at least one button or Wine doesn't think it is a joystick.
Second, you should test if you have access to that device (you should) with

Code: Select all

jstest /dev/input/js1
If that works, then Wine should see your joystick. Unless it looks for a particular name of the device.
Jörg Kühne

dedicated usb support

Post by Jörg Kühne »

-------- Original-Nachricht --------
Datum: Mon, 22 Sep 2008 15:43:21 -0500
Von: "vitamin" <[email protected]>
An: [email protected]
Betreff: [Wine] Re: dedicated usb support
Jörg Kühne wrote:
hi wine user group

I try to run a model aircraft simulator (aerofly professional deluxe)
with wine. the installation was a success. after that, I can start the
simulator but it doesn't identify the usb game commander (at least a 4 channel
usb device). but the kde desktop control center detect the right device
IPACS Ikarus Gamecommander (/dev/input/js1). how I get support for this device
under wine?


If it's a joystick, it needs to have at least one button or Wine doesn't
think it is a joystick.
Second, you should test if you have access to that device (you should)
with

Code:
jstest /dev/input/js1


If that works, then Wine should see your joystick. Unless it looks for a
particular name of the device.

hi wine user group

the following gives jstest /dev/input/js0:

Driver version is 2.1.0.
Joystick (IPACS Ikarus Gamecommander) has 7 axes (X, Y, Z, Rx, Ry, Rz, Throttle)
and 6 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:off 2:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1:-17229 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1:-17229 2:-17905 3: 0 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1:-17229 2:-17905 3:-32767 4: 0 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1:-17229 2:-17905 3:-32767 4:-32767 5: 0 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1:-17229 2:-17905 3:-32767 4:-32767 5:-17229 6: 0 Buttons: 0:on 1:on 2:off
Axes: 0:-17229 1:-17229 2:-17905 3:-32767 4:-32767 5:-17229 6:-32431 Buttons: 0:on 1:on 2:off 3:off 4:off 5:off

but wine doesn't detect or map them to the application (model aircraft simulator).

thanks for your ideas in advance

best regards

joerg

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: dedicated usb support

Post by vitamin »

Jörg Kühne wrote:Driver version is 2.1.0.
Joystick (IPACS Ikarus Gamecommander) has 7 axes (X, Y, Z, Rx, Ry, Rz, Throttle)
and 6 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2, PinkieBtn).

but wine doesn't detect or map them to the application (model aircraft simulator).
Do you get any additional output when running Wine with 'WINEDEBUG=+dinput wine your_program.exe
Jörg Kühne wrote: --
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Remove this crap.
Jörg Kühne

dedicated usb support

Post by Jörg Kühne »

-------- Original-Nachricht --------
Datum: Tue, 23 Sep 2008 19:42:59 -0500
Von: "vitamin" <[email protected]>
An: [email protected]
Betreff: [Wine] Re: dedicated usb support
Jörg Kühne wrote:
Driver version is 2.1.0.
Joystick (IPACS Ikarus Gamecommander) has 7 axes (X, Y, Z, Rx, Ry, Rz,
Throttle)
and 6 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2,
PinkieBtn).
but wine doesn't detect or map them to the application (model aircraft
simulator).


Do you get any additional output when running Wine with 'WINEDEBUG=+dinput
wine your_program.exe


Jörg Kühne wrote:
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen: http://www.gmx.net/de/go/multimessenger


Remove this crap.



Dear wine user group

I couldn't start the application in a terminal. After the installation of the simulator an icon was created. The following are the start commands on the icon properties:
command: env WINEPREFIX="/root/.wine" wine "C:\Program Files\IPACS\AeroFly Professional Deluxe\flyrun.exe"
working directory: /root/.wine/dosdevices/c:/Program Files/IPACS/AeroFly Professional Delux

May someone has an idea how I get to the debug information --> WINEDEBUG=+dinput wine your_program.exe

thanks in advance.

best regards.

joerg

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: dedicated usb support

Post by vitamin »

don't run Wine as root!!!
Jörg Kühne

dedicated usb support

Post by Jörg Kühne »

-------- Original-Nachricht --------
Datum: Tue, 23 Sep 2008 19:42:59 -0500
Von: "vitamin" <[email protected]>
An: [email protected]
Betreff: [Wine] Re: dedicated usb support
Jörg Kühne wrote:
Driver version is 2.1.0.
Joystick (IPACS Ikarus Gamecommander) has 7 axes (X, Y, Z, Rx, Ry, Rz,
Throttle)
and 6 buttons (Trigger, ThumbBtn, ThumbBtn2, TopBtn, TopBtn2,
PinkieBtn).
but wine doesn't detect or map them to the application (model aircraft
simulator).


Do you get any additional output when running Wine with 'WINEDEBUG=+dinput
wine your_program.exe


Jörg Kühne wrote:
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
allen: http://www.gmx.net/de/go/multimessenger


Remove this crap.



Dear wine user group

I couldn't start the application in a terminal. After the installation of the simulator an icon was created. The following are the start commands on the icon properties:
command: env WINEPREFIX="/root/.wine" wine "C:\Program Files\IPACS\AeroFly Professional Deluxe\flyrun.exe"
working directory: /root/.wine/dosdevices/c:/Program Files/IPACS/AeroFly Professional Delux

May someone has an idea how I get to the debug information --> WINEDEBUG=+dinput wine your_program.exe

thanks in advance.

best regards.

joerg

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



Dear wine user group, dear vitamin

I removed the whole installation under the root path and reinstalled the application to the user directory -thanks to mr. vitamin.
But the effect is the same - the usb interface has not be enabled although the driver works correctly, see
above driver version 2.1.0.
command: env WINEPREFIX="/home/joerg.kuehne/.wine" wine "C:\Programme\IPACS\AeroFly Professional Deluxe\flyrun.exe"
working directory: /home/joerg.kuehne/.wine/dosdevices/c:/Programme/IPACS/AeroFly Professional Deluxe
May someone has an idea how I get to the debug information --> WINEDEBUG=+dinput wine your_program.exe

thanks in advance.

best regards.

joerg
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview ... ext_mf@gmx
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Re: dedicated usb support

Post by Usurp »

Jörg Kühne wrote:Dear wine user group

I couldn't start the application in a terminal. After the installation of the simulator an icon was created. The following are the start commands on the icon properties:
command: env WINEPREFIX="/root/.wine" wine "C:\Program Files\IPACS\AeroFly Professional Deluxe\flyrun.exe"
working directory: /root/.wine/dosdevices/c:/Program Files/IPACS/AeroFly Professional Delux
that means you still ran the installation process with the root user.
wineappdb

dedicated usb support

Post by wineappdb »

command: env WINEPREFIX="/root/.wine" wine "C:\Program Files\IPACS\AeroFly Professional
Never Never run wine as root!

http://wiki.winehq.org/FAQ#head-96bebfa ... 78b0d41014
Locked