Operating System - HP-UX
1748156 Members
4270 Online
108758 Solutions
New Discussion юеВ

Re: how to check status of cd-drive ?

 
SOLVED
Go to solution
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!