When I started using Slackware I've been using USB headset. Everything ran perfectly fine. They got recognized, I could use all of it's functions and so on. Unfortunately volume control on them stopped working so I had to service them, and like in every third world country, yay I need to wait minimum three weeks just so they can press a button and say "Yup, they don't work".
I bought normal headset to use them while other one is getting fixed, and didn't expect any problems with them considering they are "old" technology, normal audio input and output.
Now problem is following, sound works fine but microphone doesn't. Once I managed to "fix" it by switching audio input from mic to something else and then back to mic, now even that doesn't work. Another... "problem" is if I leave my USB webcam plugged in while booting computer, there is no sound at all, ether on line ones or USB ones but I can easily solve that problem by unplugging webcam, rebooting and plugging it back in later.
Now everything ran fine until my computer shutdown while I was sleeping. Don't know why, but it started happening recently, don't see anything smart in logs so I assume its... something, read it could be cache, HDD, temperature and so on but since logs don't write down anything smart... will deal with it some other time.
EDIT
When I talk I can actually hear myself on the headset, which probably means that they work. If I put mic boost all the way up, I can hear myself perfectly clear, but somehow... seems that that information just doesn't get to Slackware, well it gets somewhat considering that it reacts to me adjusting mic boost on KMix, but everything else... no.
Arecord doesn't record anything, TS register as microphone isn't plugged in at all, skype doesn't get any input ether.
EDIT
I've googled little bit about the problem, and although not sure how to deal with it I found which information might be useful so someone might be able to help me.
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
Find weird that it counts Analog input twice... maybe that's the problem?
Code:
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0x46d0x807 [USB Device 0x46d:0x807], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
I have only one microphone plugged in, other one is webcam. So... why 2 captures? Can I just remove that line from pcm file to "fix" it?
Code:
cat /proc/asound/pcm
00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 1
00-01: ALC883 Digital : ALC883 Digital : playback 1 : capture 1
00-02: ALC883 Analog : ALC883 Analog : capture 1
01-00: USB Audio : USB Audio : capture 1
Code:
lspci -vvnn
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 02)
Subsystem: Giga-byte Technology Device [1458:a002]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 45
Region 0: Memory at f9100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0300c Data: 4191
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
Found somewhere that the problem might be solved by running alsaconf so I did, though didn't help
Code:
cat /etc/modprobe.d/sound.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.23 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
Code:
dmesg | grep HDA
[ 3.996018] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
[ 3.998432] HDA Intel 0000:00:1b.0: irq 45 for MSI/MSI-X
[ 3.998455] HDA Intel 0000:00:1b.0: setting latency timer to 64
Code:
alsactl init
Unknown hardware: "HDA-Intel" "Realtek ALC883" "HDA:10ec0883,1458e601,00100002" "0x1458" "0xa002"
Hardware is initialized using a guess method
That's it, hope someone will make something out of this and thank for your help