You are not logged in.

#1 2024-01-28 16:50:31

cdwijs
Member
Registered: 2010-04-24
Posts: 310

[solved] mounting pi pico drive: an operation is already pending

I've connected a raspberry pi pico to my system, and pressed both the reset and boot buttons of it. Now it presents itself as a drive.
Dmesg reports the new drive:

# dmesg -w
[42567.722375] usb 1-6.1.3.3: new full-speed USB device number 16 using xhci_hcd
[42567.946523] usb 1-6.1.3.3: New USB device found, idVendor=2e8a, idProduct=0003, bcdDevice= 1.00
[42567.946527] usb 1-6.1.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42567.946529] usb 1-6.1.3.3: Product: RP2 Boot
[42567.946531] usb 1-6.1.3.3: Manufacturer: Raspberry Pi
[42567.946532] usb 1-6.1.3.3: SerialNumber: E0C9125B0D9B
[42567.974309] usb-storage 1-6.1.3.3:1.0: USB Mass Storage device detected
[42567.974524] scsi host30: usb-storage 1-6.1.3.3:1.0
[42568.982809] scsi 30:0:0:0: Direct-Access     RPI      RP2              3    PQ: 0 ANSI: 2
[42568.983095] sd 30:0:0:0: Attached scsi generic sg12 type 0
[42568.983407] sd 30:0:0:0: [sdj] 262144 512-byte logical blocks: (134 MB/128 MiB)
[42568.984031] sd 30:0:0:0: [sdj] Write Protect is off
[42568.984034] sd 30:0:0:0: [sdj] Mode Sense: 03 00 00 00
[42568.984656] sd 30:0:0:0: [sdj] No Caching mode page found
[42568.984658] sd 30:0:0:0: [sdj] Assuming drive cache: write through
[42568.991988]  sdj: sdj1
[42568.992223] sd 30:0:0:0: [sdj] Attached SCSI removable disk

I'm running lxqt on Xorg. In the file utility, I do see the drive RPI-RP2. When I click on it I see the following popup:

Unable to access "RPI-RP2"
An operation is already pending

When I press reset on the raspberry pi pico, I see the following in dmesg

[42775.678649] usb 1-6.1.3.3: USB disconnect, device number 16

and the following popup:

Operation was cancelled

Next I click OK on both popups, and press reset-boot again on the pi pico. Now the above story repeats.

fdisk can see the drive:

# fdisk -l
Disk /dev/sdj: 128 MiB, 134217728 bytes, 262144 sectors
Disk model: RP2             
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000ac21f

Device     Boot Start    End Sectors  Size Id Type
/dev/sdj1           1 262143  262143  128M  e W95 FAT16 (LBA)

What can I check?

Last edited by cdwijs (2024-01-28 22:26:26)

Offline

#2 2024-01-28 19:22:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: [solved] mounting pi pico drive: an operation is already pending

You're trying to use a RPi as a filesystem by connecting the USB on your Arch box to the USB on the RPi?  I was unaware that could be done at all.  Not what you asked by why not just remove the uSD card and connect it to a card reader on your Arch box?

Offline

#3 2024-01-28 22:24:01

cdwijs
Member
Registered: 2010-04-24
Posts: 310

Re: [solved] mounting pi pico drive: an operation is already pending

I made a typo in my post. It's not the raspberry pi (the single board computer), it's a raspberry pi pico (the RP2040 microcontroller).

The pi pico doesn't have a uSD card, it presents itself as a memory stick, so a uf2 file can be copied to it, containing the firmware for the microcontroller.

See also here: https://www.raspberrypi.com/documentati … -pico.html

Offline

#4 2024-01-28 22:25:58

cdwijs
Member
Registered: 2010-04-24
Posts: 310

Re: [solved] mounting pi pico drive: an operation is already pending

After a reboot, it works again. i don't know if there's a log that can give me a reason why it didn't work. Until it goes wrong again, this is solved.

Offline

#5 2024-01-29 01:45:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,267

Re: [solved] mounting pi pico drive: an operation is already pending

If you updated your kernel and didn't reboot yet then your kernel can't load modules which might be necessary for certain device access.

Offline

Board footer

Powered by FluxBB