Ich muss mich hier mal ranhängen.
Ich habe versucht die ähnlichen Sachen auszulesen wie in den Anfangsposts.
Abgesehen dass ich noch herausfinden muss, welcher Anschluss welches Gerät abbilden soll, weiss ich als Linux- Anfänger nicht was da wo einzutragen wäre.
Um Rat wäre ich sehr dankbar.
Code: Alles auswählen
pi@solaranzeige:~ $ lsusb
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT 232 Serial (UART) IC
Bus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT 232 Serial (UART) IC
Bus 001 Device 007: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 008: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@solaranzeige:~ $ hwinfo –usb
das zeigt extrem viele Infos
pi@solaranzeige:~ $ ls /sys/class/hidraw
hidraw0 hidraw1 hidraw3
pi@solaranzeige:~ $ usb-devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=05.10
S: Manufacturer=Linux 5.10.103-v7+ dwc_otg_hcd
S: Product=DWC OTG Controller
S: SerialNumber=3f980000.usb
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=2514 Rev=0b.b3
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 3
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=2514 Rev=0b.b3
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
T: Bus=01 Lev=03 Prnt=03 Port=00 Cnt=01 Dev#= 8 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=0424 ProdID=7800 Rev=03.00
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I: If#=0x0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=lan78xx
T: Bus=01 Lev=03 Prnt=03 Port=01 Cnt=02 Dev#= 5 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c52b Rev=12.01
S: Manufacturer=Logitech
S: Product=USB Receiver
C: #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=98mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
I: If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
I: If#=0x2 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid
T: Bus=01 Lev=03 Prnt=03 Port=02 Cnt=03 Dev#= 7 Spd=1.5 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=046d ProdID=c077 Rev=72.00
S: Manufacturer=Logitech
S: Product=USB Optical Mouse
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6001 Rev=06.00
S: Manufacturer=FTDI
S: Product=FT232R USB UART
S: SerialNumber=A50285BI
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=90mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6001 Rev=06.00
S: Manufacturer=FTDI
S: Product=FT232R USB UART
S: SerialNumber=AQ02MKN2
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=90mA
I: If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
pi@solaranzeige:~ $
ich werde es nicht schlau draus, was ich als USB-Device einzustellen habe -.-
Dev4 und Dev6 sind die RS232-USB Adapter.
Gruß und vielen Dank im Voraus!
Tante Edith sagt: in einer solaranzeige.log habe ich dies gefunden:
Sind dies die DeviceInfos, die ich brauche? Ich stell mich einfach zu doof an^^
18.07. 19:35:21 -USB Devices:
array (
1 =>
array (
'Device' => '0xc077',
'File' => '/dev/input/mice (/dev/input/mouse1)',
'Vendor' => 'usb 0x046d "Logitech, Inc."',
'Model' => 'Logitech M105 Optical Mouse',
'Driver Modules' => 'usbhid',
'Driver' => 'usbhid',
),
2 =>
array (
'Device' => '0x6001',
'File' => '/dev/ttyUSB0',
'Vendor' => 'usb 0x0403 "Future Technology Devices International, Ltd"',
'Model' => 'Future Technology Devices International FT232 Serial (UART) IC',
'Driver Modules' => 'usbserial, ftdi_sio',
'Driver' => 'ftdi_sio',
),
3 =>
array (
'Device' => '0x6001',
'File' => '/dev/ttyUSB1',
'Vendor' => 'usb 0x0403 "Future Technology Devices International, Ltd"',
'Model' => 'Future Technology Devices International FT232 Serial (UART) IC',
'Driver Modules' => 'usbserial, ftdi_sio',
'Driver' => 'ftdi_sio',
),
4 =>
array (
'Device' => '0x7800',
'File' => 'eth0',
'Vendor' => 'usb 0x0424 "Standard Microsystems Corp."',
'Model' => 'Standard Microsystems Ethernet controller',
'Driver Modules' => 'lan78xx',
'Driver' => 'lan78xx',
),
5 =>
array (
'Device' => '0x2514',
),
)