LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 07-19-2019, 12:37 PM   #1
jfriordan
LQ Newbie
 
Registered: Jul 2019
Location: Maine
Posts: 3

Rep: Reputation: Disabled
Attaching Dell USB DVD/CD Drive Issues


Hello!
I have a Dell Latitude E5570 laptop with Enterprise6 kernel 2.6.32-754.17.1.el6.x86_64 and I am trying to attach and mount a Dell USB DVD/CD drive. I don't see anything in /dev that would indicate I could mount the device. I have rebooted with the device attached, I have checked the BIOS to make sure USB support is enabled. I can see information about the device in "dmesg" "lsusb" and /var/log/messages. But nothing indicates that the device is ready for use. Please see examples of the commands I ran. I must be missing something. Thank you in advance John.
Code:
#dmesg
usb 1-1: new high speed USB device number 6 using xhci_hcd
usb 1-1: New USB device found, idVendor=413c, idProduct=9016
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: Dell DVD+/-RW Drive DW316
usb 1-1: Manufacturer: Dell Inc.
usb 1-1: SerialNumber: KX7Z7PG2305
usb 1-1: configuration #1 chosen from 1 choice
Code:
#lsusb
Bus 001 Device 006: ID 413c:9016 Dell Computer Corp.
Code:
/var/log/messages shows the following after I plug it in:
Jul 19 12:13:33 sa-foo kernel: usb 1-1: new high speed USB device number 5 using xhci_hcd
Jul 19 12:13:33 sa-foo kernel: usb 1-1: New USB device found, idVendor=413c, idProduct=9016
Jul 19 12:13:33 sa-foo kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 19 12:13:33 sa-foo kernel: usb 1-1: Product: Dell DVD+/-RW Drive DW316
Jul 19 12:13:33 sa-foo kernel: usb 1-1: Manufacturer: Dell Inc.
Jul 19 12:13:33 sa-foo kernel: usb 1-1: SerialNumber: KX7Z7PG2305
Jul 19 12:13:33 sa-foo kernel: usb 1-1: configuration #1 chosen from 1 choice
Jul 19 12:13:33 sa-foo audispd: node=sa-.local type=PATH msg=audit(1563552813.603:709): item=3 name="../bus/usb/001/005" nametype=UNKNOWN
Code:
#fdisk -l
(Only shows /dev/sda, /dev/sda1, /dev/sda2, /dev/sda3 and accompanying volume groups and logical volumes)
Code:
/etc/udev/rules.d/70-persistent-cd.rules:
#DVD+_-RW_DW316 (pci-0000:00:14.0-usb-0:3:1.0-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Dell_DVD+_-RW_DW316_KX7Z7PG2305-0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Dell_DVD+_-RW_DW316_KX7Z7PG2305-0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Dell_DVD+_-RW_DW316_KX7Z7PG2305-0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Dell_DVD+_-RW_DW316_KX7Z7PG2305-0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"

Last edited by jfriordan; 07-19-2019 at 01:02 PM.
 
Old 07-19-2019, 01:23 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
I'd expect it to just work when you insert a disc.
What happens when you do that?

fdisk isn't going to see an empty disk drive.

Last edited by scasey; 07-19-2019 at 01:25 PM.
 
Old 07-19-2019, 01:41 PM   #3
jfriordan
LQ Newbie
 
Registered: Jul 2019
Location: Maine
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Sean,

Nothing gets logged when I insert or remove the CD. Only when I unplug the device or reboot.

Thanks for the reply!
John
 
Old 07-19-2019, 02:40 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
If the drive is recognized that I would expect it to have a device ID of /dev/sr0 (if it was the only DVD installed). If you do then the drive is ready to go.

I have internal drive but I also have USB drive that I connect to my CentOS 6 system. Here are my persistent rules.
Code:
# DVD_Writer_555r (pci-0000:00:1d.7-usb-0:2:1.0-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HP_DVD_Writer_555r_00101016400047C85-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HP_DVD_Writer_555r_00101016400047C85-0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HP_DVD_Writer_555r_00101016400047C85-0:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HP_DVD_Writer_555r_00101016400047C85-0:0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"
What type of disk are you trying to read? If you are not running a desktop nothing happens. If you are, then Gnome's default settings should detect that a disk is inserted and I would expect it to be automounted and/or some window to popup.

Filesystems are mounted not physical devices.

Last edited by michaelk; 07-19-2019 at 02:41 PM.
 
Old 07-19-2019, 02:45 PM   #5
jfriordan
LQ Newbie
 
Registered: Jul 2019
Location: Maine
Posts: 3

Original Poster
Rep: Reputation: Disabled
Sean,

Thank you for trying to help me. The light bulb went off in my head. This image was from a DoD iso and I started to look for a STIG that might be causing it. Sure enough that was the issue. The was a config file in /etc/modprobe.d that did the following: "install usb-storage /bin/true" Once I commented that out and rebooted I now have my /dev/scd0 device.

Sorry to waist your time Sean.

Thanks again
John
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Attaching an additional hard drive to /home MusicalCoder Linux - Newbie 3 03-20-2017 08:36 PM
Attaching an external drive to a server should be picked up by (XBMC) client martdj Linux - Newbie 8 07-18-2011 08:41 AM
Where to see the USB data after attaching USB device to PC? Nishant Desai Linux - General 8 07-15-2006 08:41 AM
Attaching Xbox Hard drive to Mandriva. cjdw Mandriva 5 06-27-2005 07:24 AM
SusE 9.0 - hangs at Installation-bootup (while attaching my SATA drive...) tokugawa Linux - Hardware 4 10-25-2003 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration