|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Beep or visual signal after booting OpenBSD/sparc64
Hi everybody,
I've setup a firewall/router on a SunFire v100 using OpenBSD/sparc64. Since it's a headless system (all management done via serial port), is there a way to play a "signal" when the system has finished its booting sequence, to inform the admin that services are up and running? Ideally, it would be a beep sound, but basically any audible or visible signal is ok for me. Until now, I've tried various "hacks" : - shell script ( "/a" in C) - access to audio system (but the v100 does not seem to have an internal "speaker" like those I'm more familiar for PC) - visual signal (there are two alarms linked to green lights in the front case that can be set in LOM but I understand they are not accessible within OpenBSD). Any ideas or suggestions will be most welcome! Thanks in advance, Hans. |
|
|||
I don't know much about the SPARC architecture, but presumably you have a CD-ROM drive?
One method might be to open and close the tray to indicate the boot has completed. # eject cd0; sleep 5; eject -t cd0 Kind of silly, but it should work. |
|
|||
Just searched for your model.. it has a laptop (..slim) CD-ROM drive, you can only open those via eject(1).. not close.
It might not be very noticeable either. Sorry for the noise. |
|
|||
Quote:
It may not be "standard"... but it will certainly work! Thanks for your inspiration! |
|
|||
Quote:
$ echo $'\a'
|
|
|||
Quote:
My understanding is that there is no "sound/speaker" device in Sunfire v100 (I didn't find any in the motherboard schematics or after visual exam). |
|
|||
Does the suggestion offered by Jameel Akari work?
http://marc.info/?l=openbsd-sparc&m=125321697728702&w=2 |
|
|||
Quote:
|
|
|||
I got time tonight to try both suggestions :
a) eject /dev/rcd0c it's working perfectly b) machdep.led_blink=1 no way to make it work. I've enabled this option in /etc/sysctl.conf or within the root shell (sysctl -w machdep.led_blink=1) without any visible result. There is two leds in the front panel of the 1U Sunfire v100 : green (when poweron) and orange (when faulton is enable in LOM). Both leds are unresponsive to changes in machdep.led_blink. Many thanks everybody for your helpful suggestions. |
|
|||
It looks like someone is working to support some of the LOM devices on your system.
http://marc.info/?l=openbsd-cvs&m=125338930526913&w=2 So perhaps the lights will become supported eventually. |
|
|||
Yop! I saw Mark's message on openbsd/sparc mailing list.
I'm very grateful to him for his work.. and all of you for your helpful suggestions. Great forum! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beep Beep! | DrJ | FreeBSD General | 8 | 24th March 2009 12:51 PM |
Beep on startup? | matt | Programming | 1 | 16th July 2008 08:33 AM |
different booting bsd.rd & bsd | Hihihi | OpenBSD General | 3 | 15th July 2008 10:34 PM |
sablevm on sparc64 | foxi | Programming | 0 | 15th June 2008 09:42 AM |
jdk for sparc64 | nippysaurus | FreeBSD Ports and Packages | 6 | 1st June 2008 04:32 PM |