Operating System - HP-UX
1837981 Members
1901 Online
110124 Solutions
New Discussion

how can a device be claimed by third party device drivers without reboot

 
SOLVED
Go to solution
andre bai
Occasional Contributor

how can a device be claimed by third party device drivers without reboot

When I connect a scsi tape device to the hp system, I want to my device driver to claim this tape device without rebooting the system.

I tried ioscan with -M and -H option.
It did not work, the device I connected was claimed by the native tape driver instead.

Am I on the right track?

4 REPLIES 4
S.K. Chan
Honored Contributor
Solution

Re: how can a device be claimed by third party device drivers without reboot

You can't because 3rd party device driver has to be installed and configured into the kernel. To do this the kernel has to be rebuilt and a reboot is require afterwards. May I ask what driver is it ?
andre bai
Occasional Contributor

Re: how can a device be claimed by third party device drivers without reboot

I am developing a scsi tape device driver.
So, everytime when a new device is attached to the system, we have to rebuild the kernel and reboot the system to have that device claimed by our driver?
Victor_5
Trusted Contributor

Re: how can a device be claimed by third party device drivers without reboot

ioscan only for HP devices, or you can try insf -e for HP devices, for your case, since it is 3rd party, I think you have to reboot.

S.K. Chan
Honored Contributor

Re: how can a device be claimed by third party device drivers without reboot

Yes, unless you "pre-determined" your scsi port and compile the kernel in such a way that that scsi port always claimed your driver. Later when you plug in your scsi tape device to that scsi port, you need NOT rebuild the kernel and reboot.