I need some help to find out why I am not getting the outcomes that I would expect.
The symptoms I am expecting are that the audio and the external USB are not working. I believe this has something to do with the USB Hub I am using. Although is getting powered up through a power strip (thanks @Lphillimore for this) it does not get recognised in lsusb command. When I execute the command it only shows 1 port detected but I would expected 4 or 5 ports to be detected. Since only one port is detected this might be the reason why the USB Sound Card is not detected either. Running cat /proc/asound/modules it only shows - 0 snd_bcm2835. At this point if the USB Hub was detected I would expect the 1 snd-usb-audio module to be shown as part of the command.
The issue I have just described above is the same as the one i had about a month ago. Originally I thought this was due to the fact that I was not using a power strip and that the USB Hub was not getting enough power. Now that I have added the power strip none of the issues seem to be resolved.
So, the output looks like the following:
The command below I don't know why is not recognising the sound card...
Code: Select all
pi@raspberrypi:~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The command below I don't know why it doesn't show 4 ports detected as opposed to 1 ?
Code: Select all
pi@raspberrypi:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.35+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1014 Fri Jun 30 14:34:49 BST 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 Zero W Rev 1.1
[ 0.000000] cma: Reserved 8 MiB at 0x0f400000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 65536
[ 0.000000] free_area_init_node: node 0, pgdat c0914874, node_mem_map cfdabe00
[ 0.000000] Normal zone: 576 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 65536 pages, LIFO batch:15
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:40:E8:4F vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 dwc_otg.speed=0 console=ttyS0,115200 console=tty1 root=PARTUUID=264d4c22-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait plymouth.enable=0
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 241256K/262144K available (5946K kernel code, 489K rwdata, 1948K rodata, 400K init, 734K bss, 12696K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc05d6bbc (5947 kB)
.init : 0xc0840000 - 0xc08a4000 ( 400 kB)
.data : 0xc08a4000 - 0xc091e728 ( 490 kB)
.bss : 0xc091e728 - 0xc09d5f28 ( 734 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000027] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000070] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000172] bcm2835: system timer (irq = 27)
[ 0.000646] Console: colour dummy device 80x30
[ 0.001410] console [tty1] enabled
[ 0.001466] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060351] pid_max: default: 32768 minimum: 301
[ 0.060806] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060877] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.061983] Disabling cpuset control group subsystem
[ 0.062257] CPU: Testing write buffer coherency: ok
[ 0.062363] ftrace: allocating 21712 entries in 64 pages
[ 0.177123] Setting up static identity map for 0x8200 - 0x8238
[ 0.179153] devtmpfs: initialized
[ 0.188376] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.188867] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.188966] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.190291] pinctrl core: initialized pinctrl subsystem
[ 0.191800] NET: Registered protocol family 16
[ 0.194357] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.204137] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.204229] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.204369] Serial: AMBA PL011 UART driver
[ 0.207290] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.208073] uart-pl011 20201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.256213] bcm2835-dma 20007000.dma: DMA legacy API manager at d080d000, dmachans=0x1
[ 0.259042] SCSI subsystem initialized
[ 0.259373] usbcore: registered new interface driver usbfs
[ 0.259544] usbcore: registered new interface driver hub
[ 0.259784] usbcore: registered new device driver usb
[ 0.267195] raspberrypi-firmware soc:firmware: Attached to firmware from 2017-07-03 14:16
[ 0.269240] clocksource: Switched to clocksource timer
[ 0.325521] VFS: Disk quotas dquot_6.6.0
[ 0.325719] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.326068] FS-Cache: Loaded
[ 0.326464] CacheFiles: Loaded
[ 0.345799] NET: Registered protocol family 2
[ 0.347222] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.347342] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.347432] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.347560] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.347625] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.347982] NET: Registered protocol family 1
[ 0.348790] RPC: Registered named UNIX socket transport module.
[ 0.348866] RPC: Registered udp transport module.
[ 0.348904] RPC: Registered tcp transport module.
[ 0.348939] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.350297] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.352793] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[ 0.372774] FS-Cache: Netfs 'nfs' registered for caching
[ 0.374575] NFS: Registering the id_resolver key type
[ 0.374686] Key type id_resolver registered
[ 0.374730] Key type id_legacy registered
[ 0.379209] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.379784] io scheduler noop registered
[ 0.379849] io scheduler deadline registered (default)
[ 0.380357] io scheduler cfq registered
[ 0.386228] BCM2708FB: allocated DMA memory 4f500000
[ 0.386361] BCM2708FB: allocated DMA channel 0 @ d080d000
[ 0.394644] Console: switching to colour frame buffer device 82x26
[ 0.404888] bcm2835-rng 20104000.rng: hwrng registered
[ 0.407729] vc-cma: Videocore CMA driver
[ 0.410411] vc-cma: vc_cma_base = 0x00000000
[ 0.412977] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.415540] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.418498] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.448796] brd: module loaded
[ 0.463760] loop: module loaded
[ 0.466171] Loading iSCSI transport class v2.0-870.
[ 0.469586] usbcore: registered new interface driver smsc95xx
[ 0.472082] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.702793] Core Release: 2.80a
[ 0.705265] Setting default values for core params
[ 0.707619] Finished setting default values for core params
[ 0.910432] Using Buffer DMA mode
[ 0.912857] Periodic Transfer Interrupt Enhancement - disabled
[ 0.915300] Multiprocessor Interrupt Enhancement - disabled
[ 0.917712] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.920283] Dedicated Tx FIFOs mode
[ 0.923366] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xcf514000 dma = 0x4f514000 len=9024
[ 0.928471] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.941208] dwc_otg: Microframe scheduler enabled
[ 0.941362] WARN::hcd_init_fiq:459: FIQ on core 0 at 0xc04512ec
[ 0.944017] WARN::hcd_init_fiq:460: FIQ ASM at 0xc04515c8 length 36
[ 0.946659] WARN::hcd_init_fiq:486: MPHI regs_base at 0xd08a5000
[ 0.949406] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.952052] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.954815] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 0.957467] Init: Port Power? op_state=1
[ 0.960104] Init: Power Port (0)
[ 0.962966] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.965616] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.968167] usb usb1: Product: DWC OTG Controller
[ 0.970768] usb usb1: Manufacturer: Linux 4.9.35+ dwc_otg_hcd
[ 0.973347] usb usb1: SerialNumber: 20980000.usb
[ 0.977059] hub 1-0:1.0: USB hub found
[ 0.979768] hub 1-0:1.0: 1 port detected
[ 0.983033] dwc_otg: FIQ enabled
[ 0.983042] dwc_otg: NAK holdoff enabled
[ 0.983047] dwc_otg: FIQ split-transaction FSM enabled
[ 0.983069] Module dwc_common_port init
[ 0.983577] usbcore: registered new interface driver usb-storage
[ 0.986533] mousedev: PS/2 mouse device common for all mice
[ 0.990826] bcm2835-wdt 20100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.993969] bcm2835-cpufreq: min=700000 max=1000000
[ 0.997212] sdhci: Secure Digital Host Controller Interface driver
[ 0.999940] sdhci: Copyright(c) Pierre Ossman
[ 1.002946] sdhost-bcm2835 20202000.sdhost: could not get clk, deferring probe
[ 1.008202] mmc-bcm2835 20300000.mmc: could not get clk, deferring probe
[ 1.011458] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.014796] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.017727] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.020855] usbcore: registered new interface driver usbhid
[ 1.023670] usbhid: USB HID core driver
[ 1.027675] vchiq: vchiq_init_state: slot_zero = 0xcf580000, is_master = 0
[ 1.033101] Initializing XFRM netlink socket
[ 1.036373] NET: Registered protocol family 17
[ 1.039787] Key type dns_resolver registered
[ 1.045028] registered taskstats version 1
[ 1.048371] vc-sm: Videocore shared memory driver
[ 1.051254] [vc_sm_connected_init]: start
[ 1.055139] [vc_sm_connected_init]: end - returning 0
[ 1.066863] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 1.075091] sdhost: log_buf @ cf513000 (4f513000)
[ 1.149303] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 1.154712] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.157611] mmc-bcm2835 20300000.mmc: DMA channel allocated
[ 1.190053] random: fast init done
[ 1.239477] of_cfs_init
[ 1.243439] of_cfs_init: OK
[ 1.252330] Waiting for root device PARTUUID=264d4c22-02...
[ 1.265321] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.269530] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.273714] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.279091] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.300923] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.308169] mmc0: new high speed SDHC card at address aaaa
[ 1.312240] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 1.318385] mmcblk0: p1 p2
[ 1.388073] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.393291] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.412244] mmc1: new high speed SDIO card at address 0001
[ 1.415695] devtmpfs: mounted
[ 1.419486] Freeing unused kernel memory: 400K (c0840000 - c08a4000)
[ 1.422062] This architecture does not have kernel memory protection.
[ 1.760521] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 1.766688] systemd[1]: Detected architecture 'arm'.
[ 1.902798] NET: Registered protocol family 10
[ 1.907878] systemd[1]: Inserted module 'ipv6'
[ 1.916401] systemd[1]: Set hostname to <raspberrypi>.
[ 1.919985] systemd[1]: Initializing machine ID from random generator.
[ 1.923610] systemd[1]: Installed transient /etc/machine-id file.
[ 2.701332] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory.
[ 2.716992] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 2.724030] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.730624] systemd[1]: Starting Remote File Systems (Pre).
[ 3.497002] usbcore: registered new interface driver snd-usb-audio
[ 4.858387] systemd-udevd[130]: starting version 215
[ 7.381691] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 7.733896] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 8.999980] usbcore: registered new interface driver brcmfmac
[ 9.201097] brcmfmac: Firmware version = wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID 01-df77e4a7
[ 9.977237] systemd-journald[128]: Received request to flush runtime journal from PID 1
[ 12.306634] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 12.306672] brcmfmac: power management disabled
[ 13.098629] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 14.431449] uart-pl011 20201000.serial: no DMA platform data
[ 15.001650] Adding 102396k swap on /var/swap. Priority:-1 extents:5 across:200700k SSFS
[ 18.859390] Bluetooth: Core ver 2.22
[ 18.859581] NET: Registered protocol family 31
[ 18.859590] Bluetooth: HCI device and connection manager initialized
[ 18.859622] Bluetooth: HCI socket layer initialized
[ 18.859641] Bluetooth: L2CAP socket layer initialized
[ 18.859705] Bluetooth: SCO socket layer initialized
[ 18.871257] Bluetooth: HCI UART driver ver 2.3
[ 18.871277] Bluetooth: HCI UART protocol H4 registered
[ 18.871283] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 18.871488] Bluetooth: HCI UART protocol Broadcom registered
[ 19.175464] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.175476] Bluetooth: BNEP filters: protocol multicast
[ 19.175506] Bluetooth: BNEP socket layer initialized
[ 20.239113] input: retrogame as /devices/virtual/input/input0
[ 41.594700] random: crng init done
Code: Select all
pi@raspberrypi:~ $ cat /proc/asound/modules
0 snd_bcm2835
Thanks for going through the post. Any help is much appreciated!