LKN: Personalizzare un Kernel: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
m
→‎Script d'aiuto: rimossi "a capo" in più negli script e output
m (→‎Script d'aiuto: rimossi "a capo" in più negli script e output)
Riga 541: Riga 541:
<pre>
<pre>
$ get-driver.sh sda
$ get-driver.sh sda
looking at sysfs device: /sys/devices/pci0000:00/0000:00:1f.2/host0/
looking at sysfs device: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
target0:0:0/0:0:0:0
found driver: sd
found driver: sd
found driver: ata_piix
found driver: ata_piix
Riga 549: Riga 548:
<pre>
<pre>
$ get-driver.sh ttyUSB0
$ get-driver.sh ttyUSB0
looking at sysfs device: /sys/devices/pci0000:00/0000:00:1d.3/usb4/4-2/4-2.
looking at sysfs device: /sys/devices/pci0000:00/0000:00:1d.3/usb4/4-2/4-2.3/4-2.3:1.0/ttyUSB0
3/4-2.3:1.0/ttyUSB0
found driver: pl2303 from module: pl2303
found driver: pl2303 from module: pl2303
found driver: pl2303 from module: pl2303
found driver: pl2303 from module: pl2303
Riga 569: Riga 567:
if [ $# != "1" ] ; then
if [ $# != "1" ] ; then
  echo
  echo
  echo "Script to display the drivers and modules for a specified sysfs
  echo "Script to display the drivers and modules for a specified sysfs class device"
class device"
  echo "usage: $0 <CLASS_NAME>"
  echo "usage: $0 <CLASS_NAME>"
  echo
  echo
3 581

contributi

Menu di navigazione