transfer control to usb driver

Kamal R. Prasad kamalp at acm.org
Sun Nov 28 07:26:06 PST 2004


Hello,

I am using Freebsd 5.2. I wrote a driver whose ATTACH()/DETACH() 
routines are called correctly when the usb device is attached/detached. 
But when I do an open()/read()/ioctl()/close() -it calls usbopen(), 
usbread(), usbioctl() etc.. instead of calling mydriverread(), 
mydriverioctl()...  I have copied src from urio.c into my skeletal 
driver -and it should have worked (assuming the former does). What could 
be the error?

thanks
-kamal



More information about the freebsd-hackers mailing list