Message ID | 20190401102456.11162-1-mcroce@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | Introduce the aural error reporting framework | expand |
On Mon, Apr 01, 2019 at 12:24:51PM +0200, Matteo Croce wrote: > The buzzer driver is simple, requires just a few register writes to work, > the hardware is extremely cheap and is already present on most machines. What, no morse-code register dumps?
On Mon, 1 Apr 2019, Peter Zijlstra wrote: > On Mon, Apr 01, 2019 at 12:24:51PM +0200, Matteo Croce wrote: > > The buzzer driver is simple, requires just a few register writes to work, > > the hardware is extremely cheap and is already present on most machines. > > What, no morse-code register dumps? Aside of that, where is the android-app to customize and decode the melodies? I surely want to have the music theme of 'Once Upon a Time in the West' on kernel crashes. Thanks, tglx
On Tue, Apr 2, 2019 at 11:33 AM Thomas Gleixner <tglx@linutronix.de> wrote: > > On Mon, 1 Apr 2019, Peter Zijlstra wrote: > > On Mon, Apr 01, 2019 at 12:24:51PM +0200, Matteo Croce wrote: > > > The buzzer driver is simple, requires just a few register writes to work, > > > the hardware is extremely cheap and is already present on most machines. > > > > What, no morse-code register dumps? > > Aside of that, where is the android-app to customize and decode the > melodies? > > I surely want to have the music theme of 'Once Upon a Time in the West' on > kernel crashes. > > Thanks, > > tglx > Hi Thomas, I'm a little rusty with Android programming, so I'll share the script I use to convert notes to frequences. With some awk magic it can turn notes into a C array, I hope that you find it useful. Bye,
Matteo, On Tue, 2 Apr 2019, Matteo Croce wrote: > On Tue, Apr 2, 2019 at 11:33 AM Thomas Gleixner <tglx@linutronix.de> wrote: > > Aside of that, where is the android-app to customize and decode the > > melodies? > > > > I surely want to have the music theme of 'Once Upon a Time in the West' on > > kernel crashes. > > I'm a little rusty with Android programming, so I'll share the script > I use to convert notes to frequences. > With some awk magic it can turn notes into a C array, I hope that you > find it useful. That's great. Just a few nitpicks on the patches themself. You want to change msleep() to mdelay() in order to avoid "Scheduling while atomic" noise and you want to have global serialization because interleaving "La Paloma" from CPU1 and "Once Upon a Time in the West" from CPU2 sounds really horrible. Thanks, tglx