Friday, January 15, 2010

Linux Disable PC Speaker beeps

Runtime change

  • Check if you have the pcspkr module loaded.
#lsmod | grep pcspkr
pcspkr                  7105  0
  • Remove the module. lsmod will return nothing if the module was removed.
#rmmod pcspkr
#lsmod | grep pcspkr
  • Restore the module when done.
#modprobe pcspkr
#lsmod | grep pcspkr
pcspkr                  7105  0

Permanent change

  • Add the pcspkr module to the modprobe blacklist file.
# vi /etc/modprobe.d/blacklist
{Add the lines below to the file.}
# pcspkr - turn off pc speaker "BEEP!"
blacklist pcspkr
  • Reboot, and check if the pcspkr module was loaded. If the blacklist file kicked in then nothing will be returned.

Tuesday, January 12, 2010

Google Chrome

It's using many of the concepts I expored in my talk about the Amorphous OS, I will have put those slides back on the internet.

A big part is no local files.

Looks like it's build on a stock Linux Kernel.. I was thinking about this and they need to get ride of the paradigm of a process and replace it. 
Processes have there own time slices and memory.  They seems to have spend a lot of effort to give each browser tab it's own process, and in some circumstances they could not.

What they need to do it get rid of the whole concept and go with an object based memory model.

Where some objects are shared between processes where processes are not sandboxed memory as much as just time slices and sandboxed memory objects associated with parent objects.