USB 3 stopped working

Please post any bugs you have found
Post Reply
Message
Author
User avatar
James186282
Posts: 270
Joined: Tue 08 Sep 2009, 19:14
Location: Minnesota

USB 3 stopped working

#1 Post by James186282 »

I've been a huge fan of this distro and have everyone in the family using it without any glitches that I can recall.. I changed kernels in the 64 bit version some time ago so that some source code I wanted to compile would run. Somewhere in there I think (It might not be connected) usb 3 stopped working. I assumed hardware failure of the PCI usb card (An EBAY purchase) but I took the machine apart and confirmed it was actually seated properly and putzed with dmesg. It seems to be having driver issues so I found a .pet with the xhci driver and to my amazment worked. Then I turned the machine off and on and... Not working again.

I noticed one thing that maybe a bug in dmesg. The USB 1 and USB 2 drivers load out of order or at least it seems to be saying that. Its just a warning message but I wonder if that is part of the problem.

What would be a good direction to go? I can dig around for the xhci source and try compiling it and test it with modprobe etc but maybe I really should be changing kernels back or to a newer one.

I seriously use the machine for work so the least wacky idea would be my favorite. Belated thanks to the author! Its been rock solid and makes my dual core AMD seem like a supercomputer to me. Thanks to anyone who can guide me a little on what next to try.

- J
Science is what we understand well enough to explain to a computer.
Art is everything else we do.
[i]Donald Knuth [/i]

wyzguy
Posts: 37
Joined: Sun 14 Oct 2012, 01:20

usb 3 devices

#2 Post by wyzguy »

James...,

Google: "wikipedia" "xhci"
The first google entry starts with "Extensible host controller..."
That link says that xhci replaces ohci, uhci, and ehci.
I think you have to remove (blacklist?) those 3, and then use xhci.

You forgot to say exactly which puppy distro you are using.
If you are not sure, at the command line do "uname -a" without the quotes.

You may also want to update your pci.ids and usb.ids files. They are findable
on the 'net and the main developers here know how to do get them.

wyzguy

User avatar
James186282
Posts: 270
Joined: Tue 08 Sep 2009, 19:14
Location: Minnesota

#3 Post by James186282 »

The problem is I don't have an xhci module that works properly. Blacklisting the usb drivers that work would then leave me with no I/O which of course would be no fun. I really want to avoid digging up the source and compiling it and adding it with modprobe etc. I hear Phill has a new test version of Tahr so I might just burn a CD version and see what it does with USB 3 I'm ptrtty sure the 32 bit version works with usb 3 but that might be an older version of thar.

I'm curious about the last part you mentioned. I have to admit I'm not familiar but I'll do some web searches. Sorry to not list any details. The system is Tahr 6.05 64bit and I'm using a slightly newer kernel 3.14.54 Which for the life of me I can't remember why I needed. Some program I was compiling which I probably don't use ;-) Its been rock solid for so long that I assumed everything else before I dug into what Dmesg was saying.

Just went to read up on xhci. Jesus help us they published a 500 page "book" to explain it. I'm guessing this was the result of having 720 people write this phone book. It looks like the tech "riting" biz still needs to find some talent.
Science is what we understand well enough to explain to a computer.
Art is everything else we do.
[i]Donald Knuth [/i]

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

Run a file system check on the device Puppy is installed on.
Just to make sure nothing is wrong with the file system.
That can keep files from being read properly and getting loaded correctly.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

augras
Posts: 1487
Joined: Mon 11 Nov 2013, 17:37
Location: france

#5 Post by augras »

Hello,
i have opened a similar thread in the french section few days ago : http://murga-linux.com/puppy/viewtopic.php?t=109236.
I use tahrpup6.05 32bits nopae and i have tested on the last testing version but it's the same thing... and it's the same thing on all the puppies i have tried : it just works fine on the last fatdog.
The problem for me is a little bit different : some usb3 devices work fine without probem but some others not at all ! They are correctly detected but nothing happens ! No icon
on the desktop and nothing in Pmount !
The devices work fine in cubuntu (trusty) and fatdog. I test on 2 notebooks and on each usb port. One has usb3 ports and the other one just usb2, but same thing on twice.
A lexar flash key 64 Go and a Lacie 500Go external disk are in cause. I have 2 others Lacie external hard disk usb3 but 1To and they work fine.
Command lsusb, lsusb -t and lsmod :

Code: Select all

root# lsusb
Bus 002 Device 003: ID 059f:1051 LaCie, Ltd Rugged Mini USB 3
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 046d:c05b Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse]
Bus 001 Device 003: ID 17ef:1005 Lenovo 
Bus 001 Device 007: ID 05dc:a838 Lexar Media, Inc. 
Bus 001 Device 005: ID 059f:106b LaCie, Ltd 
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
        |__ Port 1: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 2: Dev 7, If 0, Class=Mass Storage, Driver=usb-storage, 480M
        |__ Port 5: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
root# lsmod
Module                  Size  Used by
fan                     1496  0 
joydev                  5936  0 
snd_hda_codec_hdmi     23845  1 
snd_hda_codec_conexant    24340  1 
snd_hda_codec_generic    28868  1 snd_hda_codec_conexant
psmouse                56825  0 
snd_pcsp                4241  0 
rtl8192se              41528  0 
rtl_pci                10360  1 rtl8192se
rtlwifi                29460  2 rtl_pci,rtl8192se
mac80211              181284  3 rtl_pci,rtlwifi,rtl8192se
cfg80211              133384  2 mac80211,rtlwifi
intel_ips               7297  0 
i2c_i801                6904  0 
snd_hda_intel          22516  4 
snd_hda_codec          45380  4 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel
snd_pcm_oss            24016  0 
snd_mixer_oss           8668  1 snd_pcm_oss
snd_pcm                45956  6 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_pcsp
lpc_ich                11052  0 
snd_seq_dummy            605  0 
snd_seq_oss            15932  0 
snd_seq_midi            2864  0 
snd_seq_midi_event      2760  2 snd_seq_oss,snd_seq_midi
snd_rawmidi            10304  1 snd_seq_midi
snd_seq                26592  6 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_seq_device          2924  5 snd_seq,snd_rawmidi,snd_seq_oss,snd_seq_dummy,snd_seq_midi
snd_timer              10302  3 snd_pcm,snd_seq
snd                    29832  20 snd_pcm_oss,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,
snd_hda_intel,snd_seq_oss,snd_seq_device,snd_mixer_oss,snd_pcsp
i915                  491840  7 
e1000e                124404  0 
ptp                     4692  1 e1000e
pps_core                3976  1 ptp
drm_kms_helper         23752  1 i915
drm                   145780  3 i915,drm_kms_helper
i2c_algo_bit            3456  1 i915
intel_agp               7072  0 
intel_gtt               7248  3 i915,intel_agp
wmi                     5142  0 
battery                 8568  0 
video                   8814  1 i915
thinkpad_acpi          36924  1 
nvram                   3366  1 thinkpad_acpi
acpi_cpufreq            4360  1 
rfkill                  5402  2 cfg80211,thinkpad_acpi
hwmon                   1328  1 thinkpad_acpi
ac                      2848  0 
/var/log/messages :

Code: Select all

LEXAR that doesn't work

Jan  2 08:33:41 puppypc28639 user.info kernel: usb 1-1.2: new high-speed USB device number 7 using ehci-pci
Jan  2 08:33:41 puppypc28639 user.info kernel: usb-storage 1-1.2:1.0: USB Mass Storage device detected
Jan  2 08:33:41 puppypc28639 user.info kernel: scsi8 : usb-storage 1-1.2:1.0
Jan  1 10:33:41 puppypc28639 user.info mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Jan  1 10:33:41 puppypc28639 user.info mtp-probe: bus: 1, device: 7 was not an MTP device
Jan  2 08:33:44 puppypc28639 user.notice kernel: scsi 8:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 6
Jan  2 08:33:44 puppypc28639 user.notice kernel: sd 8:0:0:0: [sdc] 125038592 512-byte logical blocks: (64.0 GB/59.6 GiB)
Jan  2 08:33:44 puppypc28639 user.notice kernel: sd 8:0:0:0: [sdc] Write Protect is off
Jan  2 08:33:44 puppypc28639 user.debug kernel: sd 8:0:0:0: [sdc] Mode Sense: 43 00 00 00
Jan  2 08:33:44 puppypc28639 user.notice kernel: sd 8:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  2 08:33:44 puppypc28639 user.info kernel:  sdc: sdc1
Jan  2 08:33:44 puppypc28639 user.notice kernel: sd 8:0:0:0: [sdc] Attached SCSI removable disk


LACIE 1To that works

Jan  2 08:40:32 puppypc28639 user.info kernel: usb 1-1.1: new high-speed USB device number 8 using ehci-pci
Jan  2 08:40:32 puppypc28639 user.info kernel: usb-storage 1-1.1:1.0: USB Mass Storage device detected
Jan  2 08:40:32 puppypc28639 user.info kernel: scsi9 : usb-storage 1-1.1:1.0
Jan  1 10:40:32 puppypc28639 user.info mtp-probe: checking bus 1, device 8: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Jan  1 10:40:32 puppypc28639 user.info mtp-probe: bus: 1, device: 8 was not an MTP device
Jan  2 08:40:33 puppypc28639 user.notice kernel: scsi 9:0:0:0: Direct-Access     LaCie    Rugged Mini USB3 1053 PQ: 0 ANSI: 6
Jan  2 08:40:33 puppypc28639 user.notice kernel: sd 9:0:0:0: [sdb] Spinning up disk...
Jan  2 08:40:34 puppypc28639 user.warn kernel: .ready
Jan  2 08:40:34 puppypc28639 user.notice kernel: sd 9:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
Jan  2 08:40:34 puppypc28639 user.notice kernel: sd 9:0:0:0: [sdb] Write Protect is off
Jan  2 08:40:34 puppypc28639 user.debug kernel: sd 9:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jan  2 08:40:34 puppypc28639 user.notice kernel: sd 9:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  2 08:40:34 puppypc28639 user.info kernel:  sdb: sdb1
Jan  2 08:40:34 puppypc28639 user.notice kernel: sd 9:0:0:0: [sdb] Attached SCSI disk


LACIE 500Go that doesn't work

Jan  2 08:44:33 puppypc28639 user.info kernel: usb 2-1.2: new high-speed USB device number 4 using ehci-pci
Jan  2 08:44:34 puppypc28639 user.info kernel: usb-storage 2-1.2:1.0: USB Mass Storage device detected
Jan  2 08:44:34 puppypc28639 user.info kernel: scsi10 : usb-storage 2-1.2:1.0
Jan  1 10:44:34 puppypc28639 user.info mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2"
Jan  1 10:44:34 puppypc28639 user.info mtp-probe: bus: 2, device: 4 was not an MTP device
Jan  2 08:44:56 puppypc28639 user.info kernel: usb 2-1.2: reset high-speed USB device number 4 using ehci-pci
Each device uses the ehci module and not xhci ! And there is no module xhci with the command lsmod.

Happy new year,

Philippe

EDIT : xhci module is use with usb3 port and ehci with usb2 port.
Last edited by augras on Sun 01 Jan 2017, 12:15, edited 1 time in total.

augras
Posts: 1487
Joined: Mon 11 Nov 2013, 17:37
Location: france

#6 Post by augras »

The LaCie disk works if connected at the boot ! Bust if you want to use it at warm it doen't work.

For the lexar key i found the problem : not a usb3 problem but a exfat file system problem. Sorry to put it here :oops:
It needs to install exfat-fuse and exfat-utils packets : there are twice in tahrpup ppm. But you need to mount and umount in a console. For example :

Code: Select all

root# mount.exfat /dev/sdc1 /mnt/sdc1
FUSE exfat 1.0.1
root# umount /dev/sdc1
root# 
Sorry again for that.
But the problem with the usb3 LaCie disk is still on.
Philippe

User avatar
James186282
Posts: 270
Joined: Tue 08 Sep 2009, 19:14
Location: Minnesota

#7 Post by James186282 »

I hate to start mucking around with building drivers but maybe it would be worth it. BTW I did see your page in French already! I don't speak the language but I read your thread with translation software.
Science is what we understand well enough to explain to a computer.
Art is everything else we do.
[i]Donald Knuth [/i]

Post Reply