I have found that for linux it is possible to use vga, hdmi and other video connector's ddc's i2c ports to program and communicate with periphial devices. I have also found that apparently no one has been able to do it for windows, with the exception to nicomsoft. Nicomsoft has software that I have verified can read the i2c ports and not just access edid registry. I have an accelerometer connected and when I run the software it can detect a device at it's address. So I know it is possible but I have no idea if it is possible to use windows to do it. I know windows video port driver can call the miniport driver and get pointers to i2c callback structure containing explicit controls of the clock and data lines. The problem is it does not seem to export any of these pointers to anything else, like a user api let alone another kernal mode driver. I have considered that it might be possible at a hardware level were I have found out the intrcacies of the hardware, I have even seen an example of a video miniport driver on this site. I have an amd laptop which uses the bolton fusion controller hub which has vga ddc i2c ports. If you search amd docs for bolton fch you can find the documentation. basically I know the hub's i2c ports physical pins which my guess are both strung out to the hdmi and vga port's on my lap top. I have alos looked up the hub's general pupose i/o registers and it appears that they correspond to the pins. For instance ddc_i2c_scline is gpin70 and the data gpin71. the gpio registers are numbered correspondingly except the decimal pin number is changed to hexidecimal for the register. I can find the memory offset. My question is now, can I call gdi's function to map video memory to the process virtual memory, then write to these registers, turning them on and off? It is difficult to tell just what perspective on the memory I will have. Also if this worked, it would not be platform independent and would only work for pc's with bolton fusion controller hubs. Nicomsoft's program seems to be platform independent so either it wrote drivers for all common hardwares or it is using windows video port driver somehow? I have been working on this for several months and if someone could please help it would be awsome. thanks.
I'm currently reading a computer organization book and i'm so confused about Input/Output mechanism and have lots of questions in my mind.
As i understood there are two concepts for communicating with peripherals, first one is Memory Mapped I/O and the other one is I/O(Port) Mapped I/O.If the architecture is based on Memory Mapped I/O there are no special I/O instructions like "in","out" etc and device registers are mapped to memory address space so we can read or write to peripheral ports by "mov" instruction.On the other hand if architecture is based on I/O Mapped I/O, device registers are mapped to I/O address space which is completely separated from memory address space and cpu uses special instructions("in","out","ins","outs" ) for reading or writing to I/O Mapped device registers.
So here is my questions;
1.)If X86 architecture uses I/O(Port,Isolated etc) Mapped I/O technique why there are memory address spaces for devices like graphic card?
2.)If graphic card maps 1 gb memory to main memory address space what does it mean?Does it mean Memory Mapped I/O ?
3.)If x86 architecture doesn't use Memory Mapped I/O how a device can maps itself to memory address space?
4.)If x86 architecture can use Memory Mapped I/O ,how can it use and with which instructions?
5.)If I/O mapping is about mapping peripheral registers why graphic card wants so much space for mapping ?
Ok so I've read that there are some instructions that do things that enable/disable interupts,etc
are these the so-called priviledged instructions ??
do you know if there is a list with all those "strange" instructions ?
In my current customer's environment, we have Windows 7 machines on the factory floor that production people use to get their job done. The accounts they use are quite restricted - historical reasons . Anyway, one thing one of these machines needs to do is some low level formatting of compact flash cards. The commands used require accessing very low level operations like DISKPART, etc, so permissions must be elevated for the script to be able to run.
Normally, I would run this script on my laptop by right clicking on it and Running As Administrator, supply the password and off we go. But we cannot give the admin password out, just not a good idea.
Is there any way to install or set up a script with elevated permissions? I've not done anything like this before, but off the cuff, I'm thinking creating a simple service, installed with priv's and having the non-priv'd script send it a request.
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
I've got my Samsung Galaxy S4 set to automatically connect to the various wireless networks I regularly use, and for the most part it works great. But at home I have it set to use the high band network on my WD MyNet N900 router, while my home network is set to use the low band, and it fails to connect with the message, "Obtaining IP Address." I've double and triple checked the settings on both the phone and the router, and I can't find any inconsistencies, but I know I've seen this message before on some other device. Unfortunately, I can't recall how I fixed it.
But at home I have it set to use the high band network on my WD MyNet N900 router, while my home network is set to use the low band, and it fails to connect with the message, "Obtaining IP Address."
By this do you mean the 5GHz and the 2.4GHz bands?
I find that my Smasung Galaxy S4 won't play nice with the 5GHz band on my router but doesn't miss a beat on the 2.4GHz band.
As for the failing, the only time I have seen this issue on my phone is when attempting to connect to customer WiFi when they have WEP encryption. Not positive, but I think I have had the issue with WPA as well. It woeks all the time with WPA2 though/
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
I tried the Low band connection with no good results, then spent the evening checking the manuals, tech support and Google for both devices. Nothing. The I went into the phone's settings for the high band connection and selected Show Advanced Options (right under the Show Password option). The resulting screen let me manually configure a static IP address for this connection, and I picked an address within the range of the LAN scope of the router. As soon as I exited the settings screen I had a firm connection. Browsing didn't work right away, as I left the default DNS servers intact the first time around. The phone defaults to the Google free DNS servers at 22.214.171.124 and 126.96.36.199, but neither are very responsive. But after I went back into the setup and changed the DNS servers to my gateway router for #1, and the global server (188.8.131.52) for #2, browsing started working properly.
What makes me crazy about this is that I connect automatically at work to the wireless side of our SonicWall device, and I've never made any special adjustments - it just works. I wonder what makes the WD MyNet N900 act differently? Oh, well, it works...
It was simply a design flaw in the Samsung or the WD router. I think. Automatic configuration just won't work, but setting the connection manually works great. This is only for this router, as far as I can tell, since the phone connects reliably at work or when I'm travelling.
Let it configure automatically and copy and paste the settings here. It could be as simple as a gateway not getting set correctly, which should be a fixable issue.... unless you are perfectly happy with the static connection.
I'm a software engineer with little clue, so please bear with me here.
I have four devices that all have the same, factory-set, IP address, and I need to talk to all of them from the same PC.
The boss said "You should be able to do it with a NAT gateway router with port forwarding", which sounds more like buzzword bingo than any actually useful advice.
I think most cheapo home WiFi routers can do this, but I'm not sure what to look for. It needs to be reasonably cheap, have at least 5 ethernet ports (1 PC, 4 devices), and ideally be configurable so I can assign IP addresses to specific ethernet ports (so regardless of which device is plugged into port 3, it always have the same alias).