xpl_happy_pedals
Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
| xpl_happy_pedals [2015/09/03 21:51] – [evtest] djbuldog | xpl_happy_pedals [2025/08/28 10:09] (aktuální) – upraveno mimo DokuWiki 127.0.0.1 | ||
|---|---|---|---|
| Řádek 27: | Řádek 27: | ||
| </ | </ | ||
| - | ====== lsinput | + | ===== lsinput ===== |
| < | < | ||
| Řádek 51: | Řádek 51: | ||
| </ | </ | ||
| - | ====== evtest | + | ===== evtest ===== |
| * eventX lze číst přes evtest nástroj | * eventX lze číst přes evtest nástroj | ||
| Řádek 149: | Řádek 149: | ||
| Testing ... (interrupt to exit) | Testing ... (interrupt to exit) | ||
| </ | </ | ||
| - | ===== zkoumání xpl ===== | + | |
| + | ===== lsusb ===== | ||
| + | |||
| + | < | ||
| + | Bus 001 Device 003: ID 046d:c215 Logitech, Inc. Extreme 3D Pro | ||
| + | Device Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bcdUSB | ||
| + | bDeviceClass | ||
| + | bDeviceSubClass | ||
| + | bDeviceProtocol | ||
| + | bMaxPacketSize0 | ||
| + | idVendor | ||
| + | idProduct | ||
| + | bcdDevice | ||
| + | iManufacturer | ||
| + | iProduct | ||
| + | iSerial | ||
| + | bNumConfigurations | ||
| + | Configuration Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | wTotalLength | ||
| + | bNumInterfaces | ||
| + | bConfigurationValue | ||
| + | iConfiguration | ||
| + | bmAttributes | ||
| + | (Bus Powered) | ||
| + | MaxPower | ||
| + | Interface Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bInterfaceNumber | ||
| + | bAlternateSetting | ||
| + | bNumEndpoints | ||
| + | bInterfaceClass | ||
| + | bInterfaceSubClass | ||
| + | bInterfaceProtocol | ||
| + | iInterface | ||
| + | HID Device Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bcdHID | ||
| + | bCountryCode | ||
| + | bNumDescriptors | ||
| + | bDescriptorType | ||
| + | wDescriptorLength | ||
| + | | ||
| + | ** UNAVAILABLE ** | ||
| + | Endpoint Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bEndpointAddress | ||
| + | bmAttributes | ||
| + | Transfer Type Interrupt | ||
| + | Synch Type | ||
| + | Usage Type | ||
| + | wMaxPacketSize | ||
| + | bInterval | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | Bus 005 Device 011: ID 2341:8036 Arduino SA Leonardo (CDC ACM, HID) | ||
| + | Device Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bcdUSB | ||
| + | bDeviceClass | ||
| + | bDeviceSubClass | ||
| + | bDeviceProtocol | ||
| + | bMaxPacketSize0 | ||
| + | idVendor | ||
| + | idProduct | ||
| + | bcdDevice | ||
| + | iManufacturer | ||
| + | iProduct | ||
| + | iSerial | ||
| + | bNumConfigurations | ||
| + | Configuration Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | wTotalLength | ||
| + | bNumInterfaces | ||
| + | bConfigurationValue | ||
| + | iConfiguration | ||
| + | bmAttributes | ||
| + | (Bus Powered) | ||
| + | MaxPower | ||
| + | Interface Association: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bFirstInterface | ||
| + | bInterfaceCount | ||
| + | bFunctionClass | ||
| + | bFunctionSubClass | ||
| + | bFunctionProtocol | ||
| + | iFunction | ||
| + | Interface Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bInterfaceNumber | ||
| + | bAlternateSetting | ||
| + | bNumEndpoints | ||
| + | bInterfaceClass | ||
| + | bInterfaceSubClass | ||
| + | bInterfaceProtocol | ||
| + | iInterface | ||
| + | CDC Header: | ||
| + | bcdCDC | ||
| + | CDC Call Management: | ||
| + | bmCapabilities | ||
| + | call management | ||
| + | bDataInterface | ||
| + | CDC ACM: | ||
| + | bmCapabilities | ||
| + | sends break | ||
| + | line coding and serial state | ||
| + | CDC Union: | ||
| + | bMasterInterface | ||
| + | bSlaveInterface | ||
| + | Endpoint Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bEndpointAddress | ||
| + | bmAttributes | ||
| + | Transfer Type Interrupt | ||
| + | Synch Type | ||
| + | Usage Type | ||
| + | wMaxPacketSize | ||
| + | bInterval | ||
| + | Interface Descriptor: | ||
| + | | ||
| + | bDescriptorType | ||
| + | bInterfaceNumber | ||
| + | bAlternateSetting | ||
| + | bNumEndpoints | ||
| + | bInterfaceClass | ||
| + | bInterfaceSubClass | ||
| + | bInterfaceProtocol | ||
| + | iInterface | ||
| + | Endpoint Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bEndpointAddress | ||
| + | bmAttributes | ||
| + | Transfer Type Bulk | ||
| + | Synch Type | ||
| + | Usage Type | ||
| + | wMaxPacketSize | ||
| + | bInterval | ||
| + | Endpoint Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bEndpointAddress | ||
| + | bmAttributes | ||
| + | Transfer Type Bulk | ||
| + | Synch Type | ||
| + | Usage Type | ||
| + | wMaxPacketSize | ||
| + | bInterval | ||
| + | Interface Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bInterfaceNumber | ||
| + | bAlternateSetting | ||
| + | bNumEndpoints | ||
| + | bInterfaceClass | ||
| + | bInterfaceSubClass | ||
| + | bInterfaceProtocol | ||
| + | iInterface | ||
| + | HID Device Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bcdHID | ||
| + | bCountryCode | ||
| + | bNumDescriptors | ||
| + | bDescriptorType | ||
| + | wDescriptorLength | ||
| + | | ||
| + | ** UNAVAILABLE ** | ||
| + | Endpoint Descriptor: | ||
| + | bLength | ||
| + | bDescriptorType | ||
| + | bEndpointAddress | ||
| + | bmAttributes | ||
| + | Transfer Type Interrupt | ||
| + | Synch Type | ||
| + | Usage Type | ||
| + | wMaxPacketSize | ||
| + | bInterval | ||
| + | </ | ||
| + | ====== zkoumání xpl ====== | ||
| * jak X-Plane zjístí seznam events? | * jak X-Plane zjístí seznam events? | ||
| - | | + | |
| < | < | ||
| Řádek 189: | Řádek 381: | ||
| open("/ | open("/ | ||
| open("/ | open("/ | ||
| + | </ | ||
| + | |||
| + | * oprávnění určitě měl!! | ||
| + | * dostal file deskriptor number | ||
| + | * a testoval jsem to i přes grep -i permission | ||
| + | * a navíc jsem to omylem spustil pod rootem :) | ||
| + | |||
| + | * a takhle X-Plane pozná, zda je tam nový device | ||
| + | |||
| + | < | ||
| + | inotify_add_watch(7, | ||
| </ | </ | ||
| * podle čeho se rozhodne, že se mu eventX líbí? | * podle čeho se rozhodne, že se mu eventX líbí? | ||
| + | < | ||
| + | open("/ | ||
| + | open("/ | ||
| + | open("/ | ||
| + | open("/ | ||
| + | open("/ | ||
| + | open("/ | ||
| + | open("/ | ||
| + | ioctl(30, EVIOCGBIT(EV_SYN, | ||
| + | ioctl(30, EVIOCGBIT(EV_KEY, | ||
| + | ioctl(30, EVIOCGBIT(EV_ABS, | ||
| + | fcntl(30, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 | ||
| + | ioctl(30, EVIOCGNAME(256), | ||
| + | ioctl(30, EVIOCGUNIQ(256), | ||
| + | ioctl(30, EVIOCGID, {ID_BUS=3, ID_VENDOR=1133, | ||
| + | ioctl(30, EVIOCGBIT(EV_KEY, | ||
| + | ioctl(30, EVIOCGBIT(EV_ABS, | ||
| + | ioctl(30, EVIOCGABS(ABS_X), | ||
| + | ioctl(30, EVIOCGABS(ABS_Y), | ||
| + | ioctl(30, EVIOCGABS(ABS_RZ), | ||
| + | ioctl(30, EVIOCGABS(ABS_THROTTLE), | ||
| + | open("/ | ||
| + | ioctl(31, EVIOCGBIT(EV_SYN, | ||
| + | ioctl(31, EVIOCGBIT(EV_KEY, | ||
| + | ioctl(31, EVIOCGBIT(EV_ABS, | ||
| + | close(31) | ||
| + | </ | ||
| + | |||
| + | ====== connected threads ====== | ||
| + | ====== založení vlákna ====== | ||
| + | |||
| + | * SUBJECTS SUGGESTIONS | ||
| + | * X-Plane doesn' | ||
| + | * BUG? X-Plane doesn' | ||
| + | * Why X-Plane doesn' | ||
| + | * TEXT: | ||
| + | * My XPL is 10.36+ | ||
| + | * My joystick based on arduino ... code | ||
| + | * Releated information | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * tohle je zajímavé!! bacha... linux port je na pokraji smrti. Važ negativní slova :) | ||
| + | * autorem toho nového joy api je Chris Serio | ||
| + | * http:// | ||
| + | * http:// | ||
| + | * PROVERIT!!! | ||
| + | * pak pokračovat na str3 | ||
| + | * Why it is not supported? | ||
| + | * Do anybody know what is XPL looking for in event device? How should I change the device? | ||
| + | * bump update | ||
| + | * I have construct another device... simulating the old one and the result is.... | ||
xpl_happy_pedals.1441309887.txt.gz · Poslední úprava: (upraveno mimo DokuWiki)
