device driver info

Duncan Roe duncanr at optimation.com.au
Wed Jun 19 11:06:25 EST 2002


I found the LKModules(sp?) HOWTO very helpful - it's long, with params for just
about any module you can build (except sound:)

Cheers ... Duncan.

On Wed, Jun 19, 2002 at 10:32:33AM +1000, Martijn van Oosterhout wrote:
> On Wed, Jun 19, 2002 at 08:29:30AM +1000, Simon Burton wrote:
> > Hello good CLUGers,
> > 
> > How do i find what driver is connected
> > to what device file?
> > something in /proc?
> 
> IIRC, /proc/devices describes what major number go to what "device" and you
> may be able to work the driver from them. For non-loaded drivers I have no
> idea.
> 
> > How to find what parameters a driver
> > accepts ("dma=1" "joystick=0x200" etc.) ?
> 
> The source for modules contains stuff like MODULE_PARAM() for that. Maybe a
> grep? The stuff is included in the object file so you may be able to use
> objdump to get the info.
> 
> HTH,
> -- 
> Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> > There are 10 kinds of people in the world, those that can do binary
> > arithmetic and those that can't.
> 
> 





More information about the linux mailing list