Re: beep works, speaker-test doesn't
積丹尼 Dan Jacobson wrote: > beep works, speaker-test doesn't. > beep(1) makes beeps right into the headphones. beep comes from pcspkr driver audio goes via alsa > speaker-test doesn't make any sound. > $ alsamixer looks horrible after installing PulseAudio. > lqqq > x Card: PulseAudio > x Chip: PulseAudio > x View: F3:[Playback > x Item: Master > > something is wrong with its curses. > > No nothing is muted. > $ pactl list sinks #shows the only sink is: > Sink #0 > State: SUSPENDED > Name: alsa_output.pci-_00_1f.5.analog-stereo > Description: Built-in Audio Analog Stereo > Driver: module-alsa-card.c > > How can I unsuspend it for just a quick test? try alsamixer -c0 or alsamixer -c1 (in the console) to access your audio driver (if loaded) and unmute regards
Re: beep assourdissant sur portable Dell, alternative softbeep
Pierre Crescenzo wrote on Tue, May 08, 2007 at 11:02:19AM +0200 Bonjour, Sur mon Dell D620, les beeps sont particulièrement forts, au-delà de ce qui est raisonnablement supportable par le voisinage... En attendant mieux, beep -f 30 -l 10 fait un bruit assez laid mais pas fort. Mais je n'ai pas cherché comment en faire le beep par défaut... On peut effectivement faire ça à base de setterm. Je me suis inspiré de la réponse de Steve setterm -blength 20 -bfreq 220 Si je pouvais avoir un meilleur fonctionnement de softbeep, ça serait mieux. Dominique A+ [CITATION ALÉATOIRE : Il pleut sur la ville pis que dans le coeur de Verlaine. Les maisons de briques sont tristes comme un rendez-vous d'amour raté. San-Antonio] -- Pierre Crescenzo mailto:[EMAIL PROTECTED] http://www.crescenzo.nom.fr/ -- +o-+ | P-mail:| E-mail: | | E.N.S.T. - Dep. TSI | [EMAIL PROTECTED] | | Dominique Asselineau | Phone: (33/0) 1 45 81 78 91 | | 46, rue Barrault | Fax: (33/0) 1 45 81 37 94 | | 75634 PARIS Cedex 13 - France| | +o-+ -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep assourdissant sur portable Dell, alternative softbeep
Bonjour, Sur mon Dell D620, les beeps sont particulièrement forts, au-delà de ce qui est raisonnablement supportable par le voisinage... En attendant mieux, beep -f 30 -l 10 fait un bruit assez laid mais pas fort. Mais je n'ai pas cherché comment en faire le beep par défaut... A+ [CITATION ALÉATOIRE : Il pleut sur la ville pis que dans le coeur de Verlaine. Les maisons de briques sont tristes comme un rendez-vous d'amour raté. San-Antonio] -- Pierre Crescenzo mailto:[EMAIL PROTECTED] http://www.crescenzo.nom.fr/
Re: beep assourdissant sur portable Dell, alternative softbeep
Le lundi 7 mai 2007 20:06, Dominique Asselineau a écrit : Bonjour à tous, bonsoir, Sur mon Dell D620, les beeps sont particulièrement forts, au-delà de ce qui est raisonnablement supportable par le voisinage... Pour contourner ce problème, j'ai utilisé le package softbeep (disponible sous Etch) qui active un wave à la place de stimuler le PC Speaker. Sous root ça marche plutôt bien mais à partir d'un compte utilisateur, les beeps envoyés par le système, lorsqu'on force le curseur à aller au-delà de la zone de saisie par ex., ne donnent rien. Ça marche tout de même si on envoie explicitement le caractère bell (0x07). Le problème n'est en tout cas pas dû à des permissions sur les fichiers. Peut-être faut-il avoir une permission groupe spécifique mais ça n'est indiqué nulle part. Pensez-vous qu'il me manque un réglage pour softbeep ? Pourrait-on reconfigurer et recompiler le module pcspkr qui gère le speaker ? Y aurait-il une autre alternative ? mais j'hésite toujours à installer sous root des modules hors distribution. blacklist pcspkr dans /etc/modprobe.d/blacklist peut-être ? ou dans /etc/rc.local for i in 1 2 3 4 5 6 do setterm -blenght 0 /dev/tty$i done Cordialement à tous. Dominique -- steve
Re: beep assourdissant sur portable Dell, alternative softbeep
Steve wrote on Mon, May 07, 2007 at 09:08:24PM +0200 Le lundi 7 mai 2007 20:06, Dominique Asselineau a écrit : Bonjour à tous, bonsoir, Sur mon Dell D620, les beeps sont particulièrement forts, au-delà de ce qui est raisonnablement supportable par le voisinage... Pour contourner ce problème, j'ai utilisé le package softbeep (disponible sous Etch) qui active un wave à la place de stimuler le PC Speaker. Sous root ça marche plutôt bien mais à partir d'un compte utilisateur, les beeps envoyés par le système, lorsqu'on force le curseur à aller au-delà de la zone de saisie par ex., ne donnent rien. Ça marche tout de même si on envoie explicitement le caractère bell (0x07). Le problème n'est en tout cas pas dû à des permissions sur les fichiers. Peut-être faut-il avoir une permission groupe spécifique mais ça n'est indiqué nulle part. Pensez-vous qu'il me manque un réglage pour softbeep ? Pourrait-on reconfigurer et recompiler le module pcspkr qui gère le speaker ? Y aurait-il une autre alternative ? mais j'hésite toujours à installer sous root des modules hors distribution. blacklist pcspkr dans /etc/modprobe.d/blacklist peut-être ? ou dans /etc/rc.local for i in 1 2 3 4 5 6 do setterm -blenght 0 /dev/tty$i done Ceci supprime effectivement les beeps. On peut aussi faire un modprobe -r pcspkr. mais ça ne me le remplace pas par quelque chose de supportable. En fait, j'ai besoin d'un contrôle sonore et je ne souhaite pas tout supprimer. En regardant la doc de setterm, j'ai également remarqué l'option -bfreq qui permettrait d'avoir une fréquence moins agressive mais malheureusement il n'y a pas de -bpower... Dominique -- +o-+ | P-mail:| E-mail: | | E.N.S.T. - Dep. TSI | [EMAIL PROTECTED] | | Dominique Asselineau | Phone: (33/0) 1 45 81 78 91 | | 46, rue Barrault | Fax: (33/0) 1 45 81 37 94 | | 75634 PARIS Cedex 13 - France| | +o-+ -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
On Fri, Mar 23, 2007 at 07:36:53PM +0800, Wei Chen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I know that Icedove will beep when a new mail is received. But sometimes it also beeps when there is no new mail or anything else. Is there any other case in which Icedove beeps? Thanks. I notice you're using Gmail. Sometimes when I fetch mail it says I have 2 new messages, and I actually have 1. I think Gmail does something that makes the MUA think there is a new message, but there isn't a new email. Try another mail host for a day or two and see if it happens, just to make sure. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wei Chen wrote: Hi, I know that Icedove will beep when a new mail is received. But sometimes it also beeps when there is no new mail or anything else. Is there any other case in which Icedove beeps? Thanks. I don't know about what makes it else makes it beep, but I do know you can change what is does when you receive new mail. Edit - Preferences - - General - When new messages arrive: Checkboxes and Advanced button. If you change it to play a .wav file or something when you get new mail, then you sould be able to isolate what else is making it beep. Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGA8B6iXBCVWpc5J4RAlYsAKCc75Vqz+epPF0PxpLFoTCy/2aMdACgvPWo AO8MkfPTqzu3iklniPqDUJM= =eRE3 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Pobega wrote: On Fri, Mar 23, 2007 at 07:36:53PM +0800, Wei Chen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I know that Icedove will beep when a new mail is received. But sometimes it also beeps when there is no new mail or anything else. Is there any other case in which Icedove beeps? Thanks. I notice you're using Gmail. Sometimes when I fetch mail it says I have 2 new messages, and I actually have 1. I think Gmail does something that makes the MUA think there is a new message, but there isn't a new email. Try another mail host for a day or two and see if it happens, just to make sure. Could that be because gmail is moving mail that it thinks is spam into your spam folder that you don't download? You might really have new mail, but since google thinks that it is spam, it doesn't send it. Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGA8DmiXBCVWpc5J4RAh/PAJ9Ka1Ls1QzKSECvtaFMDnLEASV2PgCfawUC 1ySEz5YTuZuhR6Y9NGxq2HA= =wrd8 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Pobega wrote: I notice you're using Gmail. Sometimes when I fetch mail it says I have 2 new messages, and I actually have 1. I think Gmail does something that makes the MUA think there is a new message, but there isn't a new email. Try another mail host for a day or two and see if it happens, just to make sure. Thanks. Your suggestion leaded me to the account settings. I found that there seemed to be a problem in one account. It automatically _checked_ new mail but didn't _download_ it. I thought maybe it was this that made me confused. I corrected this then also disabled the automatic fetch of Gmail. Then, when I was going to compose a mail to tell you what I had done, it beeps again... - -- Cheers, Wei Chen http://www.acplex.com/people/wchen/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA8RuCIqXQV6BF28RAl5HAKDccUQdIUdt3ljafsz9VO2ta4KcbgCcD6KV 4/IOtEVosu8RV/aDJrcs+Ks= =eGO7 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Hart wrote: I don't know about what makes it else makes it beep, but I do know you can change what is does when you receive new mail. Edit - Preferences - General - When new messages arrive: Checkboxes and Advanced button. If you change it to play a .wav file or something when you get new mail, then you sould be able to isolate what else is making it beep. Joe Sorry I do not have a speaker here with my desktop. What I can hear from the computer is only the beep ... Maybe I can try to disable the beep when receiving mail to have a test. Thanks. - -- Cheers, Wei Chen http://www.acplex.com/people/wchen/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA8ZXCIqXQV6BF28RAubQAKCzAb7D7aUGieYJ4D9xINiTtbooMwCg0F00 MnEudQgvhNUc5UHwCF1OlvY= =9T4C -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Hart wrote: Could that be because gmail is moving mail that it thinks is spam into your spam folder that you don't download? You might really have new mail, but since google thinks that it is spam, it doesn't send it. Joe It seems that gmail puts spams into corresponding folder only if using the Web interface. With POP3, all mails including spams are downloaded. BTW, new mail sound was disabled and Icedove has kept quiet for some time. Next step I will disable auto-fetch for all accounts but one to test. I hope the problem can be found when all accounts are tested. - -- Cheers, Wei Chen http://www.acplex.com/people/wchen/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA8yCCIqXQV6BF28RAoVeAKCGN61poPWGkj41590sKPBiRXTx5QCfcxOc eKo98ru2X85XmUELdxOZazU= =OB9L -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
On Fri, 23 Mar 2007 20:48:02 +0800 Wei Chen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Hart wrote: Could that be because gmail is moving mail that it thinks is spam into your spam folder that you don't download? You might really have new mail, but since google thinks that it is spam, it doesn't send it. Joe It seems that gmail puts spams into corresponding folder only if using the Web interface. With POP3, all mails including spams are downloaded. This is incorrect (at least for me). Gmail keeps thousands of spam messages in the Spam folder and doesn't send them when I use POP access. Of course, I still get the spam that makes it to the Inbox. Celejar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
Celejar wrote: On Fri, 23 Mar 2007 20:48:02 +0800 Wei Chen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Hart wrote: Could that be because gmail is moving mail that it thinks is spam into your spam folder that you don't download? You might really have new mail, but since google thinks that it is spam, it doesn't send it. Joe It seems that gmail puts spams into corresponding folder only if using the Web interface. With POP3, all mails including spams are downloaded. This is incorrect (at least for me). Gmail keeps thousands of spam messages in the Spam folder and doesn't send them when I use POP access. Of course, I still get the spam that makes it to the Inbox. Celejar Second that. -- Matthew Poer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celejar wrote: This is incorrect (at least for me). Gmail keeps thousands of spam messages in the Spam folder and doesn't send them when I use POP access. Of course, I still get the spam that makes it to the Inbox. Celejar That is strange. I got those of host and be hovel ones into icedove box for example. Maybe this is due to a setting that I am not sure. BTW, it still keeps beeping even if I disable auto-check and auto-download for all accounts. - -- Cheers, Wei Chen http://www.acplex.com/people/wchen/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA+YECIqXQV6BF28RAklBAKDHXVBGecrXVnlbr494BlH43UWxWACdERAN c5Qx8cnxKSl6+l4YRjUbIG8= =KP1p -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celejar wrote: On Fri, 23 Mar 2007 20:48:02 +0800 Wei Chen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Hart wrote: Could that be because gmail is moving mail that it thinks is spam into your spam folder that you don't download? You might really have new mail, but since google thinks that it is spam, it doesn't send it. Joe It seems that gmail puts spams into corresponding folder only if using the Web interface. With POP3, all mails including spams are downloaded. This is incorrect (at least for me). Gmail keeps thousands of spam messages in the Spam folder and doesn't send them when I use POP access. Of course, I still get the spam that makes it to the Inbox. Celejar I don't pop my gmail account, so I don't know for sure, but I do think I remember a setting on the pop forward page letting you configure exactly what to allow you to fetch. Thanks for confirming my thoughts Celejar. Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGA+cHiXBCVWpc5J4RAscaAJ9jhO60ntY9RekWc3v+gozWi10rEgCfTIWz HiBfWgNpdTcjefNdIL125Sg= =CWHq -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
On Fri, 23 Mar 2007 22:36:52 +0800 Wei Chen [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celejar wrote: This is incorrect (at least for me). Gmail keeps thousands of spam messages in the Spam folder and doesn't send them when I use POP access. Of course, I still get the spam that makes it to the Inbox. Celejar That is strange. I got those of host and be hovel ones into icedove box for example. Maybe this is due to a setting that I am not sure. Some spam makes it past Gmail's spam filter. Look in the spam folder in the web interface to see how much doesn't. You should anyway do that regularly because Gmail gets some false positives. Celejar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
This is incorrect (at least for me). Gmail keeps thousands of spam messages in the Spam folder and doesn't send them when I use POP access. Of course, I still get the spam that makes it to the Inbox. Celejar I don't pop my gmail account, so I don't know for sure, but I do think I remember a setting on the pop forward page letting you configure exactly what to allow you to fetch. Thanks for confirming my thoughts Celejar. I can confirm, that gmail filters spam and other forwarding on mail arrival, not on access, so all the spam goes to spam box, and in no way is accessible trough POP or filters. Some time ago i had some issues in company mailboxes, where ~40 users had to mark some automatic mails as not-spam, because they couldn't access them otherwise. Regards, Atis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
On 3/23/07, Celejar [EMAIL PROTECTED] wrote: Some spam makes it past Gmail's spam filter. Look in the spam folder in the web interface to see how much doesn't. You should anyway do that regularly because Gmail gets some false positives. Gmail also counts spam towards your quota, and I've noticed it's remiss in deleting spam over 30 days old, as it claims. Back to the original topic, I've noticed apparently random beeping from icedove as well. I use gmail through the web interface, so that's not the cause in my case. I have a POP account, though, and it might be something at the POP server that isn't related to new mail arriving, but looks like a mailbox change. I'm not really sure what kind of per-message or per-mailbox state POP keeps, nor what's considered beep-worthy by icedove. I *do* know that changes to an IMAP folder that are just being seen for the first time by a particular icedove instance cause a beep and something akin to a new messages flag. I know it's not actually showing new messages, since I have icedove configured to make folders with unread messages appear in red, and the color doesn't change, just the folder icon. -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celejar wrote: Some spam makes it past Gmail's spam filter. Look in the spam folder in the web interface to see how much doesn't. You should anyway do that regularly because Gmail gets some false positives. Celejar You are right. It is me that forget my settings. I have two gmail accounts, say A and B. I pop mails from A to icedove. Also, I forward mails from A to B to read with B's Web interface. Those spam mails are not marked as spams on A so poped to the icedove client. But on B, they are in the spam folder. And the spam folder on A is empty (I do not know why). Anyway, icedove should not beep when auto-check is disabled for all accounts. - -- Cheers, Wei Chen http://www.acplex.com/people/wchen/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA+2iCIqXQV6BF28RAj/JAKCNpX0hlbQ0y+++wqsHDgzC+Bi6eQCgk3fV T7lvku6ggbcEK6AkWmFIIkI= =iNFM -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Marsh wrote: On 3/23/07, Celejar [EMAIL PROTECTED] wrote: Some spam makes it past Gmail's spam filter. Look in the spam folder in the web interface to see how much doesn't. You should anyway do that regularly because Gmail gets some false positives. Gmail also counts spam towards your quota, and I've noticed it's remiss in deleting spam over 30 days old, as it claims. Back to the original topic, I've noticed apparently random beeping from icedove as well. I use gmail through the web interface, so that's not the cause in my case. I have a POP account, though, and it might be something at the POP server that isn't related to new mail arriving, but looks like a mailbox change. I'm not really sure what kind of per-message or per-mailbox state POP keeps, nor what's considered beep-worthy by icedove. I *do* know that changes to an IMAP folder that are just being seen for the first time by a particular icedove instance cause a beep and something akin to a new messages flag. I know it's not actually showing new messages, since I have icedove configured to make folders with unread messages appear in red, and the color doesn't change, just the folder icon. I'm not sure that Icedove works right when it comes to checking, receiving and telling you about new mail. For example, I have a filter sending all d-u mail to a folder. When new mail comes, quite frequently it doesn't mark that folder as having new mail, when in fact it does. It also reverts to showing things in unthreaded view mode from time to time. Why it does these things I do not know, and no, I have not submitted a bug report. They are only slightly annoying issues, not really bugs. Joe Joe - -- Registerd Linux user #443289 at http://counter.li.org/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGA/J0iXBCVWpc5J4RAn39AKDOgMc8WsMlYllUN8Zht29C8LgRRwCggNwm uC5DTisBVVHpckOwVUvO8Q0= =nEzB -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep question of Icedove
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Hart wrote: I'm not sure that Icedove works right when it comes to checking, receiving and telling you about new mail. For example, I have a filter sending all d-u mail to a folder. When new mail comes, quite frequently it doesn't mark that folder as having new mail, when in fact it does. It also reverts to showing things in unthreaded view mode from time to time. Why it does these things I do not know, and no, I have not submitted a bug report. They are only slightly annoying issues, not really bugs. All right. I will adopt the Ostrich algorithm and disable the new mail beeping for now. Thanks for all your replies. - -- Cheers, Wei Chen http://www.acplex.com/people/wchen/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGA/URCIqXQV6BF28RAupFAJ9Hcm2l3Rbj81YhKGr79cZIyduuLACdHEvS U4XwZtrIa3KZncLarXxBHiA= =EGXA -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep iridium
2006/4/20, colapso [EMAIL PROTECTED]: Hola! Tengo un portátil Beep Iridium 740 (Notebook CLT) con una tarjeta inalámbrica integrada (es un centrino), la Intel ProWireles ipw2200. He instalado los drivers correctamente, el portátil detecta la tarjeta, carga los drivers, pero no es capaz de conectarse, no puede asociarse a ningún punto de acceso. ¿Alguna idea? ¿Alguién tiene este portátil y le funciona la wireless? Muchas gracias! Yo tengo la tarjeta esa y va perfectamente, prueba a leer el histórico de la lista, hay multitud de hilos tratando ese tema. -- ... may the source be with you...
Re: beep iridium
ChEnChO wrote: 2006/4/20, colapso [EMAIL PROTECTED]: Hola! Tengo un portátil Beep Iridium 740 (Notebook CLT) con una tarjeta inalámbrica integrada (es un centrino), la Intel ProWireles ipw2200. He instalado los drivers correctamente, el portátil detecta la tarjeta, carga los drivers, pero no es capaz de conectarse, no puede asociarse a ningún punto de acceso. ¿Alguna idea? ¿Alguién tiene este portátil y le funciona la wireless? Muchas gracias! Yo tengo la tarjeta esa y va perfectamente, prueba a leer el histórico de la lista, hay multitud de hilos tratando ese tema. -- ... may the source be with you... La instalación del driver es simple y también el modulo de ieee80211, verifica que tanto el módulo ieee80211 e ipw2200 están cargados. Verifica que has copiado correctamente el firmware al directorio de hotplug, verifica si están instaladas las wireless-tools, asóciale un nombre a tu interface como puede ser wlan0. si todo esta bien... Te responde a comandos como iwlist scan? o iwconfig interface managed? Te deja configurarla? La configuracion de /etc/network interfaces está bien? No se me ocurre nada más. un saludo. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep im xterm konfigurieren
Hallo, Christoph Grzeschik wrote: Mit dem Kommando xset b [volume] [frequency] [duration] kann ich den beep in der Konsole konfigurieren (der zum Beispiel dann ertönt, wenn er kein passende tab-completion findet). Allerdings gilt die Einstellung nur für die laufende X Session. Was muss ich in welche Datei schreiben, damit er die Einstellung permanent behält? Der Vollständigkeit halber sollte man noch erwähnen, das die Console-Bell groberweise über /etc/inputrc oder ~/.inputrc gesteuert wird. Z.B. kann man da mit dem Eintrag set bell-style none das nervige Gebimmel bei Tab-Completion ausstellen u.ä. Gruss, Christian -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Beep im xterm konfigurieren
* Christoph Grzeschik [EMAIL PROTECTED] [08-07-05 22:47]: Mit dem Kommando xset b [volume] [frequency] [duration] kann ich den beep in der Konsole konfigurieren (der zum Beispiel dann ertönt, wenn er kein passende tab-completion findet). Allerdings gilt die Einstellung nur für die laufende X Session. Was muss ich in welche Datei schreiben, damit er die Einstellung permanent behält? Hallo Christoph trage deinen xset-Aufruf in deine .xsession ein HTH Jens -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: Beep im xterm konfigurieren
On Fri, Jul 08, 2005 at 10:47:50PM +0200, Christoph Grzeschik wrote: Mit dem Kommando xset b [volume] [frequency] [duration] kann ich den beep in der Konsole konfigurieren (der zum Beispiel dann ertönt, wenn er kein passende tab-completion findet). Allerdings gilt die Einstellung nur für die laufende X Session. Was muss ich in welche Datei schreiben, damit er die Einstellung permanent behält? Hi, am einfachsten in die ~/.xinitrc oder ~/.xession. Ich meine, ~/.xsession funktioniert auch, falls man sich mit XDM oder aehnlichem anmeldet. ;-) Bis dahin... Sven
Re: Re: Beep instead of written letter - keyboard-problem with gnome(SID)
Thanks for the fix! It's been bugging me for a long time now. Best, -Ari -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Le Fri, 25 Mar 2005 22:31:43 +0100, Leopold BAILLY a écrit : D'après ce document : http://www.linux.com/guides/lpg/lpg.shtml, /dev/console est l'unique moyen standard de contrôler le haut-parleur, exactement comme c'est fait dans ton programme. Il existe un autre moyen : http://www.geocities.com/stssppnn/pcsp.html, c'est un module du noyau qui permet d'adresser le haut-parleur comme une carte son. La solution la plus simple et la plus propre pour toi est sans doute d'ajouter la permission set uid root à ton programme : $ chown root:root alarm $ chmod +s alarm Tu peut aussi faire un script à base de echo -e \a, c'est moins joli mais tout aussi efficace. Sur ma Sarge, il y a le paquet beep qui va bien sans être root. Peut-être que jeter un oeil au source pourrait vous inspirer Cordialement Jean-Pierre -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Bayrouni [EMAIL PROTECTED] writes: Jean-Michel OLTRA wrote: bonjour, Le jeudi 24 mars 2005, Astar0th a écrit... ./trig-alarm Could not open /dev/console for writing. open: Permission denied. Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Essaye avec strace (man strace) strace -e file ./trig-alarm Voici l'affichage de strace -e file ./bin/trig-alarm: execve(./bin/trig-alarm, [./bin/trig-alarm], [/* 23 vars */]) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=24361, ...}) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/libc.so.6, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1253924, ...}) = 0 open(/dev/console, O_WRONLY) = 3 J'ai lancé strace sur echo -e \a, qui provoque un bip du haut-parleur, pour voir dans quel périphérque il écrit. Il écrit dans /dev/pts/0, qui est le terminal associé à mon shell comme je peux le voir avec ps, sur lequel j'ai bien les droits d'écriture. Je pense tout simplement que ton programme est buggé car il écrit systématiquement dans /dev/console (réservé à root) au lieu de rechercher (par un moyen que j'ignore) le terminal attaché à son processus. Léo.
Re: beep, question de permissions?
Bayrouni [EMAIL PROTECTED] writes: Leopold BAILLY wrote: Bayrouni [EMAIL PROTECTED] writes: Jean-Michel OLTRA wrote: bonjour, Le jeudi 24 mars 2005, Astar0th a écrit... ./trig-alarm Could not open /dev/console for writing. open: Permission denied. Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Essaye avec strace (man strace) strace -e file ./trig-alarm Voici l'affichage de strace -e file ./bin/trig-alarm: execve(./bin/trig-alarm, [./bin/trig-alarm], [/* 23 vars */]) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=24361, ...}) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/libc.so.6, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1253924, ...}) = 0 open(/dev/console, O_WRONLY) = 3 J'ai lancé strace sur echo -e \a, qui provoque un bip du haut-parleur, pour voir dans quel périphérque il écrit. Il écrit dans /dev/pts/0, qui est le terminal associé à mon shell comme je peux le voir avec ps, sur lequel j'ai bien les droits d'écriture. Je pense tout simplement que ton programme est buggé car il écrit systématiquement dans /dev/console (réservé à root) au lieu de rechercher (par un moyen que j'ignore) le terminal attaché à son processus. Léo. Voici la ligne qui est mise en cause dans mon programme C. (Je ne suis pas du tout specialiste du C) console_fd = open(/dev/console, O_WRONLY) Vérifie que /dev/pts/0 t'appartient bien et remplace /dev/console par /dev/pts/0 juste pour voir si ça marche. Léo.
Re: beep, question de permissions?
Retour sur la liste après un échange en privé et quelques recherches. Bayrouni [EMAIL PROTECTED] writes: Leopold BAILLY wrote: Bayrouni [EMAIL PROTECTED] writes: Leopold BAILLY wrote: Bayrouni [EMAIL PROTECTED] writes: Leopold BAILLY wrote: Bayrouni [EMAIL PROTECTED] writes: Jean-Michel OLTRA wrote: bonjour, Le jeudi 24 mars 2005, Astar0th a écrit... ./trig-alarm Could not open /dev/console for writing. open: Permission denied. Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Essaye avec strace (man strace) strace -e file ./trig-alarm Voici l'affichage de strace -e file ./bin/trig-alarm: execve(./bin/trig-alarm, [./bin/trig-alarm], [/* 23 vars */]) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=24361, ...}) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/libc.so.6, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1253924, ...}) = 0 open(/dev/console, O_WRONLY) = 3 J'ai lancé strace sur echo -e \a, qui provoque un bip du haut-parleur, pour voir dans quel périphérque il écrit. Il écrit dans /dev/pts/0, qui est le terminal associé à mon shell comme je peux le voir avec ps, sur lequel j'ai bien les droits d'écriture. Je pense tout simplement que ton programme est buggé car il écrit systématiquement dans /dev/console (réservé à root) au lieu de rechercher (par un moyen que j'ignore) le terminal attaché à son processus. Léo. Je retire ce que j'ai dit, il ne semble pas possible d'aller au delà du simple bip (\a) sans écrire dans /dev/console. Voici la ligne qui est mise en cause dans mon programme C. (Je ne suis pas du tout specialiste du C) console_fd = open(/dev/console, O_WRONLY) Vérifie que /dev/pts/0 t'appartient bien et remplace /dev/console par /dev/pts/0 juste pour voir si ça marche. Léo. J'avais déjà essayé de remplacé /dev/console par /dev/pts/0 ll /dev/pts/0 crw--w 1 moi tty 136, 0 2005-03-25 18:04 /dev/pts/0 Le programme se compile et s'execute mais sans alarme (une boucle de beeps à differentes frequences). Est-ce que tu peux m'envoyer le source du programme ? Léo. Oui bien sûr. C'est une reduction au strict minimum du programme beep.c disponible sur le net. voici le code source du miniscule programme alarm.c en pièce jointe: Je n'ai pas encore enlevé tout ce qui n'est pas necessaire pour son fonctionnement car je voulais d'abord voir son fonctionnement. [...] ioctl (console_fd, KIOCSOUND, (int) (CLOCK_TICK_RATE/freq)); [...] D'après ce document : http://www.linux.com/guides/lpg/lpg.shtml, /dev/console est l'unique moyen standard de contrôler le haut-parleur, exactement comme c'est fait dans ton programme. Il existe un autre moyen : http://www.geocities.com/stssppnn/pcsp.html, c'est un module du noyau qui permet d'adresser le haut-parleur comme une carte son. La solution la plus simple et la plus propre pour toi est sans doute d'ajouter la permission set uid root à ton programme : $ chown root:root alarm $ chmod +s alarm Tu peut aussi faire un script à base de echo -e \a, c'est moins joli mais tout aussi efficace. Léo.
Re: beep, question de permissions?
Bayrouni wrote: Bonjour, J'ai un tout petit programme en C, qui declanche une alarme. Il agit sur le haut-parleur de PC. Quand je l'execute en tant que root, j'entends l'alarme , par contre en tant que utilisateur, d'abord il y avait l'erreur: ./trig-alarm Could not open /dev/console for writing. open: Permission denied. alors j'ai changé en: ll /dev/console crw-rw-rw- 1 root tty 5, 1 Mar 24 10:49 /dev/console Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Merci Bayrouni Tu as essayer d'ajouter l'utilisateur dans le groupe audio ? @++ -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Jérôme Gaulin wrote: Bayrouni a écrit : Bonjour, bonjour, J'ai un tout petit programme en C, qui declanche une alarme. Il agit sur le haut-parleur de PC. Quand je l'execute en tant que root, j'entends l'alarme , par contre en tant que utilisateur, d'abord il y avait l'erreur: ./trig-alarm Could not open /dev/console for writing. open: Permission denied. alors j'ai changé en: ll /dev/console crw-rw-rw- 1 root tty 5, 1 Mar 24 10:49 /dev/console Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Merci Bayrouni adduser toto audio ? Je viens de verifier et j'ai déjà moi(toto) dans le groupe audio. Mais toujours pas d'alarme sous moi. Merci Bayrouni -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Astar0th wrote: Bayrouni wrote: Bonjour, J'ai un tout petit programme en C, qui declanche une alarme. Il agit sur le haut-parleur de PC. Quand je l'execute en tant que root, j'entends l'alarme , par contre en tant que utilisateur, d'abord il y avait l'erreur: ./trig-alarm Could not open /dev/console for writing. open: Permission denied. alors j'ai changé en: ll /dev/console crw-rw-rw- 1 root tty 5, 1 Mar 24 10:49 /dev/console Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Merci Bayrouni Tu as essayer d'ajouter l'utilisateur dans le groupe audio ? @++ Oui, il y était déjà. Voilà le resultat de id (de l'utilisateur moi): id uid=1000(moi) gid=1000(moi) groupes=20(dialout),24(cdrom),25(floppy),29(audio),44(video),1000(moi) -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
bonjour, Le jeudi 24 mars 2005, Astar0th a écrit... ./trig-alarm Could not open /dev/console for writing. open: Permission denied. Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Essaye avec strace (man strace) strace -e file ./trig-alarm -- jm -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Jean-Michel OLTRA wrote: bonjour, Le jeudi 24 mars 2005, Astar0th a écrit... ./trig-alarm Could not open /dev/console for writing. open: Permission denied. Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiadé qu'il s'agit d'une question de droits mais sur quoi ? Essaye avec strace (man strace) strace -e file ./trig-alarm Voici l'affichage de strace -e file ./bin/trig-alarm: execve(./bin/trig-alarm, [./bin/trig-alarm], [/* 23 vars */]) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=24361, ...}) = 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/tls/libc.so.6, O_RDONLY)= 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1253924, ...}) = 0 open(/dev/console, O_WRONLY) = 3 Si celà peut vous aidez. Merci -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Le jeudi 24 mars 2005 12:10 +0100, Bayrouni a crit : J'ai un tout petit programme en C, qui declanche une alarme. Il agit sur le haut-parleur de PC. Quand je l'execute en tant que root, j'entends l'alarme , par contre en tant que utilisateur, d'abord il y avait l'erreur: ./trig-alarm Could not open /dev/console for writing. open: Permission denied. alors j'ai chang en: ll /dev/console crw-rw-rw- 1 root tty 5, 1 Mar 24 10:49 /dev/console Le programme s'exute pendant les 10 secondes de test mais sans aucun son. Je suis persiad qu'il s'agit d'une question de droits mais sur quoi ? Merci Bayrouni adduser toto audio ? Je viens de verifier et j'ai dj moi(toto) dans le groupe audio. Mais toujours pas d'alarme sous moi. Merci Bayrouni En regardant le code de beep ? ou mme en l'utilisant directement. Quand on install cette appli, il demande si on veut un suid ou sgid, sinon les users n'auront pas accs au haut-parleur interne. Outil de configuration de Debian Configuration de beep Le programme beep doit tre lanc en tant que super-utilisateur ( root ) pour pouvoir accder au haut-parleur. Cela est possible de plusieurs faons : soit le bit suid est positionn et tout le monde peut excuter ce programme, soit le bit suid est positionn et seuls les membres du groupe audio peuvent excuter le programme, soit le bit suid n'est pas positionn et beep n'est alors excutable que par le super-utilisateur. Comme tout programme suid root reprsente un risque du point de vue de la scurit, cela n'est pas fait par dfaut. Toutefois, ce programme est vraiment petit (environ 150 lignes de code) et il est relativement facile de vrifier par vous-mme que le code est sr, si vous ne me faites pas confiance. Ok -- Pensez lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep, question de permissions?
Le jeudi 24 Mars 2005 16:04, Bayrouni a écrit : execve(./bin/trig-alarm, [./bin/trig-alarm], [/* 23 vars */]) = 0 Il faudrait peut-être tracer les fils également. Tu utilises un script qui lance un binaire ? C'est l'option -f de strace à rajouter. Dans un premier temps je lance directement le binaire. Il sera lancé plutard dans un script. Mais d'abord il faudra qu'il puisse fonctionner. J'ai encore fait des essais mais rien de nouveau sous root ok :) sous user not ok :( Bayrouni # modprobe pcspkr # chmod +s /usr/bin/beep $ beep Ou alors (plus compliqué et risqué) : $ sudo beep si tu as rajouté la ligne adéquate dans /etc/sudoers : user localhost = (root) NOPASSWD: /usr/bin/beep * pgp2ZAGupKtuO.pgp Description: PGP signature
Re: beep et Alsa
bonjour, Le mercredi 09 février 2005, Benoît Noyelles a écrit... j'ai le même problème, j'ai installé une Sarge kernel 2.4.27-speakup il y a une dizaine de jours et n'ai jamais eu les on, sauf une fois avec de grosses bidouilles style insmod et modprobe qui m'ont permis d'avoir l'OSS (je n'ai pas touché au modprobe.conf, car c'est alsa et pas OSS que je veux). En fouillant bcp j'ai déduit que : suite à un gros bug les développeurs ont pour l'instant retiré alsa-modules des ftp, donc ça ne risque pas de marcher. Je pense qu'ils vont le remettre un jour ou l'autre... C'était le canal mono qui n'était pas bien ajusté. C'est déjà ça de fait. -- jm -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep et Alsa
Jean-Michel OLTRA wrote: bonjour, bonjour Ça inspire une réflexion à quelqu'un ? j'ai le même problème, j'ai installé une Sarge kernel 2.4.27-speakup il y a une dizaine de jours et n'ai jamais eu les on, sauf une fois avec de grosses bidouilles style insmod et modprobe qui m'ont permis d'avoir l'OSS (je n'ai pas touché au modprobe.conf, car c'est alsa et pas OSS que je veux). En fouillant bcp j'ai déduit que : suite à un gros bug les développeurs ont pour l'instant retiré alsa-modules des ftp, donc ça ne risque pas de marcher. Je pense qu'ils vont le remettre un jour ou l'autre... Si quelqu'un a un autre avis ça m'intéresse... Benoît. -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep (-beep)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le vendredi 4 Février 2005 02:36, Stevan Kanban a écrit : Bonjour à tous, Je n'ai pas de beep système alors que: 1. Mon serveur de son est compilé dans mon noyau. 2. Je n'ai aucun soucis pour utiliser les médias sonores. 3. J'ai bien installé le package beep. 4. J'ai bien les droits et ça ne marche pas non plus sous root d'ailleurs. Que dire de plus? Merci d'avance. modprobe pcspkr ??? -- Stevan Kanban -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCAzLooBxdxgioZBIRAsCPAJ9aOvP5AzhuDx+PHKUfJqN5VO3kNwCgtPO3 XB+NKFnE+/xNz03d1HF+g2M= =Z/5e -END PGP SIGNATURE-
Re: beep (-beep)
On Fri, Feb 04, 2005 at 09:31:11AM +0100, christophe wrote : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le vendredi 4 Février 2005 02:36, Stevan Kanban a écrit : Bonjour à tous, Je n'ai pas de beep système alors que: 1. Mon serveur de son est compilé dans mon noyau. 2. Je n'ai aucun soucis pour utiliser les médias sonores. 3. J'ai bien installé le package beep. 4. J'ai bien les droits et ça ne marche pas non plus sous root d'ailleurs. Que dire de plus? Merci d'avance. modprobe pcspkr ??? Pour l'histoire du câble relié à la carte mère, j'ai quand même le beep au démarrage, les alarmes en cas de surchauffe. Est-ce le même beep que celui géré par le packetage, avec donc des possibilités en terme de durée et de fréquence, je ne le sais pas. J'ai aussi par exemple la cloche console qui beep lorsque je l'autorise dans la configuration de Konsole. Concernant le module de noyau pcspkr, il me dit qu'il n'existe pas(#modprobe pcspkr). Pourtant il est bien présent dans le source et dans la lib installée lorsque je dépackage mon noyau à la sauce débian: # grep -R pcspkr /lib/modules/2.6.7-hector-0.3/* /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/Kconfig: module will be called pcspkr. /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static char pcspkr_name[] = PC Speaker; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static char pcspkr_phys[] = isa0061/input0; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static struct input_dev pcspkr_dev; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static int __init pcspkr_init(void) /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.evbit[0] = BIT(EV_SND); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.event = pcspkr_event; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.name = pcspkr_name; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.phys = pcspkr_phys; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.bustype = BUS_ISA; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.vendor = 0x001f; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.product = 0x0001; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.version = 0x0100; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: input_register_device(pcspkr_dev); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: printk(KERN_INFO input: %s\n, pcspkr_name); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static void __exit pcspkr_exit(void) /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: input_unregister_device(pcspkr_dev); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:module_init(pcspkr_init); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:module_exit(pcspkr_exit); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/Makefile:obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o Il ne connais pas le fichier pcspkr.o. Il ne l'aurait donc pas compilé? Or il est dans /lib/modules/... Là je ne comprends pas. -- Stevan Kanban -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep (-beep)
Selon Stevan Kanban [EMAIL PROTECTED]: | On Fri, Feb 04, 2005 at 09:31:11AM +0100, christophe wrote : | modprobe pcspkr ??? [...] | Il ne connais pas le fichier pcspkr.o. Il ne l'aurait donc pas | compilé? Or il est dans /lib/modules/... Là je ne comprends | pas. Le support haut-parleur interne des PC à été annoncé comme inutile par certains et du coup a été mis en module non compilé par défaut. -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep (-beep)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le vendredi 4 Février 2005 11:31, Stevan Kanban a écrit : On Fri, Feb 04, 2005 at 09:31:11AM +0100, christophe wrote : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le vendredi 4 Février 2005 02:36, Stevan Kanban a écrit : Bonjour à tous, Je n'ai pas de beep système alors que: 1. Mon serveur de son est compilé dans mon noyau. 2. Je n'ai aucun soucis pour utiliser les médias sonores. 3. J'ai bien installé le package beep. 4. J'ai bien les droits et ça ne marche pas non plus sous root d'ailleurs. Que dire de plus? Merci d'avance. modprobe pcspkr ??? Pour l'histoire du câble relié à la carte mère, j'ai quand même le beep au démarrage, les alarmes en cas de surchauffe. Est-ce le même beep que celui géré par le packetage, avec donc des possibilités en terme de durée et de fréquence, je ne le sais pas. J'ai aussi par exemple la cloche console qui beep lorsque je l'autorise dans la configuration de Konsole. Concernant le module de noyau pcspkr, il me dit qu'il n'existe pas(#modprobe pcspkr). Pourtant il est bien présent dans le source et dans la lib installée lorsque je dépackage mon noyau à la sauce débian: # grep -R pcspkr /lib/modules/2.6.7-hector-0.3/* /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/Kconfig: module will be called pcspkr. /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static char pcspkr_name[] = PC Speaker; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static char pcspkr_phys[] = isa0061/input0; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static struct input_dev pcspkr_dev; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static int pcspkr_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static int __init pcspkr_init(void) /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.evbit[0] = BIT(EV_SND); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.sndbit[0] = BIT(SND_BELL) | BIT(SND_TONE); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.event = pcspkr_event; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.name = pcspkr_name; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.phys = pcspkr_phys; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.bustype = BUS_ISA; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.vendor = 0x001f; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.product = 0x0001; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: pcspkr_dev.id.version = 0x0100; /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: input_register_device(pcspkr_dev); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: printk(KERN_INFO input: %s\n, pcspkr_name); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:static void __exit pcspkr_exit(void) /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c: input_unregister_device(pcspkr_dev); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:module_init (pcspkr_init); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/pcspkr.c:module_exit (pcspkr_exit); /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/Makefile:obj-$(CONFI G_INPUT_PCSPKR) += pcspkr.o Je ne sais pas comment ça marche sous debian, mais il me semble que le dossier /lib/modules/kernelversion/build pointe quelque part dans les sources du noyau (/usr/src/linux...?). Dites-moi si je me trompe. Donc la commande que tu as lancée trouve des références dans le code du kernel et non dans les modules compilés. Donc le module n'est pas compilé à moins que la fonction ne soit dans le kernel ??? Il ne reste donc qu'à compiler le module et à le charger au démarrage en insérant la ligne pcspkr dans /etc/modprobe.preload ou à le compiler dans le kernel si besoin... Dites moi si je me trompe Il ne connais pas le fichier pcspkr.o. Il ne l'aurait donc pas compilé? Or il est dans /lib/modules/... Là je ne comprends pas. -- Stevan Kanban -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCA1LioBxdxgioZBIRAl43AKCPGBV5fOewJG6XxISGVKbP3qiPqACfbLWy Czkm+3veTLt9YG6Bbv5pIBo= =vTkH -END PGP SIGNATURE-
Re: beep (-beep)
Le Fri, 4 Feb 2005 11:31:49 +0100 Stevan Kanban [EMAIL PROTECTED] a écrit: /lib/modules/2.6.7-hector-0.3/build/drivers/input/misc/Makefile:obj-$ (CONFIG_INPUT_PCSPKR) += pcspkr.o Il ne connais pas le fichier pcspkr.o. Il ne l'aurait donc pas compilé? Or il est dans /lib/modules/... Là je ne comprends modules sous 2.6 = pcspkr.ko me semble-t-il (je n'ai pas de 2.6...) François Boisson
Re: beep (-beep)
Je ne sais pas comment ça marche sous debian, mais il me semble que le dossier /lib/modules/kernelversion/build pointe quelque part dans les sources du noyau (/usr/src/linux...?). Dites-moi si je me trompe. Donc la commande que tu as lancée trouve des références dans le code du kernel et non dans les modules compilés. Donc le module n'est pas compilé à moins que la fonction ne soit dans le kernel ??? Il ne reste donc qu'à compiler le module et à le charger au démarrage en insérant la ligne pcspkr dans /etc/modprobe.preload ou à le compiler dans le kernel si besoin... Dites moi si je me trompe J'ai des éléments de réflexion: 1. Effectivement, le fichier pcspkr.c n'a pas oublié d'être compilé mais c'est tout bonnement un lien vers les sources du kernel. Il est donc dans /usr/src/linux/drivers/input/misc/. Il faut donc que je le recompile à part ou alors que je recompile tout le noyau avec la nouvelle option pcspkr dans menuconfig (à propos, je ne l'ai pas trouvé dans le fichier /usr/src/linux/arch/i386/defconfig et l'aide de menucongig ne dit pas son nom). Donc ça devrait bien marcher (ça compile pour le moment :) ). 2. Bon, là je recompile tout mon noyau car j'avais d'autres modifs à faire. Néanmoins, il y a quelques points que je ne comprends pas: A. Je peux recompiler un source comme pcspkr.c avec gcc. Mais j'obtiendrai alors pcspkr.o. Or, j'ai crû comprendre que dans les noyaux à partir du 2.6, les modules étaient en .ko et non pas en .o. Tout d'abord, fichier.ko est bien tout simplement un fichier source compilé, n'est-ce-pas? Comment l'obtenir à partir du source (et non pas avec make-kpkg)? Comment l'intégrer aux modules? En le copiant-collant à la bonne place dans /lib/modules/mes_modules/...? B. Le fait de modifier directement dans /usr/src/linux/arch/i386/defconfig une option et de recompiler ensuite, ça prend en compte ou pas? J'ai fait un test et ça ne prend pas en compte la modif. Mon noyau recompilé est le même que le précédent. Alors pourquoi? J'espère que mes questions sont limpides. Merci d'avance, -- Stevan Kanban -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep (-beep)
Stevan Kanban wrote: Je ne sais pas comment ça marche sous debian, mais il me semble que le dossier /lib/modules/kernelversion/build pointe quelque part dans les sources du noyau (/usr/src/linux...?). Dites-moi si je me trompe. Donc la commande que tu as lancée trouve des références dans le code du kernel et non dans les modules compilés. Donc le module n'est pas compilé à moins que la fonction ne soit dans le kernel ??? Il ne reste donc qu'à compiler le module et à le charger au démarrage en insérant la ligne pcspkr dans /etc/modprobe.preload ou à le compiler dans le kernel si besoin... Dites moi si je me trompe J'ai des éléments de réflexion: 1. Effectivement, le fichier pcspkr.c n'a pas oublié d'être compilé mais c'est tout bonnement un lien vers les sources du kernel. Il est donc dans /usr/src/linux/drivers/input/misc/. Il faut donc que je le recompile à part ou alors que je recompile tout le noyau avec la nouvelle option pcspkr dans menuconfig (à propos, je ne l'ai pas trouvé dans le fichier /usr/src/linux/arch/i386/defconfig et l'aide de menucongig ne dit pas son nom). Donc ça devrait bien marcher (ça compile pour le moment :) ). 2. Bon, là je recompile tout mon noyau car j'avais d'autres modifs à faire. Néanmoins, il y a quelques points que je ne comprends pas: A. Je peux recompiler un source comme pcspkr.c avec gcc. Mais j'obtiendrai alors pcspkr.o. Or, j'ai crû comprendre que dans les noyaux à partir du 2.6, les modules étaient en .ko et non pas en .o. Tout d'abord, fichier.ko est bien tout simplement un fichier source compilé, n'est-ce-pas? Comment l'obtenir à partir du source (et non pas avec make-kpkg)? Comment l'intégrer aux modules? En le copiant-collant à la bonne place dans /lib/modules/mes_modules/...? B. Le fait de modifier directement dans /usr/src/linux/arch/i386/defconfig une option et de recompiler ensuite, ça prend en compte ou pas? J'ai fait un test et ça ne prend pas en compte la modif. Mon noyau recompilé est le même que le précédent. Alors pourquoi? Il faut installer le nouveau noyau, et rebooter dessus -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep (-beep)
On Fri, Feb 04, 2005 at 05:06:07PM +0100, Stevan Kanban wrote : Je ne sais pas comment ça marche sous debian, mais il me semble que le dossier /lib/modules/kernelversion/build pointe quelque part dans les sources du noyau (/usr/src/linux...?). Dites-moi si je me trompe. Donc la commande que tu as lancée trouve des références dans le code du kernel et non dans les modules compilés. Donc le module n'est pas compilé à moins que la fonction ne soit dans le kernel ??? Il ne reste donc qu'à compiler le module et à le charger au démarrage en insérant la ligne pcspkr dans /etc/modprobe.preload ou à le compiler dans le kernel si besoin... Dites moi si je me trompe J'ai des éléments de réflexion: 1. Effectivement, le fichier pcspkr.c n'a pas oublié d'être compilé mais c'est tout bonnement un lien vers les sources du kernel. Il est donc dans /usr/src/linux/drivers/input/misc/. Il faut donc que je le recompile à part ou alors que je recompile tout le noyau avec la nouvelle option pcspkr dans menuconfig (à propos, je ne l'ai pas trouvé dans le fichier /usr/src/linux/arch/i386/defconfig et l'aide de menucongig ne dit pas son nom). Donc ça devrait bien marcher (ça compile pour le moment :) ). 2. Bon, là je recompile tout mon noyau car j'avais d'autres modifs à faire. Néanmoins, il y a quelques points que je ne comprends pas: A. Je peux recompiler un source comme pcspkr.c avec gcc. Mais j'obtiendrai alors pcspkr.o. Or, j'ai crû comprendre que dans les noyaux à partir du 2.6, les modules étaient en .ko et non pas en .o. Tout d'abord, fichier.ko est bien tout simplement un fichier source compilé, n'est-ce-pas? Comment l'obtenir à partir du source (et non pas avec make-kpkg)? Comment l'intégrer aux modules? En le copiant-collant à la bonne place dans /lib/modules/mes_modules/...? B. Le fait de modifier directement dans /usr/src/linux/arch/i386/defconfig une option et de recompiler ensuite, ça prend en compte ou pas? J'ai fait un test et ça ne prend pas en compte la modif. Mon noyau recompilé est le même que le précédent. Alors pourquoi? J'espère que mes questions sont limpides. Merci d'avance, Le beep marche très bien grâce à l'option du noyau. -- Stevan Kanban -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep (-beep)]
Je ne sais pas comment ça marche sous debian, mais il me semble que le dossier /lib/modules/kernelversion/build pointe quelque part dans les sources du noyau (/usr/src/linux...?). Dites-moi si je me trompe. Donc la commande que tu as lancée trouve des références dans le code du kernel et non dans les modules compilés. Donc le module n'est pas compilé à moins que la fonction ne soit dans le kernel ??? Il ne reste donc qu'à compiler le module et à le charger au démarrage en insérant la ligne pcspkr dans /etc/modprobe.preload ou à le compiler dans le kernel si besoin... Dites moi si je me trompe J'ai des éléments de réflexion: 1. Effectivement, le fichier pcspkr.c n'a pas oublié d'être compilé mais c'est tout bonnement un lien vers les sources du kernel. Il est donc dans /usr/src/linux/drivers/input/misc/. Il faut donc que je le recompile à part ou alors que je recompile tout le noyau avec la nouvelle option pcspkr dans menuconfig (à propos, je ne l'ai pas trouvé dans le fichier /usr/src/linux/arch/i386/defconfig et l'aide de menucongig ne dit pas son nom). Donc ça devrait bien marcher (ça compile pour le moment :) ). 2. Bon, là je recompile tout mon noyau car j'avais d'autres modifs à faire. Néanmoins, il y a quelques points que je ne comprends pas: A. Je peux recompiler un source comme pcspkr.c avec gcc. Mais j'obtiendrai alors pcspkr.o. Or, j'ai crû comprendre que dans les noyaux à partir du 2.6, les modules étaient en .ko et non pas en .o. Tout d'abord, fichier.ko est bien tout simplement un fichier source compilé, n'est-ce-pas? Comment l'obtenir à partir du source (et non pas avec make-kpkg)? Comment l'intégrer aux modules? En le copiant-collant à la bonne place dans /lib/modules/mes_modules/...? B. Le fait de modifier directement dans /usr/src/linux/arch/i386/defconfig une option et de recompiler ensuite, ça prend en compte ou pas? J'ai fait un test et ça ne prend pas en compte la modif. Mon noyau recompilé est le même que le précédent. Alors pourquoi? J'espère que mes questions sont limpides. Merci d'avance, Le beep marche très bien après recompilation grâce à l'option du noyau. -- Stevan Kanban -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep no console com kernel 2.6.x
Em Fri, 27 Aug 2004 02:40:05 +0200, Leandro Ferreira escreveu: Uso no desktop um kernel 2.6.7 também compilado por mim, e tem o beep normal. E não precisei habilitar nada fora do comum. Por que você não compara os arquivos config das duas compilações? -- Leandro Guimarães Faria Corsetti Dutra +55 (44) 3028 7467 ext34 Rua Guarani 361 ap 601 – Z4+55 (44) 3025 6253 87.014-040 Maringá, PR [EMAIL PROTECTED] BRAZIL http://br.geocities.com./lgcdutra/
Re: Beep no console com kernel 2.6.x
On Fri, Aug 27, 2004 at 10:06:39AM -0300, Leandro Guimaraens Faria Corsetti Dutra wrote: Em Fri, 27 Aug 2004 02:40:05 +0200, Leandro Ferreira escreveu: Uso no desktop um kernel 2.6.7 também compilado por mim, e tem o beep normal. E não precisei habilitar nada fora do comum. Por que você não compara os arquivos config das duas compilações? Valeu, já fiz isso e não achei nada especial. O único que não fiz foi compilar módulos de placa de som para o note, mesmo porque ele não tem placa de som. Vc já passou por esse problema? Se alguém da lista já passou, por favor, diga como resolveu. []'s Leandro -- Leandro Guimarães Faria Corsetti Dutra +55 (44) 3028 7467 ext34 Rua Guarani 361 ap 601 ??? Z4+55 (44) 3025 6253 87.014-040 Maringá, PR [EMAIL PROTECTED] BRAZIL http://br.geocities.com./lgcdutra/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- (@_ Leandro Padilha Ferreira - [EMAIL PROTECTED] //\ V_/_ http://androle.pro.brLinux user: #237.744 -- El trabajo cazurro, sólo es para los burros. signature.asc Description: Digital signature
Re: Beep no console com kernel 2.6.x
On Thursday 26 August 2004 21:31, Leandro Ferreira wrote: Normalmente uso algum kernel compilado por mim nesse note, atualmente o 2.6.7, mas em nenhum kernel da série 2.6 eu tenho o som do beep. modprobe pcspkr []'s Cláudio
Re: Beep no console com kernel 2.6.x
On Fri, Aug 27, 2004 at 07:51:53PM -0300, Cláudio E. Elicker wrote: On Thursday 26 August 2004 21:31, Leandro Ferreira wrote: Normalmente uso algum kernel compilado por mim nesse note, atualmente o 2.6.7, mas em nenhum kernel da série 2.6 eu tenho o som do beep. modprobe pcspkr []'s Cláudio Valeu Cláudio! era isso mesmo, não tinha compilado esse módulo. []'s Leandro -- (@_ Leandro Padilha Ferreira - [EMAIL PROTECTED] //\ V_/_ http://androle.pro.brLinux user: #237.744 -- A Dios rogando y con el mazo dando. -- Refrán. signature.asc Description: Digital signature
Re: beep in console
Scetbon Cyril [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I run scripts in my crontab but i'm not able to generate a beep in console mode. I tried echo -e '\a' but no success while I can use sound. Is there a pbm with my PC Speaker ? try adding /dev/console to your line, does your echo command produce a sound when typing it directly at a keyboard TTY ? I had same troubles as well, using 2.4.25 kernel (but newer checked out grep -i spkr /boot/config-$(uname -r) CONFIG_INPUT_PCSPKR=y ). Try looking for a script called console_beep-0.1 ... found it somewhere. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep in console
Michael Alle wrote: Scetbon Cyril [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] I run scripts in my crontab but i'm not able to generate a beep in console mode. I tried echo -e '\a' but no success while I can use sound. Is there a pbm with my PC Speaker ? try adding /dev/console to your line, does your echo command produce a sound when typing it directly at a keyboard TTY ? yes. from crontab, it works better with /dev/console :-) I had noticed it. I had same troubles as well, using 2.4.25 kernel (but newer checked out grep -i spkr /boot/config-$(uname -r) CONFIG_INPUT_PCSPKR=y ). done thanks to wayne thomes. Try looking for a script called console_beep-0.1 ... found it somewhere. already done in perl (if you're interested I can email it) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep in console
--- Scetbon Cyril [EMAIL PROTECTED] wrote: Try looking for a script called console_beep-0.1 ... found it somewhere. already done in perl (if you're interested I can email it) % apt-cache show beep [..elided..] Description: Advanced pc-speaker beeper beep does what you'd expect: it beeps. But unlike printf \a beep allows you to control pitch, duration, and repetitions. Its job is to live inside shell/perl scripts and allow more granularity than one has otherwise. It is controlled completely through command line options. It's not supposed to be complex, and it isn't - but it makes system monitoring (or whatever else it gets hacked into) much more informative. -- Thomas Adam = The Linux Weekend Mechanic -- http://linuxgazette.net TAG Editor -- http://linuxgazette.net shrug We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :) -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http://uk.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep in console
Wayne Topa wrote: Scetbon Cyril([EMAIL PROTECTED]) is reported to have said: I run scripts in my crontab but i'm not able to generate a beep in console mode. I tried echo -e '\a' but no success while I can use sound. Is there a pbm with my PC Speaker ? Yoy did not mention what kernel you are using. I use kernel 2.6.7 In the 2.6.x kernels there is now an option to turn on the PC Speaker. # Input Device Drivers CONFIG_INPUT_PCSPKR=y :-) HTH, YMMV, HAND :-) Wayne thanks to thomas wayne for this information. Let's compile (again again...) the kernel :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep in console
--- Scetbon Cyril [EMAIL PROTECTED] wrote: I run scripts in my crontab but i'm not able to generate a beep in console mode. I tried echo -e '\a' but no success while I can use sound. Is there a pbm with my PC Speaker ? pbm? Oh, I think you missed some letters there. I would think your kernel is lacking PC-speaker support. For me, I have: [EMAIL PROTECTED] markup]$ grep -i spkr /boot/config-$(uname -r) CONFIG_INPUT_PCSPKR=y defined, which you should check. -- Thomas Adam = The Linux Weekend Mechanic -- http://linuxgazette.net TAG Editor -- http://linuxgazette.net shrug We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :) -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http://uk.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep in console
Scetbon Cyril([EMAIL PROTECTED]) is reported to have said: I run scripts in my crontab but i'm not able to generate a beep in console mode. I tried echo -e '\a' but no success while I can use sound. Is there a pbm with my PC Speaker ? Yoy did not mention what kernel you are using. In the 2.6.x kernels there is now an option to turn on the PC Speaker. # Input Device Drivers CONFIG_INPUT_PCSPKR=y :-) HTH, YMMV, HAND :-) Wayne -- There are two ways to write error-free programs. Only the third one works. ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep
Le mer 16/06/2004 à 18:37, Georges Roux a écrit : Bonjour, Mon pc ne beep pas, il dispose pourtant d'un haut parleur interne fonctionnel je previens je n'ai pas de carte son, je suis sous sarge et je voudrais pouvoir utiliser beep, que j'ai apt-get installé. bon c'est un pentium 1 233Mhz classique, je suppose qu'il me manque peu etre un module mais lequel? Georges Salut, Si tu utilises un noyau de la branche 2.6 compilé à la 'main', il faut par exemple avec make menuconfig choisir : Device Drivers Input Device Support Misc M/* PC speaker support Et le merveilleux son de ton haut-parleur devrait réagir aux commandes de beep :)
Re: beep
Bonjour, Mon pc ne beep pas, il dispose pourtant d'un haut parleur interne fonctionnel je previens je n'ai pas de carte son, je suis sous sarge et je voudrais pouvoir utiliser beep, que j'ai apt-get installé. bon c'est un pentium 1 233Mhz classique, je suppose qu'il me manque peu etre un module mais lequel? hu je sais pas trop si cela peut t'aider mais... # apt-cache search beep beep - Advanced pc-speaker beeper ... softbeep - System bell replacement ...
Re: beep
Le 12585ième jour après Epoch, Georges Roux écrivait: Bonjour, Mon pc ne beep pas, il dispose pourtant d'un haut parleur interne fonctionnel je previens je n'ai pas de carte son, je suis sous sarge et je voudrais pouvoir utiliser beep, que j'ai apt-get installé. bon c'est un pentium 1 233Mhz classique, je suppose qu'il me manque peu etre un module mais lequel? pcspkr ?
Re: beep story
hugo vanwoerkom([EMAIL PROTECTED]) is reported to have said: Hi Debian! I just noticed the beep package. It makes your PC speaker beep with frequency and duration as variables. Is there a way to find out how long a Debian package has been around? I dont't know of any. I fiddled with this years ago and ended up with a beeper that could do just that: the idea copied from a window$ program. Until... Backstreet Ruby disabled the speaker because of the way the kernel packages it: the former changes the way keyboards are read by the kernel, so no more speaker. If your using a 2.6.x kernel there is now a config option to enable/disable it. Maybe thats why yours isn't working (?). It's under 'Input Device Drivers' and is called CONFIG_INPUT_PCSPKR I also use the speaker to signal when my PPP conection goes down and it took me awhile to find that is was now part of the kernel config. I liked the speaker version better, but you can't have everything... I like the beep program as well! :-) HTH, YMMV, HAND :-) Wayne -- Any programming language is at its best before it is implemented and used. ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep story
On Tue, 13 Apr 2004, hugo vanwoerkom wrote: Is there a way to find out how long a Debian package has been around? Look at /usr/share/doc/package/changelog.Debian.gz -- Jaldhar H. Vyas [EMAIL PROTECTED] La Salle Debain - http://www.braincells.com/debian/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep story
Jaldhar H. Vyas([EMAIL PROTECTED]) is reported to have said: On Tue, 13 Apr 2004, hugo vanwoerkom wrote: Is there a way to find out how long a Debian package has been around? Look at /usr/share/doc/package/changelog.Debian.gz Nothing there but /usr/share/doc/beep/copyright says copyright (C) 2000 by Johnathan Nightingale. Wayne -- Error reading FAT record: Try the SKINNY one? (Y/N) ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep perdu
Le Thu 25/03/2004, Pierre Crescenzo disait Bonjour à toutes et tous, Sur une testing, en passant d'un noyau 2.4 à un noyau 2.6, j'ai perdu le beep. Je veux dire que cet ordinateur ne fait plus beep, ni avec la commande beep ni en faisant des Ctrl-g dans un terminal. C'est le silence. :-) J'aimerais bien retrouver mes beeps parce que c'est pratique pour être averti de l'arrivée des mails mais je ne trouve pas ce que j'ai oublié de cocher, ou coché en trop, dans les options du noyau. Une idée ? Je précise que, ni en 2.4 ni en 2.6, je n'ai de carte son configurée (normalement ça n'a rien à voir mais...), vu qu'à part ces beeps cette machine doit être silencieuse. Il faut charger un module spécial, le haut-parleur du pc n'est plus supporté en standard dans winux. -- Erwan
Re: beep perdu
On Thu, Mar 25, 2004 at 09:37:13AM +0100, Pierre Crescenzo wrote: Bonjour à toutes et tous, Sur une testing, en passant d'un noyau 2.4 à un noyau 2.6, j'ai perdu le beep. Je veux dire que cet ordinateur ne fait plus beep, ni avec la commande beep ni en faisant des Ctrl-g dans un terminal. C'est le silence. :-) J'aimerais bien retrouver mes beeps parce que c'est pratique pour être averti de l'arrivée des mails mais je ne trouve pas ce que j'ai oublié de cocher, ou coché en trop, dans les options du noyau. Une idée ? Je précise que, ni en 2.4 ni en 2.6, je n'ai de carte son configurée (normalement ça n'a rien à voir mais...), vu qu'à part ces beeps cette machine doit être silencieuse. Merci ! [CITATION ALÉATOIRE : Il hausse les épaules, dubitatif comme un canard adulte qui vient de trouver sur le Larousse la recette du canard à l'orange. San-Antonio] pê dans : Device Drivers --- Input device support --- [*] Misc * PC Speaker support ? :) -- Pierre Habouzit (X2000) http://www.madism.org L'élève, comme la rivière, aimerait suivre son cours tout en restant dans son lit. /Albert/ /Camus/
Re: beep perdu
Bonjour, Sur une testing, en passant d'un noyau 2.4 à un noyau 2.6, j'ai perdu le beep. Je veux dire que cet ordinateur ne fait plus beep, ni avec la commande beep ni en faisant des Ctrl-g dans un terminal. C'est le silence. :-) J'aimerais bien retrouver mes beeps parce que c'est pratique pour être averti de l'arrivée des mails mais je ne trouve pas ce que j'ai oublié de cocher, ou coché en trop, dans les options du noyau. Une idée ? Je précise que, ni en 2.4 ni en 2.6, je n'ai de carte son configurée (normalement ça n'a rien à voir mais...), vu qu'à part ces beeps cette machine doit être silencieuse. pê dans : Device Drivers --- Input device support --- [*] Misc * PC Speaker support ? :) Nickel ! Je me doutais que c'était tout c... :-) Merci. A+ [CITATION ALÉATOIRE : Horizon pas net, reste à la buvette. Dicton de marin] -- Pierre Crescenzo mailto:[EMAIL PROTECTED] (Retirez « -sansspam » pour répondre. Merci.) http://www.crescenzo.nom.fr/
Re: BEEp sous debian gnu/linux unstable
On Sun, 2 Nov 2003 21:51:26 + François Boisson [EMAIL PROTECTED] wrote: bonjour, voilà je rencontre un désagrément sous gnu/linux. Je travaille tôt le matin et je ne voudrais pas faire beeper mon gnu/linux dès que j'appuie trop longtemps sur la touche backspace et qu'il revient à la ligne; il se met alors à beeper! tout le monde doit connaître cela. Comment demander à gnu/linux qu'il ne beepe pas ? :) Il est très désagréable de poster deux fois le même message en copier/collé avec toujours la même ligne interminable d'ailleurs sur une question qui a eu déjà 4 réponses a) Désactiver le beeper dans le BIOS b) commande en tty : echo -e \33[11;0] et enn console virtuelle (sous X, donc) : xset -b c) set bell-style none dans /etc/inputrc ? d) (la plus radicale): coup de ciseau sur le haut parleur de respectivement LesHauSs, Lucas, Frederick et Yves... Tu te moques d'eux ou quoi? merci de la réponse
Re: BEEp sous debian gnu/linux unstable
Le Sun 2/11/2003, François Boisson disait Tu te moques d'eux ou quoi? Vu qu'il a récidivé aujourd'hui, oui il se fout d'eux. -- Erwan
Re: BEEp sous debian gnu/linux unstable
Le 03/11/2003 a 07:32:53 +0100, Erwan David a ecrit : Le Sun 2/11/2003, François Boisson disait Tu te moques d'eux ou quoi? Vu qu'il a récidivé aujourd'hui, oui il se fout d'eux. -- Erwan Un crontab -l ne serait effectivement peut être pas inutile :-) Olivier -- Laboratoire de Mathématiques, Applications et Physique Mathématique d'Orléans UMR 6628 - Université d'Orléans - B.P. 6759 - 45067 Orléans Cedex 2 E-Mail: [EMAIL PROTECTED] http://www.univ-orleans.fr/SCIENCES/MAPMO/membres/garet/
Re: BEEp sous debian gnu/linux unstable
On Sat, Nov 01, 2003 at 08:34:05PM +0100, Lucas wrote: Un beau jour, LesHauSsebons [EMAIL PROTECTED] nous a dit: désactiver ton beeper dans le bios ne te satiferait-il pas ? J'avais jamais pensé à ce truc là :) Il y a longtemps, je résolvais le problème en ouvrant la machine et en utilisant une pince coupante: % open localhost | cut Maintenant, je ne peux plus faire ça sur mes portables, mais ils ont un contrôle de volume. /Y - qui déteste le bruit.
Re: BEEp sous debian gnu/linux unstable
bonjour, voilà je rencontre un désagrément sous gnu/linux. Je travaille tôt le matin et je ne voudrais pas faire beeper mon gnu/linux dès que j'appuie trop longtemps sur la touche backspace et qu'il revient à la ligne; il se met alors à beeper! tout le monde doit connaître cela. Comment demander à gnu/linux qu'il ne beepe pas ? :) Il est très désagréable de poster deux fois le même message en copier/collé avec toujours la même ligne interminable d'ailleurs sur une question qui a eu déjà 4 réponses a) Désactiver le beeper dans le BIOS b) commande en tty : echo -e \33[11;0] et enn console virtuelle (sous X, donc) : xset -b c) set bell-style none dans /etc/inputrc ? d) (la plus radicale): coup de ciseau sur le haut parleur de respectivement LesHauSs, Lucas, Frederick et Yves... Tu te moques d'eux ou quoi?
Re: BEEp sous debian gnu/linux unstable
désactiver ton beeper dans le bios ne te satiferait-il pas ? LesHauSs Subject: BEEp sous debian gnu/linux unstable From: fahrenheit [EMAIL PROTECTED] Date: Sat, 1 Nov 2003 19:21:47 +0100 To: debian-user-french@lists.debian.org bonjour, voil=E0 je rencontre un d=E9sagr=E9ment sous gnu/linux. Je travaille t=F4t = le matin et je ne voudrais pas faire beeper mon gnu/linux d=E8s que j'appui= e trop longtemps sur la touche backspace et qu'il revient =E0 la ligne; i= l se met alors =E0 beeper! tout le monde doit conna=EEtre cela. Comment dem= ander =E0 gnu/linux qu'il ne beepe pas ? :) merci -- Pensez à lire la FAQ de la liste avant de poser une question : http://savannah.nongnu.org/download/debfr-faq/html/ To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: BEEp sous debian gnu/linux unstable
Un beau jour, LesHauSsebons [EMAIL PROTECTED] nous a dit: désactiver ton beeper dans le bios ne te satiferait-il pas ? J'avais jamais pensé à ce truc là :) Sinon, en tty : echo -e \33[11;0] En console virtuelle (sous X, donc) : xset -b -- Lucas
Re: BEEp sous debian gnu/linux unstable
Le sam 01/11/2003 à 20:34, Lucas a écrit : Sinon, en tty : echo -e \33[11;0] En console virtuelle (sous X, donc) : xset -b set bell-style none dans /etc/inputrc ? Frédérick
Re: beep unconditionally
Do you mean something like this: --- thing.sh --- sleep 3 echo -e \\a --- thing.sh --- # nohup ./thing.sh No I mean something like $ echo ./thing.sh|at 2:12 pm and having it ring a bell instead of sending a flashing/beeping letter bomb, and all with standard tools of course. -- http://jidanni.org/ Taiwan(04)25854780 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep unconditionally
How kind of you all to offer your beep and ditty solutions, I will have to try them next time I break out the 8 woody CDs. However your suggestions of print(1) and echo(1) do not fill the bill as I want a way to get the little speaker to beep due to #2: 1. with standard tools 2. from a batch script not connected to any terminal 3. don't have to be root, however yes, a running X as a regular user Dan I used to do the below, but now: Dan $ echo -e \\a /dev/console Dan bash: /dev/console: Permission denied -- http://jidanni.org/ Taiwan(04)25854780 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep unconditionally
On 0, Dan Jacobson [EMAIL PROTECTED] wrote: How kind of you all to offer your beep and ditty solutions, I will have to try them next time I break out the 8 woody CDs. However your suggestions of print(1) and echo(1) do not fill the bill as I want a way to get the little speaker to beep due to #2: 1. with standard tools 2. from a batch script not connected to any terminal 3. don't have to be root, however yes, a running X as a regular user Dan I used to do the below, but now: Dan $ echo -e \\a /dev/console Dan bash: /dev/console: Permission denied Do you mean something like this: --- thing.sh --- sleep 3 echo -e \\a --- thing.sh --- # nohup ./thing.sh ? Tom -- Tom Cook Information Technology Services, The University of Adelaide If it weren't for electricity we'd all be watching television by candlelight. - George Gobol Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au pgpuPiIQH3tpR.pgp Description: PGP signature
Re: beep unconditionally
On Thu, 2002-06-20 at 00:39, Dan Jacobson wrote: How does one get a beep unconditionally from that little speaker be it from a batch job or whatever. Assume I can give a valid $XAUTHORITY. I used to do the below, but now: $ echo -e \\a /dev/console bash: /dev/console: Permission denied Now only root can make it beep. Without resorting to root powers, what can one do? apt-cache show beep Sound like what you're looking for? No pun intended... oh hell who am I kidding, of course it was intended! :) -Alex signature.asc Description: This is a digitally signed message part
Re: beep unconditionally
On 0, Dan Jacobson [EMAIL PROTECTED] wrote: How does one get a beep unconditionally from that little speaker be it from a batch job or whatever. Assume I can give a valid $XAUTHORITY. I used to do the below, but now: $ echo -e \\a /dev/console bash: /dev/console: Permission denied Now only root can make it beep. Without resorting to root powers, what can one do? echo -e \\a works for me, both in a shell and a script. Tom -- Tom Cook Information Technology Services, The University of Adelaide Other people's priorities are endlessly odd. - Kingsley Amis Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au pgpplhNVRsVCt.pgp Description: PGP signature
Re: beep unconditionally
How does one get a beep unconditionally from that little speaker be it from a batch job or whatever. Assume I can give a valid $XAUTHORITY. I used to do the below, but now: $ echo -e \\a /dev/console bash: /dev/console: Permission denied Now only root can make it beep. Without resorting to root powers, what can one do? -- http://jidanni.org/ Taiwan(04)25854780 Try: printf \a HTH -- Stephen W. Juranich [EMAIL PROTECTED] Electrical Engineering http://students.washington.edu/sjuranic University of Washingtonhttp://ssli.ee.washington.edu/ssli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: beep unconditionally
On Thu, 2002-06-20 at 17:13, Alex Malinovich wrote: apt-cache show beep And then there's apt-cache show morse for when you really what the machine to tell you what's wrong through the speaker. ;-) Friends of mine have an ip-up.d script for their 56k modem that lets them know it is time to hit the net. -- James Cameron ([EMAIL PROTECTED]) http://quozl.linux.org.au/ (or) http://quozl.netrek.org/ signature.asc Description: This is a digitally signed message part
Re: beep unconditionally
On Thu, Jun 20, 2002 at 02:13:07AM -0500, Alex Malinovich wrote: On Thu, 2002-06-20 at 00:39, Dan Jacobson wrote: How does one get a beep unconditionally from that little speaker be it from a batch job or whatever. Assume I can give a valid $XAUTHORITY. I used to do the below, but now: $ echo -e \\a /dev/console bash: /dev/console: Permission denied Now only root can make it beep. Without resorting to root powers, what can one do? apt-cache show beep Or if you're into silly little tunes: $ apt-cache show ditty (I use it on my firewall to tell me the dialup connection is going up/down. Cute) Sound like what you're looking for? No pun intended... oh hell who am I kidding, of course it was intended! :) :-) -- Karl E. Jørgensen [EMAIL PROTECTED] www.karl.jorgensen.com Today's fortune: The herd instinct among economists makes sheep look like independent thinkers. pgpmXVioHWilH.pgp Description: PGP signature
Re: Beep
On Fri, 17 May 2002 15:05:41 -0300 MST - RS - Setor de Informatica [EMAIL PROTECTED] wrote: Ola eu uso esse beep que estou lhe enviando, ai e so coloca-lo no servidor e pronto Ola, todos. Tenho um servidor de internet que e desligado no final do expediente. Na hora de desligar, o usuario digita ctrl+alt+del e o micro desliga. Pensei em usar um script que desse um sinal sonoro no final do processo, para que o usuario soubesse o momento de desligar sem precisar do monitor - quero usa-lo para outros fins ;-) . Alguem sabe onde posso encontrar tal script? Obrigado. THOME. ps: estou avaliando as respostas sobre o CUPS que me enviaram e assim que conseguir fazer funcionar, posto o resultado. Obrigado. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- _ Daniel Quintao - bigode UIN - 22388516 Linux User - 228016 Debian-br User: 268 _ Frase do dia: A uniao perfeita sera possivel pelo sentimento e nao pela sensacao. sirene.c Description: Binary data sirene Description: Binary data
Re: Beep
No capítulo anterior, Gustavo Noronha Silva ([EMAIL PROTECTED]) escreveu: Em Fri, 17 May 2002 15:25:08 -0300, Carlos Laviola [EMAIL PROTECTED] escreveu: On Fri, May 17, 2002 at 03:05:41PM -0300, MST - RS - Setor de Informatica wrote: Tenho um servidor de internet que e desligado no final do expediente. Na hora de desligar, o usuario digita ctrl+alt+del e o micro desliga. Pensei em usar um script que desse um sinal sonoro no final do processo, para que o usuario soubesse o momento de desligar sem precisar do monitor - quero usa-lo para outros fins ;-) . Alguem sabe onde posso encontrar tal script? Crie um, é fácil. [ snip ] hmmm... muito cuidado com isso, amigos! Esse wav vai ser tocado *antes* das filesystems terem sido desmontadas e se o cara desligar o computador nessa hora vai ter checagem de filesystem no próximo boot! Como é que alguém vai tocar um WAV do HD depois dele ter sido desmontado? -- Carlos Laviola [EMAIL PROTECTED] Debian GNU/Linux http://www.debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep
Em Sat, 18 May 2002 04:08:11 -0300, Carlos Laviola [EMAIL PROTECTED] escreveu: hmmm... muito cuidado com isso, amigos! Esse wav vai ser tocado *antes* das filesystems terem sido desmontadas e se o cara desligar o computador nessa hora vai ter checagem de filesystem no próximo boot! Como é que alguém vai tocar um WAV do HD depois dele ter sido desmontado? Eu não disse que isso era possível... só estou avisando que vai dar problema se o cara for rápido demais... o certo mesmo seria editar o kernel para, quando mostrar o 'power down' emitir um beep... não deve ser tão difícil []s! -- [EMAIL PROTECTED]: Gustavo Noronha http://people.debian.org/~kov Debian: http://www.debian.org * http://debian-br.cipsga.org.br -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep
On Saturday 18 May 2002 04:47, Gustavo Noronha Silva wrote: Em Sat, 18 May 2002 04:08:11 -0300, Carlos Laviola [EMAIL PROTECTED] escreveu: hmmm... muito cuidado com isso, amigos! Esse wav vai ser tocado *antes* das filesystems terem sido desmontadas e se o cara desligar o computador nessa hora vai ter checagem de filesystem no próximo boot! Como é que alguém vai tocar um WAV do HD depois dele ter sido desmontado? Eu não disse que isso era possível... só estou avisando que vai dar problema se o cara for rápido demais... o certo mesmo seria editar o kernel para, quando mostrar o 'power down' emitir um beep... não deve ser tão difícil []s! Ta ai o patch... http://people.nl.linux.org/~gpolo/kernel/beep-2.4.patch Acho que o patch deve funcionar com kernel 2.2.xx também. Até! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep
On Saturday 18 May 2002 10:03, Guilherme Polo wrote: On Saturday 18 May 2002 04:47, Gustavo Noronha Silva wrote: Em Sat, 18 May 2002 04:08:11 -0300, Carlos Laviola [EMAIL PROTECTED] escreveu: hmmm... muito cuidado com isso, amigos! Esse wav vai ser tocado *antes* das filesystems terem sido desmontadas e se o cara desligar o computador nessa hora vai ter checagem de filesystem no próximo boot! Como é que alguém vai tocar um WAV do HD depois dele ter sido desmontado? Eu não disse que isso era possível... só estou avisando que vai dar problema se o cara for rápido demais... o certo mesmo seria editar o kernel para, quando mostrar o 'power down' emitir um beep... não deve ser tão difícil []s! Ta ai o patch... http://people.nl.linux.org/~gpolo/kernel/beep-2.4.patch Acho que o patch deve funcionar com kernel 2.2.xx também. Até! Ops... esqueci de dizer, para aplicar o patch faça o seguinte: cd /usr/src/linux/kernel patch beep-2.4.patch []s -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep
On Fri, May 17, 2002 at 03:05:41PM -0300, MST - RS - Setor de Informatica wrote: Tenho um servidor de internet que e desligado no final do expediente. Na hora de desligar, o usuario digita ctrl+alt+del e o micro desliga. Pensei em usar um script que desse um sinal sonoro no final do processo, para que o usuario soubesse o momento de desligar sem precisar do monitor - quero usa-lo para outros fins ;-) . Alguem sabe onde posso encontrar tal script? Crie um, é fácil. cat EOF /etc/init.d/desligue #! /bin/sh bplay /var/mp3/desligue.wav EOF ln -s /etc/init.d/desligue /etc/rc6.d/S89desligue Caso queira que seja tocado no halt também (runlevel 0), faça o mesmo comando substituindo rc6.d rc0.d. P.S.: Você precisaria gravar um wave com um aviso, ou então procurar algum programa que fizesse um agudo com o pc speaker e substituísse o comando acima (bplay ...) por ele. -- Carlos Laviola [EMAIL PROTECTED] AlterNex S/A - (21) 2515-0500 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep
Esqueci de dizer que você precisa tornar o /etc/init.d/desligue um executável: chmod +x /etc/init.d/desligue -- Carlos Laviola [EMAIL PROTECTED] AlterNex S/A - (21) 2515-0500 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Beep
Em Fri, 17 May 2002 15:25:08 -0300, Carlos Laviola [EMAIL PROTECTED] escreveu: On Fri, May 17, 2002 at 03:05:41PM -0300, MST - RS - Setor de Informatica wrote: Tenho um servidor de internet que e desligado no final do expediente. Na hora de desligar, o usuario digita ctrl+alt+del e o micro desliga. Pensei em usar um script que desse um sinal sonoro no final do processo, para que o usuario soubesse o momento de desligar sem precisar do monitor - quero usa-lo para outros fins ;-) . Alguem sabe onde posso encontrar tal script? Crie um, é fácil. cat EOF /etc/init.d/desligue #! /bin/sh bplay /var/mp3/desligue.wav EOF ln -s /etc/init.d/desligue /etc/rc6.d/S89desligue Caso queira que seja tocado no halt também (runlevel 0), faça o mesmo comando substituindo rc6.d rc0.d. P.S.: Você precisaria gravar um wave com um aviso, ou então procurar algum programa que fizesse um agudo com o pc speaker e substituísse o comando acima (bplay ...) por ele. hmmm... muito cuidado com isso, amigos! Esse wav vai ser tocado *antes* das filesystems terem sido desmontadas e se o cara desligar o computador nessa hora vai ter checagem de filesystem no próximo boot! Um outro jeito de fazer barulho: echo -e '\a' Eu usava como despertador quando estudava a tarde =D... devia incomodar bastante os vizinhos hahaha. []s! -- [EMAIL PROTECTED]: Gustavo Noronha http://people.debian.org/~kov Debian: http://www.debian.org * http://debian-br.cipsga.org.br -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
pgup/pgdn (was Re: Beep?)
Can anyone tell me how you get shift-pgup to scroll back a full screen instead of half screen in an xterm? And how to set the size of the scrollback buffer in the console?
Re: Beep?
On 6 Feb 2000, Joachim Trinkwitz wrote: = Many things make the system beep when = you type the wrong thing in. Typically, pressing up- or down-arrow =Please tell us which commands will do that -- I've looked after such a =solution a long time. # for bash (turn default beep off and # set frequency of char \07 out of range) # ~/.bashrc for multiuser or /etc/profile for personal computer: set bell-style none echo -e \33[11;1] # For every other program you may need to read man. For instance for PCMCIA card manager has a flag -q . I do not know about X programs. --- Regards, Pavel Epifanov. [EMAIL PROTECTED] , [EMAIL PROTECTED]
Re: Beep?
Pavel Epifanov wrote: On 6 Feb 2000, Joachim Trinkwitz wrote: = Many things make the system beep when = you type the wrong thing in. Typically, pressing up- or down-arrow =Please tell us which commands will do that -- I've looked after such a =solution a long time. # for bash (turn default beep off and # set frequency of char \07 out of range) # ~/.bashrc for multiuser or /etc/profile for personal computer: set bell-style none echo -e \33[11;1] To add to this, I have in my /etc/profile # change audible bell [10;xxx]=freqency hz [11;xxx]=duration echo -en \33[10;200]\33[11;16] It gives a soft click.
Re: Beep?
Quoting Joachim Trinkwitz ([EMAIL PROTECTED]): David Wright [EMAIL PROTECTED] writes: Many things make the system beep when you type the wrong thing in. Typically, pressing up- or down-arrow (bash shell, command recall) too many times will make the system beep, but most of us have probably got a ~/.inputrc which avoids that annoyance. Please tell us which commands will do that -- I've looked after such a solution a long time. set bell-style visible This and other variables are hidden in man bash, readline section. Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.
Re: Beep?
David Wright [EMAIL PROTECTED] writes: Many things make the system beep when you type the wrong thing in. Typically, pressing up- or down-arrow (bash shell, command recall) too many times will make the system beep, but most of us have probably got a ~/.inputrc which avoids that annoyance. Please tell us which commands will do that -- I've looked after such a solution a long time. Thanks and greetings, joachim
Re: Beep?
[EMAIL PROTECTED] (dkphoto) wrote: I've lost track of how many Unix/Linux/???ix books I've bought now and none of them seems to be very thorough. It seems every author assumes you are using his/her particular flavor of Unix and don't need to know anything at all about any of the others. Yep, it's a fragmented world. The core of Unix - the syscall interface, the C library, the shell - are similar everywhere, though, even if they aren't quite identical. For help with the nitty-gritty of particular distributions, though, it's usually best to go to the distribution itself. The one I am reading now says that the ^G command makes the system 'beep.' It doesn't. How do I produce the system sound/beep/warning, whatever you'd like to call it? I'm assuming you *are* typing Ctrl-G, not ^G? If that doesn't work, try putting 'set bell-style audible' in your ~/.inputrc. Try: echo -e '\a' ... as well (read 'help echo'). -- Colin Watson [EMAIL PROTECTED]
Re: Beep?
Quoting dkphoto ([EMAIL PROTECTED]): I've lost track of how many Unix/Linux/???ix books I've bought now and none of them seems to be very thorough. It seems every author assumes you are using his/her particular flavor of Unix and don't need to know anything at all about any of the others. That's one way of looking at it. Another way is to realise that most of it is relevant to all unix-like systems (BTW Unix capitalised is a proprietary name). If an author wants to give examples of some concept, then typically they will employ their own system, shell, etc. You just get used to seeing through all that to the concept behind. If you mean at the level of Debian installation and packages, well, how does an author possibly keep up! OTOH at the level of how unix-like OSes work internally, then you can't beat any of the books by Richard Stevens. Look at the dates inside the cover and you realise how mature and stable unix is. The one I am reading now says that the ^G command makes the system 'beep.' It doesn't. How do I produce the system sound/beep/warning, whatever you'd like to call it? There is no ^G command. Many things make the system beep when you type the wrong thing in. Typically, pressing up- or down-arrow (bash shell, command recall) too many times will make the system beep, but most of us have probably got a ~/.inputrc which avoids that annoyance. When the system prints ^G, the system also beeps, and this also is intercepted. But how do you type in the ^G ? The easiest way is to try typing the command echo Control-V Control-G where the Control-V quotes the next character, which you can now see reflected as ^G. If you type the above and then try again leaving out the Control-V, you'll see that now the ^G doesn't reflect. You can confirm this by using the command-recall to reexamine the input lines. All this may be entirely different on the mac hardware I guess you're using. Do macs have a beeper? Or do you have to drive the speaker through some sort of sound device - I've no idea. Cheers, -- Email: [EMAIL PROTECTED] Tel: +44 1908 653 739 Fax: +44 1908 655 151 Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA Disclaimer: These addresses are only for reaching me, and do not signify official stationery. Views expressed here are either my own or plagiarised.
Re: Beep
How to make beep? I don't want to do peintf \a but i have a process which has no controlling terminal (from atd/cron) Ookhoi: I just echo \a to /dev/tty8 It doesn't bother me there, and it makes a beeb (from out of a .procmailrc :-) You could also use the wall command - it notifies all logged-in users. Advantages: * also displays a message * notifies people even over telnet etc Disadvantages: * distracting message presented to users * does nothing if no-one is logged in It's in the bsdutils package. HTH Jiri -- [EMAIL PROTECTED] We'll know the future has arrived when every mailer transparently quotes lines that begin with From , but no-one remembers why.