Home of the Squeezebox™ & Transporter® network music players.
Page 42 of 45 FirstFirst ... 324041424344 ... LastLast
Results 411 to 420 of 441
  1. #411
    Quote Originally Posted by paul- View Post
    i2c-tools packages updated to 4.1 and pushed to the repo.
    Thanks!

    g.

  2. #412
    Whoops, not quite working yet:

    When I try to install i2c-tools-dev.tcz from the extensions page, it fails with:

    Downloading: i2c-tools.tcz
    i2c-tools.tcz: FAILED
    Error on i2c-tools.tcz
    I see entries for it in /mnt/mmcblk0p2:

    Code:
    tc@woof:/mnt/mmcblk0p2/tce/optional$ pwd
    /mnt/mmcblk0p2/tce/optional
    tc@woof:/mnt/mmcblk0p2/tce/optional$ ls -l i2c*
    -rw-r--r--    1 tc       staff           15 Aug 11 17:41 i2c-tools-dev.tcz.dep
    -rw-rw-r--    1 tc       staff        12288 Aug 11 17:34 i2c-tools-doc.tcz
    -rw-rw-r--    1 tc       staff           52 Aug 11 17:34 i2c-tools-doc.tcz.md5.txt
    -rw-rw-r--    1 tc       staff        53248 Aug 11 17:28 i2c-tools.tcz
    -rw-rw-r--    1 tc       staff           10 Aug 11 17:28 i2c-tools.tcz.dep
    -rw-rw-r--    1 tc       staff           48 Aug 11 17:28 i2c-tools.tcz.md5.txt
    tc@woof:/mnt/mmcblk0p2/tce/optional$
    But, the md5 signature in the txt file doesn't match what's generated for the new i2c-tools.tcz file.

    Code:
    tc@woof:/mnt/mmcblk0p2/tce/optional$ pwd
    /mnt/mmcblk0p2/tce/optional
    tc@woof:/mnt/mmcblk0p2/tce/optional$ md5sum i2c-tools.tcz
    f95fd49516571f75b5d7e7e2be465a21  i2c-tools.tcz
    tc@woof:/mnt/mmcblk0p2/tce/optional$ cat i2c-tools.tcz.md5.txt
    8a99f2f3753b006d89cf31534e35fc10  i2c-tools.tcz
    tc@woof:/mnt/mmcblk0p2/tce/optional$
    I can download a fresh copy from repo.picoreplayer.org and it matches the one in mmcblk0p2:

    Code:
    tc@woof:~$ curl -O https://repo.picoreplayer.org/repo/10.x/armv6/tcz/i2c-tools.tcz
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 53248  100 53248    0     0   137k      0 --:--:-- --:--:-- --:--:--  148k
    tc@woof:~$ ls -l i2c-tools.tcz
    -rw-r--r--    1 tc       staff        53248 Aug 11 17:48 i2c-tools.tcz
    tc@woof:~$ cmp i2c-tools.tcz /mnt/mmcblk0p2/tce/optional/i2c-tools.tcz
    tc@woof:~$
    Is there a step that I'm missing?

  3. #413
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,001
    It's a new version, it won't match what you had previously on your system. You cannot download a new extension version the same way. (I always hated that about the base tc tools)

    Use pcp-update. It will fetch and check all dependencies......

    pcp-update i2c-tools-dev
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  4. #414
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,719
    Hopefully the [Update] buttons on the [Extensions] page also work. Under the "Installed" and "Uninstalled" tabs.

    Ooopsů Not sure which version of pCP has the [Update] buttons. They will be there in the official pCP6.0.0. I can't check my older versions as I was running 3 x little pCP's on one 1A PSU and it has failed! I wonder why?

  5. #415
    Junior Member
    Join Date
    Jun 2018
    Posts
    11

    Now working - nearly

    Quote Originally Posted by Greg Erskine View Post
    slave.pcm "hw:0.0" ??? Typo???
    Yes, I changed to
    Code:
    slave.pcm "hw:0,0"
    Then saved via sudo filetool.sh -b

    Now I can get a stream, on smplayer or a web browser, but there is some breakup, unlike when I use wavinput on the same setup

    I tried a few things:
    - Set levels with alsamixer (I needed to reduce down to -15dB, same as before with wavinput to avoid clipping in the sound card input)
    - Overclock (only a pi 1), but makes no difference. CPU as measured by top is only around 15%.
    - Tried using both FLAC and MP3, both about the same, FLAC maybe a bit better.
    - Stopping Squeezelite to reduce USB bus load (only a USB1 bus) - but no noticeable difference.

    Any suggestions? How can I edit the script in /usr/local/bin to test to some other settings for SOX perhaps ?

    Thanks

  6. #416
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,001
    Running a PI 1 with USB is very very questionable. I would suggest you look at USB tweaks on the tweaks page.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  7. #417
    Junior Member
    Join Date
    Jun 2018
    Posts
    11
    Quote Originally Posted by paul- View Post
    Running a PI 1 with USB is very very questionable. I would suggest you look at USB tweaks on the tweaks page.
    OTG-Speed : dwc_otg.speed=1 - works perfectly. Great sounding old Vinyl...! Many thanks indeed.

  8. #418
    [edit: added info about running pcp-update on i2c-tools]

    Quote Originally Posted by paul- View Post
    It's a new version, it won't match what you had previously on your system. You cannot download a new extension version the same way. (I always hated that about the base tc tools)

    Use pcp-update. It will fetch and check all dependencies......

    pcp-update i2c-tools-dev
    I'm still having trouble (with i2c-tools, not i2c-tools-dev (i2c-tools is being loaded as a prerequisite)). I think that the problem is that the MD5 signature file doesn't match the tcz file that's currently available.

    Here's the contents of the file:

    Code:
    8a99f2f3753b006d89cf31534e35fc10  i2c-tools.tcz
    and here's the signature that I calculate for the tcz file.

    Code:
    (alice)[08:48:25]~>>md5 Downloads/i2c-tools.tcz
    MD5 (Downloads/i2c-tools.tcz) = f95fd49516571f75b5d7e7e2be465a21

    For completeness sake, I followed your instructions and updated the -dev extension from the command line:

    Code:
    tc@woof:~$ sudo pcp-update i2c-tools-dev
    Connecting to repo.picoreplayer.org (104.27.187.254:443)
    pcp_sizelist.gz      100% |********************************|  3284  0:00:00 ETA
    [ INFO ] Checking for Updates
    
    [ INFO ] Checking: i2c-tools-dev.tcz                        Update Required.
    [ INFO ] Checking: i2c-tools.tcz                            Extension version Matches
    [ INFO ] Checking: perl5.tcz                                Extension version Matches
    
    [ INFO ] Downloading: i2c-tools-dev.tcz                     OK
    
    [ INFO ] Done checking for updates
    
    [ INFO ] Reboot is required to complete update.
    tc@woof:~$ sudo reboot
    Now when I try to install the extension I get:

    Code:
    i2c-tools-dev is already downloaded.
    When I try to use the UI to install the i2c-tools.tcz explicitly, I get:

    Code:
    Downloading: i2c-tools.tcz
    i2c-tools.tcz: FAILED
    Error on i2c-tools.tcz
    Running update on i2c-tools tells me this:

    Code:
    tc@woof:/mnt/mmcblk0p2/tce/optional$ pcp-update i2c-tools
    [ INFO ] Checking for Updates
    
    [ INFO ] Checking: i2c-tools.tcz                            Extension version Matches
    [ INFO ] Checking: perl5.tcz                                Extension version Matches
    
    [ INFO ] Done checking for updates
    and doesn't fix the problem.

    Thank you for the help!
    Last edited by hartzell; 2019-08-14 at 09:10.

  9. #419
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,001
    Whenever I update files on our repo, I 100% verify md5sum's on every file. So the repo is correct. You would be best served by removing the extension, rebooting, then download again.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #420
    Quote Originally Posted by hartzell View Post
    I'm still having trouble (with i2c-tools, not i2c-tools-dev (i2c-tools is being loaded as a prerequisite)). I think that the problem is that the MD5 signature file doesn't match the tcz file that's currently available.
    [...]
    I just dd'ed a fresh image onto the SD card and tried adding the i2c-tools-dev extension and had the same problem. Here's the output from the UI:

    Code:
    Downloading: perl5.tcz
    perl5.tcz: OK
    Downloading: i2c-tools.tcz
    i2c-tools.tcz: FAILED
    Error on i2c-tools.tcz

Posting Permissions

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