Author Topic: Kernel help? Re-install OS? Devices don't work.  (Read 1569 times)

fidormula

  • Guest
Kernel help? Re-install OS? Devices don't work.
« on: June 12, 2010, 11:35:34 AM »
I have a USB Webcam and a USB audio device which don't work at all, but which the Control Center detect:

Identification
Vendor: ‎SolidYear
Description: ‎Macally USB2.0Camera
Media class: ‎Video|Video Control
Connection
Bus: ‎USB
Bus PCI #: ‎3
PCI device #: ‎2
Vendor ID: ‎0x0ac8
Device ID: ‎0x0332
Misc
Module: ‎uvcvideo

Identification
Vendor: ‎FORMOSA Computing
Description: ‎eDio AS-100
Media class: ‎Audio|Control Device
Connection
Bus: ‎USB
Bus PCI #: ‎2
PCI device #: ‎2
Vendor ID: ‎0x147a
Device ID: ‎0x0100
Misc
Module: ‎snd_usb_audio

[root@localhost fidormula]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 147a:0100 Formosa Industrial Computing, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0ac8:0332 Z-Star Microelectronics Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I understand that I need to edit the Kernel, but the Kernel configuration programs don't do anything for me.

[root@localhost fidormula]# make xconfig
make: *** No rule to make target `xconfig'.  Stop.
[root@localhost fidormula]# make menuconfig
make: *** No rule to make target `menuconfig'.  Stop.

Help, please and thanks,
John

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #1 on: June 12, 2010, 12:21:00 PM »


can you unplug your usb devices and then plug them in and then open the terminal type "dmesg" command and copy and paste a few last lines that talk about your devices?

That command given hardware info the kernel is seeing and could prove useful in trying to figure out what is going in.

what kernel are you using? you can know it by typing this command on the terminal "uname -a"

Since you are having hardware issues, trying the latest kernel in the repository could solve your problem
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

fidormula

  • Guest
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #2 on: June 12, 2010, 12:37:34 PM »
dmesg:

Code: [Select]
usb 3-1: USB disconnect, address 2
usb 2-2: USB disconnect, address 2
usb 2-2: new full speed USB device using ohci_hcd and address 3
usb 2-2: New USB device found, idVendor=147a, idProduct=0100
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-2: Product: eDio AS-100
usb 2-2: Manufacturer: FORMOSA Computing
usb 2-2: configuration #1 chosen from 1 choice
input: FORMOSA Computing eDio AS-100 as /devices/pci0000:00/0000:00:03.0/usb2/2-2/2-2:1.3/input/input7
generic-usb 0003:147A:0100.0002: input,hidraw0: USB HID v1.00 Device [FORMOSA Computing eDio AS-100] on usb-0000:00:03.0-2/input3
usb 3-1: new full speed USB device using ohci_hcd and address 3
usb 3-1: not running at top speed; connect to a high speed hub
usb 3-1: New USB device found, idVendor=0ac8, idProduct=0332
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: Macally USB2.0Camera
usb 3-1: Manufacturer: SolidYear
usb 3-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device Macally USB2.0Camera (0ac8:0332)
input: Macally USB2.0Camera as /devices/pci0000:00/0000:00:03.1/usb3/3-1/3-1:1.0/input/input8

uname -a:

2.6.32.11-pclos2.bfs

I installed PCLOS last week. Should I install 2.6.32.15?

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #3 on: June 12, 2010, 12:42:24 PM »
try the latest one in the .33 series
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #4 on: June 12, 2010, 12:46:25 PM »

The kernel seem to see them just fine so the problem could be with the applications you want to use the hardware with.

What programs are you using to control your devices?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

fidormula

  • Guest
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #5 on: June 12, 2010, 01:31:38 PM »
I was trying to use Camorama for the webcam.

As for the audio, I haven't tried to control it with anything, because it doesn't show up in the Sound Configuration panel.

fidormula

  • Guest
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #6 on: June 12, 2010, 01:38:18 PM »
try the latest one in the .33 series
Ehhhhhh...

While installing package kernel-2.6.33.5-pclos1.bfs-1-1pclos2010:

Error: Can't have a partition outside the disk!
Error: Can't have a partition outside the disk!
Error: Can't have a partition outside the disk!

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #7 on: June 12, 2010, 01:50:36 PM »
thats a strange error msg  :D

i dont have a webcam so i cant test to see if the application works ok with a working webcam

hope somebody else with a webcam will show up and test the application for you
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #8 on: June 12, 2010, 02:24:41 PM »
try the latest one in the .33 series

Ehhhhhh...

While installing package kernel-2.6.33.5-pclos1.bfs-1-1pclos2010:

Error: Can't have a partition outside the disk!
Error: Can't have a partition outside the disk!
Error: Can't have a partition outside the disk!


Being as this error makes no sense, it might be helpful if you explained in detail, exactly what you did, and how and where you did it, so we have some context in which to try to understand it.

In your first post your hardware seems to be detected, and the drivers used are defined. Are the drivers actually loaded? Most likely not, from the looks of things. From a root terminal, on the running system,

[root@localhost ~]# modprobe uvcvideo                <Enter>

[root@localhost ~]# modprobe snd_usb_audio                <Enter>

[root@localhost ~]# lsmod |grep snd                      <Enter>

[root@localhost ~]# lsmod |grep uvc                      <Enter>

The first two load the modules needed, the next two just verify their presence.

You do not need to edit or in any way mess with the kernel itself, just load the proper modules.

Once the above commands have been done, the next thing is to run alsaconf as root.

[root@localhost ~]# alsaconf                 <Enter>

This should now find your sound card, make necessary writes to /etc/modprobe.conf, and set the various sliders and such in kmix or aumix. In kmix you should see both the sound card and the cam mic settings.





If an individual application does not find the cam, that does not mean the cam is not working, just that an individual application may be broken or written for a different class of cameras. Try a different app. Wxcam, Cheese, Skype are three common apps that use the cam. Try each to see if any can find the camera and produce a video image. If Skype can produce a video, check to see if it can use the cam's mic.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

fidormula

  • Guest
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #9 on: June 12, 2010, 02:40:01 PM »
Being as this error makes no sense, it might be helpful if you explained in detail, exactly what you did, and how and where you did it, so we have some context in which to try to understand it.

Alright, I used Synaptic to install kernel-2.6.33.5-pclos1.bfs. I had kernel-2.6.32.11-pclos2.bfs installed, so I figured that I probably have an i686 CPU.

In your first post your hardware seems to be detected, and the drivers used are defined. Are the drivers actually loaded? Most likely not, from the looks of things. From a root terminal, on the running system,

Well, first of all I tried to run modprobe as a user and got this:

[fidormula@localhost ~]$ modprobe ucvideo
bash: modprobe: command not found

So I ran it as root and here's my output:

Code: [Select]
[root@localhost fidormula]# modprobe ucvideo
FATAL: Module ucvideo not found.
[root@localhost fidormula]# modprobe snd_usb_audio
[root@localhost fidormula]# lsmod |grep snd
snd_usb_audio          64549  0
snd_usb_lib            13110  1 snd_usb_audio
snd_rawmidi            16051  1 snd_usb_lib
snd_hwdep               4798  1 snd_usb_audio
snd_intel8x0           22814  1
snd_intel8x0m           9452  0
snd_ac97_codec         89641  2 snd_intel8x0,snd_intel8x0m
ac97_bus                 946  1 snd_ac97_codec
snd_seq_dummy           1266  0
snd_seq_oss            22632  0
snd_seq_midi_event      5421  1 snd_seq_oss
snd_seq                40566  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5214  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            29075  0
snd_pcm                58499  5 snd_usb_audio,snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm_oss
snd_timer              15571  2 snd_seq,snd_pcm
snd_mixer_oss          11087  1 snd_pcm_oss
snd                    46023  15 snd_usb_audio,snd_rawmidi,snd_hwdep,snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               5525  1 snd
snd_page_alloc          6494  3 snd_intel8x0,snd_intel8x0m,snd_pcm
usbcore               121266  9 snd_usb_audio,snd_usb_lib,uvcvideo,ndiswrapper,uhci_hcd,ohci_hcd,ehci_hcd,usbhid
[root@localhost fidormula]# lsmod |grep uvc
uvcvideo               47771  0
videodev               29617  1 uvcvideo
v4l1_compat            11233  2 uvcvideo,videodev
usbcore               121266  9 snd_usb_audio,snd_usb_lib,uvcvideo,ndiswrapper,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

Once the above commands have been done, the next thing is to run alsaconf as root.

Alright, I did that, and it didn't find my USB sound card, as far as I can tell:

┌──────────────────────────Soundcard Selection─────────────────────────────┐
 │                                                                          │  
 │          Following card(s) are found on your system.                     │  
 │          Choose a soundcard to configure:                                │  
 │ ┌──────────────────────────────────────────────────────────────────────┐ │  
 │ │intel8x0  Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev│ │  
 │ │legacy    Probe legacy ISA (non-PnP) chips

If an individual application does not find the cam, that does not mean the cam is not working, just that an individual application may be broken or written for a different class of cameras. Try a different app. Wxcam, Cheese, Skype are three common apps that use the cam. Try each to see if any can find the camera and produce a video image. If Skype can produce a video, check to see if it can use the cam's mic.

Well, Skype identifies the webcam by name, but when I click "Test" nothing much happens and the light on the camera never comes on, but "FATAL: Module ucvideo not found." probably explains why.
« Last Edit: June 12, 2010, 02:49:50 PM by fidormula »

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #10 on: June 12, 2010, 02:52:55 PM »
fidormula:

For a command to work it must be entered correctly.

[root@localhost fidormula]# modprobe ucvideo

is not;

[root@localhost ~]# modprobe uvcvideo

Try again.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

fidormula

  • Guest
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #11 on: June 12, 2010, 02:59:02 PM »
Alright, I tried again:

[root@localhost fidormula]# lsmod |grep uvc
uvcvideo               47771  0
videodev               29617  1 uvcvideo
v4l1_compat            11233  2 uvcvideo,videodev
usbcore               121266  9 snd_usb_audio,snd_usb_lib,uvcvideo,ndiswrapper,uhci_hcd,ohci_hcd,ehci_hcd,usbhid

No change, meaning the driver was loaded.

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #12 on: June 12, 2010, 03:01:39 PM »
Being as this error makes no sense, it might be helpful if you explained in detail, exactly what you did, and how and where you did it, so we have some context in which to try to understand it.

Alright, I used Synaptic to install kernel-2.6.33.5-pclos1.bfs. I had kernel-2.6.32.11-pclos2.bfs installed, so I figured that I probably have an i686 CPU.


This doesn't explain the "Error: Can't have a partition outside the disk!" lines.  ???
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

fidormula

  • Guest
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #13 on: June 12, 2010, 03:04:40 PM »
Being as this error makes no sense, it might be helpful if you explained in detail, exactly what you did, and how and where you did it, so we have some context in which to try to understand it.

Alright, I used Synaptic to install kernel-2.6.33.5-pclos1.bfs. I had kernel-2.6.32.11-pclos2.bfs installed, so I figured that I probably have an i686 CPU.


This doesn't explain the "Error: Can't have a partition outside the disk!" lines.  ???

Nonetheless, those were the events leading up to me getting the error.

Also, this might be relevant. I have my old hard drive still hooked up to the computer, which has Windows XP on it. Sometimes the computer boots to the Windows XP startup screen, then restarts suddenly and boots to Linux. Is that relevant? Do I need to take a look at my jumpers?

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11598
  • ----IOFLU----
Re: Kernel help? Re-install OS? Devices don't work.
« Reply #14 on: June 12, 2010, 03:13:20 PM »
Being as this error makes no sense, it might be helpful if you explained in detail, exactly what you did, and how and where you did it, so we have some context in which to try to understand it.

Alright, I used Synaptic to install kernel-2.6.33.5-pclos1.bfs. I had kernel-2.6.32.11-pclos2.bfs installed, so I figured that I probably have an i686 CPU.


This doesn't explain the "Error: Can't have a partition outside the disk!" lines.  ???

Nonetheless, those were the events leading up to me getting the error.

Also, this might be relevant. I have my old hard drive still hooked up to the computer, which has Windows XP on it. Sometimes the computer boots to the Windows XP startup screen, then restarts suddenly and boots to Linux. Is that relevant? Do I need to take a look at my jumpers?

It wouldn't hurt. If these are IDE drives, hooked up to the same cable, be sure the Linux drive is set as master, and the windows drive as slave. Do this with the jumpers, don't rely on cable select to sort this properly.
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...