You are not logged in.

#1 2024-03-17 00:43:26

Egy_ember
Member
Registered: 2024-03-17
Posts: 4

Webcam become sda [SOLVED]

For some reason my webcam become sda. Noting broke it's just weird. Any idea what happened?
(This is an ASUS VivoBook X415MA if thats matter)

# ls -l /dev/disk/by-* | grep sda
lrwxrwxrwx 1 root root  9 márc  17 01.03 3 -> ../../sda
lrwxrwxrwx 1 root root  9 márc  17 01.03 usb-Generic_USB2.0-CRW_20100201396000000 -> ../../sda
lrwxrwxrwx 1 root root  9 márc  17 01.03 pci-0000:00:15.0-usb-0:6:1.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root  9 márc  17 01.03 pci-0000:00:15.0-usbv2-0:6:1.0-scsi-0:0:0:0 -> ../../sda
# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 13d3:3529 IMC Networks Bluetooth Radio 
Bus 001 Device 003: ID 13d3:5a11 IMC Networks USB2.0 VGA UVC WebCam
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 006: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS578 SATA 6Gb/s
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
# lspci | grep 00:15
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 06)
# lsblk -o "NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID"
NAME        MAJ:MIN RM   SIZE RO FSTYPE MOUNTPOIN UUID
sda           8:0    1     0B  0                  
sdb           8:16   0 223,6G  0                  
└─sdb1        8:17   0 223,6G  0 ntfs             C66414026413F441
nvme0n1     259:0    0 119,2G  0                  
├─nvme0n1p1 259:1    0   260M  0 vfat             523E-C28A
├─nvme0n1p2 259:2    0    16M  0                  
├─nvme0n1p3 259:3    0  61,5G  0 ntfs             16FE4097FE4070D3
├─nvme0n1p4 259:4    0   512M  0 vfat   /fat32    DFE6-65AB
├─nvme0n1p5 259:5    0   100M  0 vfat   /boot/efi F41B-1CF7
├─nvme0n1p6 259:6    0    56G  0 ext4   /         8b77a753-3b63-404b-936f-7b96e21adf0e
├─nvme0n1p7 259:7    0   750M  0 ntfs             54AC2177AC215530
└─nvme0n1p8 259:8    0   200M  0 vfat             F4ED-838A

Last edited by Egy_ember (2024-03-21 10:11:52)

Offline

#2 2024-03-17 08:34:28

seth
Member
Registered: 2012-09-03
Posts: 52,291

Re: Webcam become sda [SOLVED]

What makes you believe it's the webcam and not the realtek or jmicron device? (Though one of them is likely sdb)

lsusb -tv

will list the ports (matching the usb-0:6:1.0) and tell.

Offline

#3 2024-03-17 10:40:49

Egy_ember
Member
Registered: 2024-03-17
Posts: 4

Re: Webcam become sda [SOLVED]

I disconnected the jmicron device it was sdb.

lsusb -tv
/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/9p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 001: Dev 002, If 0, Class=Wireless, Driver=btusb, 12M
        ID 13d3:3529 IMC Networks 
    |__ Port 001: Dev 002, If 1, Class=Wireless, Driver=btusb, 12M
        ID 13d3:3529 IMC Networks 
    |__ Port 005: Dev 003, If 0, Class=Video, Driver=uvcvideo, 480M
        ID 13d3:5a11 IMC Networks 
    |__ Port 005: Dev 003, If 1, Class=Video, Driver=uvcvideo, 480M
        ID 13d3:5a11 IMC Networks 
    |__ Port 006: Dev 004, If 0, Class=Vendor Specific Class, Driver=rts5139, 480M
        ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/7p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub

It is the Realtek SD card reader. When I try to use it for some reason a new device apper. If I disable the sd card reader in the bios sda disappear.
If I disable the webcam the sd card reader start to work under sda.

Offline

#4 2024-03-17 13:04:18

seth
Member
Registered: 2012-09-03
Posts: 52,291

Re: Webcam become sda [SOLVED]

This is probably completely down to the card reader, please post comparative system journals (w/ and w/o webcam enabled) coevering attempts to use the card reader.

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Or for the previous boot

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

Offline

#5 2024-03-19 17:17:20

Egy_ember
Member
Registered: 2024-03-17
Posts: 4

Re: Webcam become sda [SOLVED]

ok so I figured it out. It was a broken locally compiled kernel module. Recompied it and it stoped doing weird shit.

Offline

#6 2024-03-19 17:22:05

seth
Member
Registered: 2012-09-03
Posts: 52,291

Re: Webcam become sda [SOLVED]

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB