Re: [Directxwine-users] Directsound - usb
Status: Beta
Brought to you by:
oliverthered
|
From: Shane V. <sha...@ya...> - 2005-08-12 14:59:28
|
Jean, I think that is your problem, he is trying to access the joystick directly through the USB driver and unless he uses the opensource usblib driver then it won't work. Linux accesses it through the standard HID driver and creates a device driver "/dev/input/js0" so any Linux program can access it the same way they would access any other gamepad/joystick. Maybe if he was treating it like a standard windows game controller and using the Windows gamecontroller manager Wine could handle it. Please note that I'm not an expert on this subject so the information up above may not be 100% accurate, I will do more research this weekend and see if I can't give you better input. Regards, Shane --- Ellianef Jean <jel...@ya...> wrote: > Hi Shane, > The sim is IPACS Aerogly Pro Deluxe. > The xmitter is well recognized as a 7 channels, 6 > buttons in Linux. I just had to install the joystick > package and add a modprobe joydev. > jstest works fine and detcts the joystick. > So I've asked a developer fro IPACS and he told me > he > just get an handle for the usb port and do read and > write file. So i's very straight and simple. > But wine doesn't respond (or the response is wrong) > to > the first request for a handle. If this behaviour is > implemented, we can test further the sim. > > Here are the lines from dmesg: > Aug 9 22:23:42 localhost kernel: usb 3-1: new low > speed USB device using uhci_hcd and address 4 > Aug 9 22:23:43 localhost kernel: usbcore: > registered > new driver hiddev > Aug 9 22:23:43 localhost kernel: input: USB HID > v1.00 > Joystick [IPACS Ikarus Interface] on > usb-0000:00:1d.2-1 > Aug 9 22:23:43 localhost kernel: usbcore: > registered > new driver usbhid > Aug 9 22:23:43 localhost kernel: > drivers/usb/input/hid-core.c: v2.01:USB HID core > driver > Aug 9 22:23:43 localhost hal.hotplug[32263]: > DEVPATH > is not set > So the js is well known at the kernel level, and > /dev/input/js0 is well created. > > What is missing for wine to find the usb port ? > Thanks. > > --- Shane Volpe <sha...@ya...> a écrit : > > > Jean, > > I believe wine only supports USB drivers that are > > supported by the Linux kernel. If there is no > > kernel > > module for your joystick then it will not be > > supported, unless it uses the standard USB HID > > driver > > which does have support for many different kinds > of > > buttons and joystick/flight-stick features. Wine > > will > > not allow you to run a windows driver. > > > > This point has been discussed in several treads > and > > I > > think most have concluded that the best approach > > would > > be to create a project to develop a USB wrapper > > (similar to nswrapper for wireless network cards) > in > > Linux for the windows drivers, this would allow > both > > native Linux programs and Wine programs to use the > > driver were as just having wine load the win > driver > > would only allow Wine programs to access it. > > Unfortunately I don't believe the USB wrapper > > project > > has even been started yet. > > What RC sim is it that you are running, I have > > tried, > > unsuccessfully to get RealFlight working with wine > > and > > would love to know of one that does work. > > > > I do not know anything about the state of sound > for > > Directx. > > > > Regards, > > Shane > > --- Ellianef Jean <jel...@ya...> wrote: > > > > > Hello, > > > I'm trying to run a rc models flight simulator. > > > I've compiled the latest wine and now the sim > > starts > > > fine , but I get no sound. Is directsound > enabled > > ? > > > By the way, the sim uses an usb joystick > interface > > > to > > > connect the rc transmitter and use it as a > > joystick > > > with 7 channels and 6 buttons. I've seen on the > > net > > > that wine-usb is not yet implemented. > > > As directx runs with wine, we urge to get our > > > joystick > > > to work also. > > > For info, the sim's start animation runs very > > > smoothly > > > with my geforce FX5700 card. If I could evaluate > > the > > > speed, it seems around 150-200 fps .As I can't > > pass > > > the joystick test, the speed is not displayed > but > > > the > > > animation runs quite at the same speed as under > > > windows. > > > Thanks a lot. > > > > > > J Ellianeff > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________________________ > > > > > > Appel audio GRATUIT partout dans le monde avec > le > > > nouveau Yahoo! Messenger > > > Téléchargez cette version sur > > > http://fr.messenger.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software > > > Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * > > > Development Lifecycle Practices > > > Agile & Plan-Driven Development * Managing > > Projects > > > & Teams * Testing & QA > > > Security * Process Improvement & Measurement * > > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Directxwine-users mailing list > > > Dir...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/directxwine-users > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing > Projects > > & Teams * Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Directxwine-users mailing list > > Dir...@li... > > > https://lists.sourceforge.net/lists/listinfo/directxwine-users > > > > > J Ellianeff > > > > > > > ___________________________________________________________________________ > > Appel audio GRATUIT partout dans le monde avec le > nouveau Yahoo! Messenger > Téléchargez cette version sur > http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Directxwine-users mailing list > Dir...@li... > https://lists.sourceforge.net/lists/listinfo/directxwine-users > |