PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board

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

 



[1.] One line summary of the problem:
ch341 module fails on 4.1.1 kernel

[2.] Full description of the problem/report:
It's not possible to work with Arduino board after installing 4.1.1.
ch341 fails and does not create /dev/ttyUSB0 (or /dev/ttyACM0) entry.
On 3.18 and 4.0.0 all was ok.

[3.] Keywords: usb, serial, modules

[4.] Kernel version (from /proc/version):
Linux version 4.1.1-040101-generic (kernel@gomeisa) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5))

[5.] dmesg output:
[74788.109282] usb 1-3: new full-speed USB device number 65 using xhci_hcd
[74788.239496] usb 1-3: New USB device found, idVendor=1a86, idProduct=7523
[74788.239504] usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[74788.240147] ch341 1-3:1.0: ch341-uart converter detected
[74788.240625] ch341-uart: probe of ttyUSB0 failed with error -71
[79166.063535] usb 1-3: USB disconnect, device number 65
[79166.063746] ch341 1-3:1.0: device disconnected

[6.] lsusb output:
Bus 001 Device 067: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x1a86 QinHeng Electronics
  idProduct          0x7523 HL-340 USB-Serial adapter
  bcdDevice            2.54
  iManufacturer           0
  iProduct                2
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               96mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      1
      bInterfaceProtocol      2
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1


[7.] Environment

[7.1.] Software
Linux mech 4.1.1-040101-generic x86_64 x86_64 x86_64 GNU/Linux

Gnu C                  4.8
Gnu make               3.81
binutils               2.24
util-linux             2.20.1
mount                  support
module-init-tools      15
e2fsprogs              1.42.9
jfsutils               1.1.15
reiserfsprogs          3.6.24
xfsprogs               3.1.9
pcmciautils            018
PPP                    2.4.5
Linux C Library        2.19
Dynamic linker (ldd)   2.19
Procps                 3.3.9
Net-tools              1.60
Kbd                    1.15.5
Sh-utils               8.21
wireless-tools         30
Modules Loaded         ctr ccm bbswitch arc4 cmac asus_nb_wmi asus_wmi
mxm_wmi sparse_keymap intel_rapl iosf_mbi x86_pkg_temp_thermal
intel_powerclamp coretemp kvm_intel kvm dm_multipath scsi_dh
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel iwlmvm aesni_intel
mac80211 aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd
uvcvideo iwlwifi videobuf2_vmalloc videobuf2_memops joydev
videobuf2_core v4l2_common serio_raw cfg80211 videodev hid_multitouch
media snd_hda_codec_hdmi btusb lpc_ich btbcm btintel shpchp rfcomm
bnep snd_hda_codec_conexant snd_hda_codec_generic bluetooth
snd_soc_rt5640 snd_hda_intel snd_soc_rl6231 snd_soc_core
snd_hda_controller snd_hda_codec snd_hda_core snd_compress snd_hwdep
snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi
wmi i2c_hid snd_soc_sst_acpi dw_dmac dw_dmac_core
i2c_designware_platform 8250_dw i2c_designware_core snd_seq
int3402_thermal spi_pxa2xx_platform snd_seq_device snd_timer mei_me
int3400_thermal mei intel_smartconnect snd acpi_thermal_rel soundcore
binfmt_misc processor_thermal_device mac_hid int340x_thermal_zone
nls_iso8859_1 parport_pc ppdev lp parport dm_mirror dm_region_hash
dm_log hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper psmouse
drm ahci libahci video sdhci_acpi sdhci


[7.3.] Module information:
ch341 16384 0 - Live 0x0000000000000000
usbserial 49152 1 ch341, Live 0x0000000000000000
iwlmvm 307200 0 - Live 0x0000000000000000
iwlwifi 217088 1 iwlmvm, Live 0x0000000000000000
mac80211 786432 1 iwlmvm, Live 0x0000000000000000
cfg80211 589824 3 iwlmvm,iwlwifi,mac80211, Live 0x0000000000000000
ctr 16384 2 - Live 0x0000000000000000
ccm 20480 2 - Live 0x0000000000000000
bbswitch 16384 0 - Live 0x0000000000000000 (OE)
arc4 16384 2 - Live 0x0000000000000000
cmac 16384 0 - Live 0x0000000000000000
asus_nb_wmi 24576 0 - Live 0x0000000000000000
asus_wmi 28672 1 asus_nb_wmi, Live 0x0000000000000000
mxm_wmi 16384 0 - Live 0x0000000000000000
sparse_keymap 16384 1 asus_wmi, Live 0x0000000000000000
intel_rapl 20480 0 - Live 0x0000000000000000
iosf_mbi 16384 1 intel_rapl, Live 0x0000000000000000
x86_pkg_temp_thermal 16384 0 - Live 0x0000000000000000
intel_powerclamp 16384 0 - Live 0x0000000000000000
coretemp 16384 0 - Live 0x0000000000000000
kvm_intel 159744 0 - Live 0x0000000000000000
kvm 507904 1 kvm_intel, Live 0x0000000000000000
dm_multipath 24576 0 - Live 0x0000000000000000
scsi_dh 16384 1 dm_multipath, Live 0x0000000000000000
crct10dif_pclmul 16384 0 - Live 0x0000000000000000
crc32_pclmul 16384 0 - Live 0x0000000000000000
ghash_clmulni_intel 16384 0 - Live 0x0000000000000000
aesni_intel 172032 4591 - Live 0x0000000000000000
aes_x86_64 20480 1 aesni_intel, Live 0x0000000000000000
lrw 16384 1 aesni_intel, Live 0x0000000000000000
gf128mul 16384 1 lrw, Live 0x0000000000000000
glue_helper 16384 1 aesni_intel, Live 0x0000000000000000
ablk_helper 16384 1 aesni_intel, Live 0x0000000000000000
cryptd 24576 2296 ghash_clmulni_intel,aesni_intel,ablk_helper, Live
0x0000000000000000
uvcvideo 94208 0 - Live 0x0000000000000000
videobuf2_vmalloc 16384 1 uvcvideo, Live 0x0000000000000000
videobuf2_memops 16384 1 videobuf2_vmalloc, Live 0x0000000000000000
joydev 20480 0 - Live 0x0000000000000000
videobuf2_core 53248 1 uvcvideo, Live 0x0000000000000000
v4l2_common 16384 1 videobuf2_core, Live 0x0000000000000000
serio_raw 16384 0 - Live 0x0000000000000000
videodev 172032 3 uvcvideo,videobuf2_core,v4l2_common, Live 0x0000000000000000
hid_multitouch 20480 0 - Live 0x0000000000000000
media 24576 2 uvcvideo,videodev, Live 0x0000000000000000
snd_hda_codec_hdmi 53248 1 - Live 0x0000000000000000
btusb 49152 0 - Live 0x0000000000000000
lpc_ich 24576 0 - Live 0x0000000000000000
btbcm 16384 1 btusb, Live 0x0000000000000000
btintel 16384 1 btusb, Live 0x0000000000000000
shpchp 40960 0 - Live 0x0000000000000000
rfcomm 77824 8 - Live 0x0000000000000000
bnep 24576 2 - Live 0x0000000000000000
snd_hda_codec_conexant 24576 1 - Live 0x0000000000000000
snd_hda_codec_generic 77824 1 snd_hda_codec_conexant, Live 0x0000000000000000
bluetooth 540672 24 btusb,btbcm,btintel,rfcomm,bnep, Live 0x0000000000000000
snd_soc_rt5640 94208 0 - Live 0x0000000000000000
snd_hda_intel 32768 5 - Live 0x0000000000000000
snd_soc_rl6231 16384 1 snd_soc_rt5640, Live 0x0000000000000000
snd_soc_core 204800 1 snd_soc_rt5640, Live 0x0000000000000000
snd_hda_controller 36864 1 snd_hda_intel, Live 0x0000000000000000
snd_hda_codec 122880 5
snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,
Live 0x0000000000000000
snd_hda_core 36864 5
snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_controller,snd_hda_codec,
Live 0x0000000000000000
snd_compress 20480 1 snd_soc_core, Live 0x0000000000000000
snd_hwdep 16384 1 snd_hda_codec, Live 0x0000000000000000
snd_pcm_dmaengine 16384 1 snd_soc_core, Live 0x0000000000000000
snd_pcm 110592 7
snd_hda_codec_hdmi,snd_soc_rt5640,snd_hda_intel,snd_soc_core,snd_hda_controller,snd_hda_codec,snd_pcm_dmaengine,
Live 0x0000000000000000
snd_seq_midi 16384 0 - Live 0x0000000000000000
snd_seq_midi_event 16384 1 snd_seq_midi, Live 0x0000000000000000
snd_rawmidi 32768 1 snd_seq_midi, Live 0x0000000000000000
wmi 20480 2 asus_wmi,mxm_wmi, Live 0x0000000000000000
i2c_hid 20480 0 - Live 0x0000000000000000
snd_soc_sst_acpi 16384 0 - Live 0x0000000000000000
dw_dmac 16384 0 - Live 0x0000000000000000
dw_dmac_core 32768 1 dw_dmac, Live 0x0000000000000000
i2c_designware_platform 16384 0 - Live 0x0000000000000000
8250_dw 16384 0 - Live 0x0000000000000000
i2c_designware_core 16384 1 i2c_designware_platform, Live 0x0000000000000000
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event, Live 0x0000000000000000
int3402_thermal 16384 0 - Live 0x0000000000000000
spi_pxa2xx_platform 24576 0 - Live 0x0000000000000000
snd_seq_device 16384 3 snd_seq_midi,snd_rawmidi,snd_seq, Live 0x0000000000000000
snd_timer 32768 2 snd_pcm,snd_seq, Live 0x0000000000000000
mei_me 24576 0 - Live 0x0000000000000000
int3400_thermal 16384 0 - Live 0x0000000000000000
mei 94208 1 mei_me, Live 0x0000000000000000
intel_smartconnect 16384 0 - Live 0x0000000000000000
snd 86016 23 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_soc_core,snd_hda_codec,snd_compress,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_seq_device,snd_timer,
Live 0x0000000000000000
acpi_thermal_rel 16384 1 int3400_thermal, Live 0x0000000000000000
soundcore 16384 1 snd, Live 0x0000000000000000
binfmt_misc 20480 1 - Live 0x0000000000000000
processor_thermal_device 16384 0 - Live 0x0000000000000000
mac_hid 16384 0 - Live 0x0000000000000000
int340x_thermal_zone 16384 2 int3402_thermal,processor_thermal_device,
Live 0x0000000000000000
nls_iso8859_1 16384 1 - Live 0x0000000000000000
parport_pc 36864 0 - Live 0x0000000000000000
ppdev 20480 0 - Live 0x0000000000000000
lp 20480 0 - Live 0x0000000000000000
parport 45056 3 parport_pc,ppdev,lp, Live 0x0000000000000000
dm_mirror 24576 0 - Live 0x0000000000000000
dm_region_hash 24576 1 dm_mirror, Live 0x0000000000000000
dm_log 20480 2 dm_mirror,dm_region_hash, Live 0x0000000000000000
hid_generic 16384 0 - Live 0x0000000000000000
usbhid 53248 0 - Live 0x0000000000000000
hid 122880 4 hid_multitouch,i2c_hid,hid_generic,usbhid, Live 0x0000000000000000
i915 1146880 5 - Live 0x0000000000000000
i2c_algo_bit 16384 1 i915, Live 0x0000000000000000
drm_kms_helper 126976 1 i915, Live 0x0000000000000000
psmouse 135168 0 - Live 0x0000000000000000
drm 352256 6 i915,drm_kms_helper, Live 0x0000000000000000
ahci 36864 3 - Live 0x0000000000000000
libahci 32768 1 ahci, Live 0x0000000000000000
video 28672 2 asus_wmi,i915, Live 0x0000000000000000
sdhci_acpi 16384 0 - Live 0x0000000000000000
sdhci 45056 1 sdhci_acpi, Live 0x0000000000000000

[7.4.] Loaded driver and hardware information

/proc/ioports
0000-0cf7 : PCI Bus 0000:00
  0000-001f : dma1
  0020-0021 : pic1
  0040-0043 : timer0
  0050-0053 : timer1
  0060-0060 : keyboard
  0062-0062 : PNP0C09:00
    0062-0062 : EC data
  0064-0064 : keyboard
  0066-0066 : PNP0C09:00
    0066-0066 : EC cmd
  0070-0077 : rtc0
  0080-008f : dma page reg
  00a0-00a1 : pic2
  00c0-00df : dma2
  00f0-00ff : fpu
  0240-0259 : pnp 00:05
  04d0-04d1 : pnp 00:04
  0680-069f : pnp 00:01
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
  164e-164f : pnp 00:01
  1800-1803 : ACPI PM1a_EVT_BLK
  1804-1805 : ACPI PM1a_CNT_BLK
  1808-180b : ACPI PM_TMR
  1810-1815 : ACPI CPU throttle
  1830-1833 : iTCO_wdt
  1850-1850 : ACPI PM2_CNT_BLK
  1854-1857 : pnp 00:03
  1860-187f : iTCO_wdt
  1880-189f : ACPI GPE0_BLK
  1c00-1cfe : pnp 00:01
  1d00-1dfe : pnp 00:01
  1e00-1efe : pnp 00:01
  1f00-1ffe : pnp 00:01
  2000-2fff : PCI Bus 0000:01
  3000-3fff : PCI Bus 0000:02
  e000-efff : PCI Bus 0000:03
    e000-e07f : 0000:03:00.0
  f000-f03f : 0000:00:02.0
  f040-f05f : 0000:00:1f.3
  f060-f07f : 0000:00:1f.2
    f060-f07f : ahci
  f080-f083 : 0000:00:1f.2
    f080-f083 : ahci
  f090-f097 : 0000:00:1f.2
    f090-f097 : ahci
  f0a0-f0a3 : 0000:00:1f.2
    f0a0-f0a3 : ahci
  f0b0-f0b7 : 0000:00:1f.2
    f0b0-f0b7 : ahci
  ffff-ffff : pnp 00:01
    ffff-ffff : pnp 00:01
      ffff-ffff : pnp 00:01

/proc/iomem
00000000-00000fff : reserved
00001000-00057fff : System RAM
00058000-00058fff : reserved
00059000-0009dfff : System RAM
0009e000-0009ffff : reserved
000a0000-000bffff : PCI Bus 0000:00
000c0000-000c3fff : PCI Bus 0000:00
000c4000-000c7fff : PCI Bus 0000:00
000c8000-000cbfff : PCI Bus 0000:00
000cc000-000cffff : PCI Bus 0000:00
000d0000-000d3fff : PCI Bus 0000:00
000d4000-000d7fff : PCI Bus 0000:00
000d8000-000dbfff : PCI Bus 0000:00
000dc000-000dffff : PCI Bus 0000:00
000f0000-000fffff : System ROM
00100000-c5dfefff : System RAM
  02000000-0281259c : Kernel code
  0281259d-02f34eff : Kernel data
  030a6000-031e8fff : Kernel bss
c5dff000-c5e05fff : ACPI Non-volatile Storage
c5e06000-c66a8fff : System RAM
c66a9000-c693dfff : reserved
c693e000-ca061fff : System RAM
ca062000-ca261fff : reserved
ca262000-ca3fbfff : System RAM
ca3fc000-cab0afff : ACPI Non-volatile Storage
cab0b000-caf4ffff : reserved
caf50000-caffefff : reserved
cafff000-caffffff : System RAM
cb000000-cbbfffff : RAM buffer
cbc00000-cfdfffff : reserved
  cbe00000-cfdfffff : Graphics Stolen Memory
cfe00000-feafffff : PCI Bus 0000:00
  cfe00000-cfffffff : PCI Bus 0000:01
  d0000000-dfffffff : 0000:00:02.0
  e0000000-f1ffffff : PCI Bus 0000:03
    e0000000-efffffff : 0000:03:00.0
    f0000000-f1ffffff : 0000:03:00.0
  f2000000-f21fffff : PCI Bus 0000:01
  f2200000-f23fffff : PCI Bus 0000:02
  f6000000-f70fffff : PCI Bus 0000:03
    f6000000-f6ffffff : 0000:03:00.0
    f7000000-f707ffff : 0000:03:00.0
  f7400000-f77fffff : 0000:00:02.0
  f7800000-f78fffff : PCI Bus 0000:02
    f7800000-f7801fff : 0000:02:00.0
      f7800000-f7801fff : iwlwifi
  f7900000-f790ffff : 0000:00:14.0
    f7900000-f790ffff : xhci-hcd
  f7910000-f7917fff : 0000:00:04.0
  f7918000-f791bfff : 0000:00:1b.0
    f7918000-f791bfff : ICH HD audio
  f791c000-f791ffff : 0000:00:03.0
    f791c000-f791ffff : ICH HD audio
  f7920000-f7920fff : 0000:00:1f.6
  f7921000-f79210ff : 0000:00:1f.3
  f7922000-f79227ff : 0000:00:1f.2
    f7922000-f79227ff : ahci
  f7924000-f792401f : 0000:00:16.0
    f7924000-f792401f : mei_me
  f7fdf000-f7fdffff : pnp 00:09
  f7fe0000-f7feffff : pnp 00:09
  f8000000-fbffffff : PCI MMCONFIG 0000 [bus 00-3f]
    f8000000-fbffffff : reserved
      f8000000-fbffffff : pnp 00:09
fec00000-fec00fff : reserved
  fec00000-fec003ff : IOAPIC 0
fed00000-fed03fff : reserved
  fed00000-fed003ff : HPET 0
    fed00000-fed003ff : PNP0103:00
fed10000-fed17fff : pnp 00:09
fed18000-fed18fff : pnp 00:09
fed19000-fed19fff : pnp 00:09
fed1c000-fed1ffff : reserved
  fed1c000-fed1ffff : pnp 00:09
    fed1f410-fed1f414 : iTCO_wdt
fed20000-fed3ffff : pnp 00:09
fed40000-fed44fff : pnp 00:00
fed45000-fed8ffff : pnp 00:09
fed90000-fed93fff : pnp 00:09
fee00000-fee00fff : Local APIC
  fee00000-fee00fff : reserved
ff000000-ffffffff : reserved
  ff000000-ffffffff : INT0800:00
    ff000000-ffffffff : pnp 00:09
100000000-32f1fffff : System RAM
32f200000-32fffffff : RAM buffer
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux