No Ethernet with... Sound Blaster card ?

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: No Ethernet with... Sound Blaster card ?

Post by xeno74 »

Could you please post the output of "dmesg | grep -i ca0132"? I want to make sure, that we are really talking about the right sound card. OK, I have seen, that you have no output of this command. Maybe "dmesg | grep -i realtek" displays something.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Amiguy
Posts: 93
Joined: Mon May 15, 2017 8:01 pm
Location: France

Re: No Ethernet with... Sound Blaster card ?

Post by Amiguy »

There are no results under root for these commands.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: No Ethernet with... Sound Blaster card ?

Post by xeno74 »

What about "dmesg | grep -i realtek"?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Amiguy
Posts: 93
Joined: Mon May 15, 2017 8:01 pm
Location: France

Re: No Ethernet with... Sound Blaster card ?

Post by Amiguy »

Same, no result
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
User avatar
Amiguy
Posts: 93
Joined: Mon May 15, 2017 8:01 pm
Location: France

Re: No Ethernet with... Sound Blaster card ?

Post by Amiguy »

When I run the lsmod command again, I now have new results :

Code: Select all

Module                  Size  Used by
snd_hda_codec_realtek   128287  0
snd_hda_codec_generic    80306  1 snd_hda_codec_realtek
ledtrig_audio           2730  1 snd_hda_codec_generic
snd_hda_codec_ca0132    82410  0
uio_pdrv_genirq         7243  0
uio                    19689  1 uio_pdrv_genirq
Last edited by Amiguy on Sun Jul 25, 2021 2:46 pm, edited 1 time in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: No Ethernet with... Sound Blaster card ?

Post by xeno74 »

Amiguy wrote: Sat Jul 24, 2021 7:02 pm When I run the lsmod command again, I now have new results :

Module Size Used by
snd_hda_codec_realtek 128287 0
snd_hda_codec_generic 80306 1 snd_hda_codec_realtek
ledtrig_audio 2730 1 snd_hda_codec_generic
snd_hda_codec_ca0132 82410 0
uio_pdrv_genirq 7243 0
uio 19689 1 uio_pdrv_genirq
Great! Please post the output of cat /proc/asound/cards again.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Amiguy
Posts: 93
Joined: Mon May 15, 2017 8:01 pm
Location: France

Re: No Ethernet with... Sound Blaster card ?

Post by Amiguy »

Excuse me, I was unable to continue my investigations yesterday night.

Getting back to my X5000 this morning, I see that the lsmod command no longer generates the lines from yesterday night. This means in my opinion that the sound card is recognized only on a one-off and momentary basis :

Code: Select all

Module                  Size  Used by
uio_pdrv_genirq         7243  0
uio                    19689  1 uio_pdrv_genirq
And of course the cards file doesn't change since I haven't changed anything :

Code: Select all

0 [VirMIDI        ]: VirMIDI - VirMIDI
                      Virtual MIDI Card 1
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xc10040000 irq 43
Besides, I did not intervene on any file whatsoever to display the new lines of the lsmod command. I don't know what could have changed the appearance of the lsmod lines. I restarted the X5000 several times by switching back to Fienix, then switching back to the Amiga (which makes the sound card work well), then again switching back to Fienix. I can't go back over the result of last night's lsmod.

When I run the command dmes | grep -i snd, I get the following output:

Code: Select all

[    5.680529] snd_hda_intel 0000:01:00.1: Force to snoop mode by module option
[    5.685643] snd_hda_intel 1000:05:00.0: Disabling MSI
[    5.690577] snd_hda_intel 1000:05:00.0: Force to snoop mode by module option
[    5.696445] usbcore: registered new interface driver snd-usb-audio
[    5.701643] usbcore: registered new interface driver snd-ua101
[    5.706818] usbcore: registered new interface driver snd-usb-usx2y
[   15.059852] snd_hda_intel 0000:01:00.1: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.
Last edited by Amiguy on Sun Jul 25, 2021 2:49 pm, edited 1 time in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Roland
Posts: 824
Joined: Tue May 02, 2017 7:23 am

Re: No Ethernet with... Sound Blaster card ?

Post by Roland »

Is there possibly something in this thread which could help to solve this problem:

https://www.linuxquestions.org/question ... 175505881/
- Roland -
User avatar
Amiguy
Posts: 93
Joined: Mon May 15, 2017 8:01 pm
Location: France

Re: No Ethernet with... Sound Blaster card ?

Post by Amiguy »

Thank you Roland for your link. The solution of recompiling alsa-firmware seems interesting (post from nortin), but we already have a higher version (v1.2.2-1) which is the latest available.

The comment from bolt.0 is also interesting. I don't have any of the configuration files described in the post. But when I display the /etc/pulse/daemon.conf file, it is filled in and all the lines are commented out (;). Maybe setting this file would help make the card work :

Code: Select all

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; enable-lfe-remixing = no
; lfe-crossover-freq = 0

; flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0
Then, the post of janKdebian looks very promising to me. I do have an /etc/initramfs-tools/modules file, but what exactly should I enter there? "Realtek"?
Last edited by Amiguy on Sun Jul 25, 2021 2:48 pm, edited 1 time in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
User avatar
Amiguy
Posts: 93
Joined: Mon May 15, 2017 8:01 pm
Location: France

Re: No Ethernet with... Sound Blaster card ?

Post by Amiguy »

When I run the lspci -v command, I get the sound card details. It is well identified as a Sound Blaster Audigy Fx subsystem of a Recon3D type device:

Code: Select all

1000:05:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
	Subsystem: Creative Labs SB1570 SB Audigy Fx
	Flags: fast devsel, IRQ 19
	Memory at c20100000 (64-bit, non-prefetchable) [size=16K]
	Memory at c20104000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
Last edited by Amiguy on Sun Jul 25, 2021 3:00 pm, edited 2 times in total.
Amiga 1200 2Mb Chip - PiStorm32 lite - CF 128Gb - Indivision MK3 - GOEX Drive - WB 3.2.2.1
AmigaOne X5000 2Ghz / 8Gb Ram - SSD 2x4Tb - Radeon RX 580 4Gb - Sound Blaster Audigy FX 5.1 SBX - AmigaOS4.1 FE
Post Reply