Descobri que meu script de fortalecimento fazia uma "lista negra de armazenamento usb" em um arquivo conf em /etc/modprobe.d. Eu tinha me esquecido disso.
Acabei de instalar um mínimo de centos 6 através de um gravador de dvd usb. Funcionou bem. Mas agora não consigo montar o gravador de DVD. Eu não consigo nem encontrar o dispositivo / dev / dvd. Eu acho que faltam drivers, mas como posso encontrar o driver?
Alguma saída do sistema.
[root@]# lsusb
Bus 002 Device 003: ID 0000:0000
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0409:0056 NEC Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
O dispositivo NEC é meu gravador de DVD.
[root@]# lsusb -v # Only output for Nec driver.
Bus 001 Device 003: ID 0409:0056 NEC Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0409 NEC Corp.
idProduct 0x0056
bcdDevice 0.00
iManufacturer 1 TSST corp
iProduct 2 USB Mass Storage Device
iSerial 3 000000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 5 SFF-8070i
bInterfaceProtocol 80
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
Tudo relacionado ao usb na pasta / dev.
[root]# cd /dev
[root]# find | grep usb
./.udev/links/input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.1:1.1-mouse
./.udev/links/input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.1:1.1-mouse/c13:33
./.udev/links/input\x2fby-id\x2fusb-ServerEngines_SE_USB_Device_40151554C56504-mouse
./.udev/links/input\x2fby-id\x2fusb-ServerEngines_SE_USB_Device_40151554C56504-mouse/c13:33
./.udev/links/input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.1:1.1-event-mouse
./.udev/links/input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.1:1.1-event-mouse/c13:68
./.udev/links/input\x2fby-id\x2fusb-ServerEngines_SE_USB_Device_40151554C56504-event-mouse
./.udev/links/input\x2fby-id\x2fusb-ServerEngines_SE_USB_Device_40151554C56504-event-mouse/c13:68
./.udev/links/input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.1:1.0-event-kbd
./.udev/links/input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.1:1.0-event-kbd/c13:67
./.udev/links/input\x2fby-id\x2fusb-ServerEngines_SE_USB_Device_40151554C56504-event-kbd
./.udev/links/input\x2fby-id\x2fusb-ServerEngines_SE_USB_Device_40151554C56504-event-kbd/c13:67
./.udev/db/usb:1-1.4
./.udev/db/usb:2-1.1
./.udev/db/usb:2-1
./.udev/db/usb:1-1
./.udev/db/usbmon:usbmon0
./.udev/db/usb:usb1
./.udev/db/usb:usb2
./.udev/db/usbmon:usbmon2
./.udev/db/usbmon:usbmon1
./input/by-path/pci-0000:00:1d.0-usb-0:1.1:1.1-mouse
./input/by-path/pci-0000:00:1d.0-usb-0:1.1:1.1-event-mouse
./input/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-event-kbd
./input/by-id/usb-ServerEngines_SE_USB_Device_40151554C56504-mouse
./input/by-id/usb-ServerEngines_SE_USB_Device_40151554C56504-event-mouse
./input/by-id/usb-ServerEngines_SE_USB_Device_40151554C56504-event-kbd
./usbmon2
./bus/usb
./bus/usb/002
./bus/usb/002/003
./bus/usb/002/002
./bus/usb/002/001
./bus/usb/001
./bus/usb/001/003
./bus/usb/001/002
./bus/usb/001/001
./usbmon1
./usbmon0
Saída de / var / log / messages
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: new high speed USB device using ehci_hcd and address 3
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: New USB device found, idVendor=0409, idProduct=0056
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: Product: USB Mass Storage Device
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: Manufacturer: TSST corp
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: SerialNumber: 000000000001
Dec 1 15:24:31 vh01-tp kernel: usb 1-1.4: configuration #1 chosen from 1 choice
Dec 1 15:24:39 vh01-tp init: tty (/dev/tty1) main process ended, respawning
Alguma saída de / var / log / dmsg
usb 1-1: new high speed USB device using ehci_hcd and address 2
usb 1-1: New USB device found, idVendor=8087, idProduct=0020
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 6 ports detected
ata4: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
usb 2-1: new high speed USB device using ehci_hcd and address 2
usb 2-1: New USB device found, idVendor=8087, idProduct=0020
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 2-1: configuration #1 chosen from 1 choice
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 8 ports detected
usb 1-1.4: new high speed USB device using ehci_hcd and address 3
usb 1-1.4: New USB device found, idVendor=0409, idProduct=0056
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4: Product: USB Mass Storage Device
usb 1-1.4: Manufacturer: TSST corp
usb 1-1.4: SerialNumber: 000000000001
usb 1-1.4: configuration #1 chosen from 1 choice
ata2.00: SATA link down (SStatus 0 SControl 300)
ata2.01: SATA link down (SStatus 0 SControl 300)
ata1.00: SATA link down (SStatus 0 SControl 300)
ata1.01: SATA link down (SStatus 0 SControl 300)
sd 0:0:0:0: [sda] 1953459632 512-byte logical blocks: (1.00 TB/931 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 6b 00 00 08
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI disk
usb 2-1.1: new full speed USB device using ehci_hcd and address 3
usb 2-1.1: New USB device found, idVendor=0000, idProduct=0000
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.1: Product: SE USB Device
usb 2-1.1: Manufacturer: ServerEngines
usb 2-1.1: SerialNumber: 40151554C56504
usb 2-1.1: configuration #1 chosen from 1 choice
Saída de / proc / bus / usb / devices. Como eu suspeitava, nenhum driver deveria ser instalado.
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0409 ProdID=0056 Rev= 0.00
S: Manufacturer=TSST corp
S: Product=USB Mass Storage Device
S: SerialNumber=000000000001
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=05 Prot=50 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Devo procurar outro lugar ou a informação certa na minha frente?
/dev/dvd
é um link simbólico para o arquivo de dispositivo de bloco real. Pesquise a saída dmesg
para o dispositivo de CD-ROM. Deve ser algo como sr0
ou scd0
. Você pode então criar um symlink sozinho com: sudo ln -s /dev/<dvd_device_name> /dev/dvd
.