<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to USB Gerät auslesen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/</id><updated>2020-02-28T04:02:57.395000Z</updated><subtitle>Recent posts to USB Gerät auslesen</subtitle><entry><title>USB Gerät auslesen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/?limit=25#04fa" rel="alternate"/><published>2020-02-28T04:02:57.395000Z</published><updated>2020-02-28T04:02:57.395000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com35f3de46a6172dffc652678199736abd2b5ae6d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;versuch es mal damit als Startpunkt.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://members.aon.at/mfranz/warthog.html" rel="nofollow"&gt;http://members.aon.at/mfranz/warthog.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;wenn der sich als normales HID Device ansprechen lässt wäre das schon mal der erste Schritt.&lt;br/&gt;
Keine Ahnung ob es wirklich hilft.&lt;/p&gt;
&lt;p&gt;Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>USB Gerät auslesen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/?limit=25#d489" rel="alternate"/><published>2020-02-28T04:02:55.429000Z</published><updated>2020-02-28T04:02:55.429000Z</updated><author><name>mikegoesunder</name><uri>https://forge.codesys.com/u/mikegoesunder/</uri></author><id>https://forge.codesys.com25603694d20c11961a709153809d1a7149b3c787</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo, &lt;/p&gt;
&lt;p&gt;ich habe jetzt den Joystick hier.&lt;/p&gt;
&lt;p&gt;mit dmesg erhalte ich folgende ausgabe&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[151619.559498]&lt;/span&gt; usb 1-1.2: new full-speed USB device number 5 using dwc_otg&lt;br/&gt;
&lt;span&gt;[151619.664291]&lt;/span&gt; usb 1-1.2: New USB device found, idVendor=044f, idProduct=0402&lt;br/&gt;
&lt;span&gt;[151619.664322]&lt;/span&gt; usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumbe                                                                                                                                                             r=0&lt;br/&gt;
&lt;span&gt;[151619.664339]&lt;/span&gt; usb 1-1.2: Product: Joystick - HOTAS Warthog&lt;br/&gt;
&lt;span&gt;[151619.664354]&lt;/span&gt; usb 1-1.2: Manufacturer: Thustmaster&lt;br/&gt;
&lt;span&gt;[151619.676314]&lt;/span&gt; input: Thustmaster Joystick - HOTAS Warthog as /devices/platform                                                                                                                                                             /soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:044F:0402.0001/input/input0&lt;br/&gt;
&lt;span&gt;[151619.677013]&lt;/span&gt; hid-generic 0003:044F:0402.0001: input,hidraw0: USB HID v1.11 Jo                                                                                                                                                             ystick &lt;span&gt;[Thustmaster Joystick - HOTAS Warthog]&lt;/span&gt; on usb-3f980000.usb-1.2/input0&lt;/p&gt;
&lt;p&gt;hier wird der Thustmaster HOTAS Warthog joystick erkannt.&lt;/p&gt;
&lt;p&gt;und mit lsusb bekomme ich folgende ausgabe:&lt;/p&gt;
&lt;p&gt;pi@raspberrypi:~ $ lsusb&lt;br/&gt;
Bus 001 Device 004: ID 064f:03e9 WIBU-Systems AG CmStick (article no. 1001)&lt;br/&gt;
Bus 001 Device 005: ID 044f:0402 ThrustMaster, Inc.&lt;br/&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter&lt;br/&gt;
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.&lt;br/&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;/p&gt;
&lt;p&gt;auch hier wird er erkannt.&lt;/p&gt;
&lt;p&gt;da ich mit Linux und in Gerätedateien nicht wirklich fit bin würde ich mich freuen wenn ich Hilfe bekommen könnte, diesen &lt;br/&gt;
joystick in Codesys einzubinden und abzufragen.&lt;/p&gt;
&lt;p&gt;gruß michl&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>USB Gerät auslesen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/?limit=25#3dd2" rel="alternate"/><published>2020-02-28T04:02:49.871000Z</published><updated>2020-02-28T04:02:49.871000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com533922e5bfb2c5e2d6de0dda2079feea57d646e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;schau mal wie sicher der Joystick unter Linux meldet... dmesg und lsusb&lt;br/&gt;
vielleicht gibt es ja ein device welches man auslesen kann und damit tasten usw sieht&lt;br/&gt;
Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>USB Gerät auslesen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/7719e35a53/?limit=25#8247" rel="alternate"/><published>2020-02-28T04:02:47.734000Z</published><updated>2020-02-28T04:02:47.734000Z</updated><author><name>mikegoesunder</name><uri>https://forge.codesys.com/u/mikegoesunder/</uri></author><id>https://forge.codesys.com82d21b2023735b19a37014325b080d38562de316</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo, &lt;/p&gt;
&lt;p&gt;hat jemand Erfahrung USB Geräte unter Codesys auf dem Raspberry auszulesen?&lt;br/&gt;
Vorweg: ich habe bereits den Joystick "trustmaster hortas warthog" an einem USB Shield auf einen &lt;br/&gt;
Arduino am Laufen. Hierzu habe ich das Protokoll des Joysticks geparst und kann jetzt alle &lt;br/&gt;
Steuerbefehle sowie Tasten auslesen.&lt;br/&gt;
Jetzt möchte ich das gleiche über einen USB Port am Raspberry unter Codesys realisieren.&lt;/p&gt;
&lt;p&gt;Bitte dringend um Hilfe&lt;/p&gt;
&lt;p&gt;gruß Michl&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>