|
A splitter[^] is good only for screen duplication - it will not let the OS identify that you have two monitors. And as long as OS does not know it will not let you expand the desktop to two monitors...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Thanks! Guess I'll return it for a video card. Really shouldn't trust the store people since what percentage of people would want to duplicate screens for home use.
|
|
|
|
|
It may sound weird, but I had similar issues with Win 10 on a laptop (inbuilt screen 1366 x 768) and an external (VGA) monitor of the same resolution. The fix turned out to be updating the video drivers (from the vendor website IIRC). Nothing to lose and all that... It now behaves correctly in that configuration, and also using the HDMI port at either 1366 x 768 or 1920 x 1080.
Good luck,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I got burned to the tune of about $75 and a three day wait last time I had a hard drive failure.
Sure, I "had a backup".
What I learned was that that meant that I had the ability to retrieve THE DATA from the apps which I had, but it DIDN'T MEAN that I had the ability to restore the complete disk.
Now yes, the data from the apps was the critical aspect, but really, paying gobs of money for a "restore" CD (and waiting for delivery, for which I paid more money, for the "expedited" service to my low density populated town) well,,, you get the idea.
Okay, so I want to prepare for the next hard drive failure.
This time, I want to use a package that allows me to...
- Copy the disk (i.e., the entire image) to the external unit
- Change the hard drive
- Boot from a CD-Rom
- Restore the full image
- Reboot and resume with an identical hard drive
I'm Currently running Windows 7 on this machine.
Any and all advice is welcome.
Immediate questions in my head include...
- What do I want ?
- What questions do I ask ?
- Whom do I ask ?
- How do I recognize the idiot packages such as the one I used before ?
- What are the terms I want to see on the marketing hype ?
|
|
|
|
|
I would just add another hard drive (internal or external) and "mirror" the "main" drive; if you really want to make it "forgettable".
Back in the day, we used to do disaster recovery by taking the entire "business" (major investment firm) on a disk cartridge and walking it to a bank's data center for rebooting.
|
|
|
|
|
Windows 7 already has the feature available to do what you want.
From control panel, select Backup and Restore and the from the left menu select "Create a system image".
You will need a large portable external drive to store the image (preferably a bootable USB Drive). Boot to recovery and select the disk image you want to restore.
Alternatively...
Create a bootable usb stick with toxboot and clonezilla.
Once you boot a PC from the key you can take an Image of the PC and store it in an external HD.
If you connect the bootable drive to another PC and boot it from there, once plugged the external HD you can flash the second PC with the image previously taken.
Here the links for downloads:
CloneZilla
ToxBoot
And procedure:
Save Image to Disk
Restore a Disk Image
I hope this helps. BTW...this is my first CodeProject Reply...so, If I have messed up in any way with my instructions, please cut me some slack.
JP (Gloucester, UK)
|
|
|
|
|
That even helped me a lot Thank you johnathan perry
|
|
|
|
|
Hello,
I am trying to follow this link Simple I/O device driver for RaspberryPi[^]
I tried the same for Pi2 B model but it is not working as it should. I changed the address to 3f000000(for pi2 b) and it is building the kernel module. But when I try to use see the output at 15th port, nothing is there. I tried 3f200000 address, but that module was not loading with insmod command. It throws an error "no such device". I checked the /proc/devices file and saw 3f200000 to 3f2000b3 already mapped with gpio, so maybe cannot use that same address to create this driver. Please help me rectify this.
|
|
|
|
|
You should post your question in the forum at the end of the article, so the author can help you.
|
|
|
|
|
Hi,
In 89C51SND1C-UL digital tube selected, segment are used in P0 mouth. How to write a program. The datasheet of 89C51SND1C-UL is here http://www.kynix.com/Detail/1155480/89C51SND1C-UL.html
This is a buzzer program.The bit-choice is in P2. I want to consult if I want to change bit-choice at P0 mouth, how to change the program. I convert P2 directly into P0 mouth. It doesn't work. I'm still learning single-chip computer.
="quote">Quote: #include<reg52.h>
#define uchar unsigned char
#define uint unsigned int
sbit speak=P3^4;
sbit huang=P3^0;
sbit red=P3^1;
sbit sjia=P3^6;
sbit sji=P3^7;
sbit kai=P3^0;
sbit fuwei=P3^1;
sbit kais=P3^2;
uchar num,temp,shijian,shi,ge,ashi,age,aa,tt,bb,i;
uchar code table[]={0xc0,0xf9,0xa4,0xb0,0x99,
0x92,0x82,0xf8,0x80,0x90,
0x88,0x83,0xc6,0xa1,0x86,0x8e};
void delay(uint z)
{
uchar x,y;
for(x=z;x>0;x--)
for(y=110;y>0;y--);
}
void bj()
{
for(i=0;i<110;i++)
{
speak=~speak; delay(5);
}
for(i=0;i<230;i++)
{
speak=~speak; delay(2);
}
}
void keyscan()
{
if(sjia==0)
{
delay(5);
if(sjia==0)
{
shijian=shijian+1;
if(shijian==99)
{
shijian=0;
}
}
while(!sjia);
}
if(sji==0)
{
delay(5);
if(sji==0)
{
shijian=shijian-1;
if(shijian==0)
{
shijian=30;
}
}
while(!sji);
}
}
void zhuanhuan()
{
shi=shijian/10;
ge=shijian%10;
ashi=num/10;
age=num%10;
}
void sound()
{
speak=0;
}
void main()
{ huang=0;red=0;
EA=1;
TMOD=0x11;
T2CON=0x01;
TH0=(65536-50000)/256;
TL0=(65536-50000)%256;
TH1=(65536-5000)/256;
TL1=(65536-5000)%256;
TH2=(65536-50000)/256;
TL2=(65536-50000)%256;
ET0=1;
TR0=0;
ET1=1;
TR1=1;
ET2=1;
TR2=0;
IT0=1;
EX0=1;
IT1=1;
EX1=1;
aa=0;
bb=0;
shijian=30;
while(1)
{
keyscan();
}
}
void int_0() interrupt 0
{
huang=1;
TR0=1;
TR2=1;
}
void timer_0() interrupt 1
{
TH0=(65536-50000)/256;
TL0=(65536-50000)%256;
aa++;
if(aa==20)
{
aa=0;
shijian--;
if(shijian==6)
{
red=1;
huang=0;
sound();
}
if(shijian==0)
{
TR0=0;
TR2=0;
TF2=0;
}
}
}
void int_1() interrupt 2
{
shijian=30;
num=0;
TR0=0;
TR2=0;
}
void timer_1() interrupt 3
{
TH1=(65536-5000)/256;
TL1=(65536-5000)%256;
tt++;
bb++;
if(tt==5)
tt=1;
zhuanhuan();
switch(tt)
{
case 1:P2=0xf4;P0=table[shi];break;
case 2:P2=0xf8;P0=table[ge];break;
case 3:P2=0xf1;P0=table[ashi];break;
case 4:P2=0xf2;P0=table[age];break;
default : ;
}
if(bb==1)
{
bb=0;
if(shijian==5)
{
speak=~speak;
}
if(shijian==4)
{
speak=~speak;
}
if(shijian==3)
{
speak=~speak;
}
if(shijian==2)
{
speak=~speak;
}
if(shijian==1)
{
speak=~speak;
}
}
}
void timer_2() interrupt 5
{
TH2=(65536-50000)/256;
TL2=(65536-50000)%256;
P1=0xfe;
temp=P1;
temp=temp&0xf0;
while(temp!=0xf0)
{
delay(5);
temp=P1;
temp=temp&0xf0;
while(temp!=0xf0)
{
temp=P1;
TR2=0;
switch(temp)
{
case 0xee:{TR0=0;TF2=0;num=1;bj();}break;
case 0xde:{TR0=0;TF2=0;num=2;bj();}break;
case 0xbe:{TR0=0;TF2=0;num=3;bj();}break;
case 0x7e:{TR0=0;TF2=0;num=4;bj();}break;
}
while(temp!=0xf0)
{
temp=P1;
temp=temp&0xf0;
}
}
}
P1=0xfd;
temp=P1;
temp=temp&0xf0;
while(temp!=0xf0)
{
delay(5);
temp=P1;
temp=temp&0xf0;
while(temp!=0xf0)
{
temp=P1;
TR2=0;
switch(temp)
{
case 0xed:{TR0=0;TF2=0;num=5;bj();}break;
case 0xdd:{TR0=0;TF2=0;num=6;bj();}break;
case 0xbd:{TR0=0;TF2=0;num=7;bj();}break;
case 0x7d:{TR0=0;TF2=0;num=8;bj();}break;
}
while(temp!=0xf0)
{
temp=P1;
temp=temp&0xf0;
}
}
}
}
|
|
|
|
|
What are you asking us?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Few things on "how"
Have a pseudoce about WHAT is the purpose of the code showing inputs / outputs.
Than CHANGING the output would be more visible in code.
Get into habit to comment your code. I do 80% comments and 20% real code ratio.
I realize your construct your code using your native language that write it in English, so that is why there are no (English) comments in your code.
Find a IDE which allows you to set breakpoints or use some other method to track your code.
Good luck
|
|
|
|
|
hi sir,
I am working on SmartCard Chip ,SCOSTA .
I have successfully created file structure in smartcard with ISO7816 specification.
while creating file structure ,i have been set security condition under Tag 8C for files.
It includes MF(Master file),under that EFs but Unable to delete file structure.
please let me know ...
How should i Delete file structure ? How should I set Security Condition for files?
How can I store variable data in smart card ?
|
|
|
|
|
Hi All, I'm trying to expand my development setup. I have a win10 laptop that handles the average stuff, but being tied down with extra monitors and a real keyboard and mouse it's lost a lot of its mobility. That and a lack of desk space has got me dreaming of other expanses of unused surfaces around my apartment. I'm looking to do more embedded programming on a Linux o.s., and I currently have an ESXi host with a few vm's that can do the job. My spare laptop is an arm based chromebook. Not much I can do to connect to the vm's other than vlc and the like. Any ideas on how I could hook USB dev boards to my chromebook and program them through a remotely accessed VM ?? I haven't been able to find many tools for this purpose.
Thanks
|
|
|
|
|
Hello everyone
I am developing Localization system which requires a high timestamp resolution Access point.
If there is any recommended product has this characteristic which can timestamp the in and out bound frame in a higher resolution than 1µs.
Wi-Fi
|
|
|
|
|
AS my development machine & my test machine are 64bit windows system with Windows 7 operating System So to give myself a head start I compiled the ComPort project under Windows-driver-samples-master/serial/VirtualSerial2 sample code provided by Microsoft, initial it flashed an error that said as follows "Provider cannot be "Microsoft", must be an organization who authored INF" so I changed the following line in .inx file MSFTUMDF=Microsoft to MSFTUMDF=Sample, then it compiled successfully.
Then I follow the following process to install the driver on the target machine.
1) I copied the VirtualSerial2um.cer file VirtualSerial2um.inf from Windows-driver-samples-master\serial\VirtualSerial2\ComPort\x64\Debug & devcon.exe from C:\Program Files\Windows Kits\10\Tools\x64 to a Sample folder in the C:\ drive of the Target device.
2) Then on target machine I open the internet explorer I went to Internet Options->content->Certificates->import then I selected the VirtualSerial2um.cer file & imported the Certificate.
3) Then on target machine I opened the command prompt as Administrator, browsed to the Sample folder & typed the following command.
<b>devcon install virtualSerial2um.inf UMDF\Virtual_1 </b>
Then on the command prompt it says:
<b>device tree entry created
devcon failed</b>
In the device manager Under Unknown Device COMn(n is com port number) appears but when I open my hyper terminal COMn doesn't show on the drop down list of COM ports.
Now I am unable to figure out why my devcon installation is failing & as t says that my driver is registered in the device tree then why It is showing in the Unknown device & why not is PORTS
This is the content of the VirtualSerial2um.inf file
;
; Copyright (C) Microsoft Corporation, All Rights Reserved.
;
; VirtualSerial.inf
;
;Installation Notes:
; Type "devcon install VirtualSerial2um.inf UMDF\VirtualSerial2um" to install
[Version]
Signature="$Windows NT$"
<b>Class=Ports</b>
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MSFTUMDF%
CatalogFile=WUDF.cat
DriverVer=05/30/2016,19.7.52.160
[Manufacturer]
%MSFTUMDF%=Microsoft,NTx86
[Microsoft.NTx86]
%VirtualSerialDeviceName%=VirtualSerial_Install,UMDF\VirtualSerial2um
[SourceDisksFiles]
Virtualserial2um.dll=1
[SourceDisksNames]
1 = %MediaDescription%
; =================== UMDF VirtualSerial Device ==================================
[VirtualSerial_Install.NT]
CopyFiles=UMDriverCopy
[VirtualSerial_Install.NT.hw]
AddReg=SetDeviceType_AddReg
[VirtualSerial_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall
[VirtualSerial_Install.NT.Wdf]
UmdfService = VirtualSerial, VirtualSerial_Install
UmdfServiceOrder = VirtualSerial
UmdfKernelModeClientPolicy = AllowKernelModeClients
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
UmdfFsContextUsePolicy = CannotUseFsContexts
[VirtualSerial_Install]
UmdfLibraryVersion=2.15.0
ServiceBinary=%12%\UMDF\Virtualserial2um.dll
[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
[SetDeviceType_AddReg]
HKR,,DeviceType,0x10001,0x0000001b ; 0x1b = FILE_DEVICE_SERIAL_PORT
[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\UMDF
[UMDriverCopy]
Virtualserial2um.dll
; =================== Generic ==================================
[Strings]
MSFTUMDF="Sample"
MediaDescription="Microsoft Sample Driver Installation Media"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
VirtualSerialDeviceName="Microsoft VirtualSerial Sample (UMDF 2)
Could anyone please guide me in the correct direction
|
|
|
|
|
I am searching for all btle devices with BluetoothLEAdvertisementWatcher.
It works fine but I need a device handle so I can use GATT api's.
How do I get a device handle from the information provided in BluetoothLEAdvertisementReceivedEventArgs?
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|
|
I don't think I am going to get this working.
It seems GATT comms is only possible if the device is already paired. And there is no api for paring programmatically.
Perhaps I can do it on android.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
|
|
|
|
|
Hello,
I have a WDM upperfilter driver for some class devices(WPD, Printers). The wdm upper filter is from WDK generic toaster filter sample. The problem that I have is for some device that support or install UMDF drivers I receive STATUS DEVICE CONFIGURATION_ERROR at IRP_MN_START_DEVICE and device failed to start. Can you help me please or give me an advice?
Thank you.
|
|
|
|
|
|
WDF = UMDF + KMDF (user moder driver + kernel mode driver)
|
|
|
|
|
And the toaster samples are kernel drivers.
So how can you load a kernel filter on a usermode driver?
|
|
|
|
|
You don't understand.
I'm an upper filter driver(KERNEL) over a device class that use in his stack an UMDF driver...
|
|
|
|
|
The driver is in usermode. You cant run kernel code (the filter) in user mode, and vice versa.
|
|
|
|
|
Without the UMDF my filter works
|
|
|
|