xHCI communication problem between VIA 3483 USB 3.0 host controller and Fujitsu ScanSnap ix500

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(I already posted this bug report here: https://bugzilla.kernel.org/show_bug.cgi?id=99561)

The communication between an USB 3.0 controller (VIA 3483 chip) and a USB 3.0 scanner Fujitsu ScanSnap ix500 scanner is very unreliable.

The device could be used only once. After one command/action the scanner device seems to be dead. If the scanner device is powered On and Off, it works again for one action.

The scanner runs fine on Linux with other USB 3.0 controllers and on Windows 8.1 will all tested USB 3.0 controllers. The scanner also runs on USB 2.0 controllers.

I tested with sane-backends stable (1.0.24) and with sane-backends (GIT snapshot from 2015-06-07). The bug shows up on both versions.

There is a known unsolved USB 3.0 problem for SANE driven scanners:
https://wiki.archlinux.org/index.php/Sane#USB_3.0

This is my test setup:
1) Connect Scanner on USB 3.0 port
2) Type a scanimage command. "scanimage -L" finds attached scanners:
   $ scanimage -L
   device `fujitsu:ScanSnap iX500:102569' is a FUJITSU ScanSnap iX500 scanner
3) Type the scanimage command again:
   $ scanimage -L

   No scanners were identified. If you were expecting something different,
   check that the scanner is plugged in, turned on and detected by the
   sane-find-scanner tool (if appropriate). Please read the documentation
   which came with this software (README, FAQ, manpages).

I attach some log files. I switched on xHCI debugging with
echo -n 'module xhci_hcd =p' > /sys/kernel/debug/dynamic_debug/control

This bug may be related: https://bugzilla.kernel.org/show_bug.cgi?id=76991

Attachments
dmesg output with "xhci" debugging enabled after calling "scanimage -L" twice
dmesg-after-2-scanimage-cmds.txt.bz2

The output of "lsusb -v"
lsusb-v.txt.bz2

Kernel 4.0.5 configuration
config-4.0.5.txt.bz2

Output of "lspci -vvv"
lspci-vvv.txt.bz2

Contents of /proc/modules
modules-4.0.5.txt

Content of /proc/cpuinfo
cpuinfo.txt

Attachment: dmesg-after-2-scanimage-cmds.txt.bz2
Description: application/bzip

Attachment: lsusb-v.txt.bz2
Description: application/bzip

Attachment: config-4.0.5.txt.bz2
Description: application/bzip

Attachment: lspci-vvv.txt.bz2
Description: application/bzip

bnep 20480 2 - Live 0x0000000000000000
bluetooth 417792 5 bnep, Live 0x0000000000000000
rfkill 20480 2 bluetooth, Live 0x0000000000000000
fuse 86016 3 - Live 0x0000000000000000
xt_CHECKSUM 16384 1 - Live 0x0000000000000000
iptable_mangle 16384 1 - Live 0x0000000000000000
ipt_REJECT 16384 2 - Live 0x0000000000000000
xt_tcpudp 16384 6 - Live 0x0000000000000000
iptable_filter 16384 1 - Live 0x0000000000000000
ip_tables 28672 2 iptable_mangle,iptable_filter, Live 0x0000000000000000
x_tables 28672 6 xt_CHECKSUM,iptable_mangle,ipt_REJECT,xt_tcpudp,iptable_filter,ip_tables, Live 0x0000000000000000
tun 28672 1 - Live 0x0000000000000000
nvidia_uvm 65536 0 - Live 0x0000000000000000 (PO)
rc_dib0700_rc5 16384 0 - Live 0x0000000000000000
bridge 102400 0 - Live 0x0000000000000000
stp 16384 1 bridge, Live 0x0000000000000000
llc 16384 2 bridge,stp, Live 0x0000000000000000
dib7000p 36864 1 - Live 0x0000000000000000
iscsi_ibft 16384 0 - Live 0x0000000000000000
iscsi_boot_sysfs 16384 1 iscsi_ibft, Live 0x0000000000000000
dvb_usb_dib0700 143360 1 - Live 0x0000000000000000
dib7000m 24576 1 dvb_usb_dib0700, Live 0x0000000000000000
dib0090 36864 1 dvb_usb_dib0700, Live 0x0000000000000000
dib0070 20480 2 dvb_usb_dib0700, Live 0x0000000000000000
dib3000mc 24576 1 dvb_usb_dib0700, Live 0x0000000000000000
dibx000_common 20480 4 dib7000p,dvb_usb_dib0700,dib7000m,dib3000mc, Live 0x0000000000000000
dvb_usb 24576 1 dvb_usb_dib0700, Live 0x0000000000000000
dvb_core 102400 2 dib7000p,dvb_usb, Live 0x0000000000000000
rc_core 24576 4 rc_dib0700_rc5,dvb_usb_dib0700,dvb_usb, Live 0x0000000000000000
af_packet 36864 0 - Live 0x0000000000000000
w83627ehf 40960 0 - Live 0x0000000000000000
hwmon_vid 16384 1 w83627ehf, Live 0x0000000000000000
nls_iso8859_1 16384 1 - Live 0x0000000000000000
nls_cp437 20480 1 - Live 0x0000000000000000
vfat 20480 1 - Live 0x0000000000000000
fat 65536 1 vfat, Live 0x0000000000000000
snd_hda_codec_realtek 65536 1 - Live 0x0000000000000000
snd_hda_codec_generic 65536 2 snd_hda_codec_realtek, Live 0x0000000000000000
iTCO_wdt 16384 0 - Live 0x0000000000000000
iTCO_vendor_support 16384 1 iTCO_wdt, Live 0x0000000000000000
gpio_ich 16384 0 - Live 0x0000000000000000
ppdev 20480 0 - Live 0x0000000000000000
nvidia 8339456 47 nvidia_uvm, Live 0x0000000000000000 (PO)
coretemp 16384 0 - Live 0x0000000000000000
kvm_intel 151552 0 - Live 0x0000000000000000
kvm 421888 1 kvm_intel, Live 0x0000000000000000
crc32c_intel 24576 0 - Live 0x0000000000000000
i7core_edac 24576 0 - Live 0x0000000000000000
snd_hda_intel 28672 3 - Live 0x0000000000000000
snd_hda_controller 28672 1 snd_hda_intel, Live 0x0000000000000000
pcspkr 16384 0 - Live 0x0000000000000000
snd_hda_codec 110592 4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller, Live 0x0000000000000000
edac_core 45056 2 i7core_edac, Live 0x0000000000000000
snd_hwdep 16384 1 snd_hda_codec, Live 0x0000000000000000
snd_pcm_oss 49152 0 - Live 0x0000000000000000
i2c_i801 24576 0 - Live 0x0000000000000000
lpc_ich 24576 0 - Live 0x0000000000000000
mfd_core 16384 1 lpc_ich, Live 0x0000000000000000
joydev 20480 0 - Live 0x0000000000000000
snd_pcm 98304 4 snd_hda_intel,snd_hda_controller,snd_hda_codec,snd_pcm_oss, Live 0x0000000000000000
xhci_pci 16384 0 - Live 0x0000000000000000
xhci_hcd 151552 1 xhci_pci,[permanent], Live 0x0000000000000000
snd_seq 61440 0 - Live 0x0000000000000000
snd_seq_device 16384 1 snd_seq, Live 0x0000000000000000
snd_timer 28672 2 snd_pcm,snd_seq, Live 0x0000000000000000
snd_mixer_oss 24576 1 snd_pcm_oss, Live 0x0000000000000000
snd 69632 17 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_pcm,snd_seq,snd_seq_device,snd_timer,snd_mixer_oss, Live 0x0000000000000000
e1000e 208896 0 - Live 0x0000000000000000
ptp 20480 1 e1000e, Live 0x0000000000000000
pps_core 20480 1 ptp, Live 0x0000000000000000
mei_me 20480 0 - Live 0x0000000000000000
mei 77824 1 mei_me, Live 0x0000000000000000
soundcore 16384 2 snd_hda_codec,snd, Live 0x0000000000000000
drm 274432 3 nvidia, Live 0x0000000000000000
shpchp 32768 0 - Live 0x0000000000000000
acpi_cpufreq 20480 1 - Live 0x0000000000000000
8250_fintek 16384 0 - Live 0x0000000000000000
parport_pc 36864 0 - Live 0x0000000000000000
parport 36864 2 ppdev,parport_pc, Live 0x0000000000000000
processor 32768 1 acpi_cpufreq, Live 0x0000000000000000
ecryptfs 90112 0 - Live 0x0000000000000000
cbc 16384 0 - Live 0x0000000000000000
encrypted_keys 20480 1 ecryptfs, Live 0x0000000000000000
dm_mod 94208 0 - Live 0x0000000000000000
efivarfs 16384 1 - Live 0x0000000000000000
sr_mod 24576 0 - Live 0x0000000000000000
cdrom 49152 1 sr_mod, Live 0x0000000000000000
ata_generic 16384 0 - Live 0x0000000000000000
video 24576 0 - Live 0x0000000000000000
button 16384 0 - Live 0x0000000000000000
sg 36864 0 - Live 0x0000000000000000
trusted 20480 1 encrypted_keys, Live 0x0000000000000000
tpm 32768 1 trusted, Live 0x0000000000000000
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
stepping	: 5
microcode	: 0x7
cpu MHz		: 1729.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bugs		:
bogomips	: 5321.20
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
stepping	: 5
microcode	: 0x7
cpu MHz		: 1197.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 4
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bugs		:
bogomips	: 5321.20
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
stepping	: 5
microcode	: 0x7
cpu MHz		: 1197.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 2
cpu cores	: 4
apicid		: 4
initial apicid	: 4
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bugs		:
bogomips	: 5321.20
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 30
model name	: Intel(R) Core(TM) i5 CPU         750  @ 2.67GHz
stepping	: 5
microcode	: 0x7
cpu MHz		: 1729.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bugs		:
bogomips	: 5321.20
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux