[Flightgear-devel] CH pedals

2005-05-27 Thread Luuk van Hal

I got it working now, I made a mistake in patching the module joydev.o
Now I have to adjust the xml files to get the 14 axes working.



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] CH pedals

2005-05-26 Thread Luuk van Hal

Hi,

i've recently discovered this url: 
http://sourceforge.net/mailarchive/message.php?msg_id=1389791
in which is explaned what the problem is with the CH product pro pedals. Now 
I've compiled the pedals in joydev.c and hid-core.c and can see the


hid-core.c: hid_init_reports usb_set_idle()=-911

in dmesg, but still the joystick isn't recognised with js_demo. I've copied 
the entire dmesg output, since I can't really tell what is relevant and what 
isn't.


First lsmod, I need to load every module you see here. it doesn't work if i 
don't


[EMAIL PROTECTED] operat]# lsmod
Module  Size  Used by
ehci-hcd   25732   0  (unused)
joydev  6060   0
hid22404   0  (unused)
input   5312   0  (autoclean) [joydev hid]
nvidia   3859036   6
rtnet  53768   0
rtai_rtdm  12900   0  [rtnet]
rtai_shm7368   0
rtai_fifos 17672   0
rtai_sched_up  48241   0  [rtnet rtai_rtdm]
rtai   39616   2  [rtnet rtai_rtdm rtai_shm rtai_fifos 
rtai_sched_up]

3c59x  29552   1
usb-uhci   26668   0  (unused)
usbcore83616   1  [ehci-hcd hid usb-uhci]

you can see it still doesn't work.what am i doing wrong? I'm already 
trying everything for 2 weeks


greetings

Luuk van Hal

[EMAIL PROTECTED] operat]# js_demo
Joystick test program.
~~
Joystick 0: CH PRODUCTS CH THROTTLE QUADRANT
Joystick 1: CH PRODUCTS CH FLIGHT SIM YOKE USB 
Joystick 2 not detected
Joystick 3 not detected
Joystick 4 not detected
Joystick 5 not detected
Joystick 6 not detected
Joystick 7 not detected
+JS.0--+JS.1--+
| Btns Ax:0 Ax:1 Ax:2 Ax:3 Ax:4 Ax:5   | Btns Ax:0 Ax:1 Ax:2 Ax:3 
Ax:4 Ax:5 Ax:6  |

+--+--+
|  -1.0 -1.0 -1.0 -1.0 -1.0 -1.0   ..  |  -0.1 -0.2 +1.0 +1.0 
+1.0 +0.0 +0.0   .  |



[EMAIL PROTECTED] operat]# dmesg
A PERIODIC TIMER *
*** LINUX TICK AT 100 (HZ) ***
*** CALIBRATED CPU FREQUENCY 3192095000 (HZ) ***
*** CALIBRATED TIMER-INTERRUPT-TO-SCHEDULER LATENCY 2688 (ns) ***
*** CALIBRATED ONE SHOT SETUP TIME 2010 (ns) ***

RTDM Version 0.5.0

*** RTnet 0.7.0 - built on Jul 28 2004 15:05:34 ***

RTnet: initialising real-time networking
RTnet: stack-mgr started
RTDM: registered protocol device 2:2
RTDM: registered protocol device 17:2
8139too-rt Fast Ethernet driver 0.9.24-rt0.2
PCI: Found IRQ 11 for device 01:00.0
PCI: Sharing IRQ 11 with 00:1d.0
PCI: Sharing IRQ 11 with 00:1d.3
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-7174  Tue Mar 22 
06:44:39 PST 2005

meminit hack
PCI: Found IRQ 5 for device 02:03.0
PCI: Sharing IRQ 5 with 00:1d.1
spurious 8259A interrupt: IRQ7.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik [EMAIL PROTECTED]
hid-core.c: USB HID support drivers
PCI: Found IRQ 9 for device 00:1d.7
PCI: Setting latency timer of device 00:1d.7 to 64
ehci_hcd 00:1d.7: Intel Corp. 82801EB USB2
ehci_hcd 00:1d.7: irq 9, pci mem e1e15000
usb.c: new USB bus registered, assigned bus number 5
ehci_hcd 00:1d.7: ehci_start hcs_params 0x104208 dbg=1 cc=4 pcc=2 ordered 
!ppc ports=8
ehci_hcd 00:1d.7: ehci_start hcc_params 6871 thresh 7 uframes 1024 64 bit 
addr

ehci_hcd 00:1d.7: capability 10001 at 68
ehci_hcd 00:1d.7: BIOS handoff succeeded
ehci_hcd 00:1d.7: reset command 080012 (park)=0 ithresh=8 Periodic 
period=1024 Reset HALT

ehci_hcd 00:1d.7: enabled 64bit PCI DMA
PCI: cache line size of 128 is not supported by device 00:1d.7
ehci_hcd 00:1d.7: init command 010001 (park)=0 ithresh=1 period=1024 RUN
ehci_hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hcd.c: 00:1d.7 root hub device address 1
hub.c: port 1, portstatus 100, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 1, 12 Mb/s
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
usb.c: kmalloc IF cfd9af00, numif 1
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Manufacturer: Linux 2.4.24-rthal5 ehci_hcd
Product: Intel Corp. 82801EB USB2
SerialNumber: 00:1d.7
hub.c: USB hub found
hub.c: 8 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: Single TT
hub.c: TT requires at most 8 FS bit times
hub.c: Port indicators are not supported
hub.c: power on to power good time: 0ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: 
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface cfd9af00
usb.c: kusbd: /sbin/hotplug add 1
ehci_hcd 00:1d.7: GetStatus port 1 status 001803 POWER sig=j  CSC CONNECT