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

Re: USB3 work only one time on Debian 8 stable



SOLVED

This problem seems to be with usbcore or xhci modules.

The porwer/control is "auto" by default. I change this configuration to
'on' only on USB3 port doing:

echo 'on' | sudo tee /sys/bus/usb/devices/usb1/power/control

and no more problem.

To keep this change reboot persistent I needed to change laptop-mode
configuration. I update AUTOSUSPEND_TIMEOUT in
'/etc/laptop-mode/conf.d/runtime-pm.conf' to:

AUTOSUSPEND_TIMEOUT=-1

But, all my USB port has this configuration updates (I'd only USB3 port
because USB2 was working normally). This is the solution that I found.

Best regards

Mario


On 18/10/16 11:45, Mario Jose Marques wrote:
> To complement my problem, I boot Debian Live on USB2 (on USB3 port do
> not stated) and I do not have problem to plug, unplug and plug again
> devices on USB3. I read/write memory stick on USB3 without problem.
> Using Windows installation, I do not have problem to copy file from
> external hd on USB3 port. Then, I think it is not a hardware problem.
> 
> It was working on my new installation, but stopped to work.
> 
> I tried put "usbcore.autosuspend=-1" and "acpi=force irqpoll" on GRUB
> like this link:
> 
> http://askubuntu.com/questions/526082/2-usb-ports-stopped-working
> 
> but not work too.
> 
> Best regards!
> 
> Mario
> 
> 
> On 17/10/16 11:57, Mario Jose Marques wrote:
>> Hi all!
>>
>> I was using Debian Wheezy until a month ago. I just installed new
>> release Jessie (new install) and I'm with problem with USB3 port.
>>
>> I have a laptop Dell Vostro V131 with 1 port USB2 and 2 port USB3. When
>> I connect any device on USB3 port (storage or mouse, for instance), it
>> works only one time. If I disconnect and connect again, it does not work
>> more until I restart the system. But USB2 port works without problem (I
>> can plug and unplug device many time I want and the system recognize it).
>>
>> At first time I connect memory stick, for instance, I can fount it in
>> /dev. But if I disconnect and connect again, is not shown in /dev.
>>
>> Follow is my configuration and what happens when I connect and
>> disconnect device from USB3 port:
>>
>> uname -a
>> Linux 7zero 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u1 (2016-09-03)
>> x86_64 GNU/Linux
>>
>> lspci
>> 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor
>> Family DRAM Controller (rev 09)
>> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
>> Processor Family Integrated Graphics Controller (rev 09)
>> 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series
>> Chipset Family MEI Controller #1 (rev 04)
>> 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family USB Enhanced Host Controller #2 (rev 05)
>> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
>> Family High Definition Audio Controller (rev 05)
>> 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family PCI Express Root Port 1 (rev b5)
>> 00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family PCI Express Root Port 2 (rev b5)
>> 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family PCI Express Root Port 4 (rev b5)
>> 00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family PCI Express Root Port 5 (rev b5)
>> 00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset
>> Family PCI Express Root Port 8 (rev b5)
>> 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family USB Enhanced Host Controller #1 (rev 05)
>> 00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC
>> Controller (rev 05)
>> 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset
>> Family 6 port SATA AHCI Controller (rev 05)
>> 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
>> SMBus Controller (rev 05)
>> 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
>> 09:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030
>> [Rainbow Peak] (rev 34)
>> 0b:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0
>> xHCI Host Controller (rev 02)
>>
>> dmesg | grep usb
>> [    1.284604] usbcore: registered new interface driver usbfs
>> [    1.284617] usbcore: registered new interface driver hub
>> [    1.286770] usbcore: registered new device driver usb
>> [    1.308559] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
>> [    1.308562] usb usb1: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=1
>> [    1.308564] usb usb1: Product: xHCI Host Controller
>> [    1.308566] usb usb1: Manufacturer: Linux 3.16.0-4-amd64 xhci_hcd
>> [    1.308569] usb usb1: SerialNumber: 0000:0b:00.0
>> [    1.309244] usb usb2: We don't know the algorithms for LPM for this
>> host, disabling LPM.
>> [    1.309274] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
>> [    1.309277] usb usb2: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=1
>> [    1.309279] usb usb2: Product: xHCI Host Controller
>> [    1.309281] usb usb2: Manufacturer: Linux 3.16.0-4-amd64 xhci_hcd
>> [    1.309283] usb usb2: SerialNumber: 0000:0b:00.0
>> [    1.435312] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
>> [    1.435316] usb usb3: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=1
>> [    1.435318] usb usb3: Product: EHCI Host Controller
>> [    1.435320] usb usb3: Manufacturer: Linux 3.16.0-4-amd64 ehci_hcd
>> [    1.435322] usb usb3: SerialNumber: 0000:00:1a.0
>> [    1.451092] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
>> [    1.451095] usb usb4: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=1
>> [    1.451097] usb usb4: Product: EHCI Host Controller
>> [    1.451099] usb usb4: Manufacturer: Linux 3.16.0-4-amd64 ehci_hcd
>> [    1.451100] usb usb4: SerialNumber: 0000:00:1d.0
>> [    1.867462] usb 4-1: new high-speed USB device number 2 using ehci-pci
>> [    2.000309] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
>> [    2.000313] usb 4-1: New USB device strings: Mfr=0, Product=0,
>> SerialNumber=0
>> [    2.111612] usb 3-1: new high-speed USB device number 2 using ehci-pci
>> [    2.244191] usb 3-1: New USB device found, idVendor=8087, idProduct=0024
>> [    2.244195] usb 3-1: New USB device strings: Mfr=0, Product=0,
>> SerialNumber=0
>> [    2.315892] usb 4-1.2: new full-speed USB device number 3 using ehci-pci
>> [    2.411922] usb 4-1.2: New USB device found, idVendor=046d,
>> idProduct=c52f
>> [    2.411927] usb 4-1.2: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=0
>> [    2.411930] usb 4-1.2: Product: USB Receiver
>> [    2.411932] usb 4-1.2: Manufacturer: Logitech
>> [    2.438921] usbcore: registered new interface driver usbhid
>> [    2.438922] usbhid: USB HID core driver
>> [    2.446339] input: Logitech USB Receiver as
>> /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.0/0003:046D:C52F.0001/input/input13
>> [    2.446943] hid-generic 0003:046D:C52F.0001: input,hidraw0: USB HID
>> v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input0
>> [    2.447851] input: Logitech USB Receiver as
>> /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.1/0003:046D:C52F.0002/input/input14
>> [    2.451468] hid-generic 0003:046D:C52F.0002: input,hiddev0,hidraw1:
>> USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-1.2/input1
>> [    2.483913] usb 4-1.3: new full-speed USB device number 4 using ehci-pci
>> [    2.580912] usb 4-1.3: New USB device found, idVendor=138a,
>> idProduct=0011
>> [    2.580915] usb 4-1.3: New USB device strings: Mfr=0, Product=0,
>> SerialNumber=1
>> [    2.580917] usb 4-1.3: SerialNumber: a1243e1563e0
>> [    2.652062] usb 3-1.4: new full-speed USB device number 3 using ehci-pci
>> [    2.748562] usb 3-1.4: New USB device found, idVendor=8086,
>> idProduct=0189
>> [    2.748567] usb 3-1.4: New USB device strings: Mfr=0, Product=0,
>> SerialNumber=0
>> [    2.820203] usb 3-1.5: new high-speed USB device number 4 using ehci-pci
>> [    2.887572] usbcore: registered new interface driver btusb
>> [    2.967515] usb 3-1.5: New USB device found, idVendor=0c45,
>> idProduct=6483
>> [    2.967527] usb 3-1.5: New USB device strings: Mfr=2, Product=1,
>> SerialNumber=0
>> [    2.967533] usb 3-1.5: Product: Laptop_Integrated_Webcam_HD
>> [    2.967538] usb 3-1.5: Manufacturer: CNFA151H491030004Q52
>> [    3.253647] input: Laptop_Integrated_Webcam_HD as
>> /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/input/input16
>> [    3.253780] usbcore: registered new interface driver uvcvideo
>>
>> When I connect a memory stick I have (only new output of dmesg):
>>
>> dmesg
>> [ 1543.233770] scsi 6:0:0:0: Direct-Access     SanDisk  Cruzer Blade
>> 1.20 PQ: 0 ANSI: 5
>> [ 1543.234593] sd 6:0:0:0: Attached scsi generic sg1 type 0
>> [ 1543.236394] sd 6:0:0:0: [sdb] 31266816 512-byte logical blocks: (16.0
>> GB/14.9 GiB)
>> [ 1543.238095] sd 6:0:0:0: [sdb] Write Protect is off
>> [ 1543.238110] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
>> [ 1543.238454] sd 6:0:0:0: [sdb] Write cache: disabled, read cache:
>> enabled, doesn't support DPO or FUA
>> [ 1543.247090]  sdb: sdb1
>> [ 1543.249617] sd 6:0:0:0: [sdb] Attached SCSI removable disk
>>
>> lsblk
>> NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
>> sda      8:0    0 232.9G  0 disk
>> ├─sda1   8:1    0  41.9G  0 part /
>> ├─sda2   8:2    0 183.6G  0 part /home
>> └─sda3   8:3    0   7.4G  0 part [SWAP]
>> sdb      8:16   1  14.9G  0 disk
>> └─sdb1   8:17   1  14.9G  0 part
>>
>> When I disconnect:
>>
>> dmesg
>> [ 1689.685414] usb 1-1: USB disconnect, device number 2
>>
>> And when I reconnect, not happens until I restart laptop!
>>
>> Anyone had this problem or can help me?
>>
>> All the best,
>>
>> Mario
>>
> 


Reply to: