Home of the Squeezebox™ & Transporter® network music players.
Page 10 of 16 FirstFirst ... 89101112 ... LastLast
Results 91 to 100 of 151
  1. #91
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    605
    Quote Originally Posted by htctyo View Post
    My device is Rip3b , I use 3.2beta7 with internal Wifi but fail.
    Cannot scan any SSID . But use 3.11 is fine Wifi is OK
    Please supply complete hardware configuration and wifi debug information.

  2. #92
    Junior Member
    Join Date
    Aug 2008
    Posts
    29

    Samba Issues

    After creating a share of a NTFS USB flash drive, no access to that share from Windows machine though I can see the share. The username/password is rejected with a note about lacking permissions.

    The config info follows:

    [global]
    netbios name = PICORE
    workgroup = HULL
    log file = /var/log/%m.log
    max log size = 1000
    local master = no
    security = user
    map to guest = bad user
    dns proxy = no
    load printers = no
    [Music]
    path = /mnt/128GB_NTFS
    create mask = 0777
    browseable = yes
    writeable = yes

    The log contains lines similar to this:
    ../source3/smbd/server.c:825(smbd_open_one_socket)
    ... open _socket_in: Address family not supported by protocol

    Testing done on rpi3

    Update: After adding a samba user manually, the share issue is fixed.
    There are still some startup issues, however. The network mount fails leaving both squeezelite and LMS not running. I started them manually and was able to copy files to the LMS music folder over the network, index them and play the music via squeezelite.

    I appreciate the work done on samba and LMS (and of course squeezelite). This is really a great combination on an rpi3. I hope exFAT file system support will be added at some point.
    Last edited by dhull; 2017-04-20 at 17:52.
    SB3 / Synology NAS running Logitech Media Server 7.9.0 / Squeeze Lite on Raspberry Pi 2 & 3

  3. #93
    Junior Member
    Join Date
    Oct 2011
    Posts
    18
    Quote Originally Posted by paul- View Post
    M-H

    I've added the missing modules. On your system running 3.20 beta 7 (Regular pcpCore only), Do this update.

    Code:
    tc@piCorePlayer:~$ sudo vi /etc/modprobe.conf
    
    Add a the following line
    softdep arizona-spi pre: arizona-ldo1
    
    Then save.
    
    tc@piCorePlayer:~tc@piCorePlayer:~$ pcp bu
    [ INFO ] Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz/
    Done.
    [ OK ] Backup successful.
    tc@piCorePlayer:~$ pcp-update alsa-modules-KERNEL
    rm: can't remove '/tmp/newdep.lst': No such file or directory
    [ INFO ] Checking for Updates
    
    [ INFO ] Checking: alsa-modules-4.9.21-pcpCore_v7.tcz       Update Required.
    [ INFO ] Done checking for updates
    
    [ INFO ] Reboot is required to complete update.
    tc@piCorePlayer:~$ pcp rb
    If you don't like to use vi, you can download nano.
    tce-load -wi nano.tcz

    And don't worry about that error message about /tmp/newdep.lst.

    Then go back to Steen's request to see if the card is loaded.
    Hi again,

    I tried this, and after the reboot, there was still no Wolfson card showing (using aplay -l to list the devices).

    Anything else I can try?

    Thanks,
    Pete

  4. #94
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    605
    Quote Originally Posted by petar View Post
    Hi again,

    I tried this, and after the reboot, there was still no Wolfson card showing (using aplay -l to list the devices).

    Anything else I can try?

    Thanks,
    Pete
    Can you give me the output of lsmod, and look at dmesg to see what is logged related to the card.

  5. #95
    Quote Originally Posted by paul- View Post
    Can you give me the output of lsmod, and look at dmesg to see what is logged related to the card.
    Hi paul-

    I am in the same situation as petar:

    Aplay -l and squeezelite -l do not show the cirrus driver/card entries like raspbian jessie does
    Here some exact data:

    tc@piCorePlayer320B7-1G:~$ lsmod
    Module Size Used by Not tainted
    cfg80211 525710 0
    rfkill 21373 2 cfg80211
    arizona_ldo1 3784 0
    8192cu 665389 0
    snd_soc_wm8804_i2c 1986 0
    snd_soc_wm8804 9720 1 snd_soc_wm8804_i2c
    snd_soc_rpi_cirrus 13872 0
    snd_soc_bcm2835_i2s 6283 0
    arizona_spi 1971 0
    snd_soc_core 175744 3 snd_soc_wm8804,snd_soc_rpi_cirrus,snd_soc_bcm2835_i2s
    snd_bcm2835 23131 1
    snd_pcm_dmaengine 6002 1 snd_soc_core
    snd_pcm 96519 6 snd_soc_wm8804,snd_soc_rpi_cirrus,snd_soc_core,snd_bcm2835,snd_pcm_dmaengine
    snd_timer 22674 1 snd_pcm
    snd_compress 10144 1 snd_soc_core
    snd 68784 7 snd_soc_rpi_cirrus,snd_soc_core,snd_bcm2835,snd_pcm,snd_timer,snd_co mpress
    regmap_mmio 3977 1 snd_soc_bcm2835_i2s
    fixed 3029 2
    squashfs 32058 58
    lz4 1667 1
    lz4_compress 3289 1 lz4
    zram 20493 1
    zsmalloc 16298 1 zram
    i2c_bcm2835 6369 0
    spi_bcm2835 7424 0
    bcm2835_gpiomem 3791 0
    uio_pdrv_genirq 3718 0
    uio 10166 1 uio_pdrv_genirq


    and:

    tc@piCorePlayer320B7-1G:~$ dmesg | egrep 'cirrus|arizona'
    [ 27.366871] arizona spi0.1: Failed to get mclk1: -2
    [ 27.366905] arizona spi0.1: Failed to get mclk2: -2
    [ 27.367582] arizona spi0.1: Failed to request DCVDD: -517
    [ 27.466139] arizona spi0.1: Failed to get mclk1: -2
    [ 27.466173] arizona spi0.1: Failed to get mclk2: -2
    [ 27.466818] arizona spi0.1: Failed to request DCVDD: -517
    [ 27.489199] arizona spi0.1: Failed to get mclk1: -2
    [ 27.489229] arizona spi0.1: Failed to get mclk2: -2
    [ 27.489917] arizona spi0.1: Failed to request DCVDD: -517
    [ 27.508169] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry
    [ 27.556914] arizona spi0.1: Failed to get mclk1: -2
    [ 27.556948] arizona spi0.1: Failed to get mclk2: -2
    [ 27.557646] arizona spi0.1: Failed to request DCVDD: -517
    [ 27.558509] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry
    [ 29.559831] arizona spi0.1: Failed to get mclk1: -2
    [ 29.559861] arizona spi0.1: Failed to get mclk2: -2
    [ 29.560525] arizona spi0.1: Failed to request DCVDD: -517
    [ 29.561560] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry

    tc@piCorePlayer320B7-1G:~$ cat /etc/modprobe.conf
    # /etc/modprobe.conf: Modprobe config file.
    options 8192cu rtw_power_mgnt=0 rtw_enusbss=0
    softdep arizona-spi pre: arizona-ldo1

    according to the driver creator 'hias' :

    If you're not using the default kernel config (make bcm2709_defconfig)
    you have to enable the following options to get the card working:



    CONFIG_REGULATOR=y
    CONFIG_REGULATOR_FIXED_VOLTAGE=m
    CONFIG_REGULATOR_ARIZONA=m
    CONFIG_SND_COMPRESS_OFFLOAD=m
    CONFIG_SND_SOC_COMPRESS=y
    CONFIG_SND_BCM2708_SOC_RPI_CIRRUS=m
    CONFIG_SND_SOC_ARIZONA=m
    CONFIG_SND_SOC_WM_ADSP=m
    CONFIG_SND_SOC_WM5102=m
    CONFIG_SND_SOC_WM8804_I2C=m


    That should be all you need kernel-config wise so that you can
    use dtoverlay=rpi-cirrus-wm5102 in config.txt

    BTW: building this stuff into the kernel (=y instead of =m) should
    work too.

    As I never successfully compiled a kernel, I am not sure what to do with these setting,They look like compile options that have to be done at compile time. And as the kernel is already built, we can only hope and check these are done.?
    Regards MH


  6. #96
    Junior Member
    Join Date
    Oct 2011
    Posts
    18
    Below is the output from my Pi. BTW, it's a Model B Rev 2.

    I cannot see any reference to 'arizona' in the output, even though I made the relevant changes to /etc/modprobe.conf.

    Code:
    tc@piCorePlayer:~$ dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.21-pcpAudioCore (paul@NUC-Devel) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1 PREEMPT Thu Apr 13 23:14:40 EDT 2017
    [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    [    0.000000] OF: fdt:Machine model: Raspberry Pi Model B Rev 2
    .........................................................................
    .........................................................................
    .........................................................................
    .........................................................................
    .........................................................................
    [    2.774255] smsc95xx v1.0.5
    [    2.838299] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:45:b1:6c
    [    4.547662] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
    [    6.060764] zram: Added device: zram0
    [    6.184853] zram0: detected capacity change from 0 to 106795008
    [    6.221687] Adding 104288k swap on /dev/zram0.  Priority:-1 extents:1 across:104288k SSFS
    [    7.026522] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    8.487175] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    8.654987] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   16.672336] snd-rpi-cirrus soc:sound: ASoC: CPU DAI (null) not registered - will retry
    [   16.689206] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry
    [   16.704034] wm8804 1-003b: revision E
    [   16.708318] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry
    [   18.203941] random: crng init done
    [   18.352994] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [   18.816443] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   20.008226] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
    [  164.389170] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    
    
    tc@piCorePlayer:~$ lsmod
    Module                  Size  Used by    Not tainted
    snd_soc_bcm2835_i2s     6315  0
    snd_soc_wm8804_i2c      1986  0
    snd_soc_rpi_cirrus     13872  0
    snd_soc_wm8804          9720  1 snd_soc_wm8804_i2c
    snd_soc_core          176864  3 snd_soc_bcm2835_i2s,snd_soc_rpi_cirrus,snd_soc_wm8804
    snd_bcm2835            23131  1
    snd_pcm_dmaengine       6002  1 snd_soc_core
    snd_pcm                96591  7 snd_soc_bcm2835_i2s,snd_soc_rpi_cirrus,snd_soc_wm8804,snd_soc_core,snd_bcm2835,snd_pcm_dmaengine
    snd_compress           10144  1 snd_soc_core
    snd_timer              24402  1 snd_pcm
    snd                    69893  7 snd_soc_rpi_cirrus,snd_soc_core,snd_bcm2835,snd_pcm,snd_compress,snd_timer
    regmap_mmio             3977  1 snd_soc_bcm2835_i2s
    fixed                   3029  2
    squashfs               33131 25
    lz4                     1667  1
    lz4_compress            3289  1 lz4
    zram                   21325  1
    zsmalloc               18305  1 zram
    i2c_bcm2835             6369  0
    spi_bcm2835             7424  0
    bcm2835_gpiomem         3791  0
    uio_pdrv_genirq         3846  0
    uio                    10166  1 uio_pdrv_genirq
    Last edited by petar; 2017-04-20 at 05:27.

  7. #97
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    605
    There does appear to be a timing issue when the drivers are loaded, vs when the modprobe.conf file is updated at boot time. I'm really not sure where to go here without hardware in my hands to work out the bugs.

  8. #98
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,097
    Quote Originally Posted by paul- View Post
    This is posted for insitu_upgrade. Or burn a new image.

    Kernel updated to 4.9.21
    Updated Boss driver, which is supposed to address the clicking between tracks when rate changes.

    Also, just an FYI, do not turn off your HDMI port with 3.20 (Tweaks page HDMI power) If you do, your I2S soundcard will probably no longer work. Reference.https://github.com/raspberrypi/linux/issues/1949

    Once rpi fixes the issue, there will be one last update before release.
    Paul, your FYI intrigued me, I admit to not noticing that option until reading your post, so I followed your link and read through it and it appeared to say that at 192kHz the clock will stop if tvservice is turned off. As all my music is 16bit 44.1 and I have just left the DAC parameters standard, I tried turning off the HDMI port to reduce power draw. Music still plays and the Harry Potter lightning bolt hasn't appeared since I tried this.
    RPi 2B, Kali reclocker, I2S generic DAC on 2 pCps and a MamboBerry I2S DAC.
    A camel is a racehorse designed by a committee.

    Seen sprayed on the outside wall of the local library -
    Three things I hate in life :
    1. Vandalism
    2. Irony
    3. Lists

  9. #99
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,143
    Quote Originally Posted by Wirrunna View Post
    ..... I tried turning off the HDMI port to reduce power draw.....
    Did you notice improved sound quality?

    We often add options on a whim and don't mention them.... We need a Marketing Department!

  10. #100
    Junior Member
    Join Date
    Oct 2011
    Posts
    18
    Silly me. I was using the audio version of piCorePlayer. I have since installed the standard version.

    I added 'dtoverlay=rpi-cirrus-wm5102' to /mnt/mmcblk0p1/config.txt, and also added 'softdep arizona-spi pre: arizona-ldo1' to /etc/modprobe.conf.

    Below is the relevant output from dmesg:

    Code:
    tc@piCorePlayer:~$ dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.21-pcpCore (paul@NUC-Devel) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1 Thu Apr 13 19:26:09 EDT 2017
    [    0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    [    0.000000] OF: fdt:Machine model: Raspberry Pi Model B Rev 2
    [    0.000000] cma: Reserved 8 MiB at 0x1b000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 114688
    ...............................
    ...............................
    ...............................
    [    7.407997] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.538731] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [   13.921997] arizona spi0.1: Failed to get mclk1: -2
    [   13.922024] arizona spi0.1: Failed to get mclk2: -2
    [   13.922585] arizona spi0.1: Failed to request DCVDD: -517
    [   13.932093] arizona spi0.1: Failed to get mclk1: -2
    [   13.932119] arizona spi0.1: Failed to get mclk2: -2
    [   13.932617] arizona spi0.1: Failed to request DCVDD: -517
    [   13.977538] arizona spi0.1: Failed to get mclk1: -2
    [   13.977569] arizona spi0.1: Failed to get mclk2: -2
    [   13.978074] arizona spi0.1: Failed to request DCVDD: -517
    [   14.043902] arizona spi0.1: Failed to get mclk1: -2
    [   14.043932] arizona spi0.1: Failed to get mclk2: -2
    [   14.044481] arizona spi0.1: Failed to request DCVDD: -517
    [   14.049852] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry
    [   14.135641] wm8804 1-003b: revision E
    [   14.137938] arizona spi0.1: Failed to get mclk1: -2
    [   14.137965] arizona spi0.1: Failed to get mclk2: -2
    [   14.138513] arizona spi0.1: Failed to request DCVDD: -517
    [   14.139220] snd-rpi-cirrus soc:sound: ASoC: CODEC DAI wm5102-aif1 not registered - will retry
    [   15.951479] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [   17.603477] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
    [   24.361337] random: crng init done
    And here is the output from lsmod. I can see the arizona and cirrus modules in there.

    Code:
    tc@piCorePlayer:~$ lsmod -l
    Module                  Size  Used by    Not tainted
    arizona_ldo1            3784  0
    snd_soc_wm8804_i2c      1986  0
    snd_soc_rpi_cirrus     13872  0
    snd_soc_wm8804          9720  1 snd_soc_wm8804_i2c
    snd_soc_bcm2835_i2s     6283  0
    snd_bcm2835            23131  1
    arizona_spi             1971  0
    snd_soc_core          175744  3 snd_soc_rpi_cirrus,snd_soc_wm8804,snd_soc_bcm2835_i2s
    snd_pcm_dmaengine       6002  1 snd_soc_core
    snd_pcm                96519  6 snd_soc_wm8804,snd_soc_rpi_cirrus,snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
    snd_compress           10144  1 snd_soc_core
    snd_timer              22674  1 snd_pcm
    snd                    68784  7 snd_soc_rpi_cirrus,snd_bcm2835,snd_soc_core,snd_pcm,snd_compress,snd_timer
    regmap_mmio             3977  1 snd_soc_bcm2835_i2s
    fixed                   3029  2
    squashfs               32058 22
    lz4                     1667  1
    lz4_compress            3289  1 lz4
    zram                   20493  1
    zsmalloc               16298  1 zram
    i2c_bcm2835             6369  0
    spi_bcm2835             7424  0
    bcm2835_gpiomem         3791  0
    uio_pdrv_genirq         3718  0
    uio                    10166  1 uio_pdrv_genirq
    Too bad ALSA does not see the Wolfson card.

    Code:
    **** List of PLAYBACK Hardware Devices ****
    card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
      Subdevices: 7/8
      Subdevice #0: subdevice #0
      Subdevice #1: subdevice #1
      Subdevice #2: subdevice #2
      Subdevice #3: subdevice #3
      Subdevice #4: subdevice #4
      Subdevice #5: subdevice #5
      Subdevice #6: subdevice #6
      Subdevice #7: subdevice #7
    card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    If you have any further ideas on what else I could try, feel free to suggest.

    Thanks!
    Petar

Posting Permissions

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