You are not logged in.
I have a laptop macbookpro running macos, windows, archlinux and fedora flawlessly (using rEFInd to select each OS to run at boot).
The issue is that when running macOS Ventura, Windows or Fedora, the external disks (USB pen drives formatted Fat32 or USB external disks formatted exFAT) are automatically recognised (once I plug in the USB-C cable or pen drive) and I can read and write files into it. That does't happen when I connect thee USB external devices while using Arch Linux: the external USB devices are not recognized.
What I have already checked/tried:
1 - packages dosfstools exfatprogs udisks2 are installed
2 - package exfat-utils is not installed (conflicts with exfatprogs)
3 - lsblk command does not show the USB devices neither does blkid
4 - created a udev rule at /etc/udev/rules.d/50-hotplugusbdisk.rules with rule's code:
ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", \
RUN{program}+="/usr/bin/systemd-mount --no-block --automount=yes --collect $devnode"
5 - run # udevadm monitor and then plugin the USB device but it does not detect it
6 - run # dmesg -w then plug in USB device but no new messages
Do I need to install any other pacman package or change any other config file to have the external disk being recognized automatically?
Last edited by cjclm7 (2023-07-01 19:57:42)
Offline
5 - run # udevadm monitor and then plugin the USB device but it does not detect it
6 - run # dmesg -w then plug in USB device but no new messages
Plug a fat32 usb key and then please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'f:1=<-' ix.io
No dmesg output whatsoever would imply that the entire usb stack is dead.
You need to do something if you want the drives to be automounted (eg. that udev rule), but not to have it show up in dmesg/lsusb/lsblk.
Edit: for a d'ohh moment
pacman -Qs firmware
Last edited by seth (2023-07-01 19:04:36)
Offline
No output (run command after Plug a fat32 usb key) from
sudo journalctl -b | curl -F 'f:1=<-' ix.io
Output of
pacman -Qs firmware
local/apple-bcm-firmware 13.0-1
Wi-Fi and Bluetooth Firmware from macOS Big Sur for T2 and M1 Macs
local/linux-firmware 20230625.ee91452d-3
Firmware files for Linux
local/linux-firmware-whence 20230625.ee91452d-3
Firmware files for Linux - contains the WHENCE license file which documents the vendor license
details
Offline
No output (run command after Plug a fat32 usb key) from
You're supposed to get a url from that.
Offline
I have solved the issue following archlinux wiki page:
https://wiki.archlinux.org/title/Udisks
on section 5 - Troubleshooting
5.8 - Hidden Devices
Now I can plug in USB fat32 drives and my external disk USB exfat
Last edited by cjclm7 (2023-07-01 19:59:33)
Offline
Running MacBook Pro 14,1 with Arch Linux as OS and I confirm that this is still valid (section now called 5.1).
I had to copy the file located
/usr/lib/udev/rules.d/80-udisks2.rules
to
/etc/udev/rules.d/80-udisks2.rules
and needed to remove the last part ("# Devices which should not be display in the user interface" and below).
Last edited by Pablo12345678901 (2024-01-12 08:15:13)
Offline
Thank you very much, this worked for me
Offline