LinuxQuestions.org
Help answer threads with 0 replies.
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 11-04-2012, 09:12 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,119

Rep: Reputation: 46
How do I know my optical drive is an SCSI generic device?


What's asked.
 
Old 11-04-2012, 10:01 AM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,323

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Kind of a trick question. Most modern linux view storage by using scsi access. That doesn't mean the real physical access is scsi. For that you'd need a scsi adapter and a scsi optical drive. That is not unheard of but kind of rare.

I suspect you have some sata drive or even ide that is simply being accessed by linux as a scsi device.
 
Old 11-04-2012, 10:09 AM   #3
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,839

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Just a suggestion, install the app lshw with the GTK front end. It does a nice job of listing hardware.

My optical drive is IDE, and linux sees it as scsi.
 
Old 11-04-2012, 10:23 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by stf92 View Post
How do I know my optical drive is an SCSI generic device?
Eyeballs! Its the only way to be sure.

Quote:
Originally Posted by jefro View Post
That doesn't mean the real physical access is scsi. For that you'd need a scsi adapter and a scsi optical drive. That is not unheard of but kind of rare.
Eyeballs! Its the only way to be sure. I know a techie who got badly cuaght out by IDE on SCSI (a couple of 'ACard IDE to SCSI Adapters' IIRC).
 
Old 11-04-2012, 10:48 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,119

Original Poster
Rep: Reputation: 46
I ask because of the following (man page):


Code:
DESCRIPTION
       cdcd  allows  control of a CD player either directly off of the command
       line or in its own interactive query mode.   Invoking  cdcd  without  a
       command will cause cdcd to enter query mode.  Invoking cdcd with a com-
       mand will cause cdcd to execute that command and then terminate when it
       is finished.

OPTIONS
       --device DEVICE

       -d DEVICE
              Use  DEVICE as the CD device.  DEVICE is the device special file
              name of the CD-ROM device.  Do not  use  a  Linux  SCSI  Generic
              device.
 
Old 11-04-2012, 01:24 PM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Actually, I believe that's really saying not to use generic scsi device addresses, the kind that use major and minor numbers. Only use the standard /dev/sr* style device entries.

It used to be common for some cd-rom drive controlling programs to require direct device addressing, but that's rarely needed any more.

Last edited by David the H.; 11-04-2012 at 01:27 PM. Reason: bit of rewording
 
1 members found this post helpful.
Old 11-04-2012, 05:13 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,119

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by David the H. View Post
Actually, I believe that's really saying not to use generic scsi device addresses, the kind that use major and minor numbers. Only use the standard /dev/sr* style device entries.

It used to be common for some cd-rom drive controlling programs to require direct device addressing, but that's rarely needed any more.
I still use cdrecord thus: cdrecord <some_parameters> dev=1001,0,0 <some_other_parameters>. If I address the device as, say, /dev/hdc, then it complains, although accepts it anyways. Is this what you mean? Although in cdrecord syntax 1001,0,0 are scsibus, target, lun.

Last edited by stf92; 11-04-2012 at 05:15 PM.
 
Old 11-05-2012, 02:50 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 11,323

Rep: Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386Reputation: 1386
Nothing to do with eyes. Use lsmod | grep sg
 
Old 11-06-2012, 03:16 AM   #9
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by jefro View Post
Nothing to do with eyes.
If you have IDE HDDs or CD/DVDs drives being run on a SCSI controller, it appears to be a SCSI drive with all the hardware tools I tried.

I havent tried checking with linux hardware tools. If I had a IDE to SCSI Adapter or 5 I've give it a shot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
no device name assigned to detected optical drive on pata_marvell chicken76 Linux - Kernel 2 07-03-2009 05:21 AM
SCSI & Generic Drive issues Azhrarn Linux - Hardware 2 08-29-2005 03:08 AM
How to setup more than 1 ATAPI optical drive as SCSI Ninja_212 Slackware 4 12-12-2004 09:34 PM
SCSI Optical device fatzeus Linux - Hardware 0 11-19-2004 10:12 AM
mounting magneto-optical disks, external scsi drive freerangehuman Linux - Hardware 0 05-26-2004 01:11 PM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration