brainbone Posted September 11, 2008 Share Posted September 11, 2008 Is it possible to get sound out of the PC speaker (for use in alert notification scripts) using the kernel distributed with unRAID 4.3.3? I tried using a "beep" binary with no luck (no sound). Looks like no pcspkr module is loaded? Quote Link to comment
NAS Posted September 12, 2008 Share Posted September 12, 2008 I played and failed with this as well. Alot of gain to be had here feature wise vs size of packages. Quote Link to comment
brainbone Posted September 12, 2008 Author Share Posted September 12, 2008 It looks like pcspkr.ko is missing, so no sound. Anyone out there willing and able to compile a pcspkr module compatible with the original kernel shipped with 4.3.3? Quote Link to comment
Ropo Posted September 22, 2008 Share Posted September 22, 2008 I can use "beep" for notify start UnRaid server (call it from "go" script). This "beep" not work with 4.3.3 Pro version? Any idea how to do? Quote Link to comment
brainbone Posted September 23, 2008 Author Share Posted September 23, 2008 No. It appears that "beep" will not work until some kind soul compiles a pcspkr module compatible with unRAID's linux kernel. Quote Link to comment
WeeboTech Posted September 23, 2008 Share Posted September 23, 2008 No. It appears that "beep" will not work until some kind soul compiles a pcspkr module compatible with unRAID's linux kernel. I think this has to be done by Tom, otherwise the symbols would not match. I'm not sure though. Quote Link to comment
NAS Posted September 23, 2008 Share Posted September 23, 2008 On the assumption that this will be a trivial addition to the next version should we save Tom some effort and come up with a list of beep codes? Quote Link to comment
WeeboTech Posted September 23, 2008 Share Posted September 23, 2008 Beep codes sounds like a good idea. I for one vote for an enhancement to alert the user that /boot was not mounted (Possibly due to label problem). Another would be if emhttp found a disk offline or the array was not in a healthy state. Another might be when unRAID is up and happy. Just to add a lil geek factor for fun. I use a soundblaster live with Festival on some of my machines. Along with NAGIOS, My computers speak the error alerts. Connect that up with the ROKU SoundBridge and I have wireless marquee messages throughout my apartment. http://www.cotrone.com/rob/archives/2006/04/roku_soundbridg_1.html One of these days I'll write an LCDProc driver. Back on subject, I think the beep codes is a great idea, nothing like auditory alert when you do not have a monitor attached. Quote Link to comment
Ropo Posted September 23, 2008 Share Posted September 23, 2008 It is will be very good - support for internal speeker. I can use any series of beep with various frequency in "go" script for signalize to start and stop UnRaid server. Tom, can You add support for beep in next release of UnRaid server? Quote Link to comment
Biggy2872 Posted January 13, 2009 Share Posted January 13, 2009 I have noticed that bubbaRAID has the beep function. Is there a way to add beep (and the pcspkr module) to the stock unRAID distribution now (4.3.3 in particular)? or is it only possible because of the custom distribution? Could someone please describe what the procedures are for getting this installed and working? Cheers, Matt Quote Link to comment
bubbaQ Posted January 14, 2009 Share Posted January 14, 2009 Sorry, unless you want to rebuild your own custom kernel, there is nothing you can do. It will take a kernel change my Tom. Quote Link to comment
WeeboTech Posted April 8, 2009 Share Posted April 8, 2009 Added in 4.5-beta4 Thanks Tom!! Quote Link to comment
Ropo Posted April 9, 2009 Share Posted April 9, 2009 Very thanks Tom. I will try UnRaid 4.5-beta4 Quote Link to comment
NAS Posted April 9, 2009 Share Posted April 9, 2009 Added in 4.5-beta4 superb. I predict a whole new area of hacks coming out now. Quote Link to comment
SSD Posted April 9, 2009 Share Posted April 9, 2009 Added in 4.5-beta4 superb. I predict a whole new area of hacks coming out now. Please stop referring to the addon efforts as hacks. It makes it sound like people here creating addon tools are doing something illegal: "In common usage, hacker is generic term for a computer criminal, often with a specific specialty in computer intrusion. While other definitions peculiar to the computer enthusiast community exist, they are rarely used in mainstream context. ..." See here Quote Link to comment
Joe L. Posted April 9, 2009 Share Posted April 9, 2009 I can foresee a periodic alert "beep" when a disk has failed and the array is in a degraded state, and a way to disable the periodic beep so it does not drive us crazy while we purchase and install the replacement drive.... Lots of possibilities for "enhancements." Joe L. Quote Link to comment
NAS Posted April 9, 2009 Share Posted April 9, 2009 Added in 4.5-beta4 superb. I predict a whole new area of hacks coming out now. Please stop referring to the addon efforts as hacks. It makes it sound like people here creating addon tools are doing something illegal: "In common usage, hacker is generic term for a computer criminal, often with a specific specialty in computer intrusion. While other definitions peculiar to the computer enthusiast community exist, they are rarely used in mainstream context. ..." See here Or you can use the one that it really means: Eric Raymond, compiler of The New Hacker's Dictionary, defines a hacker as a clever programmer. A "good hack" is a clever solution to a programming problem and "hacking" is the act of doing it. Raymond lists five possible characteristics that qualify one as a hacker, which we paraphrase here: * A person who enjoys learning details of a programming language or system * A person who enjoys actually doing the programming rather than just theorizing about it * A person capable of appreciating someone else's hacking * A person who picks up programming quickly * A person who is an expert at a particular programming language or system, as in "Unix hacker" Either way i know what it means and im not going to dumb down just because the rest of the world has I can foresee a periodic alert "beep" when a disk has failed and the array is in a degraded state, and a way to disable the periodic beep so it does not drive us crazy while we purchase and install the replacement drive.... Lots of possibilities for "enhancements." Joe L. Agreed. There real scope for a whole sweep of event codes. looking forward to it. Edit: I have created a thread dedicated to nothing but the beep code scheme design. I invite hackers to post their Quote Link to comment
WeeboTech Posted April 9, 2009 Share Posted April 9, 2009 Please stop referring to the addon efforts as hacks. It makes it sound like people here creating addon tools are doing something illegal: "In common usage, hacker is generic term for a computer criminal, often with a specific specialty in computer intrusion. While other definitions peculiar to the computer enthusiast community exist, they are rarely used in mainstream context. ..." See here I would prefer them not to be called hacks either... Addon's is a nicer term. hack has the impression of cut, jam, slam. etc. etc... Some of the addons lately are quite elegant solutions. In response though, there are hackers who are known to work at something (computer related) very intensely... and there are crackers who are know to be hackers against security. I know many hackers, and few crackers. Interesting link. http://searchenterprisedesktop.techtarget.com/tip/0,289483,sid192_gci998037,00.html As far as hackers being a generic term in media.. Agreed, but many true hackers would quite enthusiastically re-affirm the difference with hacker and cracker. Quote Link to comment
NAS Posted April 9, 2009 Share Posted April 9, 2009 I don't disagree with the sentiment I just object with being told to stop using a word because someone else doesn't like my (correct) usage of it. No good can come of this discussion. Quote Link to comment
WeeboTech Posted April 9, 2009 Share Posted April 9, 2009 I don't disagree with the sentiment I just object with being told to stop using a word because someone else doesn't like my (correct) usage of it. No good can come of this discussion. Addon instills the thought of elegant solution to extend. Hack sort of instills the thought of compensation for or installing something that should not actually be there. Where does it count... For a newbie. I've dealt with allot of new people who would not buy something if a solution was called or consider a hack. Addon as the connotation of a community effort to extend. I think consideration would be nice given the growth and notoriety of unRAID. Quote Link to comment
NAS Posted April 9, 2009 Share Posted April 9, 2009 Sorry but I cant say I can do this. My life extends beyond unRAID and i have uses this term correctly as part of my 9-5 job almost every day for the last 20 years of my life . I am not saying I wont I am saying your asking me to remove a word I use all the time in this one tiny part of my life. Feel free to obsess about it. I certainly wont be Quote Link to comment
bubbaQ Posted April 9, 2009 Share Posted April 9, 2009 Hack and Hacker and Hacking are *not* derogatory terms. The black-hat is a "cracker" who engages in "cracking." From the SAT test question you skipped.... Hacker is to cracker as locksmith is to _______________ (answer is "safecracker") I am a proud hacker.... but call me a cracker, or call a crook a Hacker and you will get a quick vocabulary lesson.... sort of like the difference between trekkie and trekker. Quote Link to comment
SSD Posted April 9, 2009 Share Posted April 9, 2009 Hack and Hacker and Hacking are *not* derogatory terms. The black-hat is a "cracker" who engages in "cracking." From the SAT test question you skipped.... Hacker is to cracker as locksmith is to _______________ (answer is "safecracker") I am a proud hacker.... but call me a cracker, or call a crook a Hacker and you will get a quick vocabulary lesson.... sort of like the difference between trekkie and trekker. Back in the 80s and 90s I used to proudly call myself a hacker. I'd always considered it a skill of learning on the fly, without needing much documentation or direction to get started, and being able to think outside of the box and accomplish things that those that simply follow the instructions will never discover. But that meaning has gone by the wayside IMO. Label yourself as you will - but if you ask the average Joe on the street (or the average executive in most any company) a hacker is a criminal to be rooted out. Quote Link to comment
Joe L. Posted April 10, 2009 Share Posted April 10, 2009 [if you ask the average Joe on the streetWatch it... I've got a somewhat similar background... from when "hacker" was an honorable label. Cracker's were the bad guys, but the term was almost unused except among IT security professionals. Joe L. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.