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.
  • zeri@chaos.socialZ zeri@chaos.social

    @root42 lack of USB modules for the kernel that boots?

    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
    #8

    @zeri could be! Which modules are required? Which package do they come in?

    zeri@chaos.socialZ drscriptt@oldbytes.spaceD 2 Replies Last reply
    0
    • mbpaz@mas.toM mbpaz@mas.to

      @root42 some udev rule in the installed version?

      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
      #9

      @mbpaz maybe…? Would that influence lsusb not showing the attached devices?

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

        @zeri could be! Which modules are required? Which package do they come in?

        zeri@chaos.socialZ This user is from outside of this forum
        zeri@chaos.socialZ This user is from outside of this forum
        zeri@chaos.social
        wrote last edited by
        #10

        @root42 don't know. But that's something it is probably safe to ask a chatbot ... worst case you load a module you don't need. Might also be that there are no modules because a kernel update failed.

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

          @zeri could be! Which modules are required? Which package do they come in?

          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
          #11

          @root42 @zeri compare the output of `lsmod` from both kernels.

          Capture `dmesg` too.

          One or both (sets) should get you on the correct path.

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

            @root42 @zeri compare the output of `lsmod` from both kernels.

            Capture `dmesg` too.

            One or both (sets) should get you on the correct path.

            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
            #12

            @drscriptt @zeri yes, that’s my plan. Hope to find it’s just a module that’s missing.

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

              @mbpaz maybe…? Would that influence lsusb not showing the attached devices?

              cheesefox@infosec.exchangeC This user is from outside of this forum
              cheesefox@infosec.exchangeC This user is from outside of this forum
              cheesefox@infosec.exchange
              wrote last edited by
              #13

              @root42 @mbpaz potentially if usb_modeswitch is involved

              root42@chaos.socialR 1 Reply Last reply
              0
              • cheesefox@infosec.exchangeC cheesefox@infosec.exchange

                @root42 @mbpaz potentially if usb_modeswitch is involved

                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
                #14

                @cheesefox I have to look that up. My active desktop Linux times have been 15 years ago. Quite a bit has changed since then.

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

                  @drscriptt @zeri yes, that’s my plan. Hope to find it’s just a module that’s missing.

                  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
                  #15

                  @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 2 Replies Last reply
                  0
                  • root42@chaos.socialR root42@chaos.social

                    Ok, the plot thickens. When booting from the Linux Mint USB stick, the USB ports work. But when booting the installed version, USB ports are broken. Why??

                    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
                    #16

                    So my current working hypothesis is: Live Linux Mint uses kernel 6.14, my installation uses kernel 6.17. This is probably what causes the regression?
                    So I might want to downgrade the kernel...
                    #linux #linuxmint

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

                      So my current working hypothesis is: Live Linux Mint uses kernel 6.14, my installation uses kernel 6.17. This is probably what causes the regression?
                      So I might want to downgrade the kernel...
                      #linux #linuxmint

                      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
                      #17

                      Nope, that was not it. I downgraded to Linux 6.14.0-37, but USB still doesn't work. So it must be something with my installation! But what?

                      cibersheep@mastodont.catC root42@chaos.socialR 1024bytes@masto.ai1 3 Replies Last reply
                      0
                      • root42@chaos.socialR root42@chaos.social

                        Nope, that was not it. I downgraded to Linux 6.14.0-37, but USB still doesn't work. So it must be something with my installation! But what?

                        cibersheep@mastodont.catC This user is from outside of this forum
                        cibersheep@mastodont.catC This user is from outside of this forum
                        cibersheep@mastodont.cat
                        wrote last edited by
                        #18

                        @root42 I still have some problemas mounting usb from friends in Ubuntu Focal. Can you believe that?
                        May it be a permissions issue?

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

                          Nope, that was not it. I downgraded to Linux 6.14.0-37, but USB still doesn't work. So it must be something with my installation! But what?

                          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
                          #19

                          I am onto something: Attaching an OLD Apple keyboard with a USB-C to A adapter WORKS. But all my USB3.x devices do NOT work!
                          So how do I tell the USB controller to also work with USB3 devices...? Which works on the live thumbdrive!

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

                            Nope, that was not it. I downgraded to Linux 6.14.0-37, but USB still doesn't work. So it must be something with my installation! But what?

                            1024bytes@masto.ai1 This user is from outside of this forum
                            1024bytes@masto.ai1 This user is from outside of this forum
                            1024bytes@masto.ai
                            wrote last edited by
                            #20

                            @root42 it sounds like it does not load some usb drivers. But for default usb never seen that happen.

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

                              I am onto something: Attaching an OLD Apple keyboard with a USB-C to A adapter WORKS. But all my USB3.x devices do NOT work!
                              So how do I tell the USB controller to also work with USB3 devices...? Which works on the live thumbdrive!

                              Link Preview Image
                              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
                              #21

                              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...?

                              sebastiaanfranken@mastodon.nlS robert@people.unfoo.netR 2 Replies Last reply
                              0
                              • root42@chaos.socialR root42@chaos.social

                                @dr_laemmerbein Yes, it works fine in macOS as mass storage. No issue. However I just noticed that no other USB mass storage gets detected either. This is on the 2017 13" MacBook Pro. I have tried a USB thumb drive (That I installed Mint off of!) and a card reader with an SD card. No dice. Something is seriously wrong.

                                dr_laemmerbein@mastodon.socialD This user is from outside of this forum
                                dr_laemmerbein@mastodon.socialD This user is from outside of this forum
                                dr_laemmerbein@mastodon.social
                                wrote last edited by
                                #22

                                @root42 Did you install a kernel update by any chance? Then you might need a reboot to make it work again, I ran into that a few times...

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

                                  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*:

                                  usb 1-2: new full-speed USB device number 3 using xhci_hcd
                                  usb 1-2: New USB device found, idVendor=0e8d, idProduct=0002, bcdDevice= 1.00
                                  ...
                                  usb-storage 1-2:1.0: USB Mass Storage device detected
                                  scsi host0: usb-storage 1-2:1.0

                                  zyx@social.treehouse.systemsZ This user is from outside of this forum
                                  zyx@social.treehouse.systemsZ This user is from outside of this forum
                                  zyx@social.treehouse.systems
                                  wrote last edited by
                                  #23

                                  @root42 I also had this problem once where the kernel showed the usb drive was plugged in but no /dev/sd* showed up, the problem was the usb kernel modules weren't loaded so 'modeprobe usb' or a similar modeprobe command to that fixed it

                                  1 Reply Last reply
                                  0
                                  • 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...?

                                    sebastiaanfranken@mastodon.nlS This user is from outside of this forum
                                    sebastiaanfranken@mastodon.nlS This user is from outside of this forum
                                    sebastiaanfranken@mastodon.nl
                                    wrote last edited by
                                    #24

                                    @root42 Is your USB controller properly listed in `lspci`? And if it is, what kernel options does it use (see with `lspci -s <address of controller> -k`. For example, here's mine:

                                    04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
                                    Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
                                    Kernel driver in use: xhci_hcd
                                    Kernel modules: xhci_pci

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

                                      @root42 Did you install a kernel update by any chance? Then you might need a reboot to make it work again, I ran into that a few times...

                                      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
                                      #25

                                      @dr_laemmerbein lots of reboots...

                                      dr_laemmerbein@mastodon.socialD 1 Reply Last reply
                                      0
                                      • sebastiaanfranken@mastodon.nlS sebastiaanfranken@mastodon.nl

                                        @root42 Is your USB controller properly listed in `lspci`? And if it is, what kernel options does it use (see with `lspci -s <address of controller> -k`. For example, here's mine:

                                        04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
                                        Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
                                        Kernel driver in use: xhci_hcd
                                        Kernel modules: xhci_pci

                                        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
                                        #26

                                        @sebastiaanfranken Seems so:

                                        07:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C
                                        2016] (rev 02)
                                        Subsystem: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016]
                                        Kernel driver in use: xhci_hcd

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

                                          @sebastiaanfranken Seems so:

                                          07:00.0 USB controller: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C
                                          2016] (rev 02)
                                          Subsystem: Intel Corporation JHL6540 Thunderbolt 3 USB Controller (C step) [Alpine Ridge 4C 2016]
                                          Kernel driver in use: xhci_hcd

                                          sebastiaanfranken@mastodon.nlS This user is from outside of this forum
                                          sebastiaanfranken@mastodon.nlS This user is from outside of this forum
                                          sebastiaanfranken@mastodon.nl
                                          wrote last edited by
                                          #27

                                          @root42 Ok, so that's good. Also the fact the proper hcd (xhci_hcd) module is loaded is good. Anything related to it in your system journal? And if you want you can get more output / info with

                                          > sudo lspci -s 07:00.0 -k -v

                                          root42@chaos.socialR 1 Reply Last reply
                                          0
                                          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