Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Regola udev

  1. #1

    Regola udev

    Per una serie di motivi che non sto a spiegare devo fare in modo che questa scheda DVB-S venga nomitata in Skystar anziché adapter0.
    Ecco cosa trova udev:
    codice:
    magellano:~# udevinfo -a -p $(udevinfo -q path -n /dev/dvb/adapter0/frontend0)
    
    Udevinfo 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 '/class/dvb/dvb0.frontend0':
        KERNEL=="dvb0.frontend0"
        SUBSYSTEM=="dvb"
        DRIVER==""
    
      looking at parent device '/devices/pci0000:00/0000:00:0e.0':
        KERNELS=="0000:00:0e.0"
        SUBSYSTEMS=="pci"
        DRIVERS=="b2c2_flexcop_pci"
        ATTRS{vendor}=="0x13d0"
        ATTRS{device}=="0x2103"
        ATTRS{subsystem_vendor}=="0x13d0"
        ATTRS{subsystem_device}=="0x2103"
        ATTRS{class}=="0x028000"
        ATTRS{irq}=="17"
        ATTRS{local_cpus}=="ff"
        ATTRS{local_cpulist}=="0-7"
        ATTRS{modalias}=="pci:v000013D0d00002103sv000013D0sd00002103bc02sc80i00"
        ATTRS{enable}=="1"
        ATTRS{broken_parity_status}=="0"
        ATTRS{msi_bus}==""
    
      looking at parent device '/devices/pci0000:00':
        KERNELS=="pci0000:00"
        SUBSYSTEMS==""
        DRIVERS==""
    
    magellano:~#
    Il file con la regola è scritto così:

    codice:
    SUBSYSTEM=="dvb", ATTRS{odalias}=="pci:v000013D0d00002103sv000013D0sd00002103bc02sc80i00", SYMLINK+="skystar"
    ma non funziona. Cosa sbaglio?

  2. #2

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.