usb scanners - was Windows Kernel & Executive implementa

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
robert w hall

usb scanners - was Windows Kernel & Executive implementa

Post by robert w hall »

In message <[email protected]>
, Volodymyr Shcherbyna <[email protected]> writes
Unfortunately, that code just do stubs, and it is not actually
executed in kernel mode.
An interesting driver in this case is the kernel mode driver for the
many usbscanners, usbscan.sys :-)

/As I (don't) understand it:-/
Presently the sane-devel guys spend much effort sniffing and parsing
quite complex calling conventions produced by proprietary usb-scanner
drivers - but most of the driver-chain is in user mode, (and so might
run under wine or win4lin), until the final kernel-mode driver
usbscan.sys.

The purely usb aspects of usbscan.sys, especially things like bulk usb-
read and write, could perhaps be handled in linux user-mode by libusb.
?But the calling convention for usbscan.sys (which uses CreateFile etc)
needs to interact with the file handler in a way incompatible for the
present wine-server?. (see earlier musings, and reports of success with
patched drivers, reported by by Damjan Jovanovic)
//
Bob
--
robert w hall
robert w hall

usb scanners - was Windows Kernel & Executive implementa

Post by robert w hall »

In message <[email protected]>
, Volodymyr Shcherbyna <[email protected]> writes
Unfortunately, that code just do stubs, and it is not actually
executed in kernel mode.
An interesting driver in this case is the kernel mode driver for the
many usbscanners, usbscan.sys :-)

/As I (don't) understand it:-/
Presently the sane-devel guys spend much effort sniffing and parsing
quite complex calling conventions produced by proprietary usb-scanner
drivers - but most of the driver-chain is in user mode, (and so might
run under wine or win4lin), until the final kernel-mode driver
usbscan.sys.

The purely usb aspects of usbscan.sys, especially things like bulk usb-
read and write, could perhaps be handled in linux user-mode by libusb.
?But the calling convention for usbscan.sys (which uses CreateFile etc)
needs to interact with the file handler in a way incompatible for the
present wine-server?. (see earlier musings, and reports of success with
patched drivers, reported by by Damjan Jovanovic)
//
Bob
--
robert w hall
linuxlad
Newbie
Newbie
Posts: 1
Joined: Wed Jun 18, 2008 9:23 am

usbscan.sys revisited - where is win98ddk now?

Post by linuxlad »

Returned to this after several months, and was trying to fing the spec of usbscan.sys on the microsoft site - it used to be there I think.

But it's gone - I think I need either the win98 (98ddk.exe) or win2k ddk files (or at least an extract).

There _are_ sites which claim to have a copy but they require you to register with some rather dubious routes!

Anyone got a copy of the relevant bit please??
Bob
Locked