[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pc speaker module
Hi Fabbri,
I'am a newcomer too .
I found your topic interesting ,
but the link seems to be removed .
I think writing a driver for
controlling the PC internal speaker
would be a very interesting learning
experience .
Can you give me more information
on this topic and the driver source too .
Thank You .
With Best Regards
--- Ricardo Fabbri <rfabbri@if.sc.usp.br> wrote: >
Hi, all,
> I'm a newcomer here, so take it easy :)
>
> I searched the mail archive, and I found a message
> about a nice
> device driver intro on the PC Speaker:
>
>
http://mail.nl.linux.org/kernelnewbies/2001-05/msg00000.html
>
> Unfortunately the module works only for 2.2 linux
> kernels, and I
> want it on 2.4.
>
> Maybe it does work for 2.4; maybe it's my fault.
> When I compile it on my system, I get the following
> errors:
>
> gcc -c -D__KERNEL__ -DMODULE -O -Wall
> -I/usr/src/linux/include myaudio.c
> In file included from myaudio.c:1:
> myaudio.h:46: warning: initialization from
> incompatible pointer type
> myaudio.h:47: warning: initialization from
> incompatible pointer type
> myaudio.h:50: warning: initialization from
> incompatible pointer type
> myaudio.h:52: warning: initialization from
> incompatible pointer type
> myaudio.h:54: warning: initialization from
> incompatible pointer type
> myaudio.h: In function `setvect':
> myaudio.h:80: warning: `packed' attribute ignored
> myaudio.h: In function `getvect':
> myaudio.h:117: Internal compiler error in
> `fixup_var_refs_1', at
> function.c:2081Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html>
> for instructions.
> make: *** [myaudio.o] Error 1
>
> Sorry if I'm making any mistake.
> My system is Slackware 8 (still), GCC 2.95.3, Kernel
> 2.4.14
>
> thanks for any help,
> Fabbri.
>
> --
> =================================================
> RICARDO FABBRI
> >> Cybernetic Vision Research Group - CVRG/IFSC
> http://cyvision.if.sc.usp.br
> >> Computer Science
> ICMC USP - Campus Sao Carlos (Brazil)
> >> HOME PAGE:
> http://cyvision.if.sc.usp.br/~rfabbri
> =================================================
>
>
>
>
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:
> http://mail.nl.linux.org/kernelnewbies/
> FAQ: http://kernelnewbies.org/faq/
>
________________________________________________________________________
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
visit http://in.autos.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/