Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
01-14-2010, 06:17 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Distribution: SUSE 11.2
Posts: 5
Rep:
|
SUSE 11.2 general help needed please.
Earlier today I installed SUSE 11.2 with KDE and everything worked fine at first. Then I started monkeying around.
First I tried getting my XFI extremegamer to work right and that didn't go well. So I started from the install disk and repaired the install. That messed up GRUB so I couldn't choose to boot Windows 7. Tried fixing that with super GRUB disk(USB) and now GRUB gets error 22. I did some searching and found that the most common cause is deleting the linux partition in windows. Which I didn't do.
I also need some help installing stuff, like drivers and other programs. The guides I've found don't help because the things I want to install are not in packages.
The problem with my sound card is that I can't even hear anything out of it outside of the test sound. The included media player doesn't get anything, neither does online site like youtube.
On a side note, I'm thinking about just reinstalling linux and starting fresh. Considering that I'm such a linux n00b, would it be better to use KDE or GNOME?
|
|
|
01-14-2010, 06:47 PM
|
#3
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
For your media programs, be sure to go to the module in YaST2 for adding and removing repositories. Select "Community Repository" and from the list include the packman and vlc repos. There packages are built to include support for more media formats and codecs.
For sound problems where you don't have sound at all, running "sudo /usr/sbin/alsaconf" followed by "kdesu yast2 sound" will often resolve no sound problems.
For youtube, you need to check your flash support. For a 64bit distro then is a wrapper to use the 32bit flash support.
I also find the "padevchooser" program helpful with sound (if you have pulse audio enabled). Some people prefer not using pulse audio. You can disable it in "kdesu yast2 sound". It is an option in the "Other" drop down button.
|
|
|
01-15-2010, 08:11 AM
|
#4
|
LQ Newbie
Registered: Jan 2010
Distribution: SUSE 11.2
Posts: 5
Original Poster
Rep:
|
Thanks for the replies.
I reinstalled using the DVD and everything was fine. Then I restarted after following what you suggested only to find out that GRUB has error 22 again. It went to an old looking style GRUB which let me select an OS, so I selected OpenSUSE and I get "partition does not exist" message.
After that I booted from the install dvd and went to fix install. Went through all of that and noticed I get an error at one point. It says "Check file system support - loading failed for kernel moduals: NTFS" On the right side of the screen it says "Problemat ic"
I've tried searching around to see what may be going on, but I haven't found anything.
:edit: I did another install. After a bit more searching I have been able to get mp3s working through Amarok. Though I still don't get audio from anything else. I went to yast/sound and my sound card is not even listed. I've tried adding it via the list, but that just messes up and won't add the card to the list.
Last edited by Jac3624; 01-15-2010 at 11:48 AM.
|
|
|
01-17-2010, 01:34 AM
|
#5
|
LQ Newbie
Registered: Jan 2010
Distribution: SUSE 11.2
Posts: 5
Original Poster
Rep:
|
Sorry for the double post, but I've run into a new couple issues.
First I can't get audio from any program where I can't select the default sound card. In some searching I found that the XFI sound card is not supported in YaST and can't be configured in ALSA. That I can live with for now.
The main issue that I really want to resolve is compiling from source. I've read a few tutorials and they seem strait forward. I get the files untarbelled and in they're own dir, but the problem arises when I try to run ./configure. All that comes up is "./configure: No such file or directory". Also when I try to execute "make" with something that already has a makefile I get the same message. Is there something I doing wrong? Or is there something special that I need? Any help would be greatly appreciated. I'm determend to learn this, I don't want to have to rely on others to compile and make packages.
|
|
|
01-17-2010, 06:54 AM
|
#6
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep: 
|
Quote:
Originally Posted by Jac3624
Sorry for the double post, but I've run into a new couple issues.
First I can't get audio from any program where I can't select the default sound card. In some searching I found that the XFI sound card is not supported in YaST and can't be configured in ALSA. That I can live with for now.
The main issue that I really want to resolve is compiling from source. I've read a few tutorials and they seem strait forward. I get the files untarbelled and in they're own dir, but the problem arises when I try to run ./configure. All that comes up is "./configure: No such file or directory". Also when I try to execute "make" with something that already has a makefile I get the same message. Is there something I doing wrong? Or is there something special that I need? Any help would be greatly appreciated. I'm determend to learn this, I don't want to have to rely on others to compile and make packages.
|
What did you find in that directory after you untar it ?
Please give us a list of the contents of that directory.
|
|
|
01-17-2010, 09:51 AM
|
#7
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
There is or soon will be support for the Sound Blaster XFI sound device.
http://www.h-online.com/open/news/it...ce-741673.html
I presume this is what you are referring to.
Try running "sudo /usr/sbin/alsaconf" to double check that. Then run "kdesu yast2 sound". Often running both will fix sound problems.
Also try modprobing the "snd-ctxfi" kernel module:
sudo /sbin/modprobe/snd-ctxfi
This device is in my kernel:
Code:
jschiwal@qosmio:/lib/modules/2.6.31.8-0.1-desktop/kernel/sound> sudo /sbin/modinfo snd-ctxfi
filename: /lib/modules/2.6.31.8-0.1-desktop/kernel/sound/pci/ctxfi/snd-ctxfi.ko
license: GPL v2
description: X-Fi driver version 1.03
author: Creative Technology Ltd
srcversion: F6D2960F45FDDDD4A318DE8
alias: pci:v00001102d0000000Bsv*sd*bc*sc*i*
alias: pci:v00001102d00000005sv*sd*bc*sc*i*
depends: snd-pcm,snd
vermagic: 2.6.31.8-0.1-desktop SMP preempt mod_unload modversions
parm: use_system_timer:Foce to use system-timer (bool)
parm: reference_rate:Reference rate (default=48000) (uint)
parm: multiple:Rate multiplier (default=2) (uint)
parm: index:Index value for Creative X-Fi driver (array of int)
parm: id:ID string for Creative X-Fi driver (array of charp)
parm: enable:Enable Creative X-Fi driver (array of bool)
---
Not all projects use autoconf. For some, there is a simple Makefile instead. The first step in building from source is to read the README and INSTALL files. For packages with a configure file, also start with "./configure --help" to learn of features you may need or want.
More information on what this package is would be helpful in soliciting advice.
|
|
|
01-17-2010, 04:38 PM
|
#8
|
LQ Newbie
Registered: Jan 2010
Distribution: SUSE 11.2
Posts: 5
Original Poster
Rep:
|
There are a few things that I'm trying to compile.
in one dir all I find is
Code:
bridge bridge.bmp bridgebuilding level texture
a 3 folders, a bmp image and an executable that I can't seem to execute.
In one of the other I get
Code:
bcs bcs-linux-openal-fixer.sh font.bmp prop SDL LPGL.txt sound texturelow
bcs.bmp files object readme.txt setup texture
The readme in this one only gives instructions to run "bcs-linux-openal-fixer.sh" to install OpenAL for the game.
The other thing I'm trying to compile is the XFI drivers. It has a makefile and I've followed the instructions in the readme.
Code:
In terminal,
1) Goto source directory
2) Execute make command as root
make
make install
after I type is "sudo make" I get this
Code:
make -C /lib/modules/2.6.31.8-0.1-desktop/build M=/home/Jac3624/Download/XFiDrv_Linux_Public_US_1.00
make: *** /lib/modules/2.6.31.8-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
I get the same if I switch to su and then run make.
@jschiwal, when I run alsaconf I lose all ability to use my sound card. it forgets the device and the only way to get it back is to restart. "kdesu yast2 sound" doesn't show my card and trying to add it has the same results as alsaconf.
When I run "sudo /sbin/modprobe/snd-ctxfi" I get "sudo: /sbin/modprobe/snd-ctxfi: command not found"
Last edited by Jac3624; 01-17-2010 at 04:40 PM.
|
|
|
01-17-2010, 04:46 PM
|
#9
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Code:
make -C /lib/modules/2.6.31.8-0.1-desktop/build M=/home/Jac3624/Download/XFiDrv_Linux_Public_US_1.00
make: *** /lib/modules/2.6.31.8-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
This stuff above leads me to believe that the kernel sources are not installed on your machine. Or, you've written this `make` command incorrectly.
Can you please provide a link to exactly the thing you downloaded, which you are trying to build above?
Sasha
|
|
|
01-17-2010, 04:53 PM
|
#10
|
LQ Newbie
Registered: Jan 2010
Distribution: SUSE 11.2
Posts: 5
Original Poster
Rep:
|
Sure,
Code:
http://support.creative.com/downloads/download.aspx?nDownloadId=10792
it's the linux drivers for my sound card.
|
|
|
01-17-2010, 05:04 PM
|
#11
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
Code:
bash-3.1# make
make -C /lib/modules/2.6.32.2-26322-00/build M=/home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory `/usr/src/source/linux-2.6.32.2'
LD /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/built-in.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/xfi.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/ctatc.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/ctvmem.o
CC [M] /home/sasha/Downloads/XFiDrv_Linux_Public_US_1.00/ctpcm.o
So, I extracted the folder, entered it, and typed make, and as you see, it entered my kernel/build folder and proceeded to build stuff. On your machine, it found no such kernel/build folder, meaning that most likely your kernel sources are not installed.
NOTE: The build failed on my machine, because I either am missing some stuff it requires, or my kernel is too new for this driver, or because I have not configured enough sound stuff in my kernel config. Hopefully it won't do this for you
Anyhow, you should see if your kernel sources are missing, and install them if so.
Sasha
|
|
|
All times are GMT -5. The time now is 12:42 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
|
|