July 29, 201015 yr I'm trying to get the system speaker to beep and need a little help. I've compiled pcspkr.ko using the same kernel version. I copy the file to /lib/modules/2.6.31.6-unRAID/kernel/drivers/input/misc, but I get the following error when trying to modprobe the driver... depmod -a modprobe pcspkr FATAL: Error inserting pcspkr (/lib/modules/2.6.31.6-unRAID/kernel/drivers/input/misc/pcspkr.ko): Device or resource busy Is this device compiled in unRaid already?
July 29, 201015 yr I'm trying to get the system speaker to beep and need a little help. I've compiled pcspkr.ko using the same kernel version. I copy the file to /lib/modules/2.6.31.6-unRAID/kernel/drivers/input/misc, but I get the following error when trying to modprobe the driver... depmod -a modprobe pcspkr FATAL: Error inserting pcspkr (/lib/modules/2.6.31.6-unRAID/kernel/drivers/input/misc/pcspkr.ko): Device or resource busy Is this device compiled in unRaid already? We have been able to "beep" for a while.
July 29, 201015 yr Author Just to be sure, beep command in a bash script is how it's done? Maybe I turned off the PC speaker in the bios. thx
July 29, 201015 yr Just to be sure, beep command in a bash script is how it's done? Maybe I turned off the PC speaker in the bios. thx Try this (all examples I found on the web): #!/bin/bash G4='-f 392.00' C5='-f 523.25' E5='-f 659.26' G5='-f 783.99' whole='-l 2048' dottedhalf='-l 1536' half='-l 1024' dottedquarter='-l 768' quarter='-l 512' dottedeighth='-l 384' eighth='-l 256' sixteenth='-l 128' smallspace='-D 64' longspace='-D 128' beep \ $dottedeighth $G4 $smallspace -n \ $sixteenth $G4 $smallspace -n \ $dottedhalf $C5 $longspace -n \ $dottedeighth $G4 $smallspace -n \ $sixteenth $C5 $smallspace -n \ $dottedhalf $E5 $longspace -n \ $dottedeighth $G4 $smallspace -n \ $sixteenth $C5 $smallspace -n \ $quarter $E5 $smallspace -n \ $dottedeighth $G4 $smallspace -n \ $sixteenth $C5 $smallspace -n \ $quarter $E5 $smallspace -n \ $dottedeighth $G4 $smallspace -n \ $sixteenth $C5 $smallspace -n \ $dottedhalf $E5 $longspace -n \ $eighth $C5 $smallspace -n \ $eighth $E5 $smallspace -n \ $half $G5 $smallspace -n \ $quarter $E5 $smallspace -n \ $quarter $C5 $smallspace -n \ $dottedhalf $G4 $longspace -n \ $dottedeighth $G4 $smallspace -n \ $sixteenth $G4 $smallspace -n \ $whole $C5 i=1000 while test $i -lt 2000 do let i+=10 beep -f $i -l 100 done while test $i -gt 100 do let i-=100 beep -f $i -l 100 done beep -f 200 -d 1 -r 5 -n -f 300 -d 10 -r 4 -n -f 400 -d 100 -r 3
July 30, 201015 yr Author The only BIOS option was in the integrated peripherals menu for "On board Audio". After enabling and rebooting...I still get no beeps and bops. I'm guessing it's only for the motherboard sound not the PC speaker. PC speaker noob question, Did I not remove/add some jumper? Why can't I beep [Edit] Looks like there are pins for the case speaker see near SATA connectors
July 30, 201015 yr Did you physically hook up the case speaker to the speaker ports on the motherboard?
July 30, 201015 yr Author BriT: nope, I thought the noise maker was on the MB these days. Will look into this tonight.
July 30, 201015 yr Some motherboard have them, others don't. Taking a quick glance at the NewEgg pics, I don't see what looks to be an onboard speaker anywhere. They're typically small round devices.
August 1, 201015 yr lol, when I first read this post I thought: Maybe he just doesn't have a PC speaker connected to his motherboard... btw, I found some cool PC speaker beep melodies wich you can put in your "go" script to let you know (in a cool way) when your array is online... Here's one: beep -f 659 -l 460 -n -f 784 -l 340 -n -f 659 -l 230 -n -f 659 -l 110 -n -f 880 -l 230 -n -f 659 -l 230 -n -f 587 -l 230 -n -f 659 -l 460 -n -f 988 -l 340 -n -f 659 -l 230 -n -f 659 -l 110 -n -f 1047-l 230 -n -f 988 -l 230 -n -f 784 -l 230 -n -f 659 -l 230 -n -f 988 -l 230 -n -f 1318 -l 230 -n -f 659 -l 110 -n -f 587 -l 230 -n -f 587 -l 110 -n -f 494 -l 230 -n -f 740 -l 230 -n -f 659 -l 460
August 1, 201015 yr lol, when I first read this post I thought: Maybe he just doesn't have a PC speaker connected to his motherboard... btw, I found some cool PC speaker beep melodies wich you can put in your "go" script to let you know (in a cool way) when your array is online... Do share. I love them. http://lime-technology.com/forum/index.php?topic=7241.msg70220
Archived
This topic is now archived and is closed to further replies.