LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-13-2007, 01:51 AM   #1
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Rep: Reputation: 30
alsaconf returns error msg "getopt: command not found"


Please help: my system suddenly stopped recognizing my sound card. Running alsaconf results in the following error message:
Quote:
/usr/sbin/alsaconf: line 107: getopt: command not found
cat /proc/version:
Quote:
Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12etch2) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Wed May 9 23:03:12 UTC 2007
cat /proc/cpuinfo:
Quote:
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 1
model name : Intel(R) Pentium(R) 4 CPU 1.60GHz
stepping : 2
cpu MHz : 1594.962
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up
bogomips : 3193.16
lspci -v:
Quote:
Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
Subsystem: Voyetra Technologies Santa Cruz
Flags: bus master, slow devsel, latency 32, IRQ 185
Memory at feafe000 (32-bit, non-prefetchable) [size=4K]
Memory at fe700000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 2
desktop environment: Gnome

RAM: 516

box: Dell Dimension 4400

No system configuration or other extraordinary activity was taking place when this happened, just normal everyday usage. For that reason, I can think of nothing that triggered it.

If you can think of a potential solution to this error message so I can run alsaconf and get my soundcard back it would be much appreciated. Wouldn't you know this happened just as I advised my mother, who lives at a distance, we could start upgrading our daily text chats to voice chat. I'd like to resolve this so as to be able to follow through with her as I indicated so as to not disappoint her expectations.

If you need more system info such as the full text of /usr/sbin/alsaconf, or if this belongs on one of the other forums, please let me know.

Thank you for your time.
 
Old 07-13-2007, 07:02 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You might want to verify that getopt is still installed.
 
Old 07-13-2007, 08:17 AM   #3
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
getopt

Thank you. Indeed, that appeared to be the solution. However, I couldn't find a getopt package in my repositories. Desperate, I installed every package with the phrase "getopt" in its name or description, but got the same result. Perhaps there's another package containing the getopt function?

Thank you,

bezdomny
 
Old 07-13-2007, 08:26 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I could be mistaken, but I think getopt may be part of the GNU C library.

Of course, using Etch, you could always try 'apt-get install getopt' to see what happens. If it bombs, try updating glibc.
 
Old 07-13-2007, 09:20 AM   #5
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
Talking success!

problem solved:
Quote:
# apt-get install util-linux
So I infer getopt is part of the util-linux package.

Thank you for your time!
 
  


Reply



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
Alsaconf Error: "No supported PnP or PCI cards found..." Baix Linux - Newbie 6 06-22-2009 05:08 AM
the ./ command returns error msg in 6.06 Thane Ubuntu 1 09-26-2006 10:30 AM
executing a loaded module returns "command not found" error neelay1 Linux - Software 1 05-08-2006 02:25 PM
Adding a directory returns "no medium found" error JcN Linux - Newbie 7 02-01-2006 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration