Linux - HardwareThis 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.
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.
Maybe this will help also. I have two CD drives. One is the internal IDE drive I'm trying to get scsi emulation working for, the other is an external USB drive that already emulates as a scsi device. Note that despite the settings above, the internal drive is showing up as IDE and not SCSI:
# hwinfo --cdrom
12: IDE 02.0: 10602 CD-ROM
[Created at ide.127]
Unique ID: hY5p.8dw3P2TyJK3
Hardware Class: cdrom
Model: "LTN526D"
Device: "LTN526D"
Revision: "YSR5"
Serial ID: ""
Driver: "ide-default"
Device File: /dev/hdc
Drive status: no medium
Config Status: cfg=yes, avail=yes, need=no
Attached to: #4 (IDE interface)
16: SCSI 103.0: 10602 CD-ROM
[Created at usb.100]
Unique ID: B3Fu.2hERXL7yFo5
Hardware Class: cdrom
Model: "Memorex 52MAXX 3252AJ"
Hotplug: USB
Vendor: "Memorex"
Device: "52MAXX 3252AJ"
Revision: "QWS5"
Serial ID: "00000000000037AB"
USB GUID: 05ab006000000000000037ab
Driver: "usb-storage"
Device File: /dev/sr0
Speed: 1.5 Mbps
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no
Attached to: #14 (Hub)
OK, this is it for tonight. After I enter the command
modprobe ide-scsi
my hwinfo --cdrom looks like this, but I still can't mount the a cd. How can I get the ide-scsi module to load without having to issue the modprobe command?
14: SCSI 100.0: 10602 CD-ROM
[Created at scsi.230]
Unique ID: Q8g5.j0s4jxLIh9B
Hardware Class: cdrom
Model: "LITEON LTN526D"
Vendor: "LITEON"
Device: "LTN526D"
Revision: "YSR5"
Serial ID: ""
Driver: "ide-scsi"
Device File: /dev/sr1
Config Status: cfg=no, avail=yes, need=no
Drive Speed: 52
17: SCSI 103.0: 10602 CD-ROM
[Created at usb.100]
Unique ID: B3Fu.2hERXL7yFo5
Hardware Class: cdrom
Model: "Memorex 52MAXX 3252AJ"
Hotplug: USB
Vendor: "Memorex"
Device: "52MAXX 3252AJ"
Revision: "QWS5"
Serial ID: "00000000000037AB"
USB GUID: 05ab006000000000000037ab
Driver: "usb-storage"
Device File: /dev/sr0
Speed: 1.5 Mbps
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no
Attached to: #15 (Hub)
linux:/tmp # mount /media/cdrom
/dev/cdrom: Input/output error
OK, this really is it for tonight. I added the line
modprobe ide-scsi
to the end of /etc/init.d/boot.local and this is how things look now:
/etc/fstab
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /data1 auto noauto,user 0 0
/dev/hda3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults,devmode=0666 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/cdrom2 /media/cdrom2 auto ro,noauto,user,exec 0 0
ls -l /dev/cdrom*
lrwxrwxrwx 1 root root 3 Dec 12 22:07 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Dec 12 22:11 /dev/cdrom2 -> sr1
17: SCSI 103.0: 10602 CD-ROM
[Created at usb.100]
Unique ID: B3Fu.2hERXL7yFo5
Hardware Class: cdrom
Model: "Memorex 52MAXX 3252AJ"
Hotplug: USB
Vendor: "Memorex"
Device: "52MAXX 3252AJ"
Revision: "QWS5"
Serial ID: "00000000000037AB"
USB GUID: 05ab006000000000000037ab
Driver: "usb-storage"
Device File: /dev/sr1
Speed: 1.5 Mbps
Config Status: cfg=yes, avail=yes, need=no
Attached to: #15 (Hub)
Attempt to mount CD in either drive:
# mount /media/cdrom2
/dev/cdrom2: Input/output error
mount: you must specify the filesystem type
# mount /media/cdrom
/dev/cdrom: Input/output error
mount: you must specify the filesystem type
I'm calling it a night. Thanks for all of the help to date. Does any of this look like I"m getting close to a resolution? Any more advice is greatly apprecaited.
OK. It must be the late hour or the tunnel vision I was getting, but I decided to try another CD and now it works. Also, when I run K3b, I can see the internal read-only CD device as a source for copying CDs. Thanks for letting me ramble and for all of the help and advice.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.