Hardware :: Acpi Events From Specific Input Event Sources?

Oct 6, 2010

The remote for my Pinnacle PCTV HD 800i is generating key code 116 for the power button on it, and acpid (debian/squeeze 2.0.6-1) merrily accepts this as if I pressed the power button on the case. It raises the same event "button/power PBTN 00000080 00000000" either way, so I can't tweak the handlers to respond to one or the other. And I don't think the source event source is available to the handlers.

acpid doesn't seem configurable at all in terms of ignoring an event source, and I don't know if you can selectively remap keys from a particular event source. Most of what I find are people try to get buttons to work, not disable them. Not that it seems to make any difference, but it's mapped to void in dumpkeys.

Code:
keycode 116 = Do
altgr control keycode 116 = VoidSymbol
shift alt keycode 116 = VoidSymbol

I have it remapped in X for use in mythtv using xmodmap, which works fine. The acpid that came with debian/lenny didn't do this.

View 1 Replies


ADVERTISEMENT

Software :: Make GNOME Not Listen To ACPI Events?

Mar 17, 2010

I have disabled GDM and start GNOME with gnome-session from .xinitrc . Now when i press Sleep button, GNOME says it cannot suspend. The same is with pressing suspend or hibernate buttons on Shutdown window.
At the same time "sudo pm-suspend" and "sudo pm-hibernate" DO work. So, i would like to disable GNOME from listening to ACPI events and to configure everything via acpid scripts.
I tried to stop acpid to see if GNOME will not receive events in this case, but it still does.
So, the question: how can i stop GNOME from listening to ACPI events?

View 1 Replies View Related

Slackware :: ACPI Does Not Detect Power Event?

Jun 5, 2011

Below is a piece of copy from my /etc/acpi_handler.sh

...
case "$1" in
button)

[code]....

View 14 Replies View Related

General :: Manually Generate A Fake ACPI Lid Event From A Script?

Jul 4, 2010

I'm trying to make sure that my laptop will suspend if I unplug it after the lid is already closed, and I believe that one way to accomplish this would be to simulate an ACPI lid event when the power adapter is plugged or unplugged. In order to do this, I need to find a command that will generate a fake ACPI lid event. Is there any such command?

View 1 Replies View Related

General :: Setting Up Iptables For Traffic Forwarding On Port 80 From Specific Sources?

Jun 1, 2010

Im running a web server on port80, but i want traffic coming from ip 212.333.111.222 on port 80 to be fowarded to port 9020 on the same server that my web server is rinning at that is my sshd port

View 1 Replies View Related

Ubuntu :: Acpi - I/o Resource Piix4_smbus - 0x1040-0x10471 - Conflicts With Acpi Region Smb

Jan 14, 2010

Having trouble rebooting a system. Have a Ubuntu 9.10 (2.6.31-16 generic-pae) build on a VMWare installation. The system was fine until I rebooted after an update. Now I get the above message and the system halts loading. Have tried to Grub acpi=off and acpi=force to no avail.

View 1 Replies View Related

OpenSUSE Hardware :: Direct Rendering Disabled When Running Live CD Without ACPI And With ACPI It Doesn't Boot

May 29, 2011

When I run OpenSUSE from the Live CD using normal settings, booting stops with a blank screen a moment after the kernel is loaded. When running it with ACPI disabled, it works, but direct rendering is disabled, even though it detects my video card (Mobility Radeon HD 5650) correctly Here's the Xorg.0.log file: my xorg log - [URL]

View 3 Replies View Related

Programming :: Bash - Calling A Specific Variable Based On User Input?

May 3, 2011

I'm trying to call a specific variable based on a user selection. For example:

Code: Select a file:

[1] foo.tar
[2] bar.tar

Enter a selection: I have already coded each possible selection to have its own variable. If the user selects 2 I need to select $SELECTED_TAR2, or if they select 1 I need to select $SELECTED_TAR1 and then do something like this behind the scenes:

Code: cp /home/user/$SELECTED_TAR2 /home/user/backup/$SELECTED_TAR2

I was thinking something like this:

Code: echo "Enter a selection: "
read -e SELECTED_NUMBER
cp /home/user/$SELECTED_TAR$SELECTED_NUMBER /home/user/backup

[code]....

View 2 Replies View Related

Slackware :: ACPI - I/O Resource 0000:00:1f.3 - 0x400-0x41f - Conflicts With ACPI Region SMRG - 0x400-0x40f

Nov 7, 2010

I have random X freezes (suddenly keyboard and mouse stop to react). Xorg.O.log is error and warnings free. The only problems I see in syslog/ dmesg are related to ACPI.

I have Asus P5E3 Deluxe motherboard. Slackware 13.1

Linux vareg 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux

Code:

Code:

I ahve also today upgraded my BIOS to 1303 version. Still no difference.

View 14 Replies View Related

Ubuntu Installation :: Can't Update Http://ppa.launchpad.net Natty/main/Sources Sources

May 16, 2011

I've got the following problem: I just noticed that there were just very few notifications about updating the system (usually there are damn many of them in a week) So I opened the update manager and clicked on "refresh list". The following result popped up: p,li{white-space:pre-wrap;}E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found First I thought, it would be just some kind of server problem, but it didn't stop. The next thing was to research the thread and I even found something. However, the solution suggested didn't work at all. (Things, which might have caused this: I installed the default software center |I'm using Kubuntu, but in this case that fact doesn't matter| and used it. To sum up:

- not able to update the system referring to the launchpad main sources for 11.04
- following error: E: Error http://ppa.launchpad.net natty/main/Sources Sources 404 Not Found It would be great if this was a common issue and I've been simply too stupid to find a proper solution. So you could just post the link.

View 2 Replies View Related

Ubuntu Installation :: Change The Sources That Aren't In Sources.list?

Apr 21, 2010

I am running Jolicloud on my netbook (which I believe is an Ubuntu derivative) and I am tried to enter the getdeb.net sources in so I can install apps from the website through APT but

1) When I entered the sources into sources.list and then the key into Terminal and then went to the site and tried to install an app it didn't work.

2) I deleted the line of code in the sources.list file and when I opened terminal and entered "sudo apt-get update" it showed the list of sources, but on the list were Getdeb.net sources.

My question is how do I delete sources that aren't in /etc/apt/sources.list ?

View 6 Replies View Related

General :: Disabling Cd Sources In Apt/sources.list?

Aug 28, 2009

I am installing a hp officejet pro 8500 all in one printer to knoppix 6.0.1. install hangs saying i need to disable cd sources in etc/apt/source.list. How do i do this?

View 1 Replies View Related

Ubuntu Multimedia :: Change Stereo Mic Input To Mono Input?

Nov 4, 2010

I recently got a real fancy unidirectional microphone, but when I go and use it, something strange happens. The mic is a mono mic, but when I record something, it appears to think it's stereo. Instead of having the same thing on both channels, it puts it all in the left channel, and silence on the right channel.

I tried fiddling with alsamixer. In capture (F4), adjusting the "Capture" device has an effect. However, it doesn't do anything useful. Lowering the right channel to zero does nothing, lowering the left channel to zero creates silence, and disabling the right channel creates silence.

In my System>Preferences>Sound (or pavucontrol, or what-have-you), there are "Analog Stereo Input" and "Analog Stereo Duplex" options there, but no "Analog Mono Input" or "Analog Stereo Output + Analog Mono Input" options (the latter being ideal).

Something interesting, though, if I do this:
Code:
arecord -r 96000 -D pulse -c 1 -vv -V mono /dev/null
it works correctly and outputs on both channels. But if I do
Code:
arecord -r 96000 -D pulse -c 2 -vv -V stereo /dev/null
then it's back to the same behavior. The VU meter on the second command shows the left channel going up and down as I make noise, but the right one always at zero.

The machine does have a crap internal mic built in to the screen bezel. If I do either of the above commands, they both work correctly. The stereo VU shows the same activity for both channels.

The machine is a Eee 1015PED, which has Intel integrated sound. Something probably insignificant is that the mic has a 1/4 inch mono plug, and to get it to plug into the Eee, I needed to get a 1/4 female to 1/8 male adapter. The mic's 1/4 plug is mono (duh) and therefore two-conductor, but the adapter I got is stereo, or three conductor (L, R, GND). I don't know if this is tripping something in hardware to tell it it's stereo or something.

I tried the mic on my desktop, which has a SB Audigy 4 (the non-pro flavor) and that has the "Analog Mono Input" function, so that works fine. Is there some way to turn this stereo input into mono input?

View 1 Replies View Related

Fedora Security :: Where Does Firestarter Get 'events'

Jul 18, 2009

Running Fedora 10 and 11. Using Firestarter firewall.Does anyone know where Firestarter gets the Events which it displays?I do not find anything in /etc/firestarter/.I suspect Firestarter looks in a log file which Fedora keeps somewhere.

View 2 Replies View Related

OpenSUSE :: Can't Audit Logout Events From Ssh Or Su In 11.0?

Feb 16, 2010

I am trying to setup auditing for NISPOM requirements using the built-in linux audit kernel which uses auditd and audit.rules for setup. I have been able to meet all other requirements, but I cannot find a way to audit user logout actions. My audit.rules file is listed below

Code:
#This file contains the a sample audit configuration intended to
# meet the NISPOM Chapter 8 rules.

[code]....

View 3 Replies View Related

Ubuntu :: Modify Events That Are Logged?

Jun 5, 2011

I was looking at my logs and was wondering what the easiest way to go about removing certain things from being logged.

For instance I noticed by default Ubuntu seems to log all network traffic and handshakes with wifi etc and I would like to keep such out of my logs.

View 2 Replies View Related

General :: Syslog Events To Identify Particular?

May 24, 2011

I know about syslog and /var/log/* log files but I don't know what kind of events means particular problem.

E.g.
- hardware issues (?)
- security problem (/var/log/security)

[code]....

View 1 Replies View Related

Programming :: Way To Capture X Keyboard Events

Jan 8, 2010

I wonder if there is a way to caputure all X keyboard events, blocking them from going to the window with keyboard focus?

View 4 Replies View Related

Programming :: VB Scripting Worklsheet And Key Events?

Jan 18, 2011

am working an a worksheet where I need to lookup id in an other worksheet.The script works as long as I am staying on the same row. When pressing key up or enter the corresponmding lookup information is not placed on the very same row.In short terms, I want the lookup data to be enterd on the same row no matter what key I am pressing.

The script:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim cfind As Range
On Error Resume Next
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
thisRow = ActiveCell.Row

[code].....

This example is set to Enter key procedure. So when the enter key is pressed, my current row will change by 1 so I have to compensate for that. All I want is that the data will be correctly enterd no matter what key I am pressing.

View 3 Replies View Related

Ubuntu Multimedia :: Change The From Mic Input To Line Input?

May 1, 2010

I installed Lucid. I used to have Ubuntu 9.10 and to connect my iPod to my laptop's speakers. There was an option in 9.10 in the Sound Options to change the Mic Input into a Line Input. But now unfortunately I can't find it in Lucid have only 2 audio ports in the laptop: Headphone port, Mic port.

View 9 Replies View Related

Ubuntu :: Japanese Input - 10.04 - SCIM Input Program ?

May 5, 2010

I would like to use Japanese kana (hiragana, katakana, kanji) on Ubuntu but everything that I've tried to get it set up and running isn't working. The Spanish that I have set up is working perfectly so far.

I've read, the SCIM input program should start up automatically when loading a program, it doesn't. When I have it loaded I cannot seem to get the input working.

View 9 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc
do

[code]...

View 12 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related

OpenSUSE :: Trigging Scripts From Application Events?

Jan 31, 2010

is there any way to trigger a command or script whenever a certain event happens in a application like firefox.or at least trigger a script on the launching of an application.

View 2 Replies View Related

Ubuntu :: Shotwell Tags And Events Disappeared?

Feb 27, 2011

I just finished upgrading from 10.04 to 10.10 and converting from F-spot to Shotwell, including adding a large number of new photographs (>15 k).

On opening Shotwell today I found that all "tags" and "events", including those from the F-stop imported photos, have disappeared!! (strangely the photo ratings are maintained)

No amount of searching was able to relocate them. The modification date on the photo.db in the .shotwell folder is pre-problem, so I am holding out some hope that the relevant data have not been over-written.

I am not familiar with sql so do not know how to check the db (or restore the correct headers or whatever else is needed).

View 3 Replies View Related

Ubuntu :: Separating Apache2 Error Log Certain Events

May 16, 2011

I want to separate the Apache2 Error log to log certain events in a specified file.
For example:
client denied by server configuration > denied.log
Directory index forbidden by Options directive > forbidden.log
I would like it add it to the logs as the events happen, and like the other logging systems, create new files when the current is full. i.e. denied.log.0

View 1 Replies View Related

Networking :: Execute Shell Scripts On Events?

Feb 20, 2009

Users will write data on a samba shared folder at any give time. I need to execute a script as soon as some thing is written to that shared folder. What I need to know how to execute a script as soon as something some data is written to that shared folder.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved