Jessica_kh wrote: 
> I have a personous audiobox 96 that has a reasonable DAC that runs
> 20/96, however it seems not to work with standard USB Audio or at least
> I have not found an option that works, has anyone attempted to connect
> this device?
> 
> Jessica xx

I have no idea if there is a linux driver as the manual only mentions
Windows and Mac OS (but no driver required for the latter)

So this is what I would try if it were mine. 

Your welcome to try at your own risk :)

Plug it into the a pCP rpi usb 2 socket

Reboot the rpi, go to the Squeezelite Settings select USB as Audio
output, save and follow the instructions.

If you have no output to select that looks like the device, just reboot

Open a Terminal  (user tc, password piCore) and type 


Code:
--------------------
    lsmod
--------------------


You are looking for a line with usb_snd_audio.

This is an example of an Apple USB headphone plugged into a pi running
pCP



Code:
--------------------
    
  tc@pCP:~$ lsmod
  Module                  Size  Used by
  spidev                 20480  0
  snd_bcm2835            28672  1
  raspberrypi_hwmon      16384  0
  snd_soc_bcm2835_i2s    16384  0
  snd_soc_core          229376  1 snd_soc_bcm2835_i2s
  snd_compress           20480  1 snd_soc_core
  snd_pcm_dmaengine      16384  1 snd_soc_core
  snd_pcm               114688  6 
snd_compress,snd_pcm_dmaengine,snd_soc_bcm2835_i
  snd_timer              36864  1 snd_pcm
  i2c_bcm2835            16384  0
  snd                    77824  6 
snd_compress,snd_timer,snd_bcm2835,snd_soc_core,
  spi_bcm2835            20480  0
  fixed                  16384  0
  gpio_keys              20480  0
  squashfs               40960  49
  zram                   28672  1
  zsmalloc               28672  1 zram
  
--------------------


It is not recognised.

I then plugged it into a rpi running the raspberry PI OS Buster Desktop.
Rebooted and ran lsmod, this is the result

Code:
--------------------
    
  login as: pi
  pi@192.168.1.120's password:
  Linux BusterDesktop 5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021 armv7l
  
  
  pi@BusterDesktop:~ $ lsmod
  Module                  Size  Used by
  rfcomm                 49152  4
  fuse                  126976  3
  cmac                   16384  1
  bnep                   20480  2
  hci_uart               40960  1
  btbcm                  16384  1 hci_uart
  bluetooth             393216  29 hci_uart,bnep,btbcm,rfcomm
  ecdh_generic           16384  2 bluetooth
  ecc                    40960  1 ecdh_generic
  8021q                  32768  0
  garp                   16384  1 8021q
  stp                    16384  1 garp
  llc                    16384  2 garp,stp
  snd_usb_audio         233472  2
  snd_hwdep              16384  1 snd_usb_audio
  snd_usbmidi_lib        32768  1 snd_usb_audio
  snd_rawmidi            32768  1 snd_usbmidi_lib
  snd_seq_device         16384  1 snd_rawmidi
  brcmfmac              327680  0
  brcmutil               20480  1 brcmfmac
  sha256_generic         16384  0
  cfg80211              761856  1 brcmfmac
  rfkill                 32768  6 bluetooth,cfg80211
  bcm2835_codec          40960  0
  bcm2835_v4l2           40960  0
  bcm2835_isp            32768  0
  v4l2_mem2mem           36864  1 bcm2835_codec
  bcm2835_mmal_vchiq     28672  3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2
  videobuf2_vmalloc      16384  1 bcm2835_v4l2
  videobuf2_dma_contig    20480  2 bcm2835_isp,bcm2835_codec
  videobuf2_memops       16384  2 videobuf2_dma_contig,videobuf2_vmalloc
  videobuf2_v4l2         32768  4 
bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem
  vc4                   270336  2
  videobuf2_common       61440  5 
bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
  videodev              249856  6 
bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2
  cec                    49152  1 vc4
  snd_bcm2835            24576  4
  mc                     45056  7 
bcm2835_isp,bcm2835_codec,snd_usb_audio,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
  raspberrypi_hwmon      16384  0
  vc_sm_cma              32768  2 bcm2835_isp,bcm2835_mmal_vchiq
  drm_kms_helper        241664  3 vc4
  snd_soc_core          225280  1 vc4
  v3d                    73728  2
  snd_compress           20480  1 snd_soc_core
  snd_pcm_dmaengine      16384  1 snd_soc_core
  gpu_sched              45056  1 v3d
  snd_pcm               110592  6 
snd_compress,snd_usb_audio,snd_pcm_dmaengine,snd_bcm2835,snd_soc_core
  snd_timer              32768  1 snd_pcm
  drm                   520192  8 v3d,vc4,gpu_sched,drm_kms_helper
  snd                    77824  21 
snd_compress,snd_hwdep,snd_usb_audio,snd_timer,snd_rawmidi,snd_usbmidi_lib,snd_seq_device,snd_bcm2835,snd_soc_core,snd_pcm
  syscopyarea            16384  1 drm_kms_helper
  sysfillrect            16384  1 drm_kms_helper
  sysimgblt              16384  1 drm_kms_helper
  fb_sys_fops            16384  1 drm_kms_helper
  drm_panel_orientation_quirks    16384  1 drm
  backlight              20480  1 drm
  rpivid_mem             16384  0
  uio_pdrv_genirq        16384  0
  nvmem_rmem             16384  0
  uio                    20480  1 uio_pdrv_genirq
  i2c_dev                20480  0
  ip_tables              28672  0
  x_tables               32768  1 ip_tables
  ipv6                  495616  46
  pi@BusterDesktop:~ $
--------------------


the headphone dac is recognised.

I reconfigured the Squeezelite instance on the rpi 


Code:
--------------------
    pi@BusterDesktop:~ $ squeezelite -l
  Output devices:
  default                        - Playback/recording through the PulseAudio 
sound server
  null                           - Discard all samples (playback) or generate 
zero samples (capture)
  jack                           - JACK Audio Connection Kit
  pulse                          - PulseAudio Sound Server
  sysdefault:CARD=b1             - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default 
Audio Device
  dmix:CARD=b1,DEV=0             - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct 
sample mixing device
  dsnoop:CARD=b1,DEV=0           - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct 
sample snooping device
  hw:CARD=b1,DEV=0               - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct 
hardware device without any conversions
  plughw:CARD=b1,DEV=0           - bcm2835 HDMI 1, bcm2835 HDMI 1 - Hardware 
device with all software conversions
  usbstream:CARD=b1              - bcm2835 HDMI 1 - USB Stream Output
  sysdefault:CARD=Headphones     - bcm2835 Headphones, bcm2835 Headphones - 
Default Audio Device
  dmix:CARD=Headphones,DEV=0     - bcm2835 Headphones, bcm2835 Headphones - 
Direct sample mixing device
  dsnoop:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - 
Direct sample snooping device
  hw:CARD=Headphones,DEV=0       - bcm2835 Headphones, bcm2835 Headphones - 
Direct hardware device without any conversions
  plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - 
Hardware device with all software conversions
  usbstream:CARD=Headphones      - bcm2835 Headphones - USB Stream Output
  sysdefault:CARD=A              - USB-C to 3.5mm Headphone Jack A, USB Audio - 
Default Audio Device
  front:CARD=A,DEV=0             - USB-C to 3.5mm Headphone Jack A, USB Audio - 
Front speakers
  surround21:CARD=A,DEV=0        - USB-C to 3.5mm Headphone Jack A, USB Audio - 
2.1 Surround output to Front and Subwoofer speakers
  surround40:CARD=A,DEV=0        - USB-C to 3.5mm Headphone Jack A, USB Audio - 
4.0 Surround output to Front and Rear speakers
  surround41:CARD=A,DEV=0        - USB-C to 3.5mm Headphone Jack A, USB Audio - 
4.1 Surround output to Front, Rear and Subwoofer speakers
  surround50:CARD=A,DEV=0        - USB-C to 3.5mm Headphone Jack A, USB Audio - 
5.0 Surround output to Front, Center and Rear speakers
  surround51:CARD=A,DEV=0        - USB-C to 3.5mm Headphone Jack A, USB Audio - 
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=A,DEV=0        - USB-C to 3.5mm Headphone Jack A, USB Audio - 
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=A,DEV=0            - USB-C to 3.5mm Headphone Jack A, USB Audio - 
IEC958 (S/PDIF) Digital Audio Output
  dmix:CARD=A,DEV=0              - USB-C to 3.5mm Headphone Jack A, USB Audio - 
Direct sample mixing device
  dsnoop:CARD=A,DEV=0            - USB-C to 3.5mm Headphone Jack A, USB Audio - 
Direct sample snooping device
  hw:CARD=A,DEV=0                - USB-C to 3.5mm Headphone Jack A, USB Audio - 
Direct hardware device without any conversions
  plughw:CARD=A,DEV=0            - USB-C to 3.5mm Headphone Jack A, USB Audio - 
Hardware device with all software conversions
  usbstream:CARD=A               - USB-C to 3.5mm Headphone Jack A - USB Stream 
Output
  
  pi@BusterDesktop:~ $ sudo nano /etc/default/squeezelite
  pi@BusterDesktop:~ $ sudo /etc/init.d/squeezelite restart
  [ ok ] Restarting squeezelite (via systemctl): squeezelite.service.
  pi@BusterDesktop:~ $
  
  
  
--------------------



and it is working.

If your device does not work in pCP but does in Raspberry PI OS  Buster
Desktop

Then if you ask paul- and show both the lsmod results, he may be able to
integrate it into pCP (I say Maybe!!!)

Sorry for such a long post :p

ronnie


------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to