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 |
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.
|
|
04-16-2006, 12:44 PM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 11
Rep:
|
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?
|
|
|
04-17-2006, 11:09 PM
|
#2
|
Member
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Rep:
|
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.
|
|
|
05-09-2006, 05:19 PM
|
#3
|
LQ Newbie
Registered: Sep 2003
Location: Spain
Posts: 17
Rep:
|
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
|
|
|
06-02-2006, 01:06 AM
|
#4
|
LQ Newbie
Registered: Sep 2003
Location: Spain
Posts: 17
Rep:
|
Solved adding:
DEFINES += -fno-unit-at-a-time
after the line:
DEFINES += -DVID_HARDWARE_SPCA5XX=0xFF -DSPCA5XX_VERSION=\"$(VERSION)\"
in the Makefile
|
|
|
06-03-2006, 09:08 AM
|
#5
|
LQ Newbie
Registered: Apr 2006
Posts: 11
Original Poster
Rep:
|
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
|
|
|
|
07-12-2006, 11:09 PM
|
#6
|
LQ Newbie
Registered: Apr 2006
Posts: 11
Original Poster
Rep:
|
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.
|
|
|
|
All times are GMT -5. The time now is 11:25 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
|
|