Hardware :: Simulate Unplug And Replug Of USB Devices?

Jul 1, 2010

After some tests I found that some USB Bluetooth Dongles errors, only are recoverable if the USB is unplugged an then plugged again. Is there some way to simulate that a USB device is unplugged and re-plugged?

View 5 Replies


ADVERTISEMENT

Hardware :: Unplug And Replug HDMI Cable To TV On Boot Up

Feb 12, 2010

Dell XPS 420: Radeon HD 4670: Philips 720p TV monitor. When booting, after the GRUB screen nothing happens until the HDMI cable is unplugged and replugged. Various ATI drivers installed. Various /etc/X11/xorg.conf used.

View 1 Replies View Related

Fedora Hardware :: Completely Replug Or Reset USB PORTS On 15?

Jul 27, 2011

I want to completely replug or reset my USB PORTS on Fedora 15.

View 7 Replies View Related

Ubuntu :: Laptop Goes Off When Plug/unplug AC Cable?

Jan 13, 2010

My problem here is the following: whenever I plug or unplug the AC cable in or out of my laptop it goes on hibernation, which is very annoying indeed. Sometimes I just want to plug it because I'm downloading something and my battery is running out.I would like to add that when my laptop goes into hibernation, and I try to bring it back up nothing happens, only the fans go on, but no activity other than that, at which point always just end up shutting the computer down cold and restarting it, which is getting to be a huge problem

View 5 Replies View Related

General :: Handling Network Plug / Unplug In (Debian)

Jun 15, 2011

I want to run a script when the switch goes down and an other when it goes up. Is there an easy way to pull this off in Debian (preferably with no other than system tools)? I suppose there is no difference (in the OS point of view) between unplugging ethernet cable and the switch losing power.

On an event I get lines like these in the syslog:
Jun 15 17:49:41 debian kernel: [ 5506.956130] igb: eth1 NIC Link is Down
...
Jun 15 17:49:45 debian kernel: [ 5511.168788] igb: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

In FreeBSD you can pipe log messages (pre-filtered by regex patterns) to a program. What is the easiest way to replicate this on Debian (with as little additional software as possible)?

View 1 Replies View Related

Ubuntu :: 10.04 Every Time Unplug AC Adapter / Laptop Crashes

May 10, 2010

After an upgrade to 10.04, every time I unplug the AC adapter, the laptop crashes, and immediately shuts down and restarts, and will boot up normal, and shut down again as soon as it reaches the login screen.The laptop only runs fine when the cable is plugged in.I'm assuming this has something to do with the gnome power manager.I'm running an HP Pavilion dv4-2012la .

View 5 Replies View Related

Debian :: Unplug USB Drive - Kernel Failure - System Will Not Shut Down

Jul 13, 2011

I have a flash drive that I regularly use on my laptop. If I unplug the flash drive without first unmounting it, I get a popup notification of a kernel failure (with diagnostics sent to kerneloops.org). Then, if I attempt to shut down the system via the console, it hangs on "The system is going down for halt/reboot NOW!" and doesn't actually shut down. Using Gnome's graphical System > Shut Down feature just logs me out and sends me to the login screen; the shutdown feature from there does nothing. I have to disconnect the power cord on the laptop in order to shut it down, and I don't like doing this.

System: 32-bit Debian Squeeze stable with kernel version 2.6.32-5-686, running Gnome 2.30.2, on an Acer Aspire 5570z.

I use Keepassx to store my passwords and keep the keyfile for my password database on the flash drive in question. I mention this just in case it helps determine what's causing the failure.

dmesg has quite a bit to say about this:

View 8 Replies View Related

OpenSUSE Hardware :: Internet Dying And Computer Freezing On Unplug Of Usb

Jun 8, 2011

I am currently using opensuse to run a server, however I am experiencing some difficulties. Every once in a while, and I mean completely randomly. This will occur out of no where, and then not happen for five days, then occur twenty times in a row. What happens is the computer runs fine, and all is well but suddenly it wont connect to the internet. All applications are fine and everything is working. It isn't frozen, just won't load webpages. I am using a belkin 111v2 wireless g adapter and it usually works fine.

So when the internet freezes, if I unplug any usb the computer freezes. The mouse stops moving and the keyboard won't respond. The caps lock light won't even turn on. However the laser on the mouse is on, but the computer won't respond. Its like its shutting off the usb hubs. The only thing to do is force shut it off and restart until i no longer have the problem. Sometimes it helps if I open it and re-seat the ram, but that gets old. Does anyone have a solution?

View 5 Replies View Related

Software :: Have To Unplug And Then Plug Back In Keyboard To Make It Work?

Oct 6, 2010

When I start X, my keyboard does not work. It seems like the wrong layout is being used. If I unplug it and then plug it back in then everything is good. I only have any Xkb options in xorg.conf.d. below is my keyboard config from xorg.conf.d. NOTE: I have /etc/X11/xorg.conf.d symlink'd to /usr/share/X11/xorg.conf.d, if that might be the cause of this problem

Code:
Section "InputClass"
Identifier "Apple USB Keyboard"

[code]...

View 2 Replies View Related

Ubuntu Networking :: Linksys WUSB54g V4 - Disconnect And Require Me To Unplug The Device?

Jun 1, 2010

Bus 001 Device 008: ID 13b1:000d Linksys WUSB54G Wireless Adapter
wlan1 Link encap:Ethernet HWaddr 00:18:f8:33:91:7d
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0[code]........

It is the linksys WUSB54g V4, im assuming it runs on the rt2500 chipset,when im connected and working it runs fine, however if i try to let a download run, it generally will disconnect and require me to unplug the device and plug it back in to get it working again, i cant just reconnect if i do that it simply wont connect, im connecting to a linksys router with the most recent firmware i think its the wrt54g v7, its setup using a wpa personal password and im connected through manual entry of my ip address due to port forwarding for some of my games, however the same issue persists even when im connected through an automatic configuration.

View 1 Replies View Related

Fedora :: How To Simulate A Webcam

Mar 27, 2010

I do not have a webcam yet, but would like to set certain video files I have to be played as my 'streaming video content' from a 'virtual' webcam.

View 6 Replies View Related

Fedora :: New Update - Could Not Do Simulate

Jun 26, 2010

Could not do simulate: nautilus-sendto-2.28.4-1.fc13.i686 requires libedataserver-1.2.so.11
gnome-panel-2.30.0-1.fc13.i686 requires libedataserver-1.2.so.11
empathy-2.30.1.1-1.fc13.i686 requires libedataserver-1.2.so.11 : Success - empty transaction

View 14 Replies View Related

Fedora :: Add / Remove Software - Could Not Do Simulate

Sep 2, 2010

How to get rid of the following error I've been receiving from Yum. I'm fairly new to Fedora. The following message appears when Add/Remove Software is launched. It also pops up periodically in the notification window.

could not do simulate: Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 3270, in __init__
self.repos.confirm_func = self._repo_gpg_confirm
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 823, in <lambda>
repos = property(fget=lambda self: self._getRepos(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 551, in _getRepos
prerepoconf = self.prerepoconf
AttributeError: 'PackageKitYumBase' object has no attribute 'prerepoconf'

View 1 Replies View Related

Networking :: Simulate Mobile Agents With NS2?

Jan 7, 2011

how to simulate mobile agents with NS2 (docs , code ......)

View 2 Replies View Related

Software :: Simulate Serial Device With Pty's ?

Sep 21, 2009

I wrote software which access and reads a serial device. I would like to test this software on my computer without loop-wiring or without a second computer.

How could I use pty's to simulate a serial device?

Actually I would like to temporary replace the /dev/ttyS1 file by one end of the pty. How could I do this? Is there a command to create a pty pair?

View 4 Replies View Related

Programming :: Simulate Unix Kernel In C++ ?

Jun 2, 2010

How simulate unix kernel in c++..or give me a link....

View 2 Replies View Related

Debian Multimedia :: How To Simulate The Enter Key In X Windows

Dec 16, 2014

When I drink tea, the water splashed on my keyboard. It didn't cause any problems until a few mins ago. Now my Enter and right hand side shift key don't function any more (The new line in this text is copied from other thread).

So I would like to know how can I simulate an enter key press so that e.g. a command can be executed in terminal. Because I have some source code uncommitted, I want them at least get committed first.

View 2 Replies View Related

Debian Programming :: How To Simulate Script Execution

Aug 7, 2015

I'm trying to save the output of the script I wanna run but for some reason I cant manage to do it with "script.sh > Output_4.txt"

The thing is that the script was already run and it extracted some directories so when I try to run it again (to save the log to a Output_4.txt) bash says (see screen-capture) and of course the log's empty!!!!

View 2 Replies View Related

Fedora Servers :: Simulate A VH Through A Localhost With A Dynamic IP?

Nov 16, 2010

For backup and pre-functionality purposes, I need to simulate a VirtualHost in my Fedora (14) machine. I found some interesting links to carry out that process but with an IP fix.So, how can I simulate a VH through a localhost with a dynamic IP?

View 2 Replies View Related

General :: Simulate Ack By Using Grep With The Right Combination Of Options?

Aug 25, 2011

I have ack-grep installed on my local machine, and find it indispensable for quickly 'acking' through a codebase when debugging. However, on my cheap shared hosting, there is no ack-grep. One of the testimonials on betterthangrep.com mentions a

Rube Goldberg mess of find/grep/xargs which sounds like what I need, but coming from the opposite direction.

View 2 Replies View Related

Ubuntu :: Simulate Bad Block Or Sector On Drive?

Feb 15, 2010

I want to simulate a bad block or sector on a drive or even a virtual drive image to test my data recovery distro. I wish I would have bookmarked when I read about it before. It was some type of low level command, I remember something about scsi subsystem or kernel thingabob.

View 3 Replies View Related

Ubuntu :: Simulate Keypress Via Keyboard Shortcut?

Feb 21, 2011

I have a G15v1. After going through hoops and loops to get it working only to discover that you only needed to install g15daemon through the Ubuntu Software Center, I found myself with one big problem. I migrated from windows just now, and there, I had my macro keys(the extra ones) bound to CTRL+W, CTRL+T and to a simulated mouse-wheel scroll so I could navigate the web more easily. How would I go about doing that? I figured, if I used the System->Preferences->Keyboard Shortcuts thingy and bound my key, in my case XF86Launch5, to a command similar to "simulate keypress CTRL+W"(I know it's totally wrong, just to give you an idea), I might be able to get it working again. Only problem is, I can't find anything like that. Any of you has any clue about it? I googled but I only find C++/Java/coding related results, which are not exactly what I need to do.

View 4 Replies View Related

Networking :: Simulate A 500Mbps Link On A 1000Mbps?

Mar 31, 2010

I need to simulate a 500Mbps link with a 100ms delay and a loss probability of 0.0001% on an ethernet link between two gigabit ethernet cards...I tryed to use these commands:

# tc qdisc add dev lo root handle 1:0 netem delay 100ms loss 0.0001
# tc qdisc add dev lo parent 1:1 handle 10: tbf rate 500Mbit buffer XXXX limit YYYYY

But during some simulation throughputs are very low ( 190Kbps....210Kbps....) for different values of XXXX and YYYY.... (I don't want that the loss probability is caused by the buffer and the limit value but only by the loss probability setted on netem...)

View 2 Replies View Related

Software :: Simulate Cron With Screen Manager?

Nov 10, 2010

I can't use cron on server. But on the same server i can use screen. Is there any way (any program) to run something like cron in the screen session? Or any solution for that problem.

View 3 Replies View Related

Programming :: Simulate Key Strokes Events In Other Processes In System?

Feb 3, 2011

I have a program that receive user input.
I want to run this program automatically without user interaction, and in order to do that I need to simulate key events.
How can I do such a thing?

The program I am running is partly java and partly shell.

The shell part is easily done by using:
./prog.sh <parameters (Parameters being a file containing parameters)
But the java doesn't work similarly.

View 7 Replies View Related

Programming :: Simulate Dijsktra's Algorithm Using Network Animator Of Ns2?

May 3, 2011

I need to simulate dijsktra's algorithm using network animator of ns2. how to write a tcl script for my code. This tcl script runs the dijsktra code and simulates its running on network animator.

View 1 Replies View Related

Ubuntu :: Simulate A Floppy Drive With User Read Write

Sep 17, 2010

I have a computer with no floppy drive (x64 ubuntu lucid installed) I have a program (wine windows xp) that will only save data and export data from/to a floppy drive. I found information on setting up an emulated floppy drive. i.e.

sudo dd bs=512 count=2880 if=/dev/zero of=imagefile.img
sudo mkfs.msdos imagefile.img
sudo mount imagefile.img /media/floppy -o loop

I modified the winecfg to include under the drive section A: /media/floppy. Problem is I cannot write to the drive as a normal user. I have tried everything I know but only root can read write to the drive. Is there someway to set up this emulated floppy to allow me as a user to write and read contents.

View 1 Replies View Related

Ubuntu :: Simulate Analogue And Digital(DVB) Cards During Development With MythTV?

Feb 13, 2011

Is there any way to simulate analogue and digital(DVB) cards during development with MythTV so I am able to do some basic testing on a separate computer without disturbing my real MythTV server ?

View 3 Replies View Related

General :: Write A Shell Script To Simulate The Built-in Commands?

Nov 7, 2010

i was trying to figure out a way to write my own linux commands.. in fact i wanted to write a shell script to simulate an already existed linux commands like 'cd','ls' and'adduser'i just dont know the language of scriptting and even doesnt know the steps to make a script

View 3 Replies View Related

Server :: Generate Very Large Files And Simulate A Consistent Throughput To The LUN

Jul 6, 2010

I have a test RHEL5 box, sitting in a brand new Dell blade rack on a PowerEdge M610, with a lovely Emulex OCm10102-F-M FCoE card connected to a Cisco Nexus 5000 switch. The whole setup is extremely new (the cards only recently became available for purchase.) We've finally worked with Emulex to get the cards functional, and we are ready to some stress testing to the SAN. My question now is, is there a good tool I can use to generate a large amount of traffic to a LUN? The Wintel team used a windows-only tool that showed an average of 6gigs/second throughput, so I need something that can generate very large files and simulate a consistent throughput to the LUN. I found iozone, but I'm having a devil of a time with it.

View 2 Replies View Related







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