How do I detect if a new PS/2 mouse is plugged in?
If I remove my PS/2 mouse, then plug it back in, it no longer works.
How do I make the computer refresh and re-detect the mouse without rebooting?
@lagagnon Thanks for the link, but it doesn't seem to show how to detect PS/2 devices on a live system while it is on (if that is even possible). After all, my PS/2 mouse works, so there doesn't seem any need for me to edit those settings. The mouse works if it is plugged into the computer before I turn it on. If I boot the computer then plug the mouse PS/2 mouse in once I've reached the desktop, then in that scenario is when the PS/2 mouse isn't recognized. I wonder if it is possible to recognize PS/2 in real time like with USB devices?! I wasn't able to find anything useful in Google yet.
@SS4 I don't see anything in dmesg but here it is:
http://pastie.org/2245974
Similar Messages
-
How do you record music with new iMacs with no mini-plug input?
The new iMacs do not have a mini-plug input? I like to copy LPs using my Mac. Without a mini-plug input, how do I get the musc into the Mac?
USB.
See iMic | The original USB audio adapter by Griffin Technology for one example. -
How can I detect that there is an internet connection?
How can I detect that there is an internet connection?
Peter GoossensHow can I detect that there is an internet connection?
Peter Goossens
Peter,
You might want to experiment with this. It's not perfect, but...
Class
Imports System.IO
Imports System.Net
Namespace InternetConnection
Public Class SiteInfo
Private _displayName As String
Private _connectionString As String
Private Sub New(ByVal name As String, _
ByVal connectionString As String)
_displayName = name.Trim
_connectionString = connectionString.Trim
End Sub
''' <summary>
''' Gets the connection string of this instance.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property ConnectionString() As String
Get
Return _connectionString
End Get
End Property
''' <summary>
''' Gets the display name of this instance.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property DisplayName() As String
Get
Return _displayName
End Get
End Property
''' <summary>
''' A method which will add a new site to your collection of SiteInfo.
''' </summary>
''' <param name="siList">Your generic List(Of SiteInfo).</param>
''' <param name="displayName">The display name for this new instance
''' of SiteInfo.</param>
''' <param name="connectionString">The connection string for this
''' new instance of SiteInfo.</param>
''' <remarks></remarks>
Public Shared Sub AddNew(ByRef siList As List(Of SiteInfo), _
ByVal displayName As String, _
ByVal connectionString As String)
Try
If siList Is Nothing Then
Throw New NullReferenceException("The collection of SiteInfo cannot be null.")
ElseIf String.IsNullOrEmpty(displayName) OrElse displayName.Trim = "" Then
Throw New ArgumentException("The display name cannot be null or empty.")
ElseIf String.IsNullOrEmpty(connectionString) OrElse connectionString.Trim = "" Then
Throw New ArgumentException("The connection string cannot be null or empty.")
Else
If siList.Count > 0 Then
Dim findDuplicate As IEnumerable(Of SiteInfo) = _
From si As SiteInfo In siList _
Where si.DisplayName.ToLower.Replace(" "c, "") = _
displayName.ToLower.Replace(" "c, "") AndAlso _
si.ConnectionString.ToLower.Replace(" "c, "") = _
connectionString.ToLower.Replace(" "c, "")
If findDuplicate.Count <> 0 Then
Throw New ArgumentException("This is a duplicate entry.")
Else
siList.Add(New SiteInfo(displayName, connectionString))
End If
Else
siList.Add(New SiteInfo(displayName, connectionString))
End If
End If
Catch ex As Exception
Throw
End Try
End Sub
''' <summary>
''' A method which will return a boolean value to indicate internet
''' connection status.
''' </summary>
''' <param name="siList">Your generic List(Of SiteInfo).</param>
''' <param name="displayName">The display name for the instance
''' of SiteInfo to use.</param>
''' <returns></returns>
''' <remarks></remarks>
Public Shared Function InternetIsConnected(ByVal siList As List(Of SiteInfo), _
ByVal displayName As String) As Boolean
Dim retVal As Boolean = False
Try
If siList Is Nothing Then
Throw New NullReferenceException("The collection of SiteInfo cannot be null.")
ElseIf siList.Count = 0 Then
Throw New ArgumentOutOfRangeException("Count", "The collection of SiteInfo cannot be empty.")
ElseIf String.IsNullOrEmpty(displayName) OrElse displayName.Trim = "" Then
Throw New ArgumentException("The display name cannot be null or empty.")
Else
Dim findInstance As IEnumerable(Of SiteInfo) = _
From si As SiteInfo In siList _
Where si.DisplayName.ToLower.Replace(" "c, "") = _
displayName.ToLower.Replace(" "c, "")
If findInstance.Count <> 1 Then
Throw New ArgumentException("This instance is not in the collection of SiteInfo.")
Else
retVal = TestConnection(findInstance.First.ConnectionString)
End If
End If
Catch ex As Exception
Throw
End Try
Return retVal
End Function
Private Shared Function TestConnection(ByVal url As String) As Boolean
Dim retVal As Boolean = False
Try
Dim request As WebRequest = WebRequest.Create(url)
Using response As HttpWebResponse = DirectCast(request.GetResponse, HttpWebResponse)
Using dataStream As Stream = response.GetResponseStream
Using reader As New StreamReader(dataStream)
Dim responseFromServer As String = reader.ReadToEnd()
retVal = True
End Using
End Using
End Using
Catch ex As WebException
retVal = True
Catch ex As Exception
retVal = False
End Try
Return retVal
End Function
End Class
End Namespace
Example Usage
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles MyBase.Load
Dim siList As New List(Of InternetConnection.SiteInfo)
InternetConnection.SiteInfo.AddNew(siList, _
"Test1", _
"http://dev.virtualearth.net/REST/v1/Locations/37221?o=xml")
InternetConnection.SiteInfo.AddNew(siList, _
"Test2", _
"nothing here")
InternetConnection.SiteInfo.AddNew(siList, "Test3", _
"www.google.com")
InternetConnection.SiteInfo.AddNew(siList, "Test4", _
"http://fls-online.com")
' This will return true:
Dim bool1 As Boolean = _
InternetConnection.SiteInfo.InternetIsConnected(siList, _
"Test1")
' This will return false:
Dim bool2 As Boolean = _
InternetConnection.SiteInfo.InternetIsConnected(siList, _
"Test2")
' This will return false:
Dim bool3 As Boolean = _
InternetConnection.SiteInfo.InternetIsConnected(siList, _
"Test3")
' This will return true:
Dim bool4 As Boolean = _
InternetConnection.SiteInfo.InternetIsConnected(siList, _
"Test4")
Stop
End Sub
End Class
Let me know your results please?
Still lost in code, just at a little higher level. -
How do i detect spyware?
My nokia 6230 and new nokia 6110 Navigator are both infected with spyware which allows the person who loaded the spyware to penetrate my calls received or dialled and receive copies of my sms's. How do i detect this software and how do i remove it?
I doubt that there's such an app on thr 6230 as it allows only the installation of very limited Java apps that can't do much anything.
On the 6110 Navigator, you can uninstall apps using the App.mgr (Application Manager) program. You can also reformat the memory card and phone to remove all traces of any installed apps. Format the card using the "Memory" app on the phone first, then clear the phone by "dialing" *#7370# -
How to log in to the new installed SAP ABAP instance ?
Dear Experts,
In SAP ERP 2005 installation,
I have done central system installation, Now I need to perform postinstallation steps,
Could you please tell me, how to log in to the new installed SAP ABAP instance and do the post installation?
Regards,
Madhavan KHi,
Check the list of post installation steps:
http://www.saptechies.com/post-installation-steps-for-ecc-60/
From my point of view basic post installation steps are:
- Installing SAP License (from http://service.sap.com/licensekeys)
- Setup TMS (STMS)
- Import profiles (RZ10)
- Client Copy (SCC*)
- Create users (SU01)
However further many steps are required as per your requirements. Cehck the link for more detailed steps.
Regards,
Srikishan -
I ordered a battery for my laptop because it said to replace battery soon. How long can I let the new battery sit around as I wait for the old one to run out of more charge? Will the new one become less effective if it sits around too long?
How much capacity is remaining on your current battery?
Check your power status
From the menu: Hold OPTION and click System Information... èHardware è Power
Copy and Paste in your reply.
The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
Long term storage (6 months):
Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
http://www.apple.com/batteries/ -
How to call a servlet in new window without toolbar from OA page
How to call a servlet in new window without toolbar from a OA page?Please provide sample code
I have tried with the way suggested in Mukul's blog using javascript in Destination URI property.
I tried to open a OA Page and from which forwarded it to a servlet..
It is showing the error:
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1969)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:86)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
at oa_html._OA._jspService(_OA.java:96)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:5391)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:969)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:86)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
at oa_html._OA._jspService(_OA.java:96)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:5391)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:969)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at oa_html._OA._jspService(_OA.java:86)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
at oa_html._OA._jspService(_OA.java:96)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534) -
how can i view and apply new custom patterns without going to preset manager? i had this facility but have now lost it. i design patterns but am fairly new to photoshop. i used to be able to click on the drop down menu in patterns in the 'fill' box but cannot now do this. have i inadvertently clicked on something to turn this facility off? i now have to go to 'preset manager' and manually move my new design to the first box and click 'done' so that i can use it.
Which version of photoshop are you using?
After you define a custom pattern it should be added to the bottom of whatever patterns are already loaded.
For example, if you define a custom pattern and then go to Edit>Fill>Pattern, the newly defined pattern should have been added to the existing loaded patterns. -
Does dvi to HDMI adapter works on mid 2007 iMac? Some how my iMac detect the sharp tv but the tv screen is black.
you need mini dvi to hdmi cable
http://store.apple.com/us/product/M9321G/B/apple-mini-dvi-to-dvi-adapter?fnode=5 1
and
http://store.apple.com/us/product/HA835ZM/A/belkin-hdmi-to-dvi-d-cable-2-m66-ft? fnode=51 -
I am having difficulty: we are running a windows server 2003 - mail and outlook support 2007 and upwards, how do I get the brand new apple machines to work with the 2003 version of server
I may be way out, but do you know about this product, would it help integrate the Macs for you.
https://www.thursby.com/sites/default/files/images/ADmitMacv8_SPD.pdf -
On my mac when i click on pages, a new document doesn't open instantly but a window with my files open and then have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon
How to open an existing Pages document?
Click Pages icon in the Dock to launch Pages.
When Pages is open, click File menu in the Pages menu bar.
Select “Open”.
When the select document dialog box opens up, highlight/select the document and click “Open”
at the bottom right corner of the dialog box.
s
https://support.apple.com/kb/PH15304?locale=en_US -
I Don't have access to the previous computer on which i installed the photoshop, the m bord is broken and i have a new computer, how can i reinstall on my new comp' with my serial number?
You are allowed to have two machines with activated installations, so if you only had one installation, you still have the option to install on a second without doing anything further than that. If you originally downloaded the purchase thru Adobe then you might find a download link available in your Adobe account online. You can also download thru the following page if you can find your version:
Download and Installation Help -
https://helpx.adobe.com/download-install.html
You can have the first installation deactivated to free up the activation and have it available for another machine again as well. YOu need to contact Adobe Support thru chat for that. For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
Any ideas on how to fix ipad after the new iOS 7 update? My battery will not charge, my ipad is hot to the touch, the iTunes Store won't open, and my messages on Facebook aren't showing up when I chat and pintrest won't pin to my boards.
If you have all your music on the cmputer then i would connect up my phone uncheck the Sync Music option and apply.
This should take all the music off your phone .Then you can resync the music back on to it.
If this doesn't work maybe a restore to factory settings and start from scratch is the way to go -
How do I set up a new mail account on my iMac?
Hello everyone,
I think I used to have a Mail account however I could not remember the password when I tried to turn it on. I decided to delete the account completely and to start again. How do I set up a new mail account with a new email address and a new password??
I can see how you create a new mail account but it then asks for an email and password so that doesn't help. I really didn't think it would be a hassle!
Thanks,
WYou first need to set up a new User Name and Password with your Internet Service Provider (ISP); that is, whoever provides you with Internet access, such as Comcast, AT&T, etc in the US. Alternately you can go on the Internet and set up a new email Account with a new User Name and Password with a public company such as Google's "Gmail" or Microsoft's "Hotmail". Once you have set up your new Account with them, THEN you enter that information into Apple's "Mail" for it to send and receive emails for your new outside Account.
Hope this helps -
my daughter and i share the same i tunes account but want to have our own now. how can i set up a new account just for me and still move or transfer my existing apps, contacts etc?
Yes, with the credentials of the account that the media/content was purchased with.
Content is permanently tied to the account it is purchased with and cannot be merged, moved, or transferred to another account.
Maybe you are looking for
-
Creation of Business Partner through IDOC
Dear All, I have to create a business partner which happens through Idoc of message type DEBCOR. My problem is that though I am getting the IDOC message as incoming type which is also getting processed however the creation of BP is not happening. Sin
-
I am unable to send any messages on iMessage
i am unable to send any messages on iMessage. I have never used it before so maybe I haven't set it up properly? When I choose a person to send a message to its fine, but when I type the message, the send button is grey and my message won't send. My
-
My boyfriend and I share an apples account for a while now. I would get messages from his phone he would get mine. We would text on that ID but now it's acting up. It doesn't let him send me messages, it sends it to him twice. I use the email but he
-
Is Adblock Plus effective and safe for Firefox 36 please?
-
How would you do this "star burst" tutorial but have transparent backgrounds when you're finished
I been playing around with this tutorial and have a really fun project to apply it to, but I really need a transparent background so I can use it on a couple different backgrounds. I tried just selecting the backgrounds and snipping them out, but ca