LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2008, 06:09 AM   #1
mwgrient
LQ Newbie
 
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
ALsa and Logitech quickcam pro 9000


All,
Thanks for reading.

Only if I reboot Slackware 12.1 without my webcam, I get sound. If I do otherwise my webcam becomes the default sound device.

Apparently I have to load the modules in the right order. What is the best way to do this permanent?

Here is some output.

lsusb
Bus 001 Device 005: ID 046d:0990 Logitech, Inc. QuickCam Pro 9000
Bus 001 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 004: ID 0830:0061 Palm, Inc. Lifedrive / Treo 650/680 / Tunsten E2/T5/TX / Zire 21/31/72 / Z22
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 003 Device 001: ID 0000:0000
-- End.

lsmod
Module Size Used by
snd_usb_audio 79584 1
snd_usb_lib 18432 1 snd_usb_audio
snd_rawmidi 22560 1 snd_usb_lib
snd_hwdep 10756 1 snd_usb_audio
ipv6 234724 16
snd_seq_dummy 6660 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50256 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10380 4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40352 0
snd_mixer_oss 17920 1 snd_pcm_oss
lp 13348 0
fuse 45588 3
rtc_cmos 11040 0
rtc_core 18696 1 rtc_cmos
parport_pc 27556 1
nvidia 6904916 26
rtc_lib 6528 1 rtc_core
parport 34632 2 lp,parport_pc
8139too 25600 0
mii 8448 1 8139too
skge 41104 0
snd_intel8x0 31900 3
snd_ac97_codec 98724 1 snd_intel8x0
ac97_bus 5760 1 snd_ac97_codec
snd_pcm 72068 4 snd_usb_audio,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
thermal 16540 0
snd_timer 22532 2 snd_seq,snd_pcm
snd 47716 20 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd _intel8x0,snd_ac97_codec,snd_pcm,snd_timer
iTCO_wdt 13988 0
button 10000 0
visor 19596 0
intel_agp 25236 1
processor 32680 1 thermal
soundcore 9824 1 snd
iTCO_vendor_support 7044 1 iTCO_wdt
evdev 12672 3
snd_page_alloc 11528 2 snd_intel8x0,snd_pcm
usbserial 33384 1 visor
agpgart 30664 2 nvidia,intel_agp
shpchp 32788 0
i2c_i801 11792 0
sg 30224 0
-- End.

Last edited by mwgrient; 11-30-2008 at 06:27 AM. Reason: forgot to mention that I use slackware
 
Old 12-01-2008, 01:51 AM   #2
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 227

Rep: Reputation: 54
Quote:
Only if I reboot Slackware 12.1 without my webcam, I get sound. If I do otherwise my webcam becomes the default sound device.

Apparently I have to load the modules in the right order. What is the best way to do this permanent?
Make sure that /etc/modprobe.d/alsa (or /etc/modprobe.conf, or whatever file contains your sound driver configuration) has the following lines:

Code:
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-usb-audio
options snd slots=snd-intel8x0,snd-usb-audio
 
Old 12-13-2008, 08:27 PM   #3
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Quote:
Originally Posted by cladisch View Post
Code:
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-usb-audio
options snd slots=snd-intel8x0,snd-usb-audio
This has never worked for me. The only way to force a soundcard to do that (in my experience) is to recompile the kernel with the preferred card built in (ie. not as a module).

The above example didn't work for me, alsa threw up multiple errors at boot time. If there is a way to do this without recompiling my kernel I would love to know!
 
Old 12-15-2008, 02:17 AM   #4
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 227

Rep: Reputation: 54
Quote:
Originally Posted by Tuttle View Post
The above example didn't work for me, alsa threw up multiple errors at boot time.
Please show the error messages.
 
Old 12-15-2008, 03:58 AM   #5
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Quote:
Originally Posted by cladisch View Post
Please show the error messages.
Sure:
Code:
tuttle@shangrila:~$ dmesg
.........
blablabla
.........
snd: Unknown parameter `slots'
snd_timer: Unknown symbol snd_info_register
snd_timer: Unknown symbol snd_info_create_module_entry
snd_timer: Unknown symbol snd_info_free_entry
snd_timer: Unknown symbol snd_iprintf
snd_timer: Unknown symbol snd_ecards_limit
snd_timer: Unknown symbol snd_oss_info_register
snd_timer: Unknown symbol snd_unregister_device
snd_timer: Unknown symbol snd_device_new
snd_timer: Unknown symbol snd_register_device_for_dev
snd_pcm: Unknown symbol snd_info_register
snd_pcm: Unknown symbol snd_info_create_module_entry
snd_pcm: Unknown symbol snd_timer_notify
snd_pcm: Unknown symbol snd_timer_interrupt
snd_pcm: Unknown symbol snd_info_free_entry
snd_pcm: Unknown symbol snd_add_device_sysfs_file
snd_pcm: Unknown symbol snd_info_get_str
snd_pcm: Unknown symbol snd_ctl_register_ioctl
snd_pcm: Unknown symbol snd_card_file_add
snd_pcm: Unknown symbol snd_iprintf
snd_pcm: Unknown symbol snd_major
snd_pcm: Unknown symbol snd_unregister_device
snd_pcm: Unknown symbol snd_timer_new
snd_pcm: Unknown symbol snd_device_new
snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
snd_pcm: Unknown symbol snd_lookup_minor_data
snd_pcm: Unknown symbol snd_info_create_card_entry
snd_pcm: Unknown symbol snd_power_wait
snd_pcm: Unknown symbol snd_device_free
snd_pcm: Unknown symbol snd_card_file_remove
snd_pcm: Unknown symbol snd_register_device_for_dev
snd_pcm: Unknown symbol snd_device_register
snd_pcm: Unknown symbol snd_info_get_line
snd_ac97_codec: Unknown symbol snd_info_register
snd_ac97_codec: Unknown symbol snd_ctl_add
snd_ac97_codec: Unknown symbol snd_info_free_entry
snd_ac97_codec: Unknown symbol snd_interval_refine
snd_ac97_codec: Unknown symbol snd_ctl_find_id
snd_ac97_codec: Unknown symbol snd_ctl_new1
snd_ac97_codec: Unknown symbol snd_ctl_remove_id
snd_ac97_codec: Unknown symbol snd_component_add
snd_ac97_codec: Unknown symbol snd_pcm_hw_rule_add
snd_ac97_codec: Unknown symbol snd_iprintf
snd_ac97_codec: Unknown symbol snd_ctl_boolean_mono_info
snd_ac97_codec: Unknown symbol snd_device_new
snd_ac97_codec: Unknown symbol snd_info_create_card_entry
snd_intel8x0: Unknown symbol snd_ac97_pcm_close
snd_intel8x0: Unknown symbol snd_ac97_resume
snd_intel8x0: Unknown symbol snd_pcm_new
snd_intel8x0: Unknown symbol snd_pcm_limit_hw_rates
snd_intel8x0: Unknown symbol snd_card_register
snd_intel8x0: Unknown symbol snd_card_free
snd_intel8x0: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
snd_intel8x0: Unknown symbol snd_card_proc_new
snd_intel8x0: Unknown symbol snd_ac97_pcm_open
snd_intel8x0: Unknown symbol snd_ac97_set_rate
snd_intel8x0: Unknown symbol snd_ac97_update_bits
snd_intel8x0: Unknown symbol snd_ac97_mixer
snd_intel8x0: Unknown symbol snd_ac97_bus
snd_intel8x0: Unknown symbol snd_ac97_pcm_double_rate_rules
snd_intel8x0: Unknown symbol snd_ac97_update_power
snd_intel8x0: Unknown symbol snd_card_new
snd_intel8x0: Unknown symbol snd_ac97_suspend
snd_intel8x0: Unknown symbol snd_iprintf
snd_intel8x0: Unknown symbol snd_pcm_lib_malloc_pages
snd_intel8x0: Unknown symbol snd_pcm_lib_ioctl
snd_intel8x0: Unknown symbol snd_pcm_lib_free_pages
snd_intel8x0: Unknown symbol snd_pcm_set_ops
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_list
snd_intel8x0: Unknown symbol snd_device_new
snd_intel8x0: Unknown symbol snd_ac97_get_short_name
snd_intel8x0: Unknown symbol snd_pcm_suspend_all
snd_intel8x0: Unknown symbol snd_card_disconnect
snd_intel8x0: Unknown symbol snd_ac97_pcm_assign
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_integer
snd_intel8x0: Unknown symbol snd_pci_quirk_lookup
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_msbits
snd_intel8x0: Unknown symbol snd_pcm_period_elapsed
snd_intel8x0: Unknown symbol snd_ac97_tune_hardware
tuttle@shangrila:~$ alsamixer

alsamixer: function snd_ctl_open failed for default: No such device
tuttle@shangrila:~$ lsmod | grep snd
snd_page_alloc         11528  0 
tuttle@shangrila:~$
Looks like the "slots" option is not recognised

I have also used this in the past:
Code:
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
But still the cards swap at random...

Last edited by Tuttle; 12-15-2008 at 04:02 AM.
 
Old 12-15-2008, 04:28 AM   #6
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 227

Rep: Reputation: 54
Quote:
Code:
snd: Unknown parameter `slots'
This parameter exists since ALSA 1.0.16 or kernel 2.6.25.

Quote:
Code:
snd_timer: Unknown symbol snd_info_register
...
This indicates that the "snd" and the "snd-timer" modules have not been compiled for the same kernel (configuration). In most cases, this happens when you try to load a newly compiled module although some old sound module is still loaded.

Quote:
I have also used this in the past:
Code:
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
But still the cards swap at random...
With earlier driver versions, you have to set the "index" option for each sound driver, like this:
Code:
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-usb-audio
options snd-intel8x0 index=0
options snd-usb-audio index=1
 
Old 12-15-2008, 05:00 AM   #7
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Code:
tuttle@shangrila:~$ uname -r
2.6.24.5-smp
tuttle@shangrila:~$ ls /var/adm/packages/alsa-
alsa-lib-1.0.15-i486-1    alsa-oss-1.0.15-i486-1    alsa-utils-1.0.15-i486-3
Slack is so backward!

Great info cladisch, many thanks.
 
Old 12-15-2008, 05:27 AM   #8
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Your solution worked cladisch, thanks for your time.
 
  


Reply

Tags
alsa, logitech, quickcam, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech QuickCam Pro 9000 on Debian Etch? gleedads Linux - Newbie 10 04-19-2010 08:35 PM
Logitech QuickCam Pro 9000 geoffames Linux - Newbie 2 11-30-2008 05:41 AM
debian amd64 etch Logitech Quickcam Pro 9000 ernst Debian 4 09-28-2008 06:44 PM
installing a logitech quickcam pro 9000 on a ubuntu 8.04 machine robertjohnsmith Linux - Newbie 7 09-11-2008 07:42 PM
Logitech Quickcam Pro 9000 UVC driver RVDowning Mandriva 11 11-14-2007 11:10 AM


All times are GMT -5. The time now is 03:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration