You are not logged in.

#1 2009-01-23 23:05:44

venky80
Member
Registered: 2007-05-13
Posts: 1,002

no sound IBM thinkpad x31..please help

I have a thinkpad x31 and I have tried everything from arch wiki on alsa to make the sound work, can anyone help me to get it working

[venky@myhost ~]$  ls -l /dev/snd/
total 0
crw-rw---- 1 root audio 116, 10 2009-01-23 10:55 controlC0
crw-rw---- 1 root audio 116,  9 2009-01-23 10:55 pcmC0D0c
crw-rw---- 1 root audio 116,  8 2009-01-23 11:56 pcmC0D0p
crw-rw---- 1 root audio 116,  7 2009-01-23 10:55 pcmC0D1c
crw-rw---- 1 root audio 116,  6 2009-01-23 10:55 pcmC0D2c
crw-rw---- 1 root audio 116,  5 2009-01-23 10:55 pcmC0D3c
crw-rw---- 1 root audio 116,  4 2009-01-23 10:55 pcmC0D4p
crw-rw---- 1 root audio 116,  3 2009-01-23 10:55 seq
crw-rw---- 1 root audio 116,  2 2009-01-23 10:55 timer
[venky@myhost ~]$ lsmod|grep '^snd'
snd_seq_oss            31872  0 
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8332  2 snd_seq_oss,snd_seq
snd_intel8x0           30876  3 
snd_ac97_codec        102436  1 snd_intel8x0
snd_pcm_oss            40320  0 
snd_pcm                70020  4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              21384  3 snd_seq,snd_pcm
snd_page_alloc         10120  2 snd_intel8x0,snd_pcm
snd_mixer_oss          16512  1 snd_pcm_oss
snd                    50852  13 snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss

rc.conf

#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(e100 eepro100 mii slhc rt2x00lib rt2x00pci rt61pci ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 !snd-intel8x0m !snd_pcsp soundcore vboxdrv)

Acer Aspire V5-573P Antergos KDE

Offline

#2 2009-01-23 23:53:04

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: no sound IBM thinkpad x31..please help

what are the results of using aplay?  if you invoke it with -vv do you get a little soundmeter?  what about running it as root?  have tried also blacklisting pcspkr?

have you tried any of the parameters to the snd_intel8x0 module?

also, are you in the audio group?

Last edited by kludge (2009-01-24 02:26:59)


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#3 2009-01-24 02:30:07

djseomun
Member
From: Durham, NC
Registered: 2008-10-19
Posts: 35
Website

Re: no sound IBM thinkpad x31..please help

I know you said you tried everything on the wiki, but just to confirm, did you try unmuting "Speaker" in alsamixer?  I have a more recent ThinkPad (R61), but that's the only thing I need to do manually to get sound to work.

Offline

#4 2009-01-24 02:31:59

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: no sound IBM thinkpad x31..please help

as u can see my rc.conf !snd-intel8x0m !snd_pcsp is blacklisted..(or is there any other way?) iam not able to get any result out of aplay or sudo aplay...ive tried adding the quirk in modprobe.conf too do you have any more ideas for me? Thanks for the help though


Acer Aspire V5-573P Antergos KDE

Offline

#5 2009-01-24 02:51:36

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: no sound IBM thinkpad x31..please help

pcspkr is a different module.  i'm not certain if it will conflict, but if it's loaded, unloading it might help isolate the problem.

also, are you rebooting in between configuration changes?  you should never *have* to, but some folks seem to be unable to make their changes take without a reboot.

also, what do mean by "not able to get any result out of aplay or sudo aplay"?  do you get *no* output, or no sound?  do you see the little sound meter go when you run it?  and are you running it with a .wav file?  that's about all it plays.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#6 2009-01-24 16:51:53

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: no sound IBM thinkpad x31..please help

kludge wrote:

pcspkr is a different module.  i'm not certain if it will conflict, but if it's loaded, unloading it might help isolate the problem.

also, are you rebooting in between configuration changes?  you should never *have* to, but some folks seem to be unable to make their changes take without a reboot.

also, what do mean by "not able to get any result out of aplay or sudo aplay"?  do you get *no* output, or no sound?  do you see the little sound meter go when you run it?  and are you running it with a .wav file?  that's about all it plays.

I tried the aplay again as root, i saw some meter activity but no sound

ash-3.2# aplay -vv Front_Left.wav 
Playing WAVE 'Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
Plug PCM: Route conversion PCM (sformat=S32_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 8192
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 8192
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 20
  buffer_size  : 8192
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 8192
  stop_threshold   : 8192
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 0 'Intel 82801DB-ICH4' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S32_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 20
  buffer_size  : 8192
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : ENABLE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 1073741824
  boundary     : 1073741824
#+                                                 | 00%

the last meter went till 49%


Acer Aspire V5-573P Antergos KDE

Offline

#7 2009-01-24 20:42:27

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: no sound IBM thinkpad x31..please help

that means that aplay, and thus alsa, *think* they're working alright.  beyond that, i don't know what to tell you.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#8 2009-01-25 06:45:13

dwa
Member
From: Toronto, Canada
Registered: 2009-01-25
Posts: 2

Re: no sound IBM thinkpad x31..please help

I also have a Thinkpad X31 with a freshly-installed Arch and sound working... these are the relevant sound modules in my rc.conf:

ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore

Note that snd-intel8x0m is *not* blacklisted in my setup.

Offline

#9 2009-01-25 06:52:07

rok3
Member
From: NJ, USA
Registered: 2008-03-09
Posts: 44

Re: no sound IBM thinkpad x31..please help

I don't want to offend you but make sure that you hit the up volume button a couple times.  The controls act on the hardware directly so if they are set to low/mute no amount of software work will get you sound.

Offline

#10 2009-01-25 08:34:19

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: no sound IBM thinkpad x31..please help

dwa did you do some quirks in modprobe.conf as listed in the wiki? @ kludge thanks that helps so it means something very trivial is happening thanks for all help
@dwa thanks for the config i will report my success if i have it..also can i borrow ur xorg.conf if you are using radeon driver?...my flashplugin performance sucks on ati
@rok3 ive tried it in alsa mixer few times...i think i put all the things to max
master pcm master mono external amp to mute etc etc


Acer Aspire V5-573P Antergos KDE

Offline

#11 2009-01-25 16:36:29

rok3
Member
From: NJ, USA
Registered: 2008-03-09
Posts: 44

Re: no sound IBM thinkpad x31..please help

Venky80:  I'm actually talking about the physical buttons on the laptop itself.  You have Volume Down, Up, and Mute between the blue Access button and the power button.  They control the laptop's hardware mixer that Alsa can't control. After you start up the machine hit the Vol Up button like a dozen times just to make sure that it's not muted or very low. Sorry I didn't state it more clearly last night.  Was heading for bed. smile

Offline

#12 2009-01-25 16:42:02

dwa
Member
From: Toronto, Canada
Registered: 2009-01-25
Posts: 2

Re: no sound IBM thinkpad x31..please help

venky80 wrote:

dwa did you do some quirks in modprobe.conf as listed in the wiki? @ kludge thanks that helps so it means something very trivial is happening thanks for all help
@dwa thanks for the config i will report my success if i have it..also can i borrow ur xorg.conf if you are using radeon driver?...my flashplugin performance sucks on ati

I did not add anything to modprobe.conf about sound modules. Here is xorg.conf:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "xtrap"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "IBM"
        ModelName    "Thinkpad X31 LCD"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M6 LY"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerFlags"
        # disable input hotplugging
        Option "AutoAddDevices" "False"
EndSection

Offline

#13 2009-01-25 18:33:35

venky80
Member
Registered: 2007-05-13
Posts: 1,002

Re: no sound IBM thinkpad x31..please help

@rok3 man you made my day...wow the volume button in the laptop was low thanks ..@dwa thanks for the xorg.conf...
Thanks again everything works now and the flash performance is better with radeon than with ati driver

Thank you all for all the help alsamixer is irrelevant if the thinkpad volume button is low.
Cheers!

Last edited by venky80 (2009-01-25 18:48:19)


Acer Aspire V5-573P Antergos KDE

Offline

#14 2009-01-25 18:56:17

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: no sound IBM thinkpad x31..please help

*facepalms*

*takes deep breath*

glad it got figured out, venky.  mark as solved, por favor.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#15 2009-01-25 19:42:24

rok3
Member
From: NJ, USA
Registered: 2008-03-09
Posts: 44

Re: no sound IBM thinkpad x31..please help

Glad that fixed it! I ran into a similar problem when I setup my first Thinkpad.

Offline

#16 2009-02-08 16:01:51

heidaro
Member
Registered: 2009-02-05
Posts: 10

Re: no sound IBM thinkpad x31..please help

rok3 wrote:

I don't want to offend you but make sure that you hit the up volume button a couple times.  The controls act on the hardware directly so if they are set to low/mute no amount of software work will get you sound.

Someone should throw that in the Arch Wiki Alsa page IMO, I think it happens with all IBM laptops and I always forget about this.

Offline

#17 2009-02-09 05:27:09

kludge
Member
Registered: 2008-08-03
Posts: 294

Re: no sound IBM thinkpad x31..please help

actually, if that needs to be stated on the wiki (and yeah, now that i think about it, it got me early on, too... i'd never imagined direct hardware contorl buttons), it should go in the hcl:laptop:thinkpad section.  it's a thinkpad thing, not an alsa thing.


[23:00:16]    dr_kludge | i want to invent an olfactory human-computer interface, integrate it into the web standards, then produce my own forked browser.
[23:00:32]    dr_kludge | can you guess what i'd call it?
[23:01:16]    dr_kludge | nosilla.
[23:01:32]    dr_kludge | i really should be going to bed.  i'm giggling madly about that.

Offline

#18 2010-01-26 23:41:38

brazman
Member
Registered: 2010-01-26
Posts: 8

Re: no sound IBM thinkpad x31..please help

I just want to say thank you for this post. Can't belive that the volume button was my issue the entire time. Everything seemed to work fine but I continued to get no sound. My sound issue is resolved.

thanks,
brazman

Offline

Board footer

Powered by FluxBB