Find the answer to your Linux question:
Results 1 to 5 of 5

Thread: Detection Error

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Detection Error


    I have a CD/ROM and I want to use the CD-ROM but it detects it as a CD. Is there a CMD I can use?

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    I am not getting it? Could you explain a bit more?
    Post the output of this too :
    Code:
    sudo hdparm -I /dev/cdrom
    sudo sdparm -I /dev/cdrom
    In case any of command throw command not found error, install package.
    Code:
    sudo apt-get clean all
    sudp apt-get update
    sudo apt-get install hdparm sdparm
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Heres the output

    Code:
    /dev/cdrom:
    
    ATAPI CD-ROM, with removable media
    	Model Number:       ARTEC   WRR-52Z           1.25 20030606 
    	Serial Number:      
    	Firmware Revision:  1.25    
    Standards:
    	Likely used CD-ROM ATAPI-1
    Configuration:
    	DRQ response: 50us.
    	Packet size: 12 bytes
    Capabilities:
    	LBA, IORDY(can be disabled)
    	DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2 
    	     Cycle time: min=120ns recommended=120ns
    	PIO: pio0 pio1 pio2 pio3 pio4 
    	     Cycle time: no flow control=240ns  IORDY flow control=120ns
    Commands/features:
    	Enabled	Supported:
    	   *	Power Management feature set
    	   *	PACKET command feature set
    	   *	DEVICE_RESET command
    	   *	NOP cmd
    HW reset results:
    	CBLID- above Vih
    	Device num = 0
    Code:
    Usage: sdparm [--all] [--clear=STR] [--command=CMD] [--dbd] [--defaults]
                  [--dummy] [--flexible] [--get=STR] [--help] [--hex] [--inquiry]
                  [--long] [--num-desc] [--page=PG[,SPG]] [--quiet] [--save]
                  [--set=STR] [--six] [--transport=TN] [--vendor=VN] [--verbose]
                  [--version] DEVICE
    
           sdparm --enumerate [--all] [--inquiry] [--long] [--page=PG[,SPG]]
                  [--transport=TN] [--vendor=VN]
      where:
        --all | -a            list all known fields for given device
        --clear=STR | -c STR    clear (zero) field value(s)
        --command=CMD | -C CMD    perform CMD (e.g. 'eject')
        --dbd | -B            set DBD bit in mode sense cdb
        --defaults | -D       set a mode page to its default values
        --dummy | -d          don't write back modified mode page
        --enumerate | -e      list known pages and fields (ignore device)
        --flexible | -f       compensate for common errors, relax some checks
        --get=STR | -g STR    get (fetch) field value(s)
        --help | -h           print out usage message
        --hex | -H            output in hex rather than name/value pairs
        --inquiry | -i        output INQUIRY VPD page(s) (def: mode page(s))
        --long | -l           add description to field output
        --num-desc | -n       report number of mode page descriptors
        --page=PG[,SPG] | -p PG[,SPG]    page (and optionally subpage) number
                              [or abbrev] to output, change or enumerate
        --quiet | -q          suppress device vendor/product/revision string line
        --save | -S           place mode changes in saved page as well
        --set=STR | -s STR    set field value(s)
        --six | -6            use 6 byte SCSI mode cdbs (def: 10 byte)
        --transport=TN | -t TN    transport protocol number [or abbrev]
        --vendor=VN | -M VN    vendor (manufacturer) number [or abbrev]
        --verbose | -v        increase verbosity
        --version | -V        print version string and exit
    
    View or change SCSI mode page fields (e.g. of a disk or CD/DVD drive)

  4. $spacer_open
    $spacer_close
  5. #4
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,777
    Ubuntu has detected CD Drive correctly. Could explain your problem a bit more?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    I have a CD/CD-ROM and I want to use the WIndows Apps on it and yes I have WINE. Can I fire a command at it to force it to detect as a data disk?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •