Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I have an issue with mounting a cheap smart watch in #linux: Device is seen by the kernel, but never registered as a storage device /dev/sd*:

I have an issue with mounting a cheap smart watch in #linux: Device is seen by the kernel, but never registered as a storage device /dev/sd*:

Scheduled Pinned Locked Moved Uncategorized
linux
40 Posts 12 Posters 53 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • root42@chaos.socialR root42@chaos.social

    Yes, so it seems the controller is stuck in EHCI mode, instead of switching to xHCI for USB3 devices. Bummer... how to switch it back...?

    robert@people.unfoo.netR This user is from outside of this forum
    robert@people.unfoo.netR This user is from outside of this forum
    robert@people.unfoo.net
    wrote last edited by
    #31
    @root42 Check the pins in the connectors. I had a problem like this where in a thumb drive some pins belonging to USB3 were bent / damaged and it would not work in a USB3 port. Although it worked fine in a USB2 port, those 4 pins were not damaged.
    robert@people.unfoo.netR 1 Reply Last reply
    0
    • robert@people.unfoo.netR robert@people.unfoo.net
      @root42 Check the pins in the connectors. I had a problem like this where in a thumb drive some pins belonging to USB3 were bent / damaged and it would not work in a USB3 port. Although it worked fine in a USB2 port, those 4 pins were not damaged.
      robert@people.unfoo.netR This user is from outside of this forum
      robert@people.unfoo.netR This user is from outside of this forum
      robert@people.unfoo.net
      wrote last edited by
      #32
      @root42 with USB-C it could also be the wrong type of cable.
      root42@chaos.socialR 2 Replies Last reply
      0
      • robert@people.unfoo.netR robert@people.unfoo.net
        @root42 with USB-C it could also be the wrong type of cable.
        root42@chaos.socialR This user is from outside of this forum
        root42@chaos.socialR This user is from outside of this forum
        root42@chaos.social
        wrote last edited by
        #33

        @robert no. It works in the Live thumbdrive. Only the proper install on the ssd is botched. The ports work fine.

        1 Reply Last reply
        0
        • dr_laemmerbein@mastodon.socialD dr_laemmerbein@mastodon.social

          @root42 Maybe you can get some hints by running `dmesg -w` in a terminal as root. This will show you all the kernel events and if you plug in your USB drive you should see some logs related to that. Maybe you'll get an error message or something like that.

          root42@chaos.socialR This user is from outside of this forum
          root42@chaos.socialR This user is from outside of this forum
          root42@chaos.social
          wrote last edited by
          #34

          @dr_laemmerbein I am doing that. No logs when plugging in USB 3 devices. Zip. Zilch. Nada. That’s the weird thing.

          1 Reply Last reply
          0
          • robert@people.unfoo.netR robert@people.unfoo.net
            @root42 with USB-C it could also be the wrong type of cable.
            root42@chaos.socialR This user is from outside of this forum
            root42@chaos.socialR This user is from outside of this forum
            root42@chaos.social
            wrote last edited by
            #35

            @robert the USB C thumbdrive connects without a cable. It works in the live system, not in the installed system.

            1 Reply Last reply
            0
            • root42@chaos.socialR root42@chaos.social

              @drscriptt So the output of lsmod is very similar on both. I installed an extra Intel sound driver, but that shouldn't interfere with USB, I think.

              Link Preview Image
              drscriptt@oldbytes.spaceD This user is from outside of this forum
              drscriptt@oldbytes.spaceD This user is from outside of this forum
              drscriptt@oldbytes.space
              wrote last edited by
              #36

              @root42 agreed

              1 Reply Last reply
              0
              • root42@chaos.socialR root42@chaos.social

                @drscriptt So the output of lsmod is very similar on both. I installed an extra Intel sound driver, but that shouldn't interfere with USB, I think.

                Link Preview Image
                drscriptt@oldbytes.spaceD This user is from outside of this forum
                drscriptt@oldbytes.spaceD This user is from outside of this forum
                drscriptt@oldbytes.space
                wrote last edited by
                #37

                @root42 try `lsusb` (?) when it’s working.

                Maybe add `-v` (?) to see if you can see the driver that’s being used.

                root42@chaos.socialR 1 Reply Last reply
                0
                • drscriptt@oldbytes.spaceD drscriptt@oldbytes.space

                  @root42 try `lsusb` (?) when it’s working.

                  Maybe add `-v` (?) to see if you can see the driver that’s being used.

                  root42@chaos.socialR This user is from outside of this forum
                  root42@chaos.socialR This user is from outside of this forum
                  root42@chaos.social
                  wrote last edited by
                  #38

                  @drscriptt the driver is usb-xhci. As expected. Which is also loaded in the broken install…

                  1 Reply Last reply
                  0
                  • root42@chaos.socialR This user is from outside of this forum
                    root42@chaos.socialR This user is from outside of this forum
                    root42@chaos.social
                    wrote last edited by
                    #39

                    So I think I have a workaround. If I do "sudo lsusb -v", the devices start working! Without sudo and without -v nothing happens. It seems sudo lsusb -v does some magic that kickstarts the device detection. What is it and how can I make it happen automatically...?

                    apzpins@some.apz.fiA 1 Reply Last reply
                    0
                    • root42@chaos.socialR root42@chaos.social

                      So I think I have a workaround. If I do "sudo lsusb -v", the devices start working! Without sudo and without -v nothing happens. It seems sudo lsusb -v does some magic that kickstarts the device detection. What is it and how can I make it happen automatically...?

                      apzpins@some.apz.fiA This user is from outside of this forum
                      apzpins@some.apz.fiA This user is from outside of this forum
                      apzpins@some.apz.fi
                      wrote last edited by
                      #40

                      @root42 Reading all this reminds me of a really weird Thinkpad I had years back. It had Thunderbolt ports and those had really weird compatibility issues with random devices in Linux. But only with the TB ports, the standard USB-C ports were fine. I assume the device you have is an Apple laptop, which most likely has even more undocumented and standard breaking behind the scenes firmware magic built into it as per their style.

                      1 Reply Last reply
                      1
                      0
                      • R relay@relay.infosec.exchange shared this topic
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups