I've found out that the communication to the CanoScan 4200F scanner most likely happens through control messages. And I've tried to set up my program to emulate this, but with my limited knowledge of how USB communication works.
I'd like to how to set up a control msg. But what are requestType / request / index / value parameters to usb_control_msg() used for? And where in a usbsniffer.log would they likely be noted? High hopes Ren? Kjellerup -- -- as life grows older, I gain experience. -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c.zip Type: application/x-zip Size: 1140 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070213/782c24e6/main.c.bin From [email protected] Wed Feb 14 00:29:27 2007 From: [email protected] (Olaf Meeuwissen) Date: Wed Feb 14 00:30:18 2007 Subject: [sane-devel] Re: hotplug support for Epson CX6600 In-Reply-To: <[email protected]> (Matthew McClellan's message of "Tue, 13 Feb 2007 18:54:49 +0000 (UTC)") References: <[email protected]> <[email protected]> Message-ID: <[email protected]> Matthew McClellan <[email protected]> writes: > How would I apply this patch in Ubuntu (Debian)? Many thanks. I assume you are referring to http://lists.alioth.debian.org/pipermail/sane-devel/2005-February/012985.html In http://lists.alioth.debian.org/pipermail/sane-devel/2005-February/012992.html Gerhard says the patch has been applied, so this should be in as of sane-backends-1.0.16. However, some of the udev stuff may not be in sync until sane-backends-1.0.18, so you may want to add: SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0813", MODE="664", GROUP="scanner" to your /etc/udev/libsane.rules (or /etc/udev/rules.d/libsane.rules) and reconnect the device. Hope this helps, -- Olaf Meeuwissen EPSON AVASYS Corporation, SE1 FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2
