1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies. Weitere Informationen

Diskussione Thread di diskussione su How-To Udev

Dieses Thema im Forum "Zona: Linux-Server" wurde erstellt von meister85, 4. Februar 2013.

  1. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113
    #1
  2. phantom

    Nervigen User Advertisement

  3. fedro65
    Offline

    fedro65 Ist gelegentlich hier

    Registriert:
    22. September 2010
    Beiträge:
    80
    Zustimmungen:
    7
    Punkte für Erfolge:
    8
    AW: Thread di diskussione su How-To Udev

    ciao meister85 e per la configurazione cccam
    il device come viene impostato
     
    #2
  4. elcoro
    Offline

    elcoro Moderator Digital Eliteboard Team

    Registriert:
    1. Juli 2011
    Beiträge:
    1.628
    Zustimmungen:
    638
    Punkte für Erfolge:
    113
    Beruf:
    Storehouse
    Ort:
    nel Mondo
    AW: Thread di diskussione su How-To Udev

    stessa procedura di sopra How-to
     
    #3
  5. fedro65
    Offline

    fedro65 Ist gelegentlich hier

    Registriert:
    22. September 2010
    Beiträge:
    80
    Zustimmungen:
    7
    Punkte für Erfolge:
    8
    AW: Thread di diskussione su How-To Udev

    grz da quanto ho capito io questa conf

    SERIAL READER : /dev/ttyUSB0 phoenix
    SMARTCARD CLOCK FREQUENCY : /dev/ttyUSB0 3570000
    TRY ALL CHIDS : /dev/ttyUSB0

    e la devo modificare cosi giusto ho sbaglio

    SERIAL READER : /dev/sceda1 phoenix
    SMARTCARD CLOCK FREQUENCY : /dev/sceda1 3570000
    TRY ALL CHIDS : /dev/sceda1
    uso easymouse2
     
    #4
  6. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113
    AW: Thread di diskussione su How-To Udev

    Si giusto!


    Gesendet von meinem iPad mit Tapatalk HD
     
    #5
    fedro65 gefällt das.
  7. fedro65
    Offline

    fedro65 Ist gelegentlich hier

    Registriert:
    22. September 2010
    Beiträge:
    80
    Zustimmungen:
    7
    Punkte für Erfolge:
    8
    AW: Thread di diskussione su How-To Udev

    grazie per la risposta
     
    #6
  8. terminal
    Offline

    terminal Freak

    Registriert:
    23. November 2012
    Beiträge:
    256
    Zustimmungen:
    4
    Punkte für Erfolge:
    18
    AW: Thread di diskussione su How-To Udev

    Ragazzi ma se ho due smargo devo modificare sempre lo stesso file? Io ho fatto in questo modo non va

    Code:
    SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="12345678", SYMLINK+="SkyItalia"
    SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="87654321", SYMLINK+="Redlighter"
    Ho fatto così e non si avvia niente ne l'uno ne l'altro ma se metto al secondo in oscam reader
    device = /dev/ttyUSB1
    il tutto funziona

    Come mai non ne vuole sapere?
     
    #7
  9. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113
    AW: Thread di diskussione su How-To Udev

    Mi servono il seriale del reader per vedere se hai fatto tutto come spiegato nel how-to!
     
    #8
  10. terminal
    Offline

    terminal Freak

    Registriert:
    23. November 2012
    Beiträge:
    256
    Zustimmungen:
    4
    Punkte für Erfolge:
    18
    AW: Thread di diskussione su How-To Udev

    Ecco

    Code:
    root@debian / > udevadm info -n /dev/ttyUSB1 -a
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.6/1-2.6:1.0/ttyUSB1/tty/ttyUSB1':
        KERNEL=="ttyUSB1"
        SUBSYSTEM=="tty"
        DRIVER==""
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.6/1-2.6:1.0/ttyUSB1':
        KERNELS=="ttyUSB1"
        SUBSYSTEMS=="usb-serial"
        DRIVERS=="ftdi_sio"
        ATTRS{latency_timer}=="1"
        ATTRS{port_number}=="0"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.6/1-2.6:1.0':
        KERNELS=="1-2.6:1.0"
        SUBSYSTEMS=="usb"
        DRIVERS=="ftdi_sio"
        ATTRS{bInterfaceNumber}=="00"
        ATTRS{bAlternateSetting}==" 0"
        ATTRS{bNumEndpoints}=="02"
        ATTRS{bInterfaceClass}=="ff"
        ATTRS{bInterfaceSubClass}=="ff"
        ATTRS{bInterfaceProtocol}=="ff"
        ATTRS{modalias}=="usb:v0403p6001d0400dc00dsc00dp00icFFiscFFipFF"
        ATTRS{supports_autosuspend}=="0"
        ATTRS{interface}=="Smartreader plus"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2.6':
        KERNELS=="1-2.6"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="a0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="938811"
        ATTRS{idVendor}=="0403"
        ATTRS{idProduct}=="6001"
        ATTRS{bcdDevice}=="0400"
        ATTRS{bDeviceClass}=="00"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="8"
        ATTRS{speed}=="12"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="21"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="0"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Argolis BV"
        ATTRS{product}=="Smartreader plus"
        ATTRS{serial}=="87654321"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-2':
        KERNELS=="1-2"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="127"
        ATTRS{idVendor}=="1a40"
        ATTRS{idProduct}=="0201"
        ATTRS{bcdDevice}=="0100"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="02"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="3"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="7"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{product}=="USB 2.0 Hub [MTT]"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
        KERNELS=="usb1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="  0mA"
        ATTRS{urbnum}=="36627"
        ATTRS{idVendor}=="1d6b"
        ATTRS{idProduct}=="0002"
        ATTRS{bcdDevice}=="0206"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="1"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="10"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Linux 2.6.32-5-686 ehci_hcd"
        ATTRS{product}=="EHCI Host Controller"
        ATTRS{serial}=="0000:00:02.1"
        ATTRS{authorized_default}=="1"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1':
        KERNELS=="0000:00:02.1"
        SUBSYSTEMS=="pci"
        DRIVERS=="ehci_hcd"
        ATTRS{vendor}=="0x10de"
        ATTRS{device}=="0x03f2"
        ATTRS{subsystem_vendor}=="0x1849"
        ATTRS{subsystem_device}=="0x03f2"
        ATTRS{class}=="0x0c0320"
        ATTRS{irq}=="22"
        ATTRS{local_cpus}=="ffffffff"
        ATTRS{local_cpulist}=="0-31"
        ATTRS{modalias}=="pci:v000010DEd000003F2sv00001849sd000003F2bc0Csc03i20"
        ATTRS{enable}=="1"
        ATTRS{broken_parity_status}=="0"
        ATTRS{msi_bus}==""
        ATTRS{companion}==""
    
      looking at parent device '/devices/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""
    
    
     
    #9
  11. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113
    AW: Thread di diskussione su How-To Udev

    Credevo che hai risolto???

    Dieser Link ist nur für Mitglieder!!! Jetzt kostenlos Registrieren ?

     
    #10
  12. terminal
    Offline

    terminal Freak

    Registriert:
    23. November 2012
    Beiträge:
    256
    Zustimmungen:
    4
    Punkte für Erfolge:
    18
    AW: Thread di diskussione su How-To Udev

    No lì ho risolto ma se metto 2 reader non va. Uno alla vota si però, ecco perchè chiedevo se si doveva creare un altro file oppure no. Quindi credo che la funzione UDEV va benissimo per questo ho detto che era risolto, ma ciò non toglie che oscam non me lo apre insieme agli altri reader va in blocco ma uno alla volta si, non so se mi sono spiegato bene, infatti nell'altro thread che ho aperto riguardo configurazione 3 smargo, SKYItalia, Redlight e tivusat li sto facendo partire nel modo seguente:

    Skyitalia = device UDEV
    Redlight = device ttyUSB1
    Tivusat = device ttyUSB2

    Spero di essere stato chiaro, in pratica vorrei far partire tutti con i comandi UDEV tutto qua, allora per non fermarmi su punti fissi, per 3 problematiche ho aperto altrettanti thread, e spero di aver fatto cosa gradita
     
    #11
  13. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113
    AW: Thread di diskussione su How-To Udev

    Postami tutt e tre seriali.
     
    #12
  14. terminal
    Offline

    terminal Freak

    Registriert:
    23. November 2012
    Beiträge:
    256
    Zustimmungen:
    4
    Punkte für Erfolge:
    18
    Ok però mi interesserebbe anche far partire tivusat ;)

    Inviato dal mio GT-I9300 con Tapatalk 2

    Code:
    root@debian / > ls -l /dev/ttyUSB*
    crw-rw---- 1 root dialout 188, 1 21 feb 23.34 /dev/ttyUSB1
    crw-rw---- 1 root dialout 188, 2 21 feb 23.34 /dev/ttyUSB2
    crw-rw---- 1 root dialout 188, 3 21 feb 23.34 /dev/ttyUSB3
    
    Primo seriale
    Code:
    root@debian / > udevadm info -n /dev/ttyUSB1 -a
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.5/1-4.5:1.0/ttyUSB1/tty/ttyUSB1':
        KERNEL=="ttyUSB1"
        SUBSYSTEM=="tty"
        DRIVER==""
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.5/1-4.5:1.0/ttyUSB1':
        KERNELS=="ttyUSB1"
        SUBSYSTEMS=="usb-serial"
        DRIVERS=="ftdi_sio"
        ATTRS{latency_timer}=="1"
        ATTRS{port_number}=="0"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.5/1-4.5:1.0':
        KERNELS=="1-4.5:1.0"
        SUBSYSTEMS=="usb"
        DRIVERS=="ftdi_sio"
        ATTRS{bInterfaceNumber}=="00"
        ATTRS{bAlternateSetting}==" 0"
        ATTRS{bNumEndpoints}=="02"
        ATTRS{bInterfaceClass}=="ff"
        ATTRS{bInterfaceSubClass}=="ff"
        ATTRS{bInterfaceProtocol}=="ff"
        ATTRS{modalias}=="usb:v0403p6001d0400dc00dsc00dp00icFFiscFFipFF"
        ATTRS{supports_autosuspend}=="0"
        ATTRS{interface}=="Smartreader plus"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.5':
        KERNELS=="1-4.5"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="a0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="15"
        ATTRS{idVendor}=="0403"
        ATTRS{idProduct}=="6001"
        ATTRS{bcdDevice}=="0400"
        ATTRS{bDeviceClass}=="00"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="8"
        ATTRS{speed}=="12"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="6"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="0"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Argolis BV"
        ATTRS{product}=="Smartreader plus"
        ATTRS{serial}=="87654321"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4':
        KERNELS=="1-4"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="117"
        ATTRS{idVendor}=="1a40"
        ATTRS{idProduct}=="0201"
        ATTRS{bcdDevice}=="0100"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="02"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="3"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="7"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{product}=="USB 2.0 Hub [MTT]"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
        KERNELS=="usb1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="  0mA"
        ATTRS{urbnum}=="49"
        ATTRS{idVendor}=="1d6b"
        ATTRS{idProduct}=="0002"
        ATTRS{bcdDevice}=="0206"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="1"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="10"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Linux 2.6.32-5-686 ehci_hcd"
        ATTRS{product}=="EHCI Host Controller"
        ATTRS{serial}=="0000:00:02.1"
        ATTRS{authorized_default}=="1"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1':
        KERNELS=="0000:00:02.1"
        SUBSYSTEMS=="pci"
        DRIVERS=="ehci_hcd"
        ATTRS{vendor}=="0x10de"
        ATTRS{device}=="0x03f2"
        ATTRS{subsystem_vendor}=="0x1849"
        ATTRS{subsystem_device}=="0x03f2"
        ATTRS{class}=="0x0c0320"
        ATTRS{irq}=="22"
        ATTRS{local_cpus}=="ffffffff"
        ATTRS{local_cpulist}=="0-31"
        ATTRS{modalias}=="pci:v000010DEd000003F2sv00001849sd000003F2bc0Csc03i20"
        ATTRS{enable}=="1"
        ATTRS{broken_parity_status}=="0"
        ATTRS{msi_bus}==""
        ATTRS{companion}==""
    
      looking at parent device '/devices/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""
    
    
    Secondo seriale
    Code:
    root@debian / > udevadm info -n /dev/ttyUSB2 -a
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.6/1-4.6:1.0/ttyUSB2/tty/ttyUSB2':
        KERNEL=="ttyUSB2"
        SUBSYSTEM=="tty"
        DRIVER==""
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.6/1-4.6:1.0/ttyUSB2':
        KERNELS=="ttyUSB2"
        SUBSYSTEMS=="usb-serial"
        DRIVERS=="ftdi_sio"
        ATTRS{latency_timer}=="1"
        ATTRS{port_number}=="0"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.6/1-4.6:1.0':
        KERNELS=="1-4.6:1.0"
        SUBSYSTEMS=="usb"
        DRIVERS=="ftdi_sio"
        ATTRS{bInterfaceNumber}=="00"
        ATTRS{bAlternateSetting}==" 0"
        ATTRS{bNumEndpoints}=="02"
        ATTRS{bInterfaceClass}=="ff"
        ATTRS{bInterfaceSubClass}=="ff"
        ATTRS{bInterfaceProtocol}=="ff"
        ATTRS{modalias}=="usb:v0403p6001d0400dc00dsc00dp00icFFiscFFipFF"
        ATTRS{supports_autosuspend}=="0"
        ATTRS{interface}=="Smartreader plus"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.6':
        KERNELS=="1-4.6"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="a0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="15"
        ATTRS{idVendor}=="0403"
        ATTRS{idProduct}=="6001"
        ATTRS{bcdDevice}=="0400"
        ATTRS{bDeviceClass}=="00"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="8"
        ATTRS{speed}=="12"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="7"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="0"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Argolis BV"
        ATTRS{product}=="Smartreader plus"
        ATTRS{serial}=="abcd1234"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4':
        KERNELS=="1-4"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="117"
        ATTRS{idVendor}=="1a40"
        ATTRS{idProduct}=="0201"
        ATTRS{bcdDevice}=="0100"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="02"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="3"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="7"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{product}=="USB 2.0 Hub [MTT]"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
        KERNELS=="usb1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="  0mA"
        ATTRS{urbnum}=="49"
        ATTRS{idVendor}=="1d6b"
        ATTRS{idProduct}=="0002"
        ATTRS{bcdDevice}=="0206"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="1"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="10"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Linux 2.6.32-5-686 ehci_hcd"
        ATTRS{product}=="EHCI Host Controller"
        ATTRS{serial}=="0000:00:02.1"
        ATTRS{authorized_default}=="1"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1':
        KERNELS=="0000:00:02.1"
        SUBSYSTEMS=="pci"
        DRIVERS=="ehci_hcd"
        ATTRS{vendor}=="0x10de"
        ATTRS{device}=="0x03f2"
        ATTRS{subsystem_vendor}=="0x1849"
        ATTRS{subsystem_device}=="0x03f2"
        ATTRS{class}=="0x0c0320"
        ATTRS{irq}=="22"
        ATTRS{local_cpus}=="ffffffff"
        ATTRS{local_cpulist}=="0-31"
        ATTRS{modalias}=="pci:v000010DEd000003F2sv00001849sd000003F2bc0Csc03i20"
        ATTRS{enable}=="1"
        ATTRS{broken_parity_status}=="0"
        ATTRS{msi_bus}==""
        ATTRS{companion}==""
    
      looking at parent device '/devices/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""
    
    
    Terzo seriale
    Code:
    root@debian / > udevadm info -n /dev/ttyUSB3 -a
    
    Udevadm info starts with the device specified by the devpath and then
    walks up the chain of parent devices. It prints for every device
    found, all possible attributes in the udev rules key format.
    A rule to match, can be composed by the attributes of the device
    and the attributes from one single parent device.
    
      looking at device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.7/1-4.7:1.0/ttyUSB3/tty/ttyUSB3':
        KERNEL=="ttyUSB3"
        SUBSYSTEM=="tty"
        DRIVER==""
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.7/1-4.7:1.0/ttyUSB3':
        KERNELS=="ttyUSB3"
        SUBSYSTEMS=="usb-serial"
        DRIVERS=="ftdi_sio"
        ATTRS{latency_timer}=="1"
        ATTRS{port_number}=="0"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.7/1-4.7:1.0':
        KERNELS=="1-4.7:1.0"
        SUBSYSTEMS=="usb"
        DRIVERS=="ftdi_sio"
        ATTRS{bInterfaceNumber}=="00"
        ATTRS{bAlternateSetting}==" 0"
        ATTRS{bNumEndpoints}=="02"
        ATTRS{bInterfaceClass}=="ff"
        ATTRS{bInterfaceSubClass}=="ff"
        ATTRS{bInterfaceProtocol}=="ff"
        ATTRS{modalias}=="usb:v0403p6001d0400dc00dsc00dp00icFFiscFFipFF"
        ATTRS{supports_autosuspend}=="0"
        ATTRS{interface}=="Smartreader plus"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4/1-4.7':
        KERNELS=="1-4.7"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="a0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="15"
        ATTRS{idVendor}=="0403"
        ATTRS{idProduct}=="6001"
        ATTRS{bcdDevice}=="0400"
        ATTRS{bDeviceClass}=="00"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="8"
        ATTRS{speed}=="12"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="8"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="0"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Argolis BV"
        ATTRS{product}=="Smartreader plus"
        ATTRS{serial}=="12345678"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1/1-4':
        KERNELS=="1-4"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="100mA"
        ATTRS{urbnum}=="117"
        ATTRS{idVendor}=="1a40"
        ATTRS{idProduct}=="0201"
        ATTRS{bcdDevice}=="0100"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="02"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="3"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="7"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{product}=="USB 2.0 Hub [MTT]"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1/usb1':
        KERNELS=="usb1"
        SUBSYSTEMS=="usb"
        DRIVERS=="usb"
        ATTRS{configuration}==""
        ATTRS{bNumInterfaces}==" 1"
        ATTRS{bConfigurationValue}=="1"
        ATTRS{bmAttributes}=="e0"
        ATTRS{bMaxPower}=="  0mA"
        ATTRS{urbnum}=="49"
        ATTRS{idVendor}=="1d6b"
        ATTRS{idProduct}=="0002"
        ATTRS{bcdDevice}=="0206"
        ATTRS{bDeviceClass}=="09"
        ATTRS{bDeviceSubClass}=="00"
        ATTRS{bDeviceProtocol}=="00"
        ATTRS{bNumConfigurations}=="1"
        ATTRS{bMaxPacketSize0}=="64"
        ATTRS{speed}=="480"
        ATTRS{busnum}=="1"
        ATTRS{devnum}=="1"
        ATTRS{version}==" 2.00"
        ATTRS{maxchild}=="10"
        ATTRS{quirks}=="0x0"
        ATTRS{authorized}=="1"
        ATTRS{manufacturer}=="Linux 2.6.32-5-686 ehci_hcd"
        ATTRS{product}=="EHCI Host Controller"
        ATTRS{serial}=="0000:00:02.1"
        ATTRS{authorized_default}=="1"
    
      looking at parent device '/devices/pci0000:00/0000:00:02.1':
        KERNELS=="0000:00:02.1"
        SUBSYSTEMS=="pci"
        DRIVERS=="ehci_hcd"
        ATTRS{vendor}=="0x10de"
        ATTRS{device}=="0x03f2"
        ATTRS{subsystem_vendor}=="0x1849"
        ATTRS{subsystem_device}=="0x03f2"
        ATTRS{class}=="0x0c0320"
        ATTRS{irq}=="22"
        ATTRS{local_cpus}=="ffffffff"
        ATTRS{local_cpulist}=="0-31"
        ATTRS{modalias}=="pci:v000010DEd000003F2sv00001849sd000003F2bc0Csc03i20"
        ATTRS{enable}=="1"
        ATTRS{broken_parity_status}=="0"
        ATTRS{msi_bus}==""
        ATTRS{companion}==""
    
      looking at parent device '/devices/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""
     
    Zuletzt von einem Moderator bearbeitet: 22. Februar 2013
    #13
  15. meister85
    Offline

    meister85 VIP

    Registriert:
    21. September 2009
    Beiträge:
    7.927
    Zustimmungen:
    5.229
    Punkte für Erfolge:
    113
    AW: Thread di diskussione su How-To Udev

    Ok, fin qui tutto ok.

    Ora posta la tua 10-usbadapter.rules

    Usi debian oppure Ubuntu?
     
    #14
  16. terminal
    Offline

    terminal Freak

    Registriert:
    23. November 2012
    Beiträge:
    256
    Zustimmungen:
    4
    Punkte für Erfolge:
    18
    AW: Thread di diskussione su How-To Udev

    Beh allora? ho fatto bene rigaurdo il file rules? cosa posso fare adesso?
     
    #15

Diese Seite empfehlen