System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to check status of cd-drive ?

SOLVED
Go to solution
fizan
Super Advisor

how to check status of cd-drive ?

Hi experts,

how to check the status of the cd-drive & usb drive?

1. if its enabled how to disable it?

2. if its disabled how to enable it?

Thanks.
21 REPLIES
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi,

May I please know which OS you are talking about and which hardware??

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
fizan
Super Advisor

Re: how to check status of cd-drive ?

OS info:
sysname = HP-UX
nodename = elect
release = B.11.23
version = U (unlimited-user license)
machine = ia64
idnumber = 203043457869
vmunix _release_version:
@(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $
R.K. #
Honored Contributor

Re: how to check status of cd-drive ?

Hi Fizan,

Can you post o/p of:
# ioscan -fnC disk <<== for CD/DVD Drive

Thanks,
R.K.
Don't fix what ain't broke
fizan
Super Advisor

Re: how to check status of cd-drive ?

# ioscan -fuC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C

so its enabled right?
R.K. #
Honored Contributor
Solution

Re: how to check status of cd-drive ?

Yes....
Don't fix what ain't broke
R.K. #
Honored Contributor

Re: how to check status of cd-drive ?

But where are the device files? like /dev/dsk/cxtydz


Have you posted all lines for:
# ioscan -fnC disk <<= for DVD


Don't fix what ain't broke
fizan
Super Advisor

Re: how to check status of cd-drive ?

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAU3036NC
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GMAU3036NC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3
disk 5 0/3/1/0.0.0 sdisk CLAIMED DEVICE COMPAQ BD07287B4C
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 6 0/3/1/0.1.0 sdisk CLAIMED DEVICE COMPAQ BD07287B4C
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0
disk 7 0/3/1/0.2.0 sdisk CLAIMED DEVICE COMPAQ BD07287B4C
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0
disk 8 0/3/1/0.3.0 sdisk CLAIMED DEVICE COMPAQ BD07287B4C
/dev/dsk/c4t3d0 /dev/rdsk/c4t3d0
disk 10 0/3/1/1.3.0 sdisk CLAIMED DEVICE COMPAQ BD1468A4C5
/dev/dsk/c5t3d0 /dev/rdsk/c5t3d0
disk 11 0/3/1/1.4.0 sdisk CLAIMED DEVICE COMPAQ BD1468A4C5
/dev/dsk/c5t4d0 /dev/rdsk/c5t4d0
disk 12 0/3/1/1.5.0 sdisk CLAIMED DEVICE COMPAQ BD1468A4C5
/dev/dsk/c5t5d0 /dev/rdsk/c5t5d0
disk 13 0/3/1/1.8.0 sdisk CLAIMED DEVICE COMPAQ BD1468A4C5
/dev/dsk/c5t8d0 /dev/rdsk/c5t8d0

this the full o/p.

how to find USB device is enabled or not?
R.K. #
Honored Contributor

Re: how to check status of cd-drive ?

The HP-UX 11.23 USB driver can work for mice and keyboards.

As far as I know, it doesn't support any kind of storage devices.

Also have a look here:
http://www.hp.com/products1/storage/compatibility/tapebackup/software/14-9999-0004.html#matrixtable

Don't fix what ain't broke
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi,

It supports DVD and CD.
And in EFI shell you can access usb thumb drive also.

Depending on the OS version it detects like

with USB 1.1 driver -- it will detect as /dev/devicefilesystem.....
with USB 2.0 driver -- it will detect as normal cxtxdx

Regards,
Sooraj U
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi Fizan,

If you want to find out the devices attached you may check the CLASS of the device. I have attached a very usefull document . It will clear all your questions

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
fizan
Super Advisor

Re: how to check status of cd-drive ?

sooraj,

by default how to check the usb drive is in claimed state or not?
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi,

I request you to go through that doc, only 5 pages. It is clearly menioned with example.

Regards
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
fizan
Super Advisor

Re: how to check status of cd-drive ?

sooraj,

no document is attached by you.
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi,

It is there above 4 replies,

Regards
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
fizan
Super Advisor

Re: how to check status of cd-drive ?

# ioscan -fuC disk
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
==========
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C

how to bring it to unclaimed state?
Lijeesh N G_1
Respected Contributor

Re: how to check status of cd-drive ?

Hi,

This is the Software state of a device,If the proper drivers are loaded,
the state of the device will come to the CLAIMED state,
Below is the details of states,

CLAIMED==>software bound successfully
UNCLAIMED==>no associated software found
DIFF_HW==>software found does not match the associated software
NO_HW==>the hardware at this address is no longer responding
ERROR==>the hardware at this address is responding but is in an error state
SCAN==>node locked, try again later


Regards,
LIJEESH N G
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi,

You will not be able to make it UNCLAIMED , since the disk is detected. You can remove the device file of the cdrom from the /dev/ directory using rmsf.

I will not suggest you to do this, and I dont know why at all you want to do this with an HP-UX server.

The device filecan be created again by a root user.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: how to check status of cd-drive ?

Hi Fizan,

I can see so many threads ...


» how to disable dvd drive?
» how to disable dvd-rom drive?
» how to check status of cd-drive ?

http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1360607
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1360992
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1360981

May I please know which one I should reply???
Did you get the answer ?

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Torsten.
Acclaimed Contributor

Re: how to check status of cd-drive ?

>>
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C

how to bring it to unclaimed state?

No way!




What is your goal to "enable/disable" or whatever you call this?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
fizan
Super Advisor

Re: how to check status of cd-drive ?

to disable the cd-rom drive ..
Torsten.
Acclaimed Contributor

Re: how to check status of cd-drive ?

Now we already discuss in up to three different threads ... :-(

Why do you want to disable?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!