Hi,
A few things that pop off my mind :
- The ID pin is often a 1-wire bus connected to an EEPROM that allows the laptop to read the information about the current the adapter is able to provide, and stop battery charging if the adapter is too weak. I have never seen any direct control from the laptop, except in the Apple chargers. But my experience is limited.
- You say the power supply is currently 19V and you want up to 35V output. It is very likely that it is not possible, some capacitors in the PSU might be limited to 25V. Also, the transformers/inductors in the power supply may not allow for operation at the voltages you mention. It is impossible to know the range you can achieve without looking very closely at the design of your specific PSU.
Generally speaking, I am against advising beginners to hack a homebrew PSU. I know many people do it, I've done it too, but it's not great. Lab PSUs are generally cheap and provide essential features like proper current limitation and other safety features that will not be available in a hacked PSU. Also, laptop PSUs might provide safety features which are appropriate for a laptop but which will prevent proper use as a lab PSU. Generally it should work, but when debugging a design, you want to be sure your PSU is OK... if you're wondering if the problem comes from your design or your PSU, it's not fun at all.
uski