From: Hugo V. <hvw...@ya...> - 2004-12-25 14:56:12
|
Jean-Daniel: If you change these lines in your patch: 3295 (devcvte.c:1107) 10530 (vt_ioctl.c:697) 10547 (vt_ioctl.c:714) and make ->keyboard ->beeper instead Then you have the pcspeaker back, as per recent posting by Aivils. WFM except that you have to tell gdm not to beep and you have to insert a "beeper turner offer" into the sequence of init that reboots the system, because gdm beeps anyway and he uses gdk_beep() that apparently has problems turning the beep off. Something like this will do: #include <sys/ioctl.h> #include <linux/kd.h> #include <fcntl.h> int main( int argc, char **argv ) { int fd = open("/dev/tty1", O_WRONLY|O_NONBLOCK); ioctl(fd, KDMKTONE, 0); } Hugo --- Jean-Daniel Pauget <jd...@di...> wrote: > > as kernel 2.4.29 provides several interesting > harware improvement, not to > say also some igmp security flawness > corrections, I put a cosmetic > bruby patch targeted to 2.4.29-pre2 on my site : > > http://disjunkt.com.local/dualhead/ > > the patch itself : > > http://disjunkt.com.local/dualhead/bruby-2.4.29-pre2-20041217.bz2 > > -- > Jean-Daniel Pauget > > Tél: +33 (0) 676 952 746 > 2, rue André PELCA > 50580 Denneville-Plage > France > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Linuxconsole-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 |