Playing with /dev/speaker

Written by admin on .

I’ve started to compile FreeNSD on FreeBSD AMD64 (my QEMU is still compiling the software used on FreeNAS).
And I found, for the moment, two problems:

===> aaccli depends on executable: aaccli – not found
===> aaccli-1.0 you need the 32-bit libraries installed under /usr/lib32 to use this port..
===> beep depends on executable: beep – not found
===> beep-1.0 is only for i386, and you are running amd64..

And, in my quest for a solution to solve the FreeBSD port of”beep”, I found that this tools can be removed without problem ;-)

Here is example of using /dev/speaker device (you need to do a “kldload speaker.ko” before):
echo geL2eL4fdL2dL4cdefggg > /dev/speaker

“l12cdccdc> /dev/speaker
echo “T250L8CE-GE-C” > /dev/speaker

Then I can remove the ‘beep’ tools now, but I must found the equivalence to this old command:
beep -p 500 75
beep -p 1000 75
beep -p 2000 75
beep -p 3000 75

My actual equivalence is:
echo “O1L15aO2L15bO3L15cO4L15d” > /dev/speaker

Is someone can propose a better equivalence ?

Games open ;-)

Limiting UFS File system creation choice

Written by admin on .

My 4 hours of train today, permit me to work on FreeNAS:

  • Replaced the 4 UFS choices for formatting an hard drive, by only one (EFI GPT with soft updates) and add the possibility to choose the minimum free space reserved (between 8% and 1%).
  • Rename the Software RAID name on the WebGUI by replace “geom. Mirror” by “RAID 1”, “geom. Concat” by “JBOD”, etc…
  • Continued to work on the FreeNAS presentation for the BSDCan2007

I’ve received a new language file: Russian, and a patch that permit to mount an ISO file directly from FreeNAS (But I think that I will add this feature after the 0.684b).

Next feature that I will works on:
Prevent the user to format an hard drive that is using in a software RAID volume.

And good news for blog reader…. As soon as the openssh-portable port will be fixed, I will release the 0.684b :-)

I will try to prepare and AMD64 release too (but using QEMU64 under a 32bit PC is very slow).