Re: [Hp5400backend-devel] Trouble with driver: Segmentation fault
Status: Alpha
Brought to you by:
soumarmt
From: Thomas S. <tho...@co...> - 2003-06-03 11:49:00
|
<snip> > > I commented out everything in hp5400.conf and I also commented out in > /etc/modules.conf : > alias /dev/usb/scanner0 scanner > options scanner vendor=0x3f0 product=0x1005 removing the info from modules.conf is not taken into account before you reinit the modules. You may run rmmod scanner to unload the scanner module and have /dev/usb/scanner0 removed > > Scan still works after those modifications, but it's still being listed > twice by scanimage and xsane. > > sane-find-scanner -q > found USB scanner (vendor=0x03f0, product=0x1005) at /dev/usb/scanner0 > found USB scanner (vendor=0x03f0, product=0x1005) at libusb:001:002 It looks that the hp5400.conf that is used is not the one you commented out as sane still finds the 2 entries you mention. > > It seems as it's reading '/dev/usb/scanner0' and 'libusb:001:002' as two > separate addresses. Actually they are different because it is 2 different paths to the same hardware. /dev/usb/scanner0 is managed by scanner module libusb:001:002 is managed by libusb module You'd better leave one of the two lines in hp5400.conf : * if you let the scanner0, don't forget to put back the modules.conf line to have it connect at next boot. * if you let the libusb you would not need (for SANE) the scanner module. But maybe it could be used by another software, so I recommend you to put it back too. Hope it helps, Thomas. |