Re: [python-win32] USB access using win32file.deviceIOcontrol

2007-12-12 Thread Tony Cappellini
I recently wrote some C code to send SATA commands to a system drive, using the ATA pass through layer. I found this news group very helpful, since it deals with drivers. http://groups.google.com/group/microsoft.public.windowsxp.device_driver.dev/topics I wouldn't mentioned Python on that newsgro

Re: [python-win32] python-win32 Digest, Vol 57, Issue 14

2007-12-12 Thread Tony Cappellini
Message: 4 Date: Wed, 12 Dec 2007 21:41:15 +0100 From: Sebastian Friebe <[EMAIL PROTECTED]> Subject: Re: [python-win32] USB access using win32file.deviceIOcontrol To: Python-Win32 List Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Tim Roberts wrote: TR> That's fundame

Re: [python-win32] OT - move gnome launch bar

2007-12-12 Thread Tim Roberts
Carl Karsten wrote: > I am searching for the right place to ask this question. pretty sure it is > something gnome related. very sure it isn't MS Windows, but I am hoping > someone > here knows... > > In Unbuntu/gnome, I want a python program to move the top and bottom launcher > bars to the

Re: [python-win32] OT - move gnome launch bar

2007-12-12 Thread Sidnei da Silva
On Dec 12, 2007 11:39 PM, Carl Karsten <[EMAIL PROTECTED]> wrote: > I am searching for the right place to ask this question. pretty sure it is > something gnome related. very sure it isn't MS Windows, but I am hoping > someone > here knows... > > In Unbuntu/gnome, I want a python program to move

[python-win32] OT - move gnome launch bar

2007-12-12 Thread Carl Karsten
I am searching for the right place to ask this question. pretty sure it is something gnome related. very sure it isn't MS Windows, but I am hoping someone here knows... In Unbuntu/gnome, I want a python program to move the top and bottom launcher bars to the left and right. Anyone know wher

Re: [python-win32] USB access using win32file.deviceIOcontrol

2007-12-12 Thread Tim Roberts
Sebastian Friebe wrote: > That's exactly my problem. > I know there are some pointers in the C++ structure pointing to the > data inside the structure. But I don't have an idea at all, how to > port it to Python. > > Could you give me an example of a very basic SCSI command, like the > TEST_UNIT_RE

Re: [python-win32] USB access using win32file.deviceIOcontrol

2007-12-12 Thread Sebastian Friebe
Tim Roberts wrote: TR> That's fundamentally correct. How are you creating the TR> SCSI_PASS_THROUGH structure in "byte_list"? Are you sure it is 42 TR> bytes? Are you setting all the fields correctly? How are you setting TR> the DataBuffer pointer? Have you set the Length field correctly? Tha

Re: [python-win32] USB access using win32file.deviceIOcontrol

2007-12-12 Thread Tim Roberts
Sebastian Friebe wrote: > I saw an implementation in C++ using the winAPI DeviceIOControl() > function to do low-level SCSI operations on a USB mass storage device. > It is defined as follows: > > BOOL WINAPI DeviceIoControl( > ... > following settings have been applied: > dwIoControlCode

Re: [python-win32] USB access using win32file.deviceIOcontrol

2007-12-12 Thread Sebastian Friebe
Tim Roberts wrote: > This can't be done as you have described it. > > The problem is that the SCSI-like command set is only used between the > USB mass storage driver (usbstor.sys) and the USB host controller > driver. Above usbstor.sys, the device looks like a standard mass > storage device. The

Re: [python-win32] JPEG to TIFF conversion

2007-12-12 Thread Larry Bates
Larry Bates wrote: > Manjeet Singh wrote: >> Hi, >>I am a new to the image conversion /compression concepts. I have few >> thousands of images which were scanned in Uncompressed JPEG format(.Tiff >> and .Jpeg). I am required to convert them to standard tiff files(CCIT >> Group4). Is there an