[sane-devel] Problem in setting up Xsane

Stephen Liu satimis@icare.com.hk
Fri, 28 Feb 2003 16:37:36 +0800


Hi Martijn,

Thanks for your response.

su
password

# /sbin/modprobe aha152x aha152x=0x140,10 (enter)
no response

# /sbin/modprobe aha152x aha152x=0x140,9 (enter)
it hanged there for long time compelling me to restart the Koncole Window

Restarted Konsole Window

# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
       Vendor: SONY     Model: CD-RW  CRX160E   Rev: 1.0e
       Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
       Vendor:          Model:                  Rev:
       Type:   <NULL>                ANSI SCSI revision: ffffffff

Started 'Xsane'.  After accepting the Licence, a warning popup saying 
device not found.

su
password

# /sbin/rmmod aha152x
aha152x: Device or resource busy


I have to re-start the computer.

Also tried
/sbin/modprobe aha152x io=0x140,9
with the same result.


B.Regards
Stephen Liu



Martijn van Oosterhout wrote:
    > On Fri, Feb 28, 2003 at 10:19:18AM +0800, Stephen Liu wrote:
    >
    >># /sbin/insmod aha152x=0x140,10
    >>Using
/lib/modules/2.4.18-3/kernel/abi/cxenix/abi-cxenix.o/aha152x=0x140,10
    >>insmod:
    >>/lib/modules/2.4.18-3/kernel/abi/cxenix/abi-cxenix.o/aha152x=0x140,10:
    >>Not a directory
    >
    >
    > Wrong command. The arguments are not part of the filename. 
Besides, you
    > should be using modprobe as it will take care of any possible
dependancies.
    >
    > # /sbin/modprobe aha152x aha152x=0x140,10
    >
    > Though it might be:
    >
    > # /sbin/modprobe aha152x io=0x140,10
    >
    > Which would be more in line with other drivers.
    >
    > NOTE: I don't own any scsi devices. I just use a CD burner at work.