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.
|
 |
07-19-2019, 12:37 PM
|
#1
|
LQ Newbie
Registered: Jul 2019
Location: Maine
Posts: 3
Rep: 
|
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.
|
|
|
07-19-2019, 01:23 PM
|
#2
|
LQ Veteran
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: Rocky 9.5
Posts: 5,889
|
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.
|
|
|
07-19-2019, 01:41 PM
|
#3
|
LQ Newbie
Registered: Jul 2019
Location: Maine
Posts: 3
Original Poster
Rep: 
|
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
|
|
|
07-19-2019, 02:40 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,816
|
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.
|
|
|
07-19-2019, 02:45 PM
|
#5
|
LQ Newbie
Registered: Jul 2019
Location: Maine
Posts: 3
Original Poster
Rep: 
|
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
|
|
|
All times are GMT -5. The time now is 03:05 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
|
|