Re: [rhn-users] usb camera removes second cdrom-R/RW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Sandor Suta wrote:

Yes!...and what's that?

The order the devices are found. The USB devices are checked before the ide-scsi driver gets loaded.

No the CDROM (CD-R/RW) is not a USB, I think it's using the scsi device.
The CDWriter (CD-R/RW) is slave and the DVD-player is master on IDE2.

OK, IDE-SCSI. I'm sure that's not loaded untill after USB.

Yes it's correct /dev/camera is a suymlink to /dev/sda1

Yes it's correct /dev/cdrom1 is a link to /dev/scd0

Good.
What about /dev/cdrom ? Is it the DVD or the CDR? You might have got the ide_scsi driver controlling the DVD o and the CDR for a while.

OK, I did that and it worked!? Thanks, I dont know but earlier a cdrom2

I ment remove the whole line, and let kudzu redetect them.

appered with the same caracteristics as cdrom1 (/dev/scd0) when
connecting the camera and disappered when disconnecting...strange but I
have done some updating from redhat since then.

Because it though something else was cdrom1(scsi-ID 1,0,0) so the new one (scsi-ID 0,0,0) needed a new name and kudzu picked /dev/cdrom2. It pointed to /dev/scd0 because it was still the first SCSI CD.

How and what is changeing the order? is this viewable/changeable in any
file?

The IDs are BUS, DEV, LUN. 0(,0,0 ) is the first SCSI bus, device 0, LUN 0.
If you have the camera plugged in, usb-storage is loaded, and becomes bus 0. Then ide-scsi is loaded and gets bus 1.
If the camara is NOT plugged (at boot) ide-scsi is loaded and gets bus 0. When you plug the camera in, hotplug loads the usb-storage module, and it gets assigened SCSI bus 1.

I thing there are some kernel parameters that you can put in grub.conf or lilo.conf to change that, but I don't know what they are.
Ask on the usb -users list (http://linux-usb.sourceforge.net/mailing.html) for help in forcing usb-storage to use SCSI bus 1, and ide-storage to use bus 0.

Then kudzu won't see the CDR or camera on a different SCSI bus.

-Thomas




--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux