LinuxQuestions.org
Help answer threads with 0 replies.
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 04-16-2006, 12:44 PM   #1
tiger762
LQ Newbie
 
Registered: Apr 2006
Posts: 11

Rep: Reputation: 0
spca5xx freezes system


2.6.16-1.2080_FC5smp
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
spca5xx-20060402

Spca5xx compiles and installs fine. Modprobe spca5xx works fine. Here's the /var/log/messages output of doing a "modprobe spca5xx":

Apr 16 12:18:39 electron kernel: Linux video capture interface: v1.00
Apr 16 12:18:39 electron kernel: usbcore: registered new driver spca5xx
Apr 16 12:18:39 electron kernel: /root/spca5xx-20060402/drivers/usb/spca5xx.c: spca5xx driver 00.57.11 registered

Next, I plug in the camera, and /var/log/messages gives:

Apr 16 12:20:33 electron kernel: usb 1-2: new full speed USB device using uhci_hcd and address 4
Apr 16 12:20:33 electron kernel: usb 1-2: configuration #1 chosen from 1 choice
Apr 16 12:20:33 electron kernel: hub 1-2:1.0: USB hub found
Apr 16 12:20:33 electron kernel: hub 1-2:1.0: 4 ports detected
Apr 16 12:20:34 electron kernel: usb 1-2.4: new full speed USB device using uhci_hcd and address 5
Apr 16 12:20:34 electron kernel: usb 1-2.4: configuration #1 chosen from 1 choice
Apr 16 12:20:34 electron kernel: /root/spca5xx-20060402/drivers/usb/spca5xx.c: USB SPCA5XX camera found. Type Creative Live! Zc301+Tas5130c
Apr 16 12:20:34 electron kernel: /root/spca5xx-20060402/drivers/usb/spca5xx.c: [spca5xx_probe:8301] Camera type JPEG
Apr 16 12:20:35 electron kernel: /root/spca5xx-20060402/drivers/usb/zc3xx.h: [zc3xx_config:530] Find Sensor HV7131R(c)
Apr 16 12:20:35 electron kernel: /root/spca5xx-20060402/drivers/usb/spca5xx.c: [spca5xx_getcapability:2198] maxw 640 maxh 480 minw 176 minh 144

But when I run spcaview, it freezes the machine. For obvious reasons I can't cut-n-paste the screen output. Any ideas?
 
Old 04-17-2006, 11:09 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Blog Entries: 1

Rep: Reputation: 54
Just a wild guess here, based on the fact that your problem here is similar in behavior to the one that I had with a SCSI scanner and xsane: the hardware data connection (i.e. cable) between your camera and your computer is preventing your camera and computer from being able to communicate with each other. The typical fix for something like that is some kind of data signal termination device.
 
Old 05-09-2006, 05:19 PM   #3
rvilarl
LQ Newbie
 
Registered: Sep 2003
Location: Spain
Posts: 17

Rep: Reputation: 0
I have the same problem and I have others talking about it on the net but I do not have a fix.
I have also tried with kernel 2.6.16-2111 and 2.6.14.7 both with gcss 4.1


See following thread
http://www.redhat.com/archives/rhl-l.../msg03823.html
 
Old 06-02-2006, 01:06 AM   #4
rvilarl
LQ Newbie
 
Registered: Sep 2003
Location: Spain
Posts: 17

Rep: Reputation: 0
Solved adding:

DEFINES += -fno-unit-at-a-time

after the line:

DEFINES += -DVID_HARDWARE_SPCA5XX=0xFF -DSPCA5XX_VERSION=\"$(VERSION)\"

in the Makefile
 
Old 06-03-2006, 09:08 AM   #5
tiger762
LQ Newbie
 
Registered: Apr 2006
Posts: 11

Original Poster
Rep: Reputation: 0
still crashes

It was worth a try, but it still crashes my machine. Which doesn't surprise me one bit.

Quote:
Originally Posted by rvilarl
Solved adding:

DEFINES += -fno-unit-at-a-time

after the line:

DEFINES += -DVID_HARDWARE_SPCA5XX=0xFF -DSPCA5XX_VERSION=\"$(VERSION)\"

in the Makefile
 
Old 07-12-2006, 11:09 PM   #6
tiger762
LQ Newbie
 
Registered: Apr 2006
Posts: 11

Original Poster
Rep: Reputation: 0
fixed it

Take out the -O2 in the Makefile. make clean, make, make install. Works for me now!

Quote:
Originally Posted by tiger762
It was worth a try, but it still crashes my machine. Which doesn't surprise me one bit.
 
  


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
Webcam software spca5xx-0.57.00 install errors dmwjag Linux - Software 12 05-21-2007 11:08 PM
Spca5xx wont install properly, Slackware 10.02, 2.6.14.3 Dagger907 Linux - Software 1 12-09-2005 07:53 AM
kernel 2.6.8-2-k7 and webcam spca5xx driver crispyleif Linux - Software 3 11-20-2005 07:31 PM
SPCA5xx and 10.0 compile problems littlejimmy4x4 Mandriva 0 06-04-2005 02:25 PM
spca5xx driver compile problem zappos Mandriva 10 03-05-2005 05:50 AM

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

All times are GMT -5. The time now is 11:25 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