Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Andrew Muhametshin                   2:5020/400     20 Mar 2007  14:42:28
 To : Eugene Grosbein
 Subject : Re: usb non-atatch/detach events
 -------------------------------------------------------------------------------- 
 
 >  >> Попробовал scanbuttond. В то время как sane при помощи бекенда plustek
 >  >> находит сканер и даже чего-то сканирует, scanbuttond сканер не находит
 >  >> и даже не пытается открыть /dev/uscanner0...
 >  AM> И не должен... scanbuttond работает чере libusb. Соответственно, sane,
 >  AM> прийдется, повесить на ugen.
 >
 > Hе понял. Если ты намекаешь на якобы конфликт при обращении к девайсу,
 > то, во-первых, во время запуска scanbuttond ничего из sane не работает
 > и девайс свободен, а scanbuttond тем не менее сканер не находит;
 > а во-вторых, в документации на scanbuttond прямо написано, что он не
 > конфликтует с sane и на время запуска утилит из sane девайс не поллит.
 > Именно потому что и то, и другое работает через единый интерфейс libusb.
 
 Я как то писал maintain'еру -- вот мое письмо и его ответ:
 =============START======================
 
 > Hello
 >
 > scanbuttond - does not find the device...
 > In fact that scanner working properly and never had problems.
 > Mention about scaner Epson Perfection 2400 in file epson.c is present
 >
 > --------------------------------------------
 > $ sane-find-scanner -q
 > found USB scanner (vendor=0x04b8, product=0x011b) at /dev/uscanner0
 >
 > $ scanimage -L
 > device `epson:/dev/uscanner0' is a Epson GT-9300 flatbed scanner
 >
 > $ scanimage -p --mode color --format tiff -v > /dev/null && echo $?
 > scanimage: scanning image of size 424x585 pixels at 24 bits/pixel
 > scanimage: acquiring RGB frame
 > scanimage: min/max graylevel value = 20/255
 > scanimage: read 744120 bytes in total
 > 0
 >
 
 Hi
 
 According to the output from "scanimage -L" you are using the uscanner
 kernel module to access your scanner.  Scanbuttond only works if the
 scanner is accessed via libusb.  Since uscanner claims your scanner
 libusb (even if you have it installed, which should be the case if you
 installed scanbuttond) has no longer access to it and thus scanbuttond
 has no way to detect and use your scanner.
 
 Try unloading uscanner or re-compile your kernel without uscanner
 support and try scanbuttond again.  Also note that you can still use
 scanimage this way.  Just use something like epson:/dev/ugen0 instead
 of
 epson:/dev/uscanner0 (dmesg should show you to which ugen device your
 scanner is attached to).
 
 Also note that you may need to edit
 /usr/local/etc/scanbuttond/initscanner.sh
 to help scanbuttond finding your scanner in the first place.
 
 I hope that helps solving your problem
 ===========END========================
 
 --- ifmail v.2.15dev5.3
  * Origin: http://groups.google.com (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: usb non-atatch/detach events   Andrew Muhametshin   20 Mar 2007 14:42:28 
Архивное /ru.unix.bsd/373762779b734.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional