LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-13-2007, 12:31 PM   #1
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Logitech QuickCam Communicate STX not recognized, kernel 2.4.27


Hi,
It seems like whenever I manage to solve one problem another one shows up, but I guess that's the only way to really learn.
I'm having trouble getting my Logitech QuickCam Communicate STX to work under my install of Etch with the 2.4.27-3-386 kernel (which I have to have due to a old CAN card). When it's plugged in I can see in dmesg that a usb device has been connected but that no driver has claimed it however lsusb is empty (although lsusb seems to be a seperate problem since I can plug in usb memory cards that works just fine that's still not shown on lsusb).
From what I understand my camera is suposed to be supported by the driver spca5xx but there's no binary packets for that one for the 2.4.27 kernel. So I have tried to compile it from source but when I do it gives me the error message:
drivers/usb/spca5xx.c: In function `spca50x_read_proc': drivers/usb/spca5xx.c:1096: error: structure has no member named `seq'
Anyone that has any ideas?

Regards
Leon Ljunggren
 
Old 04-16-2007, 07:59 AM   #2
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Solved it by editing the code at line 1096. The variable seq was just used in a printf so I simply made it print a 0 instead and now it compiles, installs and runs perfectly fine.
 
Old 04-22-2007, 01:34 PM   #3
claitonjs
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by Spearhawk
Solved it by editing the code at line 1096. The variable seq was just used in a printf so I simply made it print a 0 instead and now it compiles, installs and runs perfectly fine.
Hey, Spearhawk..
I have trying your tip but i didn't have success. Can you write your code for me, please?

This is the original code:

for (i = 0; i < SPCA50X_NUMFRAMES; i++) {
out += sprintf(out, "frame : %d\n", i);
out +=
sprintf(out, " sequence : %d\n", spca50x->frame[i].seq);
out +=
sprintf(out, " grabstate : %d\n",
spca50x->frame[i].grabstate);


I don't know what you made, but i tryed a lot of things and i didn't achieve. Thanks for your help!

bye!
 
Old 04-22-2007, 04:38 PM   #4
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Simply change line 1096 to: sprintf(out, " sequence : %d\n", 0);
You might also need to use a older version of gcc, I think I was using 3.3 at the moment (can't remeber exactly, was switching back and forth quite a lot due to diffrent things needing one version or another. The os was a mess but it ran the robot and go us through the competition, now's time to make it a bit more stable and slimed).

Last edited by Spearhawk; 04-22-2007 at 04:44 PM.
 
Old 04-22-2007, 08:37 PM   #5
claitonjs
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
compilation

Quote:
Originally Posted by Spearhawk
change line 1096 to: sprintf(out, " sequence : %d\n", 0);
hehehe.. very good! The compilation of driver it's done..
This is my GCC [gcc version 3.4.6 ]

Spearhawk, thanks a lot!

bye!
 
  


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
Logitech Quickcam Communicate STX npavlidis Slackware 7 05-13-2009 11:07 PM
Slacware 10.2 logitech quickcam communicate richikiki Slackware 5 08-15-2006 11:22 PM
logitech quickcam communicate STX and Mandrake 10.0 legalbeagle Linux - Hardware 0 01-05-2006 08:11 AM
Logitech Quickcam Communicate : no /dev/videoX (ArchLinux) Remysa Linux - Hardware 2 10-27-2005 12:48 PM
trying to hook up logitech quickcam communicate stx kreie Linux - Hardware 12 09-09-2005 05:21 AM


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