Posts: 397
Threads: 11
Joined: Sep 2018
Reputation:
31
02-28-2024, 12:18 AM
(This post was last modified: 02-28-2024, 12:28 AM by hifinet.)
Thanks Tim for your help.
The same Sabrent/Goldenfir combo worked the first time with a RPi Zero 2W.
Odd behavior now with the Zero W. No response plugging in the USB drive, but library update wheel spinning when the drive is unplugged. The USB drive (04E3-8958, which is empty) now appears without a USB drive attached.
I will try it on the Zero.
I will mark this as Solved. Hardware compatibility problem with the Sabrent USB SSD adapter and the Zero W.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Posts: 397
Threads: 11
Joined: Sep 2018
Reputation:
31
02-29-2024, 05:30 PM
(This post was last modified: 02-29-2024, 05:35 PM by hifinet.)
On the Zero, I am able to see the USB drive. I initially forgot devmon, but then right after it was added in configuration it seemed to scan the drive. I can see the drive and contents in folder view, but get permission errors from MPD when trying to play the file:
MPD error
Failed to decode /var/lib/mpd/music/USB/F681-5B24/Abrahamsen Horn Concerto.flac; Failed to open '/var/lib/mpd/music/USB/F681-5B24/Abrahamsen Horn Concerto.flac': Permission denied
Line from the MPD log file:
Feb 29 10:09 : update: added USB/F681-5B24/Ades Violin Concerto 'Concentric Paths' Tetzlaff.flac
...etc
Code:
20240229 101153 worker: --
20240229 101153 worker: -- Start moOde 8 series
20240229 101153 worker: --
20240229 101153 worker: Successfully daemonized
20240229 101154 worker: Wait for Linux startup...
20240229 101207 worker: Linux startup complete
20240229 101207 worker: Boot config backed up
20240229 101212 worker: Session loaded
20240229 101233 worker: Package holds applied
20240229 101237 worker: File check complete
20240229 101237 worker: Debug logging off
20240229 101237 worker: Reduced logging off
20240229 101237 worker: --
20240229 101237 worker: -- Audio debug
20240229 101237 worker: --
20240229 101237 worker: ALSA cards: 0:b1 | 1:empty | 2:empty | 3:empty
20240229 101237 worker: MPD config: 0:Pi HDMI 1 | mixer:PCM | cardnum:0
20240229 101237 worker: Mixer name: [PCM]
20240229 101237 worker: Hdwr volume: set to 0%
20240229 101237 worker: Volume knob: 0
20240229 101238 worker: --
20240229 101238 worker: -- System
20240229 101238 worker: --
20240229 101244 worker: Host: moode
20240229 101244 worker: Model: Pi-Zero 1.3 512MB
20240229 101244 worker: moOde: 8.3.9 2024-02-23
20240229 101244 worker: RaspiOS: 11.9 Bullseye 32-bit
20240229 101244 worker: Kernel: 6.1.21+ 32-bit
20240229 101244 worker: MPD ver: 0.23.14
20240229 101244 worker: CPU gov: ondemand
20240229 101244 worker: Userid: mark
20240229 101244 worker: Homedir: /home/mark
20240229 101244 worker: Timezone: America/Denver
20240229 101244 worker: Keyboard: us
20240229 101244 worker: USB boot: n/a
20240229 101245 worker: File sys: expanded
20240229 101245 worker: HDMI out: on
20240229 101245 worker: Sys LED0: on
20240229 101245 worker: Sys LED1: sysclass does not exist
20240229 101245 worker: --
20240229 101245 worker: -- Network
20240229 101245 worker: --
20240229 101245 worker: Eth: adapter does not exist
20240229 101246 worker: Wlan: adapter exists
20240229 101246 worker: Wlan: country US
20240229 101246 worker: Wlan: SSID LivingStereo
20240229 101246 worker: Wlan: other none
20240229 101246 worker: Wlan: router off
20240229 101246 worker: Wlan: timeout up to 90 secs
20240229 101246 worker: Wlan: connect to LivingStereo
20240229 101246 worker: Wlan: sleep disabled
20240229 101247 worker: Wlan: method dhcp
20240229 101247 worker: Wlan: address 192.168.0.161
20240229 101247 worker: Wlan: netmask 255.255.255.0
20240229 101247 worker: Wlan: gateway 192.168.0.1
20240229 101247 worker: Wlan: pri DNS 192.168.0.1
20240229 101247 worker: Wlan: domain
20240229 101247 worker: --
20240229 101247 worker: -- Software update
20240229 101247 worker: --
20240229 101247 worker: Automatic check off
20240229 101247 worker: --
20240229 101247 worker: -- File sharing
20240229 101247 worker: --
20240229 101247 worker: SMB file sharing: off
20240229 101247 worker: NFS file sharing: off
20240229 101247 worker: DLNA file sharing: off
20240229 101247 worker: --
20240229 101247 worker: -- Audio config
20240229 101247 worker: --
20240229 101249 worker: MPD config: updated
20240229 101249 worker: Audio device: Pi HDMI 1
20240229 101249 worker: Formats: U8, S16_LE
20240229 101249 worker: Mixer type Hardware
20240229 101249 worker: Mixer name PCM
20240229 101250 worker: Hdwr volume: controller detected
20240229 101250 worker: ALSA max vol: 100%
20240229 101250 worker: ALSA card: 0
20240229 101250 worker: ALSA mode: Default
20240229 101250 worker: ALSA loopback: off
20240229 101250 worker: CamillaDSP: off
20240229 101250 worker: Renderers: active flags reset
20240229 101250 worker: --
20240229 101250 worker: -- MPD startup
20240229 101250 worker: --
20240229 101252 worker: MPD service: started
20240229 101252 worker: MPD port 6600: accepting connections
20240229 101252 worker: MPD ALSA Default: on
20240229 101252 worker: MPD ALSA Bluetooth: off
20240229 101252 worker: MPD HTTP Server: off
20240229 101252 worker: MPD crossfade: off
20240229 101252 worker: MPD ignore CUE: no
20240229 101252 worker: MPD CDSP volsync: off
20240229 101252 worker: MPD CDSP volrange: 60 dB
20240229 101253 worker: --
20240229 101253 worker: -- Music sources
20240229 101253 worker: --
20240229 101253 worker: USB auto-mount: devmon
20240229 101253 worker: USB drive: F681-5B24
20240229 101253 worker: USB drive: sda1-usb-SABRENT_SABRENT_
20240229 101253 worker: NAS sources: no music sources defined
20240229 101253 worker: --
20240229 101253 worker: -- Feature availability
20240229 101253 worker: --
20240229 101253 worker: Input select: available, src MPD, out Pi HDMI 1
20240229 101253 worker: Bluetooth: available, ALSA mode Default
20240229 101253 worker: AirPlay: available
20240229 101253 worker: Spotify Connect: available
20240229 101253 worker: Squeezelite: available
20240229 101253 worker: RoonBridge: not installed
20240229 101253 worker: Multiroom: available
20240229 101253 worker: UPnP client: available
20240229 101253 worker: GPIO buttons: available
20240229 101253 worker: HTTPS mode: available
20240229 101253 worker: Stream recorder: n/a
20240229 101253 worker: --
20240229 101253 worker: -- Volume levels
20240229 101253 worker: --
20240229 101253 worker: Volume knob: 0
20240229 101253 worker: Saved MPD vol: -1
20240229 101253 worker: Saved SRC vol: 0
20240229 101253 worker: Mixer type: hardware
20240229 101253 worker: Hdwr volume: 0%
20240229 101253 worker: CDSP volume: 0.0dB
20240229 101253 worker: --
20240229 101254 worker: -- Peripherals
20240229 101254 worker: --
20240229 101258 worker: Local display: off
20240229 101258 worker: On-screen kbd: off
20240229 101258 worker: Rotary encoder: off
20240229 101258 worker: USB volume knob: off
20240229 101258 worker: LCD updater: off
20240229 101258 worker: --
20240229 101258 worker: -- Miscellaneous
20240229 101258 worker: --
20240229 101258 worker: Auto-CoverView: off
20240229 101258 worker: CoverView timeout: Never
20240229 101258 worker: Auto-shuffle: off
20240229 101258 worker: Auto-play: off
20240229 101258 worker: Web SSH server: on
20240229 101258 worker: Maintenance task: 360 mins
20240229 101258 worker: Current view: reset to Playback
20240229 101258 worker: Session check: ok
20240229 101258 worker: --
20240229 101258 worker: -- Startup complete
20240229 101258 worker: --
20240229 101259 worker: Mount monitor: off
20240229 101259 worker: Radio monitor: off
20240229 101259 worker: Watchdog monitor: started
20240229 101259 worker: Responsiveness: Default
20240229 101259 worker: Ready
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Posts: 397
Threads: 11
Joined: Sep 2018
Reputation:
31
02-29-2024, 10:51 PM
(This post was last modified: 02-29-2024, 10:57 PM by hifinet.)
The USB drive continued to appear in the Folder view with F681-5B24 identification even after the drive was removed. The mpd log showed the last actions were removal. Now it's back and listed in the mpd log as:
Feb 29 15:40 : update: added USB/sda1-usb-SABRENT_SABRENT_/Ades Violin Concerto 'Concentric Paths' Tetzlaff.flac
ls -l "/media/sda1-usb-SABRENT_SABRENT_/Ades Violin Concerto 'Concentric Paths' Tetzlaff.flac"
-rwxr-xr-x 1 root root 90832186 Feb 13 14:16 "/media/sda1-usb-SABRENT_SABRENT_/Ades Violin Concerto 'Concentric Paths' Tetzlaff.flac"
Zero is playing the file now without error.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Posts: 13,430
Threads: 304
Joined: Mar 2018
Reputation:
545
The drive will still appear in Folder view even after removing it because Folder view is referencing the MPD database and not the underlying file system. What would prolly break is cover art display.
Check the /media directory for ghost mount entries (they begin with one or more underscores). If there are any post output from ls -l /media
Posts: 397
Threads: 11
Joined: Sep 2018
Reputation:
31
02-29-2024, 10:58 PM
(This post was last modified: 02-29-2024, 11:06 PM by hifinet.)
mark@moode:~ $ ls -l /media
total 32
drwxr-xr-x 3 root root 32768 Dec 31 1969 sda1-usb-SABRENT_SABRENT_
Thanks again, Tim.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Posts: 13,430
Threads: 304
Joined: Mar 2018
Reputation:
545
That looks ok but devmon still not doing what I would expect.
Posts: 397
Threads: 11
Joined: Sep 2018
Reputation:
31
02-29-2024, 11:51 PM
(This post was last modified: 02-29-2024, 11:56 PM by hifinet.)
I moved the powered USB hub (minus the Wifi dongle) with USB SSD drive back over to the Zero W, and now after a couple of library updates , it is connected and playing files from the SSD.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS
Posts: 397
Threads: 11
Joined: Sep 2018
Reputation:
31
03-05-2024, 05:18 PM
(This post was last modified: 03-07-2024, 07:13 PM by hifinet.)
Don't mean to bump this post to the top. Just an update. I tried this
cheap USB adapter. This adapter works with the Zero W and devmon. Identified as "Other World Computing SATA External USB adapter PA023U3". Update: It does work with Zero 2W, but
requires a powered USB hub.
Hardware: RPi Zero W | Allo Kali | ProtoDAC TDA1387 X8 | PGA2311 | Icepower 500ASP | Harbeth SHL5
Software: Moode 8.3.3
Source: Win 10 NAS