Udev Regel für 2 Quademouse ??

Fragen oder Probleme?
ralle61
IPC Neuling
Beiträge: 8
Registriert: Di 6. Nov 2012, 20:02
Kontaktdaten:

Udev Regel für 2 Quademouse ??

Beitrag von ralle61 »

Hallo, ich bekomme bei dem folgenden befehl dmesg|grep usb die folgende anzeige:

angeschlossen sind 2 quadmouese über einen aktiven hub, Hardware Ondroid c2 mit aktuellem jessie 8.4
Spoiler
Show
login as: root
root@192.168.178.45's password:
Willkommen am Debian CS-Server IPC :-)
IPC Befehle : ipc : i
CCcam Befehle : cccam : c
OScam Befehle : oscam : o
NewCS Befehle : newcs : n
Camd3 Befehle : camd3 : c3
sBox Befehle : sbox : s
OSEmu Befehle : osemu : oe


Last login: Tue Apr 19 22:57:37 2016 from ralf.fritz.box
root@odroidc2 ~ > dmesg|grep usb
[ 0.185588] usbcore: registered new interface driver usbfs
[ 0.185619] usbcore: registered new interface driver hub
[ 0.185665] usbcore: registered new device driver usb
[ 0.407439] usbcore: registered new interface driver cdc_ether
[ 0.407491] usbcore: registered new interface driver cdc_ncm
[ 0.407713] usbcore: registered new interface driver cdc_acm
[ 0.407750] usbcore: registered new interface driver usb-storage
[ 0.407827] usbcore: registered new interface driver usbserial
[ 0.408943] usbcore: registered new interface driver usbhid
[ 0.408946] usbhid: USB HID core driver
[ 0.450881] dwc_otg: usb1: type: 1 speed: 0, config: 0, dma: 0, id: 1, phy: c0000020, ctrl: 0
[ 0.456699] dwc_otg: usb0: type: 0 speed: 0, config: 0, dma: 0, id: 0, phy: c0000000, ctrl: 0
[ 0.736105] usbcore: registered new interface driver snd-usb-audio
[ 0.826934] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.307206] usb 1-1.4: new high-speed USB device number 3 using dwc_otg
[ 6.584840] usbcore: registered new interface driver ftdi_sio
[ 6.584895] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 6.585104] usb 1-1.4: Detected FT4232H
[ 6.585110] usb 1-1.4: Number of endpoints 2
[ 6.585115] usb 1-1.4: Endpoint 1 MaxPacketSize 512
[ 6.585120] usb 1-1.4: Endpoint 2 MaxPacketSize 512
[ 6.585125] usb 1-1.4: Setting MaxPacketSize 512
[ 6.585589] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
[ 6.585696] usb 1-1.4: Detected FT4232H
[ 6.585702] usb 1-1.4: Number of endpoints 2
[ 6.585707] usb 1-1.4: Endpoint 1 MaxPacketSize 512
[ 6.585712] usb 1-1.4: Endpoint 2 MaxPacketSize 512
[ 6.585717] usb 1-1.4: Setting MaxPacketSize 512
[ 6.586031] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB1
[ 6.586135] usb 1-1.4: Detected FT4232H
[ 6.586141] usb 1-1.4: Number of endpoints 2
[ 6.586146] usb 1-1.4: Endpoint 1 MaxPacketSize 512
[ 6.586151] usb 1-1.4: Endpoint 2 MaxPacketSize 512
[ 6.586156] usb 1-1.4: Setting MaxPacketSize 512
[ 6.586548] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB2
[ 6.586653] usb 1-1.4: Detected FT4232H
[ 6.586658] usb 1-1.4: Number of endpoints 2
[ 6.586664] usb 1-1.4: Endpoint 1 MaxPacketSize 512
[ 6.586669] usb 1-1.4: Endpoint 2 MaxPacketSize 512
[ 6.586674] usb 1-1.4: Setting MaxPacketSize 512
[ 6.587716] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB3
[ 34.261089] usb 1-1.4: USB disconnect, device number 3
[ 36.037280] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 36.139178] usb 1-1.2: Detected FT4232H
[ 36.139196] usb 1-1.2: Number of endpoints 2
[ 36.139212] usb 1-1.2: Endpoint 1 MaxPacketSize 512
[ 36.139227] usb 1-1.2: Endpoint 2 MaxPacketSize 512
[ 36.139242] usb 1-1.2: Setting MaxPacketSize 512
[ 36.139869] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
[ 36.140710] usb 1-1.2: Detected FT4232H
[ 36.140727] usb 1-1.2: Number of endpoints 2
[ 36.140743] usb 1-1.2: Endpoint 1 MaxPacketSize 512
[ 36.140767] usb 1-1.2: Endpoint 2 MaxPacketSize 512
[ 36.140782] usb 1-1.2: Setting MaxPacketSize 512
[ 36.141311] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB1
[ 36.142032] usb 1-1.2: Detected FT4232H
[ 36.142048] usb 1-1.2: Number of endpoints 2
[ 36.142063] usb 1-1.2: Endpoint 1 MaxPacketSize 512
[ 36.142079] usb 1-1.2: Endpoint 2 MaxPacketSize 512
[ 36.142093] usb 1-1.2: Setting MaxPacketSize 512
[ 36.142561] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB2
[ 36.143306] usb 1-1.2: Detected FT4232H
[ 36.143323] usb 1-1.2: Number of endpoints 2
[ 36.143339] usb 1-1.2: Endpoint 1 MaxPacketSize 512
[ 36.143354] usb 1-1.2: Endpoint 2 MaxPacketSize 512
[ 36.143369] usb 1-1.2: Setting MaxPacketSize 512
[ 36.143943] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB3
[ 52.954073] usb 1-1.2: USB disconnect, device number 4
[ 58.067283] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[ 60.047134] usb 1-1.4.1: new high-speed USB device number 6 using dwc_otg
[ 60.149134] usb 1-1.4.1: Detected FT4232H
[ 60.149152] usb 1-1.4.1: Number of endpoints 2
[ 60.149168] usb 1-1.4.1: Endpoint 1 MaxPacketSize 512
[ 60.149184] usb 1-1.4.1: Endpoint 2 MaxPacketSize 512
[ 60.149199] usb 1-1.4.1: Setting MaxPacketSize 512
[ 60.149750] usb 1-1.4.1: FTDI USB Serial Device converter now attached to ttyUSB0
[ 60.150653] usb 1-1.4.1: Detected FT4232H
[ 60.150680] usb 1-1.4.1: Number of endpoints 2
[ 60.150696] usb 1-1.4.1: Endpoint 1 MaxPacketSize 512
[ 60.150712] usb 1-1.4.1: Endpoint 2 MaxPacketSize 512
[ 60.150726] usb 1-1.4.1: Setting MaxPacketSize 512
[ 60.151242] usb 1-1.4.1: FTDI USB Serial Device converter now attached to ttyUSB1
[ 60.152108] usb 1-1.4.1: Detected FT4232H
[ 60.152125] usb 1-1.4.1: Number of endpoints 2
[ 60.152140] usb 1-1.4.1: Endpoint 1 MaxPacketSize 512
[ 60.152156] usb 1-1.4.1: Endpoint 2 MaxPacketSize 512
[ 60.152180] usb 1-1.4.1: Setting MaxPacketSize 512
[ 60.152705] usb 1-1.4.1: FTDI USB Serial Device converter now attached to ttyUSB2
[ 60.153473] usb 1-1.4.1: Detected FT4232H
[ 60.153490] usb 1-1.4.1: Number of endpoints 2
[ 60.153505] usb 1-1.4.1: Endpoint 1 MaxPacketSize 512
[ 60.153520] usb 1-1.4.1: Endpoint 2 MaxPacketSize 512
[ 60.153544] usb 1-1.4.1: Setting MaxPacketSize 512
[ 60.154074] usb 1-1.4.1: FTDI USB Serial Device converter now attached to ttyUSB3
[ 1180.337190] usb 1-1.4.2: new high-speed USB device number 7 using dwc_otg
[ 1180.440746] usb 1-1.4.2: Detected FT4232H
[ 1180.440764] usb 1-1.4.2: Number of endpoints 2
[ 1180.440780] usb 1-1.4.2: Endpoint 1 MaxPacketSize 512
[ 1180.440796] usb 1-1.4.2: Endpoint 2 MaxPacketSize 512
[ 1180.440812] usb 1-1.4.2: Setting MaxPacketSize 512
[ 1180.441417] usb 1-1.4.2: FTDI USB Serial Device converter now attached to ttyUSB4
[ 1180.442276] usb 1-1.4.2: Detected FT4232H
[ 1180.442293] usb 1-1.4.2: Number of endpoints 2
[ 1180.442309] usb 1-1.4.2: Endpoint 1 MaxPacketSize 512
[ 1180.442324] usb 1-1.4.2: Endpoint 2 MaxPacketSize 512
[ 1180.442339] usb 1-1.4.2: Setting MaxPacketSize 512
[ 1180.442869] usb 1-1.4.2: FTDI USB Serial Device converter now attached to ttyUSB5
[ 1180.443603] usb 1-1.4.2: Detected FT4232H
[ 1180.443620] usb 1-1.4.2: Number of endpoints 2
[ 1180.443636] usb 1-1.4.2: Endpoint 1 MaxPacketSize 512
[ 1180.443652] usb 1-1.4.2: Endpoint 2 MaxPacketSize 512
[ 1180.443667] usb 1-1.4.2: Setting MaxPacketSize 512
[ 1180.444102] usb 1-1.4.2: FTDI USB Serial Device converter now attached to ttyUSB6
[ 1180.444862] usb 1-1.4.2: Detected FT4232H
[ 1180.444878] usb 1-1.4.2: Number of endpoints 2
[ 1180.444895] usb 1-1.4.2: Endpoint 1 MaxPacketSize 512
[ 1180.444911] usb 1-1.4.2: Endpoint 2 MaxPacketSize 512
[ 1180.444926] usb 1-1.4.2: Setting MaxPacketSize 512
[ 1180.445350] usb 1-1.4.2: FTDI USB Serial Device converter now attached to ttyUSB7
root@odroidc2 ~ >
wie müsste meine 91-usb.rules aussehen?

Hat jemand ein Tipp für mich?

Der C2 hat zu wenig Strom, deswegen der Hub, der Tip hier:http://powerpi.de/mit-diesem-einfachen- ... erry-pi-2/ hatt leider nicht funktioniert.

gruß
Benutzeravatar
jensebub
IPC Meister
Beiträge: 1133
Registriert: So 1. Mai 2011, 09:34
Been thanked: 1 time
Kontaktdaten:

Re: Udev Regel für 2 Quademouse ??

Beitrag von jensebub »

Guck mal in unser wiki

Gruß
jensebub
ralle61
IPC Neuling
Beiträge: 8
Registriert: Di 6. Nov 2012, 20:02
Kontaktdaten:

Re: Udev Regel für 2 Quademouse ??

Beitrag von ralle61 »

########################## QUADMOUSE1####################################
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.1.0",ATTRS{bInterfaceNumber}=="00", SYMLINK+="Card1"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.1.1",ATTRS{bInterfaceNumber}=="01", SYMLINK+="Card2"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.1.2",ATTRS{bInterfaceNumber}=="02", SYMLINK+="Card3"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.1.3",ATTRS{bInterfaceNumber}=="03", SYMLINK+="card4"
########################## QUADMOUSE2####################################
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.2.0",ATTRS{bInterfaceNumber}=="00", SYMLINK+="card5"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.2.1",ATTRS{bInterfaceNumber}=="01", SYMLINK+="card6"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.2.2",ATTRS{bInterfaceNumber}=="02", SYMLINK+="card7"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ID=="1-1:4.2.3",ATTRS{bInterfaceNumber}=="03", SYMLINK+="card8"
################################################## #######################

so hab ichs mal verpackt, geht aber nicht,

die erste mouse hat ja usb 1-1.4.1

die zweite mouse hat ja 1-1.4.2

jetzt fehlt ja noch die zuordnung von usb0-7 sprich card1-8,

da komme ich nicht weiter, ohne Hub kein Problem, mit angeschlossenem Hub steh ich im dunkeln, gelesen hab ich denn mal schon eineiges...
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste