Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-30-2010, 07:21 PM
#1
LQ Newbie
Registered: Sep 2010
Distribution: slackware 13.1
Posts: 26
Rep:
alsa not working after i edited my /etc/inittab
i was reading
this part in slackbook and was going to try to change my run level to 1 (single user mode) i edited /etc/inittab, and changed
Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
to
# Default runlevel. (Do not set to 0 or 6)
id:1:initdefault:
rebooted and when i started x my mouse did not work or my keyboard + (i still had to log in),so when i switched it back i tryed watching a video on youtube with firefox and it had no sound and just locked up.
when i run speaker-test at the command line
it barfs up
Code:
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:6625:(snd_pcm_slave_conf) unknown format unchanged
Playback open error: -22,Invalid argument
with it echoing ALSA lib pcm.c:6625
snd_pcm_slave_conf) unknown format unchanged Playback open error: -22,Invalid argument on a loop
ty for any help
09-30-2010, 07:52 PM
#2
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367
Why are you trying to run your system in single user mode? That is usually reserved for troubleshooting. Most system services are not run in single user mode, and specifically, /etc/rc.d/rc.alsa is only run from /etc/rc.d/rc.M (which is only run in multiuser modes).
09-30-2010, 09:43 PM
#3
LQ Newbie
Registered: Sep 2010
Distribution: slackware 13.1
Posts: 26
Original Poster
Rep:
was just trying it out trying to learn etc. i switched it back to Multiuser mode but now alsa is giving me that error
09-30-2010, 09:57 PM
#4
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367
Have you rebooted since? Usually `telinit 3` in the terminal as root should restore the system to a normal multiuser runlevel 3. What is the output of `who -r`? You may wish to (re)run `alsaconf` as root and make sure everything in /etc/modprobe.d/sound (or sound.conf?) looks OK. Otherwise, the output of `lspci -vv`, `lsmod` and `aplay -l` would be handy.
09-30-2010, 10:54 PM
#5
LQ Newbie
Registered: Sep 2010
Distribution: slackware 13.1
Posts: 26
Original Poster
Rep:
who -r
Code:
run-level 3 2010-09-30 23:40 last=S
lspci
Code:
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
Subsystem: Dell Device 019d
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
Region 0: Memory at d8000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] Vendor Specific Information <?>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 Display controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
Subsystem: Dell Dimension 3000
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-
Interrupt: pin A routed to IRQ 11
Region 0: Memory at d0000000 (32-bit, prefetchable) [disabled] [size=128M]
Region 1: Memory at feb80000 (32-bit, non-prefetchable) [disabled] [size=512K]
Region 2: I/O ports at ed98 [disabled] [size=8]
Capabilities: [d0] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
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-
Region 0: Memory at fecf0000 (32-bit, non-prefetchable) [size=4K]
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 019d
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 4: I/O ports at ff80 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 019d
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 19
Region 4: I/O ports at ff60 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Device 019d
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 4: I/O ports at ff20 [size=32]
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell Device 019d
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin D routed to IRQ 23
Region 0: Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Debug port: BAR=1 offset=00a0
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00 [Normal decode])
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
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fd000000-feafffff
Prefetchable memory behind bridge: e0000000-f00fffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Kernel modules: iTCO_wdt, intel-rng
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Dell Device 019d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at 01f0 [size=8]
Region 1: I/O ports at 03f4 [size=1]
Region 2: I/O ports at 0170 [size=8]
Region 3: I/O ports at 0374 [size=1]
Region 4: I/O ports at ffa0 [size=16]
Region 5: Memory at feb7fc00 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
Subsystem: Dell Device 019d
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 17
Region 4: I/O ports at eda0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
Subsystem: Dell Device 019d
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at ee00 [size=256]
Region 1: I/O ports at edc0 [size=64]
Region 2: Memory at feb7fa00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at feb7f900 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Device 196e:01ad
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 21
Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e0000000 (32-bit, prefetchable) [size=256M]
[virtual] Expansion ROM at fea00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: nvidia
Kernel modules: nvidia, nouveau, nvidiafb
01:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Subsystem: Broadcom Corporation Gateway 7510GX
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: 64
Interrupt: pin A routed to IRQ 17
Region 0: Memory at fe9fe000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb
01:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
Subsystem: Dell Dimension 3000
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (2000ns min, 14000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fe9fd000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at df40 [size=64]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
Kernel driver in use: e100
Kernel modules: e100
lsmod
Code:
Module Size Used by
b43 162121 0
ssb 40527 1 b43
mmc_core 46926 2 b43,ssb
mac80211 153050 1 b43
cfg80211 109656 2 b43,mac80211
rfkill 12812 1 cfg80211
led_class 2037 1 b43
snd_seq_dummy 1107 0
snd_seq_oss 25580 0
snd_seq_midi_event 4620 1 snd_seq_oss
snd_seq 42857 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 4543 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 33917 0
snd_mixer_oss 13399 1 snd_pcm_oss
ipv6 229909 25
pcmcia 27872 2 b43,ssb
pcmcia_core 25659 1 pcmcia
lp 7161 0
fuse 52401 1
nvidia 7033786 24
ppdev 5103 0
nvidiafb 37079 0
usbhid 33016 0
fb_ddc 1205 1 nvidiafb
parport_pc 18027 1
snd_intel8x0 22387 0
i2c_algo_bit 4355 1 nvidiafb
e100 27177 0
i2c_i801 7194 0
vgastate 7914 1 nvidiafb
rtc_cmos 7838 0
i2c_core 15279 5 nvidia,nvidiafb,fb_ddc,i2c_algo_bit,i2c_i801
processor 26515 0
hid 61027 1 usbhid
mii 3322 1 e100
rtc_core 12050 1 rtc_cmos
parport 25487 3 lp,ppdev,parport_pc
thermal 10194 0
snd_ac97_codec 89467 1 snd_intel8x0
shpchp 27112 0
thermal_sys 12086 2 processor,thermal
iTCO_wdt 8577 0
pcspkr 1387 0
intel_agp 22699 1
iTCO_vendor_support 1557 1 iTCO_wdt
button 3934 0
evdev 6939 8
dcdbas 4480 0
rtc_lib 1522 1 rtc_core
ac97_bus 822 1 snd_ac97_codec
hwmon 1085 1 thermal_sys
agpgart 23773 2 nvidia,intel_agp
snd_pcm 57736 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
sg 21214 0
snd_timer 15699 2 snd_seq,snd_pcm
snd 43107 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 4815 1 snd
snd_page_alloc 5849 2 snd_intel8x0,snd_pcm
aplay
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
09-30-2010, 10:55 PM
#6
LQ Newbie
Registered: Sep 2010
Distribution: slackware 13.1
Posts: 26
Original Poster
Rep:
this is after i entered telinit 3 and rebooted
09-30-2010, 11:36 PM
#7
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858
Check the mixer. The volume may be set to mute.
10-01-2010, 02:31 PM
#8
LQ Newbie
Registered: Sep 2010
Distribution: slackware 13.1
Posts: 26
Original Poster
Rep:
i checked alsamixer and turned every thing up then ran
speaker-test
and i still get that alsa error
Code:
speaker-test 1.0.23
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib pcm.c:6625:(snd_pcm_slave_conf) unknown format unchanged
Playback open error: -22,Invalid argument
ALSA lib pcm.c:6625:(snd_pcm_slave_conf) unknown format unchanged
Playback open error: -22,Invalid argument
ALSA lib pcm.c:6625:(snd_pcm_slave_conf) unknown format unchanged
Playback open error: -22,Invalid argument
ALSA lib pcm.c:6625:(snd_pcm_slave_conf) unknown format unchanged
Playback open error: -22,Invalid argument
All times are GMT -5. The time now is 10:30 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News