Re: PC speaker

2020-06-23 Thread Oleksandr Natalenko
Hello. On Thu, Jun 18, 2020 at 01:49:37PM -0400, R.F. Burns wrote: > Is it possible to write a kernel module which, when loaded, will blow > the PC speaker? 1) where have you been starting from 2011 till 2015? 2) why does the posting date of this letter varies a little bit? 3) why June (but July

Re: PC speaker

2020-06-18 Thread Randy Dunlap
On 6/18/20 10:49 AM, R.F. Burns wrote: > Is it possible to write a kernel module which, when loaded, will blow > the PC speaker? > Are you still having problems with those school students? https://marc.info/?l=linux-kernel&m=118167999520788&w=2 -- ~Randy

Re: PC speaker

2019-06-13 Thread Randy Dunlap
On 6/13/19 12:57 PM, Theodore Ts'o wrote: > On Thu, Jun 13, 2019 at 12:16:37PM -0400, R.F. Burns wrote: >> Is it possible to write a kernel module which, when loaded, will blow >> the PC speaker? > > Yes; in fact, it's already been done. See sound/drivers/pcsp/ in the > Linux kernel sources. > >

Re: PC speaker

2019-06-13 Thread Theodore Ts'o
On Thu, Jun 13, 2019 at 12:16:37PM -0400, R.F. Burns wrote: > Is it possible to write a kernel module which, when loaded, will blow > the PC speaker? Yes; in fact, it's already been done. See sound/drivers/pcsp/ in the Linux kernel sources. - Ted

Re: PC speaker

2017-06-12 Thread Dmitry Torokhov
On Mon, Jun 12, 2017 at 2:25 PM, Randy Dunlap wrote: > On 06/12/17 12:13, R.F. Burns wrote: >> Is it possible to write a kernel module which, when loaded, will blow >> the PC speaker? >> > > deja vu all over again. Same author. > > http://marc.info/?l=linux-kernel&m=118165248822375&w=2 10 years

Re: PC speaker

2017-06-12 Thread Randy Dunlap
On 06/12/17 12:13, R.F. Burns wrote: > Is it possible to write a kernel module which, when loaded, will blow > the PC speaker? > deja vu all over again. Same author. http://marc.info/?l=linux-kernel&m=118165248822375&w=2 are you a bot? -- ~Randy

Re: PC speaker

2007-06-15 Thread Kyle Moffett
On Jun 15, 2007, at 15:34:52, Jan Engelhardt wrote: Perhaps live cd? In which case, the OP should, as recommended in this thread already, deactivate choosing boot devices, if that's possible. (Unfortunately, newer BIOSes with 'integrated bootmenu' with F8 or so, but I have not seen a way t

Re: PC speaker

2007-06-15 Thread Phillip Susi
Jan Engelhardt wrote: On Jun 15 2007 13:07, Phillip Susi wrote: R.F. Burns wrote: However, over the past several weeks, the students have found more creative ways to abuse the PC speaker (outside of the OS.) The Powers that Be are asking that the PC speakers be disabled completely. With the s

Re: PC speaker

2007-06-15 Thread Jan Engelhardt
On Jun 15 2007 13:07, Phillip Susi wrote: > R.F. Burns wrote: >> However, over the past several weeks, the students have found more >> creative ways to abuse the PC speaker (outside of the OS.) The Powers >> that Be are asking that the PC speakers be disabled completely. With >> the small number

Re: PC speaker

2007-06-15 Thread Phillip Susi
R.F. Burns wrote: However, over the past several weeks, the students have found more creative ways to abuse the PC speaker (outside of the OS.) The Powers that Be are asking that the PC speakers be disabled completely. With the small number of techs we have, it would be very impractical to go a

Re: PC speaker

2007-06-14 Thread Kyle Moffett
On Jun 13, 2007, at 15:53:30, Pavel Machek wrote: Other great examples are hardware that allows you to control voltages, fan speeds, and operating frequencies. Sometimes you can overvoltage it directly and blow it immediately. Other times, you can increase the voltage and operating frequency

Re: PC speaker

2007-06-13 Thread Pavel Machek
Hi! > > > >I'd say impossible. Just disconnect it from the motherboard. > > > > > > The days when hardware *relied* on software (hence, where software > > > could damage hardware) are over. > > > Nice theory but you can destroy or render useless a fair amount of PC > > hardware via software, usua

Re: PC speaker

2007-06-13 Thread Chris Smith
So, the idea was raised about seeing if there was a way to blow the PC speaker by loading a kernel module. If so, a mass-deployment of a kernel module overnight would take care of the PC speaker problem once and for all. Sounds as though the problem has more to do with the students than the har

Re: PC speaker

2007-06-13 Thread Paulo Marques
Maciej W. Rozycki wrote: On Tue, 12 Jun 2007, Jan Engelhardt wrote: 4) It assumes the current will be sufficient to burn out the speaker. (I know it will get very hot on older machines, whether it will burn out -- might even depend on the exact speaker model.) Since you can set the x86's cryst

RE: PC speaker

2007-06-13 Thread Maciej W. Rozycki
On Tue, 12 Jun 2007, Jan Engelhardt wrote: > >4) It assumes the current will be sufficient to burn out the speaker. (I > >know it will get very hot on older machines, whether it will burn out -- > >might even depend on the exact speaker model.) > > Since you can set the x86's crystals frequency f

Re: PC speaker

2007-06-13 Thread Helge Hafting
Jan Engelhardt wrote: Since you can set the x86's crystals frequency from 1193182 to 18 Hz (PIT_TICK_RATE / 1 to PIT_TICK_RATE / 65535) [*], you can never really bust it. But even then, what would a speaker do it was constanly given +5V? (I _suppose_ the other level is 0V, not -5V -- makes for ea

Re: PC speaker

2007-06-12 Thread David Schwartz
> So, the idea was raised about seeing if there was a way to blow the PC > speaker by loading a kernel module. If so, a mass-deployment of a > kernel module overnight would take care of the PC speaker problem once > and for all. No way. None of the conceivable ways of burning out hardware are s

Re: PC speaker

2007-06-12 Thread Clemens Koller
R.F. Burns schrieb: On 6/12/07, Lee Revell <[EMAIL PROTECTED]> wrote: On 6/12/07, R.F. Burns <[EMAIL PROTECTED]> wrote: > Is it possible to write a kernel module which, when loaded, will blow the PC > speaker? LOL. May I ask what your use case is? I am helping a small school system with a

Re: PC speaker

2007-06-12 Thread Jan Engelhardt
On Jun 12 2007 16:25, R.F. Burns wrote: > > However, over the past several weeks, the students have found more > creative ways to abuse the PC speaker (outside of the OS.) The Powers > that Be are asking that the PC speakers be disabled completely. With > the small number of techs we have, it wo

RE: PC speaker

2007-06-12 Thread Jan Engelhardt
On Jun 12 2007 13:08, David Schwartz wrote: > >As far as burning out a speaker goes, if you can drop the frequency to zero >(DC) and get continuous current through the speaker, that could burn it out. >This makes several assumptions, many of which may not be true on modern PCs: > >1) It assumes th

Re: PC speaker

2007-06-12 Thread R.F. Burns
On 6/12/07, Lee Revell <[EMAIL PROTECTED]> wrote: On 6/12/07, R.F. Burns <[EMAIL PROTECTED]> wrote: > Is it possible to write a kernel module which, when loaded, will blow the PC > speaker? LOL. May I ask what your use case is? I am helping a small school system with a number of Linux worksta

RE: PC speaker

2007-06-12 Thread David Schwartz
> > >I'd say impossible. Just disconnect it from the motherboard. > > > > The days when hardware *relied* on software (hence, where software > > could damage hardware) are over. > Nice theory but you can destroy or render useless a fair amount of PC > hardware via software, usually because the th

Re: PC speaker

2007-06-12 Thread jimmy bahuleyan
Lee Revell wrote: > On 6/12/07, R.F. Burns <[EMAIL PROTECTED]> wrote: >> Is it possible to write a kernel module which, when loaded, will blow >> the PC >> speaker? > > LOL. May I ask what your use case is? > or isn't it mis-use case :) > Lee -jb -- Tact is the art of making a point without m

Re: PC speaker

2007-06-12 Thread Jan Engelhardt
On Jun 12 2007 16:19, Alan Cox wrote: > >> >I'd say impossible. Just disconnect it from the motherboard. >> >> The days when hardware *relied* on software (hence, where software >> could damage hardware) are over. > >Nice theory but you can destroy or render useless a fair amount of PC >hardware

Re: PC speaker

2007-06-12 Thread Alan Cox
> >I'd say impossible. Just disconnect it from the motherboard. > > The days when hardware *relied* on software (hence, where software > could damage hardware) are over. Nice theory but you can destroy or render useless a fair amount of PC hardware via software, usually because the thing is *DESI

Re: PC speaker

2007-06-12 Thread Jan Engelhardt
On Jun 12 2007 15:57, Jan Engelhardt wrote: >On Jun 12 2007 09:54, R.F. Burns wrote: >> On 6/12/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: >>> On Jun 12 2007 08:45, R.F. Burns wrote: > >>> > Is it possible to write a kernel module which, when loaded, will blow the >>> > PC >>> > speaker? >>> >>

Re: PC speaker

2007-06-12 Thread Lee Revell
On 6/12/07, R.F. Burns <[EMAIL PROTECTED]> wrote: Is it possible to write a kernel module which, when loaded, will blow the PC speaker? LOL. May I ask what your use case is? Lee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTEC

Re: PC speaker

2007-06-12 Thread Jan Engelhardt
On Jun 12 2007 09:54, R.F. Burns wrote: > On 6/12/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: >> On Jun 12 2007 08:45, R.F. Burns wrote: >> > Is it possible to write a kernel module which, when loaded, will blow the >> > PC >> > speaker? >> >> Define blow. >> (As in "damage"?) > > Yes. As in,

Re: PC speaker

2007-06-12 Thread R.F. Burns
On 6/12/07, Jan Engelhardt <[EMAIL PROTECTED]> wrote: On Jun 12 2007 08:45, R.F. Burns wrote: > > Is it possible to write a kernel module which, when loaded, will blow the PC > speaker? Define blow. (As in "damage"?) Yes. As in, blow it out/damage it so that it is no longer usable. - To unsu

Re: PC speaker

2007-06-12 Thread Jan Engelhardt
On Jun 12 2007 08:45, R.F. Burns wrote: > > Is it possible to write a kernel module which, when loaded, will blow the PC > speaker? Define blow. (As in "damage"?) Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTE

Re: PC-speaker control

2001-01-01 Thread Robert Read
On Tue, Jan 02, 2001 at 01:40:43AM +0100, Daniel Phillips wrote: > Daniel Phillips wrote: > > > > Robert Read wrote: > > > Try this on the console: > > > > > > setterm -blength 0 > > > > > > no assembly required. :) > > > > Yes, and my xterm still beeps - if I make that go away then something >

Re: PC-speaker control

2001-01-01 Thread Daniel Phillips
Daniel Phillips wrote: > > Robert Read wrote: > > Try this on the console: > > > > setterm -blength 0 > > > > no assembly required. :) > > Yes, and my xterm still beeps - if I make that go away then something > else will beep. > > Somebody posted a patch to do a global disable of the speaker so

Re: PC-speaker control

2001-01-01 Thread Daniel Phillips
Robert Read wrote: > Try this on the console: > > setterm -blength 0 > > no assembly required. :) Yes, and my xterm still beeps - if I make that go away then something else will beep. Somebody posted a patch to do a global disable of the speaker some time back, and I wish that the patch were g

Re: PC-speaker control

2001-01-01 Thread Robert Read
Try this on the console: setterm -blength 0 no assembly required. :) robert On Mon, Jan 01, 2001 at 06:30:37PM -0200, Rafael Diniz wrote: > Hey, Is there a way to control the PC-speaker with the Linux kernel 2.2? > I want to disable it. > I guy told me that with this assembly code I can disab

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-24 Thread Oliver Xymoron
On Tue, 24 Oct 2000, Pavel Machek wrote: > Hi! > > > > [EMAIL PROTECTED] said: > > > > You can also pretty trivially keep track of an error term so that the > > > > clock is right on average: > > > > > > True, but I don't want 'right on average'. I want 'not screwed with at all'. > > > Shifti

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-24 Thread Pavel Machek
Hi! > > [EMAIL PROTECTED] said: > > > You can also pretty trivially keep track of an error term so that the > > > clock is right on average: > > > > True, but I don't want 'right on average'. I want 'not screwed with at all'. > > Shifting the timer tick onto the RTC will give me that. > > >

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-23 Thread Oliver Xymoron
On Mon, 23 Oct 2000, David Woodhouse wrote: > > [EMAIL PROTECTED] said: > > You can also pretty trivially keep track of an error term so that the > > clock is right on average: > > True, but I don't want 'right on average'. I want 'not screwed with at all'. > Shifting the timer tick onto the

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-23 Thread David Woodhouse
[EMAIL PROTECTED] said: > You can also pretty trivially keep track of an error term so that the > clock is right on average: True, but I don't want 'right on average'. I want 'not screwed with at all'. Shifting the timer tick onto the RTC will give me that. Even if we _do_ get the maths righ

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-23 Thread Oliver Xymoron
On Mon, 23 Oct 2000, David Woodhouse wrote: > See arch/i386/kernel/time.c: > > /* This function must be called with interrupts disabled > * It was inspired by Steve McCanne's microtime-i386 for BSD. -- jrs > * > * However, the pc-audio speaker driver changes the divisor so that > * it get

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-23 Thread David Woodhouse
[EMAIL PROTECTED] said: > Apparently Linus doesn't like the way it handles interrupts or > something, and is therefore 'wrong.' ::shrug:: As long as it's > available though, I'll use it ;p It's not just 'wrong'. It's 'sick'. But it works. The correct fix is to shift the system timer onto the RT

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-22 Thread Mike A. Harris
ROTECTED]> >Content-Type: TEXT/PLAIN; charset=US-ASCII >Subject: Re: PC speaker driver patch for 2.4.0-test10-pre3 > >> Is there a major compelling reason that this patch isn't included >> in the standard kernel tree? >> >> >> -

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-22 Thread Dr. Kelsey Hudson
> Is there a major compelling reason that this patch isn't included > in the standard kernel tree? > > > -- > Mike A. Harris - Linux advocate - Open source advocate > Computer Consultant - Capslock Consul

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-17 Thread Alan Cox
> >Thanks to Erik Inge Bols=F8 for porting it to 2.3.45, this saving me m= > ost of=20 > >the work. > > Is there a major compelling reason that this patch isn't included > in the standard kernel tree? It goes hacking around with the clock - To unsubscribe from this list: send the line "unsubscr

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-16 Thread David Woodhouse
On Tue, 17 Oct 2000, Mike A. Harris wrote: > Is there a major compelling reason that this patch isn't included > in the standard kernel tree? It does _evil_ things with the timers. If we shift the system timer tick onto the RTC, it won't be so evil, and I'd consider trying to submit it for 2.5.

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-16 Thread Mike A. Harris
On Mon, 16 Oct 2000, David Woodhouse wrote: >Date: Mon, 16 Oct 2000 16:07:13 +0100 >From: David Woodhouse <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Content-Type: text/plain; charset=iso-8859-15 >Subject: PC speaker driver patch for 2.4.0-test10-pre3 > >ftp.uk.linux.org:/p