Re: [Hp5400backend-devel] Trouble with driver: Segmentation fault
Status: Alpha
Brought to you by:
soumarmt
From: Lilith <luc...@nt...> - 2003-06-03 13:21:15
|
I deleted the hp5400.conf which was in the folder which I complied and installed from, altered hp5400.conf to: /dev/usb/scanner0 (left 'usb 0x03F0 0x1005' commented out) Reinstated the info in modules.conf and Xsane is now only detecting one scanner now and working nicely with the backend. Thank you for your help :-) Thomas Soumarmon wrote: ><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. > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: eBay >Get office equipment for less on eBay! >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Hp5400backend-devel mailing list >Hp5...@li... >https://lists.sourceforge.net/lists/listinfo/hp5400backend-devel > > > |