Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-20-2022, 05:01 PM
|
#1
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Rep:
|
Debian LSUSB recognizes USB CD Drives. I don't have a way to mount them
Good Day everyone, I've had some limited experience with Linux and struggle from time to time attempting to resolve some issues. I have spent the last 9 days searching for a solution to this issues and while I can find some things that come close to my problem. Most deal either with hard drives or they don't have the same problem I am experiencing.
I have 2 External CD drives. One is a DVD and other is a Blue Ray. When I plug any other USB device in to the system (Cell phone, External Hard Drive, USB thumb drive) the system will see it and mount the device with no problems. However, when I plug in the CD drives, I get nothing. When I pull LSUSB I can see the devices.
Bus 003 Device 008: ID 1c6b:a223 Philips & Lite-ON Digital Solutions Corporation DVD Writer Slimtype eUAU108
Bus 004 Device 002: ID 152d:2578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS579
When I do a fdisk, I do not see anything from these drives. I have read a few articles that mentions the fstab. the problem is, I don't know what information I need to add to it. I know it mentions the UUID, however I am unable to locate a UUID for the CD drives. I have been beating my head against the wall here as I just don't have the experience or know what to look for to fully trouble shoot this issue. Please teach me to walk in the light of the command line. Thanks for any and all criticisms.
System Specs.
AMD Ryzen 5 5600G
DDR4 32GB 320
RTX 2080
Debian 5.16.15
Cinnimon 5.2.7 GUI
Debian GNU/Linux 11
fdisk dump, I have 5 Hard drives in the system.
root@Galaxy1:/media/deven# fdisk -l
Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST91000640NS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DE14795F-99F3-4B29-8411-D292E25F22D2
Device Start End Sectors Size Type
/dev/sdb1 2048 1953523711 1953521664 931.5G Linux filesystem
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST91000640NS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CCD9F4E4-C8A9-4341-B6A2-411CA148AE12
Device Start End Sectors Size Type
/dev/sda1 2048 1953523711 1953521664 931.5G Linux filesystem
Disk /dev/sde: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST1000DX001-1NS1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 798332C2-3ACB-4EE3-A902-CA0033F2C723
Device Start End Sectors Size Type
/dev/sde1 2048 1953523711 1953521664 931.5G Linux filesystem
Disk /dev/sdd: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: PNY CS900 1TB SS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F0FA8AEB-3BCE-40DB-9803-40CECE8C2F17
Device Start End Sectors Size Type
/dev/sdd1 2048 1953523711 1953521664 931.5G Linux filesystem
Disk /dev/sdc: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDC WDS500G2B0B
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C84DFBA7-D47D-4D39-B5BE-E726E3075CCB
Device Start End Sectors Size Type
/dev/sdc1 2048 1050623 1048576 512M EFI System
/dev/sdc2 1050624 974772223 973721600 464.3G Linux filesystem
/dev/sdc3 974772224 976771071 1998848 976M Linux swap
|
|
|
06-20-2022, 05:39 PM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,753
|
Welcome to LinuxQuestions.
Filesystems not physical devices are mounted. It depends on the desktop / linux version but if the DVD drive is empty nothing may happen. The device IDs should be /dev/sr0 for the first drive recognized and /dev/sr1 for the second. You can look at the output of the lsblk. With one drive plugged in you should see something like the following. I left off /dev/sda partitions for brevity.
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 125.5G 0 disk
sr0 11:0 1 1024M 0 rom
If you do have a disk inserted what happens may depend on the type of disk i.e audio CD, movie etc. True audio CDs are not mounted because they do not contain a filesystem.
|
|
|
06-20-2022, 06:32 PM
|
#3
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Original Poster
Rep:
|
michaelk: Thanks for the reply. I when I look at lsblk I only see information about he Hard Drives. I do have some CD's in the drives. one is a movie and the other contains pictures. here is the bump from the lsblk.
Code:
deven@Galaxy1:~$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
└─sda1 8:1 0 931.5G 0 part /media/deven/8d6274c7-915b-4ad6-9399-5983e0124fef
sdb 8:16 0 931.5G 0 disk
└─sdb1 8:17 0 931.5G 0 part /media/deven/fca2f725-5482-4ee9-9646-46287c7faf62
sdc 8:32 0 465.8G 0 disk
├─sdc1 8:33 0 512M 0 part /boot/efi
├─sdc2 8:34 0 464.3G 0 part /media/deven/9a6ca8c8-7bd2-4a4a-bb80-a09473c32ab3
│ /
└─sdc3 8:35 0 976M 0 part [SWAP]
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part /media/deven/162f3afa-7e7c-44c6-922e-da320789be9c
sde 8:64 0 931.5G 0 disk
└─sde1 8:65 0 931.5G 0 part /media/deven/14691d53-4aac-4e36-8a87-010f91c828d9
How can I verify if the drives are assigned the /dev/sr#? I honestly believe this is the whole problem as I have not been able to location and /dev/s## for the drives. here is the information I get about the devices from dmesg after plugging the drives into the USB, Unsure if this helps at all.
Code:
6175.574986] usb 3-4: new high-speed USB device number 8 using xhci_hcd
[ 6175.747679] usb 3-4: New USB device found, idVendor=1c6b, idProduct=a223, bcdDevice= 0.00
[ 6175.747690] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6175.747694] usb 3-4: Product: Mass Storage Device
[ 6175.747697] usb 3-4: Manufacturer: USB2.0 External
[ 6175.747699] usb 3-4: SerialNumber: 10 638324402610
[ 6175.768693] usb-storage 3-4:1.0: USB Mass Storage device detected
[ 6175.768887] scsi host6: usb-storage 3-4:1.0
[ 6176.781741] scsi 6:0:0:0: CD-ROM ASUS SDRW-08D2S-U B802 PQ: 0 ANSI: 0
[ 6176.781925] scsi 6:0:0:0: Attached scsi generic sg5 type 5
[ 6186.067723] usb 4-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 6186.092279] usb 4-3: New USB device found, idVendor=152d, idProduct=2578, bcdDevice= 4.14
[ 6186.092284] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6186.092287] usb 4-3: Product: JMS579
[ 6186.092288] usb 4-3: Manufacturer: JMicron
[ 6186.092290] usb 4-3: SerialNumber: 2021101532DA
[ 6186.105941] usb-storage 4-3:1.0: USB Mass Storage device detected
[ 6186.106342] scsi host7: usb-storage 4-3:1.0
[ 6186.117246] usbcore: registered new interface driver uas
[ 6187.116619] scsi 7:0:0:0: CD-ROM HL-DT-ST BDDVDRW UH12NS40 1.00 PQ: 0 ANSI: 0
[ 6187.116983] scsi 7:0:0:0: Attached scsi generic sg6 type 5
[ 8201.471073] usb 3-4: USB disconnect, device number 8
[ 8203.887067] usb 4-3: USB disconnect, device number 2
[12712.643006] usb 3-4: new high-speed USB device number 9 using xhci_hcd
[12712.815430] usb 3-4: New USB device found, idVendor=1c6b, idProduct=a223, bcdDevice= 0.00
[12712.815436] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12712.815439] usb 3-4: Product: Mass Storage Device
[12712.815440] usb 3-4: Manufacturer: USB2.0 External
[12712.815442] usb 3-4: SerialNumber: 10 638324402610
[12712.836451] usb-storage 3-4:1.0: USB Mass Storage device detected
[12712.836599] scsi host6: usb-storage 3-4:1.0
[12713.873547] scsi 6:0:0:0: CD-ROM ASUS SDRW-08D2S-U B802 PQ: 0 ANSI: 0
[12713.873936] scsi 6:0:0:0: Attached scsi generic sg5 type 5
[13049.152103] usb 4-3: new SuperSpeed USB device number 3 using xhci_hcd
[13049.177265] usb 4-3: New USB device found, idVendor=152d, idProduct=2578, bcdDevice= 4.14
[13049.177273] usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[13049.177276] usb 4-3: Product: JMS579
[13049.177277] usb 4-3: Manufacturer: JMicron
[13049.177279] usb 4-3: SerialNumber: 2021101532DA
[13049.191892] usb-storage 4-3:1.0: USB Mass Storage device detected
[13049.192126] scsi host7: usb-storage 4-3:1.0
[13050.224100] scsi 7:0:0:0: CD-ROM HL-DT-ST BDDVDRW UH12NS40 1.00 PQ: 0 ANSI: 0
[13050.224331] scsi 7:0:0:0: Attached scsi generic sg6 type 5
Normally I would see a /dev/s## for a device when I attach it to the USB. However in this case, I am not seeing that information here.
Last edited by onebuck; 06-21-2022 at 08:16 AM.
Reason: correct mod control panel error
|
|
|
06-20-2022, 06:36 PM
|
#4
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Original Poster
Rep:
|
here is the dmesg info when I plug in a thumb drive.
[13556.019008] usb 3-6.4: new full-speed USB device number 13 using xhci_hcd
[13556.070664] scsi 8:0:0:0: Direct-Access IS917 innostor 1.00 PQ: 0 ANSI: 6
[13556.070860] sd 8:0:0:0: Attached scsi generic sg7 type 0
[13556.071049] sd 8:0:0:0: [sdf] 30238720 512-byte logical blocks: (15.5 GB/14.4 GiB)
[13556.071177] sd 8:0:0:0: [sdf] Write Protect is off
[13556.071180] sd 8:0:0:0: [sdf] Mode Sense: 23 00 00 00
[13556.071298] sd 8:0:0:0: [sdf] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
[13556.072727] sdf: sdf1
here is has assigned the /dev/sdf to the device. I should be seeing something like this with the CD drives as well correct? especially when I have discs in the drives.
|
|
|
06-20-2022, 06:41 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,753
|
The DVD drive should be assigned /dev/sr0.
Do the same thing with the DVD drive like the thumb drive, plug it in and look at the output of the dmesg command.
|
|
|
06-20-2022, 06:56 PM
|
#6
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Original Poster
Rep:
|
I did send you a prior message about the dmesg I receive with the DVD drive. there is no S## assigned too it. here is the data again when I plug the drive in.
[14834.640869] usb-storage 4-3:1.0: USB Mass Storage device detected
[14834.641188] scsi host6: usb-storage 4-3:1.0
[14835.652872] scsi 6:0:0:0: CD-ROM HL-DT-ST BDDVDRW UH12NS40 1.00 PQ: 0 ANSI: 0
[14835.653034] scsi 6:0:0:0: Attached scsi generic sg5 type 5
|
|
|
06-20-2022, 07:49 PM
|
#7
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
So far so good. Now insert a disk in the drive and rerun:
Code:
$ sudo dmesg | tail
It will probably show an I/O error in which case it indicates your usb drive is most likely incompatible with linux. But post the output here.
|
|
|
06-20-2022, 07:52 PM
|
#8
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Original Poster
Rep:
|
deven@Galaxy1:~$ sudo dmesg | tail
[sudo] password for deven:
[15378.815006] usb 3-4: new high-speed USB device number 15 using xhci_hcd
[15378.983704] usb 3-4: New USB device found, idVendor=1c6b, idProduct=a223, bcdDevice= 0.00
[15378.983709] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15378.983711] usb 3-4: Product: Mass Storage Device
[15378.983712] usb 3-4: Manufacturer: USB2.0 External
[15378.983713] usb 3-4: SerialNumber: 10 638324402610
[15379.004733] usb-storage 3-4:1.0: USB Mass Storage device detected
[15379.004960] scsi host6: usb-storage 3-4:1.0
[15380.045824] scsi 6:0:0:0: CD-ROM ASUS SDRW-08D2S-U B802 PQ: 0 ANSI: 0
[15380.046168] scsi 6:0:0:0: Attached scsi generic sg5 type 5
|
|
|
06-20-2022, 08:48 PM
|
#9
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
What distro and desktop environment are you running? Typically, you should be able to find the disk inserted in an optical drive in the file manager, eg dolphin or nautilus if the disk is a data disk. If the disk is cd audio, that type of disk doesn't have a filesystem on it and can't be mounted like a data disk. If it is a data disk and was somehow automounted without notifying you, if you run:
The above will list the device under the "TYPE" column as "rom" and will indicate the mountpoint.
|
|
|
06-20-2022, 08:57 PM
|
#10
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Original Poster
Rep:
|
Distro information is in the main post. One disc is a disk with Images on it. the other is a DVD movie. nothing comes up in file manager.
Debian 5.16.15
Cinnimon 5.2.7 GUI
Debian GNU/Linux 11
even@Galaxy1:~$ sudo lsblk
[sudo] password for deven:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
└─sda1
8:1 0 931.5G 0 part /media/deven/8d6274c7-915b-4ad6-9399-5983e0124fef
sdb 8:16 0 931.5G 0 disk
└─sdb1
8:17 0 931.5G 0 part /media/deven/fca2f725-5482-4ee9-9646-46287c7faf62
sdc 8:32 0 465.8G 0 disk
├─sdc1
│ 8:33 0 512M 0 part /boot/efi
├─sdc2
│ 8:34 0 464.3G 0 part /media/deven/9a6ca8c8-7bd2-4a4a-bb80-a09473c32ab3
│ /
└─sdc3
8:35 0 976M 0 part [SWAP]
sdd 8:48 0 931.5G 0 disk
└─sdd1
8:49 0 931.5G 0 part /media/deven/162f3afa-7e7c-44c6-922e-da320789be9c
sde 8:64 0 931.5G 0 disk
└─sde1
8:65 0 931.5G 0 part /media/deven/14691d53-4aac-4e36-8a87-010f91c828d9
deven@Galaxy1:~$
Last edited by bighappy; 06-20-2022 at 09:04 PM.
|
|
|
06-20-2022, 10:00 PM
|
#11
|
Moderator
Registered: Aug 2002
Posts: 26,753
|
I have an old HP USB drive
Quote:
Bus 001 Device 005: ID 03f0:4007 HP, Inc
[ 36.033283] usb 1-5: new high-speed USB device number 5 using xhci_hcd
[ 36.182500] usb 1-5: New USB device found, idVendor=03f0, idProduct=4007, bcdDevice= 1.58
[ 36.182506] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 36.182508] usb 1-5: Product: USB Mass Storage Device
[ 36.182510] usb 1-5: Manufacturer: Hewlett-Packard
[ 36.182512] usb 1-5: SerialNumber: 00101016400047C85
[ 36.258862] usb-storage 1-5:1.0: USB Mass Storage device detected
[ 36.259104] scsi host6: usb-storage 1-5:1.0
[ 36.259204] usbcore: registered new interface driver usb-storage
[ 36.270074] usbcore: registered new interface driver uas
[ 37.288083] scsi 6:0:0:0: CD-ROM HP DVD Writer 555r EH25 PQ: 0 ANSI: 0
[ 37.301091] sr 6:0:0:0: [sr1] scsi3-mmc drive: 24x/8x writer dvd-ram cd/rw xa/form2 cdda pop-up
[ 37.301315] sr 6:0:0:0: Attached scsi CD-ROM sr1
[ 37.301409] sr 6:0:0:0: Attached scsi generic sg2 type 5
|
Quote:
Bus 003 Device 008: ID 1c6b:a223 Philips & Lite-ON Digital Solutions Corporation DVD Writer Slimtype eUAU108
[15378.983704] usb 3-4: New USB device found, idVendor=1c6b, idProduct=a223, bcdDevice= 0.00
[15378.983709] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[15378.983711] usb 3-4: Product: Mass Storage Device
[15378.983712] usb 3-4: Manufacturer: USB2.0 External
[15379.004960] scsi host6: usb-storage 3-4:1.0
[15380.045824] scsi 6:0:0:0: CD-ROM ASUS SDRW-08D2S-U B802 PQ: 0 ANSI: 0
[15380.046168] scsi 6:0:0:0: Attached scsi generic sg5 type 5
|
I guess Philips makes the drive for ASUS. It isn't being recognize as a DVD drive.
|
|
|
06-20-2022, 11:55 PM
|
#12
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Please keep in mind that a CD or DVD does not necessarily contain a Linux filesystem.
What sort of CDs/DVDs are you inserting? Are you sure they should be mountable? Have you tried accessing them from, say, a media player?
|
|
|
06-21-2022, 09:40 AM
|
#13
|
Senior Member
Registered: Oct 2003
Posts: 3,018
|
A couple things. First, your lsblk output doesn't show any optical drive. By way of example, here's my lsblk output with one optical drive:
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 216.1G 0 part /media/SSD
└─sda2 8:2 0 215.7G 0 part /media/SSD2
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 931.5G 0 part /media/Data
├─sdb2 8:18 0 927.5G 0 part /media/Storage
└─sdb3 8:19 0 4G 0 part [SWAP]
sdc 8:32 0 3.6T 0 disk
└─sdc2 8:34 0 3.6T 0 part
sr0 11:0 1 630.5M 0 rom
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 1K 0 part
├─nvme0n1p5 259:2 0 45.1G 0 part
├─nvme0n1p6 259:3 0 86.1G 0 part /
├─nvme0n1p7 259:4 0 44.3G 0 part
├─nvme0n1p8 259:5 0 45.4G 0 part
└─nvme0n1p9 259:6 0 44.3G 0 part
Note the entry for sr0 with type rom. You should have some rom device listed in your output whether there's a disk in there or not. You don't which may indicate that this device is not supported.
Second. Your Asus drive dmesg output makes reference to usb2. While usb3 is suppose to be backwards compatible with usb2, I've had trouble with non-mass_storage devices designed for usb2 when connected to a usb3 port. You may want to try connecting to a usb2 port instead of usb3 if you have been connecting through a usb3 port.
|
|
|
06-21-2022, 10:44 AM
|
#14
|
LQ Newbie
Registered: Jun 2022
Posts: 15
Original Poster
Rep:
|
This has been my whole Question. I understand what I should be seeing. I am not seeing any of that from lsblk. I have a difficult time agreeing that the drives are incompatible as they work fine with my friends Linux system he is running the 5.10 Debian kernel. Incompatibility was my first go to. When I plugged them in to his system, they received the SR# and worked as they should. However, when plugged into my system here, rather it is 2.0 or 3.0 USB, they show in the LSUSB but show nothing in the line of an SR# or in the lsblk. Either I am not posting the question correctly, or I am not providing the correct information. as it seems like we are spinning our wheels here. What would be another option to test or try?
Last edited by bighappy; 06-21-2022 at 10:45 AM.
Reason: Added additional information
|
|
|
06-21-2022, 12:04 PM
|
#15
|
Moderator
Registered: Aug 2002
Posts: 26,753
|
What modules are loading?
Post the output of the command
lsmod | grep sr
|
|
|
All times are GMT -5. The time now is 06:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|