General :: USB Plugin Detection In C++?
Oct 7, 2009I want to write a piece of C/C++ Code which will tell me whenever the USB is plugged in to the system or when ever any USB Device is unplugged from the System.
View 1 RepliesI want to write a piece of C/C++ Code which will tell me whenever the USB is plugged in to the system or when ever any USB Device is unplugged from the System.
View 1 RepliesIf i install new hardware using a vmguest or physical system How can I detect it.
disk
nic
memory
etc.
In AIX we just run cfgmgr -v. Is there a similar command in Red Hat?
I am guessing a reboot will pick it up if the device drivers are common enough and in the kernel already.
I want to know how to do this dynamically with the system on-line if possible.
Amarok 2 can search through music collection using ID3v2 tag's 'bpm' field. That would be very nice to retag the entire music collection so I can find the 'mood' of the track I like.However I've not found any beat-detection software that could have helped me. Have you ever used one? CLI, preferably. Also I'm interested if there's anything alike for tagging FLACs with the same 'bpm' field.
View 4 Replies View RelatedI have a firewire device on my pc, but I don't know if linux detects it. What is the best way to check if Linux (i'm using slackware) detects it?
View 1 Replies View Relatedtell me detection code of device when an external device is connected through USB port.
View 4 Replies View RelatedWhen I downloaded the motion detection sw "Motion" I found in the following path: /etc/motion/
motion.conf and 4 thread files in case of using several cameras.
Q1: Which language is that configuration file written?
Q2: I need to collect the source of Motion. Is that configuration file + the 4 thread files which in the /etc/motion directory only the source of the program neither there is some files in another paths I don't know?
How is Motion Detection software interpreted, and who is responsible for the interpretation operation? Is motion.conf linked to a specific libraries?
View 10 Replies View RelatedIn my college many proxy : port (like 144.16.192.245:8080)are using to get Internet connection, performance of each proxy changes, how can i decide which one is working well at particular time. is there any way to switch over them automatically?
View 9 Replies View RelatedYesterday I wasn't able to successful enable JRE in my firefox.This is what I did ,
I downloaded the rpm from the file and installed it in /usr/java Code: chmod a+x jre-6u<version>-linux-i586-rpm.bin./jre-6u<version>-linux-i586-rpm.bin This successfully installed Firefox JRE in my system now in order to make firefox know abt it
I went to /usr/lib/firefox/plugins and
Code:
ln -s /usr/java/jre1.6.0_24/lib/i386/libnpjp2.so as said in the instruction manual. Still firefox isn't able to recognise the plugin.
I',m having trouble running the zotero openoffice integration plugin in F13 under the openjdk plugin.It's known top be not working as per The problem lies in some permissions as reported here -fedora-linux/However i want to know if there's any progress on it, since i dont have privilege to install it in my lab computer. Also i found this old bug reportwhich seems to have something done.If anypone has any idea please post, else i think i need to file a new bug report.EDIT: I'd be glad even if someone can guide me to write local policy (.java.policy) to enable the plugin
View 1 Replies View RelatedI am using openSUSE 11.0. This OS installation gives firefox 3.0.5 Beta. I had installed new version of firefox at /usr/local/bin/firefox. I had placed link of this firefox at /usr/bin using this command ->
Code:
linux-snvz:/usr/bin # ln -s /usr/local/bin/firefox/firefox firefox My older firefox contains the flush plugin. So i can easily played ..... video's in my browser. But now my new browser saying that it doesn't have flash plugin. I was tried to install flash plugin once again.
[Code]...
Even after installation also my browser is again without flash plugin.
I just updated my distribution to 11.3 from 11.2. But now this problem occurs when I try to play an mp3. There was no problem before with 11.2.
It also says
Code:
The following plugin is required : MPEG-4 AAC decoder
Only certain mp3s have this problem. All gstreamer packages have been installed. What package is missing anyway?
When I try to "boot" a lxc (linux container) machine it hangs on hardware detection. Can this be solved without removing the hardware detection from the boot sequence?
View 1 Replies View Relatedi have this-for me huge problem- xfce4-xkb-plugin won�t save my keyboard setup and it won�t show after startup in xfce4 panel (xubuntu 9.10): I did this:
1) i added in /etc/default/console-setup needed keyboard layouts (de,hr,rs)-because i know that after restart xfce4-xkb-plugin will not memorize my layouts.
[Code]....
While using Rhythmbox this morning, I was greeted by a blunt and undiscriptive error message:
Code:
Plugin Error:Unable to activate plugin Cover Art.Going to the plugin page, I was supprised to find that most of the installed plugins would not load. Without any info being offered in the player, I looked on line. Many people had problems with other plugins, and most of the time it was a problem with an uninstalled python package. But I checked on this site and I found that I had all of these packages installed. (Well, the python ones at least, to check all of them would take forever.)
Code:
[URL]
After finding no help there, I ran rhythmbox -d to debug:
Code:
(12:04:33) [0x934fe68] [rb_python_module_init] rb-python-module.c:406: Init of python module
(rhythmbox:4971): Rhythmbox-WARNING **: unable to load module as python runtime could not be initialized
[code]....
I have just installed the newest version of ubuntu (10.10 the maverick meerkat) and im struggling installing any programs, wine and vlc arnt appearing on synaptic package manager and anything i try to do in either the command promt or ubuntu software centre doesnt work either. On the command promt when i follow the commands as seen on various tutourials the command promt comes back with an error. VLC example given below.
[Code]...
I have a netbook with inbuilt camera attached. i have fedora 14 installed.Is there any software which can login using face detection.I think this is a safer way to login.
View 5 Replies View RelatedI opted to blow away my system (no did not save xorg.conf), and do a clean install of 11.3. Not a big deal to blow it away, nothing lost.
Dell Dimension C521, 3GB RAM, Athlon DualCore
OpenSuse 11.3 x64
Nvidia GeForce 6150LE (on mainboard)
Dell 2048FP 24" Monitor, connected via VGA
When doing the install, all appears to go well. I added the "nomodeset" option after the first boot to avoid the graphics issues. KDE comes up and is in 800x600 mode at 50hz. That is the best resolution it will show. All other options in the configure desktop applet are lower. This monitor was driven at 1900x1200 on the same config with 11.2.
[Code]...
In the nVidia-Settings applet (run as root), it shows the display as "CRT-0". 11.2 showed it as a Dell.
I have essentially been raised on Windows so I have no idea how to get DVI to work in Ubuntu. I have a Ubuntu/Vista desktop with an ATI Radeon X1350 graphics card. I can get picture from DVI when I boot into my Vista partition (the computer originally came with Vista and I have a Zune which will not work with Ubuntu ). But the moment I try to use DVI on Ubuntu: I have no picture. The ATI Radeon X1350 Pro is using the open source radeon driver. I know this from the System Testing diagnostic I ran when I finished setting up Ubuntu, the log file mentioned a line: Kernel module: radeon, underneath the section about my graphics card. That is about the limit of my Linux skills for right now, so any thoughts? If you need more information about my system I can comb through that log file which is still saved in my Fire Fox history.
View 4 Replies View RelatedDo anyone have IP address detection script like the one you see in this webpage.
View 6 Replies View RelatedI would like to know if there is any way to detect a command if it going to be executed in the shell?
Eg:
Cmd: sudo apt-get clean I want a C program to be called before this cmd is executed.
i got into serious harddrive detecting issues after an upgrade from slackware 12.2 to 13.0, it simply doesnt seem to find them anymore. ide drive giving lost interrupts and sata drive not being found. when i boot a slackware 13.1 install dvd i get the same issue. but when i boot a 12.1 slackware install dvd it works fine.
to me it seems that something changed in the kernel between these releases which causes this, but i wouldn't know what and how to fix it. i tried searching here and googling but probably not using the correct keyboards. anyone got a clue what to try? i find it hard to believe that this mobo / chipset (which arent the latest but not that old or weird either i believe) arent supported anymore.
In my frustration to get adobe flash working in firefox I deleted the /usr/lib/flash-plugin folder. Now when I try to uninstall "Flash-Plugin" from YAST it fails as it can't find the sub-folder. I also cannot install the latest version of flash player as it says that it is already installed - So I am stuck in a loop.
I am running SUSE 11.2.
Is there a config file of installed programs that I can modify to remove the "Flash-Plugin" entry, or is there another way to get over this problem.
In these days my hard disk is weird.I can see in my pc that the red light (when read/write process to the disk happens) remain on and Linux crash, it seems that the hard disk has problems.Therefore, exits a tool according with your experience that let me see the status of all my hard disk?
View 5 Replies View RelatedI have two pc`s . one i have installed it with openSUSE 11.1 and another with openSUSE 11.2. When i connect my printer HP Laserjet to 11.2 it get automatically configured, while when i connect the same printer to 11.1 it will not get automatically configured. I will have to use hp-setup tool to setup my printer. When i googled i collected some information that 11.2 version uses udev-configure-printer to automatically setup the printer whereas in 11.1 i did not find it. What changes that i will have to make in 11.1 to setup my printer automatically..?
View 2 Replies View RelatedI've just upgraded to 11.4 and found myself with the same problem that I posted in Available resolutions vary depending if monitor is on or off when starting the system I'm using this pc as a server, and I acces to it most of the time via VNC, so the monitor is turned off almost all the time. If the pc boots while monitor is on, i have a resolution of 1280, if it's off I get 1024.
In the previous post I fixed this using the option "CustomEDID" in my xorg.conf, but this time I have no xorg.conf file to put this option in, and even if I did, since I'm using the default drivers (Nouveau, i think) instead of Nvidia oficial ones, i have no clue about how to obtain edid.bin. how to fix this without installing the propietary drivers? (since i don't need ant fancy 3d effects, kde seems to work fine and performance is ok)
I'm running Ubuntu 9.10 together with Windows 7 and when I launch Nautilus I have a list of all my (Windows) partitions in the navigation bar on the left. However I don't want to see all those partitions in Ubuntu (eg. the Windows system partition or the partition reserved for the Win boot loader. Is there a way I can control which partitions will be detected and listed for mount in Nautilus?
View 3 Replies View RelatedI'm trying to setup motion detection software with a view to getting pictures emailed to me.
I've had a look at a package called motion, which seems great, except it takes tens of pictures every second during motion.
Linux has duplicate address detection mechanism for IPv6 and nothing for IPv4 in kernel. At boot time, initscripts take care to check for the duplicate address but when an IP address is assigned using ifconfig or ip utility, no error is generated.
View 2 Replies View RelatedI'm looking for a solution of pattern detection in the logs and then allows to send me an email notification if it detects the previously specified term.I use already Logwatch, but I do not know if it is possible to configure it for that use.
View 1 Replies View Related