Debugging device drivers

joerg at britannica.bec.de joerg at britannica.bec.de
Wed Jan 11 14:55:17 PST 2006


On Wed, Jan 11, 2006 at 10:19:45PM +0100, Francis GUDIN wrote:
> On Wednesday, 11 January 2006 at 13:10:42 -0800, Danial Thom wrote :
> > 
> > Trace code is your friend. Compiling a kernel is
> > so fast these days, just compile and reboot. 
> > 
> 
> Hum... not exactly: my host is a 2xPPro (200MHz). Rebuilding a kernel is
> about 1/4 hour. Rebooting globally lasts a few minutes. Joy, joy, joy...
> Oh ! Also: i'd like to avoid launching X everytime, firefox (s**t) and
> all over again. This *is* painful. This is why i asked...

First of all, get a console to play sound like mad123 or so. Second, do
you have your device settings (IRQ, DMA, ...)? You need to add two
entries your kernel config:
device pcm
device snd_sbc0 at isa? ...

where "..." are the configuration parameters. You can change them via
the kernel config (boot -c).

Joerg





More information about the Users mailing list