You are not logged in.

#1 2019-06-12 09:46:32

HampusM
Member
Registered: 2019-06-12
Posts: 5

I can't use my USB device.

I have this USB device i want use with my computer but it doesn't get a sd* file.
When i do

ls /dev

There's no sdb only sda

autofs           media0              stdin   tty3   tty53    vcs4
block            mem                 stdout  tty30  tty54    vcs5
bsg              memory_bandwidth    tty     tty31  tty55    vcs6
btrfs-control    mqueue              tty0    tty32  tty56    vcs63
bus              network_latency     tty1    tty33  tty57    vcsa
cdrom            network_throughput  tty10   tty34  tty58    vcsa1
char             null                tty11   tty35  tty59    vcsa2
console          port                tty12   tty36  tty6     vcsa3
core             psaux               tty13   tty37  tty60    vcsa4
cpu              ptmx                tty14   tty38  tty61    vcsa5
cpu_dma_latency  pts                 tty15   tty39  tty62    vcsa6
disk             random              tty16   tty4   tty63    vcsa63
dri              rfkill              tty17   tty40  tty7     vcsu
fb0              rtc                 tty18   tty41  tty8     vcsu1
fd               rtc0                tty19   tty42  tty9     vcsu2
full             sda                 tty2    tty43  ttyS0    vcsu3
gpiochip0        sda1                tty20   tty44  ttyS1    vcsu4
hpet             sda3                tty21   tty45  ttyS2    vcsu5
hugepages        sda4                tty22   tty46  ttyS3    vcsu6
hwrng            sg0                 tty23   tty47  udmabuf  vcsu63
initctl          sg1                 tty24   tty48  urandom  vga_arbiter
input            shm                 tty25   tty49  v4l      video0
kfd              snapshot            tty26   tty5   vcs      video1
kmsg             snd                 tty27   tty50  vcs1     watchdog
lightnvm         sr0                 tty28   tty51  vcs2     watchdog0
log              stderr              tty29   tty52  vcs3     zero

However, it does get recognized by

lsusb

. It's the Alcor Micro Corp. Flash Drive.

Bus 004 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 174f:148d Syntek 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 008: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here is

lsusb

without the USB in.

Bus 004 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 174f:148d Syntek 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fdisk -l

with the USB in.

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LT012-1DG14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 84DFE93F-2441-4B3C-B767-0598F358AA2A

Device        Start       End   Sectors   Size Type
/dev/sda1      2048   2099199   2097152     1G EFI System
/dev/sda3   2099200  17653759  15554560   7.4G Linux swap
/dev/sda4  17653760 976773134 959119375 457.4G Linux filesystem

Offline

#2 2019-06-12 10:11:35

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 360
Website

Re: I can't use my USB device.

Googling the name of the pen drive yields some interesting results, amongst others, this.
The drive might be broken, but you can try to low-level format it under Windows as mentioned in the linked thread.

Offline

#3 2019-06-12 11:46:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,555
Website

Re: I can't use my USB device.

Do the versions reported from `uname -a` and `pacman -Q linux` match?  If not, reboot.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2019-06-12 12:27:08

HampusM
Member
Registered: 2019-06-12
Posts: 5

Re: I can't use my USB device.

It doesn't match and rebooting does not seem to do anything.

[hampus@laptop ~]$ uname -a
Linux laptop 5.1.0-rc3 #1 SMP PREEMPT Sun Apr 7 14:33:15 CEST 2019 x86_64 GNU/Linux
[hampus@laptop ~]$ pacman -Q linux
linux 5.0.6.arch1-1
Trilby wrote:

Do the versions reported from `uname -a` and `pacman -Q linux` match?  If not, reboot.

Offline

#5 2019-06-12 12:32:45

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 360
Website

Re: I can't use my USB device.

(Why) do you use a self-compiled kernel?
Does it maybe lack USB drive support?
What are the outputs of the above commands after the reboot.
Is the device recognized when you use the up-to-date default Arch Kernel or the LTS kernel?
Also linux-5.0.6 is from 3rd of April. Maybe run a full system upgrade first.

Last edited by schard (2019-06-12 12:39:50)

Offline

#6 2019-06-12 12:51:07

HampusM
Member
Registered: 2019-06-12
Posts: 5

Re: I can't use my USB device.

I am 100% sure the USB isn't broken as i am able to boot from it (i have a arch on it) and as the USB is booted from, it's shows up in lsblk and fdisk -l

schard wrote:

Googling the name of the pen drive yields some interesting results, amongst others, this.
The drive might be broken, but you can try to low-level format it under Windows as mentioned in the linked thread.

Offline

#7 2019-06-12 13:04:03

HampusM
Member
Registered: 2019-06-12
Posts: 5

Re: I can't use my USB device.

I use a self-compiled kernel because i like stuff to be bleeding edge. Whats the point of updating something if no one isn't going to use the update?

I don't see how it could lack USB drive support. Shouldn't that come as default?

The output of it after reboot is

[hampus@laptop ~]$ uname -a
Linux laptop 5.1.0-rc3 #1 SMP PREEMPT Sun Apr 7 14:33:15 CEST 2019 x86_64 GNU/Linux
[hampus@laptop ~]$ pacman -Q linux
linux 5.0.6.arch1-1

I dont know how i would pull off checking if it works when i use the up-to-date default Arch Kernel or the LTS kernel as changing kernel takes a buncha time.

I will do a system upgrade and see if it works after that.

schard wrote:

(Why) do you use a self-compiled kernel?
Does it maybe lack USB drive support?
What are the outputs of the above commands after the reboot.
Is the device recognized when you use the up-to-date default Arch Kernel or the LTS kernel?
Also linux-5.0.6 is from 3rd of April. Maybe run a full system upgrade first.

Offline

#8 2019-06-12 13:14:40

seth
Member
Registered: 2012-09-03
Posts: 11,260

Re: I can't use my USB device.

as changing kernel takes a buncha time.

Errrrmm… what? Why? How? You just reboot and choose the other kernel. What have you done? Did you simply replace the existing kernel from the package w/ your custom one??

Online

#9 2019-06-12 13:25:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,555
Website

Re: I can't use my USB device.

What's the output of `ls /usr/lib/modules/$(uname -r)/`?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#10 2019-06-12 13:27:59

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 8,810
Website

Re: I can't use my USB device.

HampusM wrote:

I use a self-compiled kernel because i like stuff to be bleeding edge.

HampusM wrote:
Linux laptop 5.1.0-rc3 #1 SMP PREEMPT Sun Apr 7 14:33:15 CEST 2019 x86_64 GNU/Linux

Uh.. huh.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2019-06-12 14:04:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 21,555
Website

Re: I can't use my USB device.

HA!  I didn't even look at the version/date.

HampusM, your best bet is clearly just to switch back to the kernel from the repos.  It will be "more bleeding edge", and as a bonus, modules will actually load and work.

Last edited by Trilby (2019-06-12 14:05:15)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2019-06-12 15:09:13

HampusM
Member
Registered: 2019-06-12
Posts: 5

Re: I can't use my USB device.

build                modules.dep.bin
kernel               modules.devname
modules.alias        modules.order
modules.alias.bin    modules.softdep
modules.builtin      modules.symbols
modules.builtin.bin  modules.symbols.bin
modules.dep          source
Trilby wrote:

What's the output of `ls /usr/lib/modules/$(uname -r)/`?

Offline

Board footer

Powered by FluxBB