Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP - initrd embedded in kernel - SOLVED
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Thu Feb 14, 2019 4:33 am    Post subject: Reply with quote

If one googles and fiddles enough, you can make this stuff work! I now have my intel integrated display running perfectly, and also my nvidia discrete video and external monitor working great as well.

So I have a booting system with proper X video. It feels good again. I still have a number of othere things to do:

1. bluetooth for my mouse.
2. wifi
3. my usb connected cellular modem
4. audio/sound
5. laptop screen backlight dimmer
6. thinkpad backlit keyboard off/dim/brite
7. the nitelite that shines down on the keyboard on/off
8.. adobe flash or some suitable substitute -- might already be there after I installed firefox -- nope, just checked
9. adobe acroread or suitable substitute. Prefer genuine adobe acroread, since I have stuff that works much better with it than gv, etc.
10. need to get thunderbird configured properly. I installed it, but can't get it to connect to my server. why do they always change the config interface for these things?
11. open-office -- I plan to install this tonight while I sleep, since it takes so long to install.

Plus a few nits regarding startup initialization of ny netork and getting eth0 back again instead of enp0s25; YUK!

After everythin is working, I will restore user files from the backup server.

:mrgreen:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Thu Feb 14, 2019 7:45 pm    Post subject: Reply with quote

bluetoothct barfs:
Code:

onesimus ~ # bluetoothctl
Segmentation fault
onesimus ~ #

Here's the version:
Code:

*  net-wireless/bluez
      Latest version available: 5.50-r1
      Latest version installed: 5.50-r1
      Size of files: 1715 KiB
      Homepage:      http://www.bluez.org
      Description:   Bluetooth Tools and System Daemons for Linux
      License:       GPL-2+ LGPL-2.1+

Used to work fine with my old kernel 3.12.21-gentoo-r1.

Code:

onesimus ~ # lsmod
Module                  Size  Used by
btusb                  49152  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             376832  5 btrtl,btintel,btbcm,btusb
ecdh_generic           24576  1 bluetooth
psmouse               110592  0
nvidiafb               45056  0
wmi_bmof               16384  0
iwlwifi               172032  0
vgastate               20480  1 nvidiafb
e1000e                208896  0
onesimus ~ #


Any idea what the problem could be?
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Thu Feb 14, 2019 7:55 pm    Post subject: Reply with quote

Moriah,

Code:
onesimus ~ # bluetoothctl
Segmentation fault
onesimus ~ #
will tell something useful in dmesg.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Thu Feb 14, 2019 8:39 pm    Post subject: Reply with quote

Indeed it does:
Code:

onesimus /usr/src/linux # dmesg | grep -i blue
[   14.010790] Bluetooth: Core ver 2.22
[   14.010797] Bluetooth: HCI device and connection manager initialized
[   14.010799] Bluetooth: HCI socket layer initialized
[   14.010800] Bluetooth: L2CAP socket layer initialized
[   14.010801] Bluetooth: SCO socket layer initialized
[   14.121011] Bluetooth: hci0: BCM: chip id 63
[   14.122019] Bluetooth: hci0: BCM: features 0x07
[   14.137908] Bluetooth: hci0: BCM20702A
[   14.138915] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[   14.138931] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2
[   14.138932] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found
onesimus /usr/src/linux #


I call your attention to the lines:
Code:

[   14.138931] bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0a5c-21e6.hcd failed with error -2
[   14.138932] Bluetooth: hci0: BCM: Patch brcm/BCM20702A1-0a5c-21e6.hcd not found

This looks suspicious, but even after I emerged the only firmware thing associated with bluetooth, and verified ther was nothing else in the kernel with make menuconfig, and rebooting just to be sure, I still get the same firmware message. :?

I found the firmware image at:
Code:

https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM20702A1-0a5c-21e8.hcd

but I don't know where to put it so the bluez stuff can find it.

Likewise, the "patch" is at:
Code:

https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM20702A1-0a5c-21e6.hcd

but I don't know where to put that either.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Thu Feb 14, 2019 10:35 pm    Post subject: Reply with quote

Moriah,

The file goes into /lib/firmware/<path_from_dmesg>

Thats /lib/firmware/brcm/BCM20702A1-0a5c-21e6.hcd for you. /lib/firmware/brcm may already exist, as linux-firmware puts files there.
The file you found is BCM20702A1-0a5c-21e8.hcd, which is not what your driver is looking for, so it won't be found.

Get https://github.com/winterheart/broadcom-bt-firmware/blob/master/brcm/BCM20702A1-0a5c-21e6.hcd and put it into /lib/firmware/brcm
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Fri Feb 15, 2019 1:47 pm    Post subject: Reply with quote

Still barfs:
Code:

onesimus ~ # bluetoothctl
Segmentation fault
onesimus ~ #


Here's the dmesg output:
Code:

onesimus ~ # dmesg | grep -i blue
[   17.607300] Bluetooth: Core ver 2.22
[   17.607309] Bluetooth: HCI device and connection manager initialized
[   17.607312] Bluetooth: HCI socket layer initialized
[   17.607313] Bluetooth: L2CAP socket layer initialized
[   17.607315] Bluetooth: SCO socket layer initialized
[   17.722796] Bluetooth: hci0: BCM: chip id 63
[   17.723799] Bluetooth: hci0: BCM: features 0x07
[   17.739701] Bluetooth: hci0: BCM20702A
[   17.740603] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000
[   19.808047] Bluetooth: hci0 command 0x0a0a tx timeout
[   28.128054] Bluetooth: hci0: BCM: Patch command 0a0a failed (-110)
[   30.240048] Bluetooth: hci0 command 0x1001 tx timeout
[   35.391973] bluetoothctl[2985]: segfault at 8 ip 00007fb723ff2073 sp 00007ffe79f11830 error 4 in libdbus-1.so.3.14.14[7fb723fdc000+43000]
[   38.368055] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[  603.964545] bluetoothctl[3222]: segfault at 8 ip 00007f080f0a7073 sp 00007ffc8baf00c0 error 4 in libdbus-1.so.3.14.14[7f080f091000+43000]
onesimus ~ # bluetoothctl


Seems the "patch" thing is not working...
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Fri Feb 15, 2019 5:46 pm    Post subject: Reply with quote

Moriah,

Please pastebin all of dmesg. If you have a combined WiFi/Bluetooth they need extra care.
If your Bluetooth is really intended for a UEFI system and you use BIOS, you need a .txt file to provide the the missing data that UEFI would have provided.

The segfault looks ugly but I'm not convinced its relevant yet.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Fri Feb 15, 2019 5:53 pm    Post subject: Reply with quote

Yes, I needd both wifi and bluetooth, and sometimes I need both active and running at the same time, if that matters.

The laptop is a Lenovo ThinkPad w530.

I have fetched from paste bin, but never posted to it. I can post to my own web server, if that would help. Let me know.

I used to have all this working fine under my old 3.12.21-gentoo-r1 kernel, and I have all those files on my backup server, if that would help. I also have the entire /usr/src/linux-.12.21-gentoo-r1 directory tree already on the laptop now, so I can compare .configs, etc.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Fri Feb 15, 2019 6:01 pm    Post subject: Reply with quote

Moriah,

wgetpaste is your friend.
Code:
$ dmesg | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/1NXuJXOv1474CKLAYtrg/
That's for real too.

lspci or lsusb, whatever shows your WiFi and Bluetooth would be good too.
WiFi and Bluetooth both operate in the 2.4GHz Unlicensed Mobile Band and often share the same RF circuits and antenna(s).
That keeps cost and power down.
The kernel has an option that some Broadcom combined devices need to make both work together at the same time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Fri Feb 15, 2019 6:31 pm    Post subject: Reply with quote

Code:

onesimus ~ # lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
02:00.0 System peripheral: Ricoh Co Ltd PCIe SDXC/MMC Host Controller (rev 05)
02:00.3 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 PCIe IEEE 1394 Controller (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
onesimus ~ #


Code:

onesimus ~ # lsusb
Bus 002 Device 005: ID 2188:0ae1 
Bus 001 Device 003: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]
Bus 001 Device 006: ID 04f2:b2ea Chicony Electronics Co., Ltd Integrated Camera [ThinkPad]
Bus 001 Device 004: ID 147e:2020 Upek TouchChip Fingerprint Coprocessor (WBF advanced mode)
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 062a:0201 MosArt Semiconductor Corp. Defender Office Keyboard (K7310) S Zodiak KM-9010
Bus 002 Device 003: ID 0451:8044 Texas Instruments, Inc.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
onesimus ~ #

Code:

onesimus ~ # dmesg | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/aQrRBg39iVr3S7eiQ0xP/
onesimus ~ #

_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Fri Feb 15, 2019 7:43 pm    Post subject: Reply with quote

Moriah,

First the good news, your WiFi and Bluetooth are separate devices.
Wifi is
Code:
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)

Bluetooth is
Code:
Bus 001 Device 005: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 [ThinkPad]


Your wifi is missing firmware too.
Code:
[   17.596589] Intel(R) Wireless WiFi driver for Linux
[   17.596590] Copyright(c) 2003- 2015 Intel Corporation
[   17.596793] iwlwifi 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
[   17.597965] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-6.ucode failed with error -2
[   17.597972] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000g2a-5.ucode failed with error -2
[   17.597974] iwlwifi 0000:03:00.0: no suitable firmware found!
[   17.597975] iwlwifi 0000:03:00.0: minimum version required: iwlwifi-6000g2a-5
[   17.597976] iwlwifi 0000:03:00.0: maximum version supported: iwlwifi-6000g2a-6
[   17.597976] iwlwifi 0000:03:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Install linux-firmware to get the missing microcode.

This much of the Bluetooth looks OK too
Code:
[   17.607300] Bluetooth: Core ver 2.22
[   17.607308] NET: Registered protocol family 31
[   17.607309] Bluetooth: HCI device and connection manager initialized
[   17.607312] Bluetooth: HCI socket layer initialized
[   17.607313] Bluetooth: L2CAP socket layer initialized
[   17.607315] Bluetooth: SCO socket layer initialized
[   17.610056] usbcore: registered new interface driver btusb
[   17.722796] Bluetooth: hci0: BCM: chip id 63
[   17.723799] Bluetooth: hci0: BCM: features 0x07
[   17.739701] Bluetooth: hci0: BCM20702A
[   17.740603] Bluetooth: hci0: BCM20702A1 (001.002.014) build 0000

then it goes wrong.
Code:
[   19.808047] Bluetooth: hci0 command 0x0a0a tx timeout
[   28.128054] Bluetooth: hci0: BCM: Patch command 0a0a failed (-110)
[   30.240048] Bluetooth: hci0 command 0x1001 tx timeout


According to github you shold have one more line.
Code:
Bluetooth: hci1: BCM: chip id 63
Bluetooth: hci1: BCM20702A
Bluetooth: hci1: BCM20702A1 (001.002.014) build 0000
Bluetooth: hci1: BCM20702A1 (001.002.014) build 1467
Bluetooth: hci1: Broadcom Bluetooth Device

You are missing the
Code:
Bluetooth: hci1: BCM20702A1 (001.002.014) build 1467
line.
That page may help.

I can't tell from dmesg if you are booting in BIOS (legacy) on UEFI mode.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Fri Feb 15, 2019 7:50 pm    Post subject: Reply with quote

I am booting legacy, uaingf old fashioned grub. I'd like to switch to grub2 after I get everything else working though...
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Fri Feb 15, 2019 8:15 pm    Post subject: Reply with quote

Moriah,

This Arch Linux thread describes extracting the firmware from the Windows driver.
Maybe that matters ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sat Feb 16, 2019 1:26 am    Post subject: Reply with quote

After emerging linux-firmware wifi works:
Code:

onesimus ~ # ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1400
        inet 192.168.5.108  netmask 255.255.255.0  broadcast 192.168.5.255
        ether e0:9d:31:2d:84:a0  txqueuelen 1000  (Ethernet)
        RX packets 8  bytes 1356 (1.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15  bytes 2064 (2.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

onesimus ~ #


Bluetooth is still broken. Last time I booted, I saw the bluetooth lines in dmesg; this time there is no mention of them. 8O
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sat Feb 16, 2019 3:34 am    Post subject: Reply with quote

Not being one to impede progress (meaning I wasn't sleepy enough to go to bed yet), I started working on sound.

It didn't work.

The following extract from dmesg is informative, but I don't know what to do about it:
Code:

[    2.138950] ALSA device list:
[    2.138953]   No soundcards found.
[    2.143707] hdaudio hdaudioC0D0: Unable to bind the codec
[    2.248124] hdaudio hdaudioC1D0: Unable to bind the codec


Did I miss a kernel option? Or do I need a list somewhere of the devices I want to the sound system to talk to?

Here's the only audio device I could find:
Code:

onesimus ~ # lspci
  :
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)


Eventually I want bluetooth audio also, but this is not as important as getting my bluetooth mouse to work.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Sat Feb 16, 2019 11:40 am    Post subject: Reply with quote

Moriah,

Put your current kernel .config file onto a pastebin and your current dmesg.

Your old dmesg says
Code:
[    2.088156] ALSA device list:
[    2.088159]   No soundcards found.
...
[   16.966614] XFS (dm-1): Mounting V4 Filesystem


Alsa tries to start before root is mounted. That may be a bad thing. Your pastebins will tell.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sat Feb 16, 2019 5:43 pm    Post subject: Reply with quote

Code:

onesimus ~ # dmesg | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/b2JgJ262s4rXHEiK80tx/
onesimus ~ # cat /usr/src/linux/.config | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/ig5RGG861rzvy7kwiCAG/
onesimus ~ #


So I assume there is a way to change the order of events here...

Would it help if I posted the .config for the 3.12.21 kernel? That worked for wifi, bluetooth, and audio.

It may sound like a nit, battery life and eye burnout are helped by having the screen dimmable, and the nitelite and keyboard backlight also used to work. I would like to get them working again too.

I also have to get my cellular modem working, but I'll wait until everything else works to tackle that. I used to work under 3.12.21, and I have all the old files.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Sat Feb 16, 2019 6:45 pm    Post subject: Reply with quote

Moriah,

Sound is in two parts. The PCI bus end, which you have and the codec end which includes the Digital to Analogue converters for output and the Analogue to Digital converters for input.
All your codecs are off.

Code:
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_HDMI is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
# CONFIG_SND_HDA_GENERIC is not set
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64


Enable all the codecs and SND_HDA_GENERIC. You can remove unneeded codecs later, once you know which one you need.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sun Feb 17, 2019 1:47 am    Post subject: Reply with quote

I tried setting the codecs, both as modules, and built into the kernal; neither gave any sound.

I did try emerging alsamixer, but apparently it is no longer out there, so I copied it from my backup server. I told me:

Card: HDA Intel PCH
Chip: Realtek ALC269VC

and that mute was on, which I suspected, so I turned mute off, but still no output. :(

Code:

// current config
onesimus ~ # cat /usr/src/linux/.config | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/x5flAiF3VO0oGPU98DPO/
onesimus ~ #

// old config when aidio worked
onesimus ~ # cat /usr/src/linux-3.12.21-gentoo-r1/.config | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/wbcxIlpInz48w3ORsriV/
onesimus ~ #

onesimus ~ # dmesg | wgetpaste
Your paste can be seen here: https://paste.pound-python.org/show/ecYwUmttDUqgTe2WiTG0/
onesimus ~ #

_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Sun Feb 17, 2019 11:01 am    Post subject: Reply with quote

Moriah,

With
Code:
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
the codecs need to be built in too.

You probably have several soudcards. What does /proc/asound/devices tell?
Its quite popular for the default soundcard to be set to the wrong card.

Add alsasound to the default runlevel. It preserves you sound card settings across reboots. Without that, your sound will be muted at boot.

The alsa page is good reading too.
Alsamixer is still around. If you have copied it from elsewhere, your alsa install is probably incomplete.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sun Feb 17, 2019 1:31 pm    Post subject: Reply with quote

Short note to answer you question:
Code:

onesimus /usr/src/linux # cat /proc/asound/devices
  0: [ 0]   : control
  1:        : sequencer
 16: [ 0- 0]: digital audio playback
 32: [ 1]   : control
 33:        : timer
 48: [ 1- 0]: digital audio playback
 56: [ 1- 0]: digital audio capture
 64: [ 2]   : control
 83: [ 2- 3]: digital audio playback
 87: [ 2- 7]: digital audio playback
onesimus /usr/src/linux #


I'll do more this afternoon, but I have a tight schedule this morning, and a bunch of paperwork to get done for work.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Sun Feb 17, 2019 4:17 pm    Post subject: Reply with quote

Moriah,

You have three sound cards, numbered 0, 1 and 2.

For analogue audio output you need to be using sound card 1 but sound card 0 is the default, so your sound output is going to the wrong card and out of one of the digital outputs.
You can reorder your sound cards with a kernel command line parameter, or you can create an /etc/asound.conf file.

/etc/asound.conf:
defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1
should do nicely.
The defaults.pcm.device 0 is not strictly required, as its the default anyway.

alsamixer should show a lot more controls now, with sllders and switches
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Tue Feb 19, 2019 3:47 am    Post subject: Reply with quote

Sound is working! :D

I had to emerge media-sound/alsa-tools and media-sound/alsa-utils, which includes alsamixer, btw.

Now I still need to get bluetooth and my cellular modem working, and I think I'm ready to hit the road with this laptop.

The following is my remaining to-do list:
Code:

      cellular
      iptables
      bluetooth
      screen dimmer
      nite lite
      kb backlight
      battery monitoring
      fan speed
      cpu temp
      fonts
      flash      adobe site say "not found"?
      vncserver      tightvnc is ancient version


Of these, bluetooth for my mouse it the most important, then battery monitoring, then the cellular modem. I'm pretty sure I can handle the cellular modem, and probably the battery.

Oh yes, I need some additional fonts so I can switch font size in emacs/xemacs, and its been so long, I don't remember which fonts those are.

iptables should be straight forward, and important before I connect via public wifi on the road.

flash is nice, but not urgent. I mostly use it for weather radar, but it still gets used in some web pages. I probably need a firefox plugin.

What happened to tightvnc? I have used that for years, and now we have tigervnc, which is ok for a viewer, but what does one use for a vncserver that supports tight mode? I need a tight vnc server.

kvm will become important only after everything works. I still have a lot of applications to install after this list is done.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Tue Feb 19, 2019 4:36 am    Post subject: Reply with quote

OK, I got my battery monitor working. :)

I'm having problems with iptables. I'll post more on it tomorrow. <yawn> Zzzz......
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43209
Location: 56N 3W

PostPosted: Tue Feb 19, 2019 8:37 am    Post subject: Reply with quote

Moriah,

Pastetbin your dmesg and kernel .config file. That should shed some light on bluetooth.

What is the vendor and deviceID of your cellular modem?

You may get CPU temp for free in /sys but lm-sensors should work too.
It will need kernel support.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum