Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: HDD not dected
#11
@spiros79 

So I finally got around to replicating as best I could your attempt to add a USB HD to moOde. I dug out an old no-name USB/hard drive enclosure containing a very old 1T hard drive (Western Digital?) and powered by an external 12vdc supply. I plugged it into a Pi ZeroW that happened to be running moOde 8.3.5 which I figured was close enough(!).

Turned it on and saw the following messages show up in the Linux syslog (/var/log/syslog)

Code:
Sep 22 12:09:22 m835-32 kernel: [  234.715171] usb 1-1: New USB device found, idVendor=152d, idProduct=0567, bcdDevice= 1.17
Sep 22 12:09:22 m835-32 kernel: [  234.715218] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 22 12:09:22 m835-32 kernel: [  234.715251] usb 1-1: Product: USB to ATA/ATAPI Bridge
Sep 22 12:09:22 m835-32 kernel: [  234.715267] usb 1-1: Manufacturer: JMicron
Sep 22 12:09:22 m835-32 kernel: [  234.715280] usb 1-1: SerialNumber: 835A980E3
Sep 22 12:09:22 m835-32 kernel: [  234.721536] usb 1-1: The driver for the USB controller dwc_otg_hcd does not support scatt
er-gather which is
Sep 22 12:09:22 m835-32 kernel: [  234.721577] usb 1-1: required by the UAS driver. Please try an other USB controller if yo
u wish to use UAS.
Sep 22 12:09:22 m835-32 kernel: [  234.721595] usb-storage 1-1:1.0: USB Mass Storage device detected
Sep 22 12:09:22 m835-32 kernel: [  234.738936] usb-storage 1-1:1.0: Quirks match for vid 152d pid 0567: 1000000
Sep 22 12:09:22 m835-32 kernel: [  234.739320] scsi host0: usb-storage 1-1:1.0
Sep 22 12:09:22 m835-32 mtp-probe: checking bus 1, device 2: "/sys/devices/platform/soc/20980000.usb/usb1/1-1"
Sep 22 12:09:22 m835-32 mtp-probe: bus: 1, device: 2 was not an MTP device
Sep 22 12:09:22 m835-32 kernel: [  234.941163] usbcore: registered new interface driver uas
Sep 22 12:09:22 m835-32 mtp-probe: checking bus 1, device 2: "/sys/devices/platform/soc/20980000.usb/usb1/1-1"
Sep 22 12:09:22 m835-32 mtp-probe: bus: 1, device: 2 was not an MTP device
Sep 22 12:09:23 m835-32 kernel: [  235.775050] scsi 0:0:0:0: Direct-Access     JMicron  Generic          0117 PQ: 0 ANSI: 6
Sep 22 12:09:23 m835-32 kernel: [  235.777474] sd 0:0:0:0: [sda] Spinning up disk...
Sep 22 12:09:23 m835-32 kernel: [  235.872080] sd 0:0:0:0: Attached scsi generic sg0 type 0
Sep 22 12:09:27 m835-32 kernel: [  236.813945] ....ready
Sep 22 12:09:27 m835-32 kernel: [  239.934874] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
Sep 22 12:09:27 m835-32 kernel: [  239.935472] sd 0:0:0:0: [sda] Write Protect is off
Sep 22 12:09:27 m835-32 kernel: [  239.935516] sd 0:0:0:0: [sda] Mode Sense: 47 00 10 08
Sep 22 12:09:27 m835-32 kernel: [  239.936086] sd 0:0:0:0: [sda] Disabling FUA
Sep 22 12:09:27 m835-32 kernel: [  239.936129] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
Sep 22 12:09:27 m835-32 kernel: [  239.982848]  sda: sda1
Sep 22 12:09:27 m835-32 kernel: [  239.984117] sd 0:0:0:0: [sda] Attached SCSI disk
Sep 22 12:09:30 m835-32 ntfs-3g[2500]: Version 2017.3.23AR.3 integrated FUSE 28
Sep 22 12:09:30 m835-32 ntfs-3g[2500]: Mounted /dev/sda1 (Read-Write, label "New Volume", NTFS 3.1)
...



And now the added file system shows up in /media/New Volume and can be listed using all the usual Linux commands. It happens to be an NTFS file system with some backups so nothing for moOde to use but it proves one can connect old stuff.

Do you see anything comparable in your syslog?

Regards,
Kent
Reply


Forum Jump: