LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-11-2007, 04:24 PM   #1
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Rep: Reputation: 15
Need help debugging USB and Sound PCI cards!


I'm trying upgrade my pc by adding a USB 2.0 PCI and 7.1 Sound PCI cards. I don't think either are being detected by linix. When I do a "lspci" here's my output:

Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0d.0 Mass storage controller: Promise Technology, Inc. PDC20265 (FastTrak100 Lite/Ultra100) (rev 02)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 70)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3)
The USB and Audio controllers that are listed are the old ones. So I guess my first question is how do get linux to detect the new cards and configure the controllers?

When I try configuring the sound I get an ERROR with the following message:

Code:
The kernel module snd-cmipci for sound support could not be loaded
Any hints in helping me debug will be greatly appreciated ;-)

Also, let me know if I can provide more information that might be helpful.
 
Old 03-13-2007, 01:14 AM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
Please post more details about the hardware you are adding (eg. manufacturer and model). Are you trying to add one USB 2.0 sound card and one PCI soundcard?

Try "lsusb" for details of USB devices.

Your lspci output shows a C-Media CM8738 - is this the onboard sound on your motherboard or is it the audio IC on the PCI sound card you are trying to add?
 
Old 03-13-2007, 12:16 PM   #3
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
I'm trying to add

1) USB 2.0 PCI adapter card and
2) Diamond 7.1 sound card.

My motherboard is an old SOYO Dragon motherboard. It provided onboard sound, the C-Media CM8738 that's listed, and 2 USB 1.1 ports. When I added the sound card I went into the BIOS and disabled the onboard audio. I didn't check to see if I could also disable the USB 1.1 ports but I didn't think that should be an issue.

When I type lsusb I get no output. I have my HP PSC2200xi all-in-one printer/fax connected to one of the USB 2.0 port that I just added.

I think the sound card is being recognized because when I go into Yast it is listed as "not configured". However Yast seems to be having trouble configuring it. When I try I get the message above.

Thanks!
 
Old 03-13-2007, 05:12 PM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
Are you sure both PCI cards are fully seated in the card slots? lspci should list all PCI devices, even those it doesn't recognise (shown as Unknown Device).

I doubt the disabled USB 1.1 ports are related to this problem.

I'd guess Yast is seeing the onboard CM8738 on the bus but is unable to configure it because it is disabled in your BIOS. It appears to be disabled but not hidden since it shows in lspci.
 
Old 03-13-2007, 06:00 PM   #5
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
When I get home I'll double check the seating of the PCI cards and also what sound card Yast appears to be seeing. I'll report on both...
 
Old 03-13-2007, 09:59 PM   #6
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
I reseated the cards...

Ok, I noticed this while booting up:

Code:
<3>usb 2-2: device descriptor read/64, error -71
<6>usb 2-2: new full speed USB device using uhci_hcd and address 3
<3>usb 2-2: device descriptor read/64, error -71
<3>usb 2-2: device descriptor read/64, error -71
<6>usb 2-2: new full speed USB device using uhci_hcd and address 4
<3>usb 2-2: device not accepting address 4, error -71
<6>usb 2-2: new full speed USB device using uhci_hcd and address 5
<3>usb 2-2: device not accepting address 5, error -71
In addition, when I type lspci now I get:

Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
00:0a.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
00:0b.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0d.0 Mass storage controller: Promise Technology, Inc. PDC20265 (FastTrak100 Lite/Ultra100) (rev 02)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 70)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3)
The C-Media audio device is my new sound card, but I can't configure it. I'm not sure what's going on with my USB... I noticed while the messages were scrolling by on boot up that it said I might have to recompile the kernel, but I can't find that in the boot.msg file. I guess not all comments show up.

I have to logoff now, I'm going to sleep on this a little tonight...
 
Old 03-16-2007, 02:53 PM   #7
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
Gals/Guys,

I'm stilling having problems. I'm soliciting help for sound and usb issues. Any tips or advice that you can provide, big or small, for either or will be great. Details below:

SOUND:
--------------
Task: Add PCI Sound card and configure for 5.1 sound.

Problem: When attempting to configure through Yast, I get an error:

Quote:
The kernel module snd-cmipci for sound support could not be loaded. This can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
So the question is, how do I load the module? How do I set up this card?

Misc info:
  • The card is detected by the kernel.
  • Found a thread with similar problem on linuxforums.org . Will investigate solution.

USB Problem:
--------------
Task: Add USB 2.0 PCI add-on-card.

Problem: This one is going to be a little more problematic to troubleshoot. From the lspci output, it appears the ports are detected:

Quote:
00:0a.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
However, I should have two USB 1.1 and two USB 2.0 ports. From above it's 3 and 1. Not what I'm expecting.

Second when I booted up my PC, it seems to have detected my printer but when I try to configure it is says it can't find it. In fact, it configured it as a mass storage device as well (I guess for the camera memory cards that you can stick in the printer.). What gives?

I'll put the part in the boot.msg file where it detects the printer later....

Thanks.
 
Old 03-17-2007, 10:45 AM   #8
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
Ok, I think the problem is I don't have USB 2.0 support loaded in my kernel. I'm looking at linux-usb.org right now for info. There's a lot of stuff to go thru...
 
Old 03-17-2007, 12:17 PM   #9
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
I don't have /proc/bus/usb ! I think this is a problem. If anyone knows why this directory wasn't created or can help me trouble shoot, please post. In the meantime, I'll be searching for help...

Thanks.
 
Old 03-17-2007, 11:08 PM   #10
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
Sound card
Do you know the model name or model number or part number of the Diamond sound card? (eg. MonsterSound mx300, Sonic Impact s100, XtremeSound XS51, XtremeSound 7.1/24 bit XS71, ...)

USB
lspci will list USB controllers. A USB controller usually controls more than one port. For instance, my motherboard has eight USB 2.0 ports driven by (what shows on the bus as) three USB controllers:
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)

I suggest you plug a USB device into the new USB card and see if the device shows up in the output of lsusb.
 
Old 03-21-2007, 11:12 PM   #11
ccin1492
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: openSUSE 10.3
Posts: 139

Original Poster
Rep: Reputation: 15
Ok, I resolved all issues. It turns out I had three problems I had to resolve:

1. IRQ conflicts: I read somewhere that a lot of USB issues can be attributed to IRQ conflicts. So since I have an older MoBo with parallel and LP ports, I disabled these features in the BIOS to free up additional IRQs. In addition, I placed the USB PCI card in another PCI slot. When I rebooted I was able to configure my sound card thru Yast. Sound Issue resolved!

2. Bad cable. I then tried to configure my printer, but my pc couldn't see it. However, I was able to connect my camera and transfer pics. This told me my USB was working and so... USB Issue resolved! But now I had another problem: my pc couldn't see my printer. Again I read somewhere that USB cables can be problematic. So I ran off to Fry's and bought me a good quality USB 2.0 cable (HP). I reconnected my printer with the new HP USB 2.0 cable and now my pc and printer were talking to each other. But I still couldn't print!

3. version conflicts. I looked at my cups log and it was recognizing the printer and assigning jobs to the queue but there was an error from the queue to the printer. This came down to a version mismatch. Since I have an HP printer, I was using HPLIP to configure my printer, but when I reinstalled the new version it didn't completely remove the old one. Long story short, I removed all remnants of the old package, and now my printer is printing. Printing Issue resolved!

Thanks!

Last edited by ccin1492; 03-21-2007 at 11:13 PM.
 
  


Reply


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
pci sound cards not working nforce3 neo_cool_XIIK Linux - Hardware 2 11-11-2006 05:51 AM
USB 2.0 PCI cards Hentai_Jeff Linux - Hardware 3 06-01-2006 06:41 PM
USB 2.0 PCI Cards supported? DJOtaku Linux - Hardware 5 11-15-2005 07:19 AM
USB sound cards support jdifool Linux - Hardware 0 02-21-2005 10:29 AM
PCI USB 2.0 and Firewire cards tomdkat Linux - Hardware 4 11-11-2003 10:21 AM


All times are GMT -5. The time now is 03:40 AM.

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