what version of sane-backends, and what version of libusb? allan
On Mon, Jun 29, 2009 at 12:21 PM, Michael Ole Olsen<gnu at gmx.net> wrote: > xsane-0.99 (debian lenny, with libsane also installed) > > i think the canon n650u lide scanner uses the plustek backend if it is of any > use? > > if i remove my webcam i just get 'no devices detected' but lsusb lists it. > > /Michael Ole Olsen > > > On Mon, 29 Jun 2009, Michael Ole Olsen wrote: > >> My USB Canon CanoScan LIDE N650U is not getting recognized, except in lsusb. >> >> For some reason my scanner stopped working after i changed system and kernel >> >> I cannot use a newer kernel than this 2.6.22.1 or my ati drivers will >> not work. the kernel is custom compiled from kernel.org and has >> ehci,uhci,ohci >> compiled in as modules and also usb devfs enabled >> >> mws:/home/michael# mount -t usbfs >> procbususb on /proc/bus/usb type usbfs (rw) >> >> when starting xsane as normal user in group 'scanner' it just opens >> /dev/video0 instead , which my my webcam >> I tried removing the webcam from the usb hub without luck. >> >> Nothing in dmesg: >> udevd version 125 started >> usb 1-4.2: new full speed USB device using ehci_hcd and address 36 >> usb 1-4.2: configuration #1 chosen from 1 choice >> usb 1-4.2: USB disconnect, address 36 >> usb 1-4.2: new full speed USB device using ehci_hcd and address 37 >> usb 1-4.2: configuration #1 chosen from 1 choice >> usb 1-4.2: USB disconnect, address 37 >> usb 1-4.2: new full speed USB device using ehci_hcd and address 38 >> usb 1-4.2: configuration #1 chosen from 1 choice >> >> >> I have tried opening the device files that udev makes (with xsane >> /dev/usbdev<xxxx>) >> ?but i just get invalid argument, here is udev debug output (directly after >> insert of usbcable into scanner): >> >> [26462] msg_queue_insert: seq 2767 queued, 'add' 'usb' >> [26462] udev_event_run: seq 2767 forked, pid [27019], 'add' 'usb', 0 seconds >> old >> [26462] msg_queue_insert: seq 2768 queued, 'add' 'usb_endpoint' >> [26462] msg_queue_insert: seq 2769 queued, 'add' 'usb' >> [26462] msg_queue_insert: seq 2770 queued, 'add' 'usb_endpoint' >> [26462] msg_queue_insert: seq 2771 queued, 'add' 'usb_endpoint' >> [26462] msg_queue_insert: seq 2772 queued, 'add' 'usb_endpoint' >> [27019] run_program: 'check-ptp-camera 06/01/01' >> [27019] run_program: '/lib/udev/check-ptp-camera' returned with status 1 >> [27019] udev_rules_get_name: rule applied, '1-4.2' becomes 'bus/usb/001/038' >> [27019] match_rule: set ENV 'libsane_matched=yes' >> [27019] udev_db_get_device: no db file to read >> /dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:1d.7\x2fusb1\x2f1-4\x2f1-4.2: >> No such file or directory >> [27019] udev_node_add: creating device node '/dev/bus/usb/001/038', >> major=189, minor=37, mode=0664, uid=0, gid=105 >> [27019] udev_node_mknod: mknod(/dev/bus/usb/001/038, 020664, (189,37)) >> [27019] udev_node_mknod: chmod(/dev/bus/usb/001/038, 020664) >> [27019] udev_node_mknod: chown(/dev/bus/usb/001/038, 0, 105) >> [27019] name_index: creating index: >> '/dev/.udev/names/bus\x2fusb\x2f001\x2f038/\x2fdevices\x2fpci0000:00\x2f0000:00:1d.7\x2fusb1\x2f1-4\x2f1-4.2' >> [27019] pass_env_to_socket: passed -1 bytes to socket >> '@/org/kernel/udev/monitor', >> [27019] run_program: '/bin/sh -c 'test -e >> /sys//devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.2/power/level && echo on >> > /sys//devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4.2/power/level'' >> [27019] run_program: '/bin/sh' returned with status 1 >> [27019] udev_event_run: seq 2767 finished with -1 >> [26462] udev_done: seq 2767, pid [27019] exit with 1, 0 seconds old >> [26462] udev_event_run: seq 2768 forked, pid [27022], 'add' 'usb_endpoint', >> 0 seconds old >> [26462] udev_event_run: seq 2769 forked, pid [27023], 'add' 'usb', 0 seconds >> old >> [27022] udev_rules_get_name: no node name set, will use kernel name >> 'usbdev1.38_ep00' >> [27023] run_program: '/sbin/modprobe --use-blacklist >> usb:v04A9p2206d0100dc00dsc00dp00icFFisc00ipFF' >> [27022] udev_db_get_device: no db file to read >> /dev/.udev/db/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep00: No such file or >> directory >> [27022] udev_node_add: creating device node '/dev/usbdev1.38_ep00', >> major=254, minor=21, mode=0660, uid=0, gid=0 >> [27022] udev_node_mknod: mknod(/dev/usbdev1.38_ep00, 020660, (254,21)) >> [27022] udev_node_mknod: chmod(/dev/usbdev1.38_ep00, 020660) >> [27022] udev_node_mknod: chown(/dev/usbdev1.38_ep00, 0, 0) >> [27022] name_index: creating index: >> '/dev/.udev/names/usbdev1.38_ep00/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep00' >> [27022] pass_env_to_socket: passed -1 bytes to socket >> '@/org/kernel/udev/monitor', >> [27022] udev_event_run: seq 2768 finished with 0 >> [26462] udev_done: seq 2768, pid [27022] exit with 0, 0 seconds old >> [27023] run_program: '/sbin/modprobe' (stderr) 'FATAL: Module >> usb:v04A9p2206d0100dc00dsc00dp00icFFisc00ipFF not found.' >> [27023] run_program: '/sbin/modprobe' returned with status 1 >> [27023] pass_env_to_socket: passed -1 bytes to socket >> '@/org/kernel/udev/monitor', >> [27023] udev_event_run: seq 2769 finished with -1 >> [26462] udev_done: seq 2769, pid [27023] exit with 1, 0 seconds old >> [26462] udev_event_run: seq 2770 forked, pid [27025], 'add' 'usb_endpoint', >> 0 seconds old >> [26462] udev_event_run: seq 2771 forked, pid [27026], 'add' 'usb_endpoint', >> 0 seconds old >> [26462] udev_event_run: seq 2772 forked, pid [27027], 'add' 'usb_endpoint', >> 0 seconds old >> [27025] udev_rules_get_name: no node name set, will use kernel name >> 'usbdev1.38_ep81' >> [27025] udev_db_get_device: no db file to read >> /dev/.udev/db/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep81: No such file or >> directory >> [27025] udev_node_add: creating device node '/dev/usbdev1.38_ep81', >> major=254, minor=22, mode=0660, uid=0, gid=0 >> [27025] udev_node_mknod: mknod(/dev/usbdev1.38_ep81, 020660, (254,22)) >> [27025] udev_node_mknod: chmod(/dev/usbdev1.38_ep81, 020660) >> [27025] udev_node_mknod: chown(/dev/usbdev1.38_ep81, 0, 0) >> [27025] name_index: creating index: >> '/dev/.udev/names/usbdev1.38_ep81/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep81' >> [27025] pass_env_to_socket: passed -1 bytes to socket >> '@/org/kernel/udev/monitor', >> [27025] udev_event_run: seq 2770 finished with 0 >> [26462] udev_done: seq 2770, pid [27025] exit with 0, 0 seconds old >> [27026] udev_rules_get_name: no node name set, will use kernel name >> 'usbdev1.38_ep82' >> [27026] udev_db_get_device: no db file to read >> /dev/.udev/db/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep82: No such file or >> directory >> [27026] udev_node_add: creating device node '/dev/usbdev1.38_ep82', >> major=254, minor=23, mode=0660, uid=0, gid=0 >> [27026] udev_node_mknod: mknod(/dev/usbdev1.38_ep82, 020660, (254,23)) >> [27026] udev_node_mknod: chmod(/dev/usbdev1.38_ep82, 020660) >> [27026] udev_node_mknod: chown(/dev/usbdev1.38_ep82, 0, 0) >> [27026] name_index: creating index: >> '/dev/.udev/names/usbdev1.38_ep82/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep82' >> [27026] pass_env_to_socket: passed -1 bytes to socket >> '@/org/kernel/udev/monitor', >> [27026] udev_event_run: seq 2771 finished with 0 >> [27027] udev_rules_get_name: no node name set, will use kernel name >> 'usbdev1.38_ep03' >> [27027] udev_db_get_device: no db file to read >> /dev/.udev/db/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep03: No such file or >> directory >> [27027] udev_node_add: creating device node '/dev/usbdev1.38_ep03', >> major=254, minor=24, mode=0660, uid=0, gid=0 >> [27027] udev_node_mknod: mknod(/dev/usbdev1.38_ep03, 020660, (254,24)) >> [27027] udev_node_mknod: chmod(/dev/usbdev1.38_ep03, 020660) >> [27027] udev_node_mknod: chown(/dev/usbdev1.38_ep03, 0, 0) >> [27027] name_index: creating index: >> '/dev/.udev/names/usbdev1.38_ep03/\x2fclass\x2fusb_endpoint\x2fusbdev1.38_ep03' >> [27027] pass_env_to_socket: passed -1 bytes to socket >> '@/org/kernel/udev/monitor', >> [27027] udev_event_run: seq 2772 finished with 0 >> [26462] udev_done: seq 2771, pid [27026] exit with 0, 0 seconds old >> [26462] udev_done: seq 2772, pid [27027] exit with 0, 0 seconds old >> >> >> michael at mws:~% lsmod >> Module ? ? ? ? ? ? ? ? ?Size ?Used by >> pwc ? ? ? ? ? ? ? ? ? ?80740 ?0 >> usbserial ? ? ? ? ? ? ?29496 ?0 >> sg ? ? ? ? ? ? ? ? ? ? 22680 ?0 >> xt_tcpudp ? ? ? ? ? ? ? 6784 ?8 >> iptable_mangle ? ? ? ? ?6144 ?1 >> ipt_TOS ? ? ? ? ? ? ? ? 5760 ?8 >> ip_tables ? ? ? ? ? ? ?13380 ?1 iptable_mangle >> x_tables ? ? ? ? ? ? ? 14596 ?3 xt_tcpudp,ipt_TOS,ip_tables >> fglrx ? ? ? ? ? ? ? ?2053828 ?29 >> p4_clockmod ? ? ? ? ? ? 8452 ?1 >> speedstep_lib ? ? ? ? ? 8832 ?1 p4_clockmod >> w83627hf ? ? ? ? ? ? ? 24340 ?0 >> hwmon_vid ? ? ? ? ? ? ? 6400 ?1 w83627hf >> hwmon ? ? ? ? ? ? ? ? ? 6404 ?1 w83627hf >> snd_rtctimer ? ? ? ? ? ?6560 ?0 >> snd_emu10k1_synth ? ? ? 9728 ?0 >> snd_emux_synth ? ? ? ? 31616 ?1 snd_emu10k1_synth >> snd_seq_virmidi ? ? ? ? 9088 ?1 snd_emux_synth >> snd_seq_midi_emul ? ? ? 8960 ?1 snd_emux_synth >> snd_emu10k1 ? ? ? ? ? 119044 ?4 snd_emu10k1_synth >> snd_usb_audio ? ? ? ? ?73088 ?0 >> snd_ac97_codec ? ? ? ? 90400 ?1 snd_emu10k1 >> snd_pcm_oss ? ? ? ? ? ?38400 ?0 >> ac97_bus ? ? ? ? ? ? ? ?6016 ?1 snd_ac97_codec >> snd_mixer_oss ? ? ? ? ?17024 ?1 snd_pcm_oss >> snd_util_mem ? ? ? ? ? ?7296 ?2 snd_emux_synth,snd_emu10k1 >> snd_pcm ? ? ? ? ? ? ? ?64644 ?5 >> snd_emu10k1,snd_usb_audio,snd_ac97_codec,snd_pcm_oss >> snd_seq_oss ? ? ? ? ? ?29972 ?0 >> snd_page_alloc ? ? ? ? 10888 ?2 snd_emu10k1,snd_pcm >> snd_usb_lib ? ? ? ? ? ?16640 ?1 snd_usb_audio >> snd_seq_midi ? ? ? ? ? ?9984 ?0 >> snd_seq_midi_event ? ? ?9600 ?3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi >> snd_seq ? ? ? ? ? ? ? ?44852 ?8 >> snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_oss,snd_seq_midi,snd_seq_midi_event >> snd_rawmidi ? ? ? ? ? ?21120 ?4 >> snd_seq_virmidi,snd_emu10k1,snd_usb_lib,snd_seq_midi >> snd_timer ? ? ? ? ? ? ?20484 ?4 snd_rtctimer,snd_emu10k1,snd_pcm,snd_seq >> snd_seq_device ? ? ? ? ?9868 ?7 >> snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi >> compat_ioctl32 ? ? ? ? ?5248 ?1 pwc >> snd_hwdep ? ? ? ? ? ? ?10244 ?3 snd_emux_synth,snd_emu10k1,snd_usb_audio >> videodev ? ? ? ? ? ? ? 28032 ?1 pwc >> v4l2_common ? ? ? ? ? ?18432 ?1 videodev >> v4l1_compat ? ? ? ? ? ?15492 ?1 videodev >> snd ? ? ? ? ? ? ? ? ? ?43444 ?19 >> snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_usb_audio,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_rawmidi,snd_timer,snd_seq_device,snd_hwdep >> >> >> Lsusb finds the scanner without problems.. >> >> michael at mws:~% lsusb >> Bus 001 Device 034: ID 05ac:120a Apple, Inc. iPod Nano >> Bus 001 Device 027: ID 04a9:2206 Canon, Inc. CanoScan N650U/N656U >> Bus 001 Device 026: ID 058f:6390 Alcor Micro Corp. USB 2.0-IDE bridge >> Bus 001 Device 022: ID 0409:0058 NEC Corp. HighSpeed Hub >> Bus 001 Device 001: ID 0000:0000 >> Bus 005 Device 001: ID 0000:0000 >> Bus 004 Device 001: ID 0000:0000 >> Bus 003 Device 004: ID 0471:0311 Philips PCVC740K ToUcam Pro [pwc] >> Bus 003 Device 001: ID 0000:0000 >> Bus 002 Device 004: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse >> Bus 002 Device 001: ID 0000:0000 >> >> I do have usbdevfs in proc in my kernel: >> >> mws:/home/michael# mount >> cpq:/diskless/mws on / type nfs >> (rw,hard,intr,nolock,rsize=4096,wsize=4096,addr=192.168.0.1) >> tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) >> proc on /proc type proc (rw,noexec,nosuid,nodev) >> sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) >> procbususb on /proc/bus/usb type usbfs (rw) >> udev on /dev type tmpfs (rw,mode=0755) >> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) >> devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) >> tmpfs on /tmp type tmpfs (rw,size=1G) >> cpq:/home/diskless/tftp/kernels/src on /usr/src type nfs >> (rw,addr=192.168.0.1) >> cpq:/home/michael/.private/latex on /latex type nfs (rw,addr=192.168.0.1) >> cpq:/home/michael/.private/music on /nfs/music type nfs (rw,addr=192.168.0.1) >> /usr/src/linux-2.6.22.1 on /usr/src/linux type bind (rw,bind) >> mfs:/bigdaddy on /nfs/bigdaddy type nfs >> (rw,user=root,nosuid,nodev,addr=192.168.0.25) >> mfs:/torrents on /nfs/torrents type nfs >> (rw,user=root,nosuid,nodev,addr=192.168.0.25) >> mfs:/crypt/pictures on /nfs/pictures type nfs >> (rw,user=root,nosuid,nodev,addr=192.168.0.25) >> mfs:/crypt/scan on /nfs/scan type nfs >> (rw,user=root,nosuid,nodev,addr=192.168.0.25) >> cpq:/home/michael/.private on /nfs/private type nfs (rw,addr=192.168.0.1) >> >> mws:/home/michael# cat /proc/filesystems >> nodev ? sysfs >> nodev ? rootfs >> nodev ? bdev >> nodev ? proc >> nodev ? sockfs >> nodev ? usbfs >> nodev ? pipefs >> nodev ? anon_inodefs >> nodev ? futexfs >> nodev ? tmpfs >> nodev ? inotifyfs >> nodev ? devpts >> nodev ? ramfs >> nodev ? hugetlbfs >> ? ? ? ? msdos >> ? ? ? ? vfat >> ? ? ? ? iso9660 >> nodev ? nfs >> nodev ? autofs >> nodev ? mqueue >> nodev ? oprofilefs >> nodev ? rpc_pipefs >> >> >> Any idea what I am missing , I thought usb scanneres were using libusb >> nowadays >> ?so it should be autodetection ?:) >> >> Best Regards >> Michael Ole Olsen > > > >> -- >> sane-devel mailing list: sane-devel at lists.alioth.debian.org >> http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> Unsubscribe: Send mail with subject "unsubscribe your_password" >> ? ? ? ? ? ? ?to sane-devel-request at lists.alioth.debian.org > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQIcBAEBAgAGBQJKSOoFAAoJECXlragqp/ZIJY0P/1mEYzd5uiiFEDZjBF2439/f > 7DeMyweE4cyJMBk7tqAQM8Nf5djxHYoac8mIaWOYY4h2LzUiCKZR/4Lgcbw5oJdc > NP0uaP0MuTWadNUzrl6jh/7MwpSwrB/Bv+T5Qgk9VFvziwgqqQgd4K3Yc/Dig1j6 > 823+E6KX0evWeKKpFKQoNy9WPolTUONxmo5B7z/0G92PDpXE/fyMg4/dfeT/EB2C > mqPUhjM9AzjK02T+t7/Q1gpr+zlilr0IJQcCOu4FPVl5duO/InVKIOAg8Ecjcwe9 > EsF9DqVM1C4F/gTTvatJJB1kaiW0HD9+RFFTKSwHK+vc9aeV2I2TyFziw6hD+J3G > 9xSkMvupdtGHFlukhxlncw0apN6KbMLaJfVzhJXpY7gY2xHIM7NVzzUUdJuRWnxj > 3C3DS7ogTjUQaxNrf7KOeUvYXP0nD5Cx96g8s5Hp5Qx6omV+oU44kxJaes5mnSKe > cedg4VAZ7aLQdXeoMACqd1GuVC8oII7xWtROfLoXHJIm6L1fYpOCqcJoZ8soKqHd > oE1vKhg2IB0LAc0pk/DZiUcQDAL2RWVK5ftwWP1LSts2SMtTK/oIByfUeMq934Rl > aOV+8Nz9AmHwj+Ss9TUi1xIe27ffLEYi2cKPjsG7UFitvr/JVlzGsJHJXf5y1ViB > xfwu9ifm7RdruxSwnFKZ > =GYAR > -----END PGP SIGNATURE----- > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"