Hello,
Quoting Kervin Pierre <[EMAIL PROTECTED]>:
> I just got a ksx-xvp500, from /proc/bus/usb/devices...
>
> P: Vendor=0545 ProdID=8080 Rev= 0.01
>
> It does not seem to be supported, not even by the lastest kernel 2.4.13,
> although Rev= 0.02 is.
0.02 is the -oldest- camera. I never even heard about 0.01...
Do you have any links to this camera, photos... I will need to
document your experience whatever the outcome!
> I modified ibmcam.c to skip the version, and treat the card like a model
> 1 but that did not work, at least with gspy.
>
> Is there any possibility of getting that camera to work? If I wanted to
> take the time and try to modify the code, would that be a dumb idea?
> ie, is it doable? Any pointers.
a) this camera has audio. This may confuse the driver - none of IBM
cameras before had any audio interfaces.
You see, the probe() code is only as smart as it was needed to bind
to -known- cameras. My guess is that the driver tries to claim
the audio interface. I have a rush job at this time (I'm at work),
so I can't even have a good look at your logs, and my code.
First of all, you shouldn't have snipped the rest of /proc/bus/usb/devices
:-) It is not that large. As result I have no idea what interface structure
this camera has. If you feel to it, have a look at probe() in ibmcam.c
(2.4.13 is perfect). Otherwise send me the /proc/.../devices and I will
try to help you.
It is interesting.
My guess is that the video chipset is the same old Xirlink X-chip.
They haven't produced anything else for years. It should work,
unless you stumble upon compressed-only datastreams.
> Oct 31 00:16:44 bashful kernel: hub.c: USB new device connect on bus1/1,
> assigned device number 3
> Oct 31 00:16:44 bashful kernel: usbaudio: device 3 audiocontrol
> interface 0 has 1 input and 0 output AudioStreaming interfaces
> Oct 31 00:16:44 bashful kernel: usbaudio: valid input sample rate 8000
> Oct 31 00:16:44 bashful kernel: usbaudio: device 3 interface 1
> altsetting 1: format 0x00000010 sratelo 8000 sratehi 8000 attributes 0x00
> Oct 31 00:16:44 bashful kernel: usbaudio: registered dsp 14,3
> Oct 31 00:16:44 bashful kernel: usbaudio: no mixer controls found for
> Terminal 2
I guess that was the camera - not some microphone that you connected at
the very same second :-)
> Oct 31 00:16:44 bashful kernel: ibmcam.c: IBM camera with revision
> 0x0001 is not supported.
Yes, you could comment that out. Just to scare people off. Halloween...
> Oct 31 00:16:44 bashful /sbin/hotplug: arguments (usb) env
> (PWD=/etc/hotplug HOSTNAME=bashful DEVICE=/proc/bus/usb/001/003
> INTERFACE=1/1/0 ACTION=add DEBUG=kernel MACHTYPE=i386-redhat-linux-gnu
> OLDPWD=/ DEVFS=/proc/bus/usb TYPE=0/0/0 SHLVL=1 SHELL=/bin/bash
> HOSTTYPE=i386 OSTYPE=linux-gnu HOME=/ TERM=dumb
> PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=545/8080/1 _=/usr/bin/env)
> Oct 31 00:16:44 bashful /sbin/hotplug: invoke /etc/hotplug/usb.agent
> Oct 31 00:16:44 bashful /etc/hotplug/usb.agent: Modprobe and setup audio
> for USB product 545/8080/1
> Oct 31 00:27:21 bashful kernel: usb.c: deregistering driver ibmcam
> Oct 31 00:28:26 bashful kernel: Linux video capture interface: v1.00
> Oct 31 00:28:26 bashful kernel: usb.c: registered new driver ibmcam
> Oct 31 00:28:26 bashful kernel: ibmcam.c: IBM camera with revision
> 0x0001 is not supported.
Ok, now it continues...
> Oct 31 00:28:26 bashful kernel: ibmcam.c: IBM USB camera found (model 1,
> rev. 0x0001)
> Oct 31 00:28:26 bashful kernel: ibmcam.c: More than one active alt.
> setting! Ignoring #2.
> Oct 31 00:28:26 bashful kernel: ibmcam.c: More than one active alt.
> setting! Ignoring #3.
> Oct 31 00:28:26 bashful kernel: ibmcam.c: More than one active alt.
> setting! Ignoring #4.
> Oct 31 00:28:26 bashful kernel: ibmcam.c: More than one active alt.
> setting! Ignoring #5.
> Oct 31 00:28:26 bashful kernel: ibmcam.c: More than one active alt.
> setting! Ignoring #6.
> Oct 31 00:28:26 bashful kernel: ibmcam.c: More than one active alt.
> setting! Ignoring #7.
I think the video driver tries to bind itself to the audio interface.
This is *wrong* and won't help anyone.
> Oct 31 00:28:26 bashful kernel: usbvideo.c: ibmcam on /dev/video0:
> canvas=352x288 videosize=352x288
> Oct 31 00:29:18 bashful kernel: usb-uhci.c: interrupt, status 3, frame# 1992
> Oct 31 00:30:48 bashful kernel: usbvideo.c: Packet Statistics:
> Total=90304. Empty=443. Usage=99%%
> Oct 31 00:30:48 bashful kernel: usbvideo.c: Transfer Statistics:
> Transferred=1171KB Usage=1%%
Yes, that part is irrelevant. The driver haven't picked up the camera.
Try to tweak probe() and see what happens. But first find out what
interface the driver really should bind to (see /proc/.../devices).
Thanks,
Dmitri
--
A horse! A horse! My kingdom for a horse!
PGP signature