Home of the Squeezebox™ & Transporter® network music players.
Page 3 of 9 FirstFirst 12345 ... LastLast
Results 21 to 30 of 86
  1. #21
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    Is there an option for spinning down the USB drive that is attached to the rpi?
    Will it spin down after some time off inactivity?
    Last edited by DomieMic65; 2019-08-02 at 07:07.
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

  2. #22
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,173
    That really depends on the USB drive.

    Some drives you can setup using Windows software to control power management inside the drive. Others, you can use "hdparam" to setup the drive. I think I made an extension with hdparam, but if not I can add it.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #23
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    Quote Originally Posted by paul- View Post
    That really depends on the USB drive.

    Some drives you can setup using Windows software to control power management inside the drive. Others, you can use "hdparam" to setup the drive. I think I made an extension with hdparam, but if not I can add it.
    Thank you!!
    How can it be added?
    Is it a plugin?

    I use the drive attached to a powered hub and I noticed that even the rpi is shut down the drive still spins. Will the hdparam setting be able to overwrite the continuous power that the hub supplies to the drive?
    I use the hub in order not to overload the power supply of the rpi.
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

  4. #24
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,173
    What is your drive? As I said, some drive controllers are programmed via a windows application.


    Goto the extensions page, and Load hdparm

    Name:  Screenshot from 2019-08-03 09-51-58.png
Views: 149
Size:  27.0 KB

    From there you need to experiment a little with your drive.....be careful, as you can do bad things with hdparm.

    Start with a ssh session. use fdisk to identify your drive.

    Code:
    tc@pCP-devel:~$ fdisk -l
    Disk /dev/mmcblk0: 7580 MB, 7948206080 bytes, 15523840 sectors
    242560 cylinders, 4 heads, 16 sectors/track
    Units: sectors of 1 * 512 = 512 bytes
    
    Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
    /dev/mmcblk0p1    128,0,1     127,3,16          8192      73727      65536 32.0M  c Win95 FAT32 (LBA)
    /dev/mmcblk0p2    1023,3,16   1023,3,16        73728    1097727    1024000  500M 83 Linux
    /dev/mmcblk0p3    1023,3,16   1023,3,16      1097728   15523839   14426112 7044M 83 Linux
    Disk /dev/sda: 931 GB, 999501594624 bytes, 1952151552 sectors
    121515 cylinders, 255 heads, 63 sectors/track
    Units: sectors of 1 * 512 = 512 bytes
    
    Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
    /dev/sda1    0,1,1       1023,254,63         63 1952138474 1952138412  930G 83 Linux
    In this case, the drive I'm interested in is /dev/sda (Operations are at the drive level, not the partition)

    Then run hdparm to see what comes back. You should get alot of info about your drive.
    Code:
    tc@pCP-devel:~$ sudo hdparm -I /dev/sda
    
    /dev/sda:
    
    ATA device, with non-removable media
            Model Number:       WDC WD10EADS-00L5B1
            Serial Number:      WD-WCAU4D278215
            Firmware Revision:  01.01A01
            Transport:          Serial, SATA 1.0a, SATA II Extensions, SATA Rev 2.5
    Standards:
            Supported: 8 7 6 5
            Likely used: 8
    Configuration:
            Logical         max     current
            cylinders       16383   16383
            heads           16      16
            sectors/track   63      63
            --
            CHS current addressable sectors:    16514064
            LBA    user addressable sectors:   268435455
            LBA48  user addressable sectors:  1953525168
            Logical/Physical Sector size:           512 bytes
            device size with M = 1024*1024:      953869 MBytes
            device size with M = 1000*1000:     1000204 MBytes (1000 GB)
            cache/buffer size  = unknown
    Capabilities:
            LBA, IORDY(can be disabled)
            Queue depth: 32
            Standby timer values: spec'd by Standard, with device specific minimum
            R/W multiple sector transfer: Max = 16  Current = 0
            Recommended acoustic management value: 128, current value: 254
            DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
                 Cycle time: min=120ns recommended=120ns
            PIO: pio0 pio1 pio2 pio3 pio4
                 Cycle time: no flow control=120ns  IORDY flow control=120ns
    Commands/features:
            Enabled Supported:
               *    SMART feature set
                    Security Mode feature set
               *    Power Management feature set
               *    Write cache
               *    Look-ahead
               *    Host Protected Area feature set
               *    WRITE_BUFFER command
               *    READ_BUFFER command
               *    NOP cmd
               *    DOWNLOAD_MICROCODE
                    Power-Up In Standby feature set
               *    SET_FEATURES required to spinup after power up
                    SET_MAX security extension
                    Automatic Acoustic Management feature set
               *    48-bit Address feature set
               *    Device Configuration Overlay feature set
               *    Mandatory FLUSH_CACHE
               *    FLUSH_CACHE_EXT
               *    SMART error logging
               *    SMART self-test
               *    General Purpose Logging feature set
               *    64-bit World wide name
               *    Segmented DOWNLOAD_MICROCODE
               *    Gen1 signaling speed (1.5Gb/s)
               *    Gen2 signaling speed (3.0Gb/s)
               *    Native Command Queueing (NCQ)
               *    Host-initiated interface power management
               *    Phy event counters
                    DMA Setup Auto-Activate optimization
               *    Software settings preservation
               *    SMART Command Transport (SCT) feature set
               *    SCT Read/Write Long (AC1), obsolete
               *    SCT Write Same (AC2)
               *    SCT Error Recovery Control (AC3)
               *    SCT Features Control (AC4)
               *    SCT Data Tables (AC5)
                    unknown 206[12] (vendor specific)
                    unknown 206[13] (vendor specific)
    Security:
            Master password revision code = 65534
                    supported
            not     enabled
            not     locked
            not     frozen
            not     expired: security count
                    supported: enhanced erase
            232min for SECURITY ERASE UNIT. 232min for ENHANCED SECURITY ERASE UNIT.
    Logical Unit WWN Device Identifier: 50014ee15757494c
            NAA             : 5
            IEEE OUI        : 0014ee
            Unique ID       : 15757494c
    Checksum: correct
    Likely you just need to issue a command like this to set the spin down.
    Code:
    tc@pCP-devel:~$ sudo hdparm -S 240 /dev/sda
    
    /dev/sda:
     setting standby to 240 (20 minutes)
    Not the value used is a bit cryptic calculation
    Code:
     
           -S     Put the drive into idle (low-power) mode, and also set the
                  standby (spindown) timeout for the drive.  This timeout value
                  is used by the drive to determine how long to wait (with no
                  disk activity) before turning off the spindle motor to save
                  power.  Under such circumstances, the drive may take as long
                  as 30 seconds to respond to a subsequent disk access, though
                  most drives are much quicker.  The encoding of the timeout
                  value is somewhat peculiar.  A value of zero means "timeouts
                  are disabled": the device will not automatically enter standby
                  mode.  Values from 1 to 240 specify multiples of 5 seconds,
                  yielding timeouts from 5 seconds to 20 minutes.  Values from
                  241 to 251 specify from 1 to 11 units of 30 minutes, yielding
                  timeouts from 30 minutes to 5.5 hours.  A value of 252
                  signifies a timeout of 21 minutes. A value of 253 sets a
                  vendor-defined timeout period between 8 and 12 hours, and the
                  value 254 is reserved.  255 is interpreted as 21 minutes plus
                  15 seconds.  Note that some older drives may have very
                  different interpretations of these values.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #25
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    Wow... thank you so much!
    I think that I am not able to do such tweaking.
    I am afraid I will mess up and make things worse.
    Also this setup I am using right now is a temporary setup in my parents house where I am for vacation. I set it in order to learn as much about configuring LMS and piCore. In my main setup I use a nas. Also I use an iPad for setting things up. I donít have a normal computer for ssh.
    So since itís something that exceeds my skills I prefer not to mess with it since it needs such tweaking.

    Thank you again!!!

    Also I canít find the extension menu ...
    Edit: in front of my eyes
    Last edited by DomieMic65; 2019-08-04 at 00:03.
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

  6. #26
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    After some searching I managed to play DSD up to 128 dop from my setup (iFi xDSD DAC).
    The thing is that I can not pay 384Khz ... The truth is that I only have one album in such high resolution, and maybe not so important to play 384 but why it doesn't play? The tracks load but no sound.
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

  7. #27
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    Would you suggest to install a Linux distribution on my Mac mini (Late 2009, SSD, 8GB RAM) running El Capitan at the moment (the last os that supports this model) in order to use it as LMS machine?
    What Os would you suggest? Daphile?
    Now I use LMS installed on El Capitan but as said before there maybe some problems because of the old macOS.
    Would it be possible to dual boot?
    I have completely no experience in installing and using Linux.

    Thnx!

    Found this link about the exact same mac: https://www.zealfortechnology.com/20...ith-linux.html

    An option would be to leave the existing ssd as is in case I want to go back to macOS again and buy a new one to try Linux.
    Last edited by DomieMic65; 2019-08-06 at 13:41. Reason: Additional info
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

  8. #28
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    I tried log in to rpi with Raspy check app and I get this message.
    Any ideas?
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

  9. #29
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,719
    This app was propably not designed with piCore in mind.

    Try loading the extension rpi-vc.tcz

  10. #30
    Senior Member DomieMic65's Avatar
    Join Date
    Jul 2019
    Location
    Athens Greece
    Posts
    108
    Quote Originally Posted by Greg Erskine View Post
    This app was propably not designed with piCore in mind.

    Try loading the extension rpi-vc.tcz
    Thank you!
    Iíll try...
    Main system: Synology DS115j/RPi3b(LMS)/RPi3B+[LnrPS](piCore)/M2Tech EvoDAC Two+[LnrPS]/Densen DM20&30/Spendor SP2/3E
    Head-Fi: Schiit Vali2/Sennheiser HD600 & HD25Alum/Audeze Sine.
    Aditional HW: Allo DigiOne, iFi iDefender, iPurifier, iPower

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •