Now I want to add a usb-cdrom device to TX2 platform. I can only found the device when use lsusb command, but when I use fdisk -l I can’t see the device and I can’t find /dev/cdrom in /dev directory. I already add ISO9660_FS driver to system but there is no effect. Please give me some advice or guide, thank you.
I haven’t used this recently, but in the past just adding ISO9660 was enough (assuming it is an ordinary data CD or DVD). Does “lsusb” show the drive? If that shows then it comes down to file system types or other drivers…if that doesn’t show, then it never had the chance.
Also, the name tends to be one of the read-only SATA names these days…if there is a “/dev/cdrom”, then it is from a udev rule adding a symbolic link. Do you have “/dev/sr0”? If you monitor dmesg via “dmesg --follow” while plugging in the USB cable and adding a CD to the device does this show anything?
When I plugin the usb-CDROM I found message in kern.log:
pr 25 09:28:32 tegra-ubuntu kernel: [ 3638.894380] usb 1-2.1: new high-speed USB device number 6 using xhci-tegra Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.004269] usb 1-2.1: New USB device found, idVendor=0e8d, idProduct=1806 Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.004306] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.004326] usb 1-2.1: Product: MT1806 Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.004345] usb 1-2.1: Manufacturer: MediaTek Inc Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.004362] usb 1-2.1: SerialNumber: RJ6X751 Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.009394] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6 Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.012237] usb-storage 1-2.1:1.0: USB Mass Storage device detected Apr 25 09:28:32 tegra-ubuntu kernel: [ 3639.012830] scsi host3: usb-storage 1-2.1:1.0 Apr 25 09:28:33 tegra-ubuntu kernel: [ 3640.013448] scsi 3:0:0:0: CD-ROM TSSTcorp CDDVDW SE-S084F TB00 PQ: 0 ANSI: 0
where the device map to system?
when I use lshw -short command I get these message:
H/W path Device Class Description ======================================== system quill /0 bus Motherboard /0/0 processor a57_cluster_power_states /0/1 processor a57_core_power_states /0/2 processor a57_crossover_thresholds /0/3 processor cpu /0/4 processor cpu /0/5 processor cpu /0/6 processor cpu /0/7 processor cpu /0/8 processor cpu /0/9 processor denver_cluster_power_states /0/a processor denver_core_power_states /0/b processor denver_crossover_thresholds /0/c processor l2-cache0 /0/d processor l2-cache1 /0/e memory 7851MiB System memory /1 usb2 bus xHCI Host Controller /1/1 bus 4-Port USB 3.0 Hub /2 usb1 bus xHCI Host Controller /2/2 bus 4-Port USB 2.0 Hub /2/2/1 storage MT1806
but I can’t find any device in /dev directroy.
What shows up on dmesg when insert or remove a CD/DVD (I am assuming a data CD with ISO9660)? Typically the first one will be “/dev/sr0” (read-only SCSI…SATA is sort of an IDE-to-SCSI adapter). Other names would be from udev rules (note that a controller without a disk won’t show a device…no CD/DVD implies no disk, just a bare controller).