Hi Bibhu,
please try to keep ts-7000 related traffic on the list, as I am not in
the business of providing support services.
I would suggest a couple of things -
1) mknod /dev/video0 c 81 0
(major and minor numbers are available in linux/Documentation/devices.txt)
2) ensure that usbdevfs is mounted
insmod usbdevfs
mount -t usbfs usbfs /proc/bus/usb
Cheers,
~/Chris
Bibhudendu Mohapatra wrote:
> Hi Chris,
>
> I successfully inserted videodev.o and quickcam.o.
> :dev# lsmod
> Module Size Used by Not tainted
> quickcam 63300 0 (unused)
> videodev 4656 0 [quickcam]
> af_packet 9456 0 (unused)
> open_eth 4448 0 (unused)
> tsuart-73 1316 0 (unused)
> tsuart0 8664 0 [tsuart-73]
> keybdev 1772 0 (unused)
> hid 13520 0 (unused)
> input 3320 0 [keybdev hid]
> usb-ohci-ep93xx 632 0 (unused)
> usb-ohci 15360 0 [usb-ohci-ep93xx]
> usbcore 55728 1 [quickcam hid usb-ohci]
>
> But I didn't see any new device node being created. Can you please give me
> some guidance of how to go about it ?
> I don't know what major/minor numbers to use.
>
> Thanks & Regards,
>
> Bibhu
>
>
> On 8/30/07, Bibhudendu Mohapatra <> wrote:
>> Hi Chris,
>>
>> I sincerely appreciate your help.
>> I am a linux beginner. I will follow your steps and experiment a little
>> bit.
>> In case, I have some doubts, I will get back to you.
>>
>> Regards,
>>
>> Bibhu
>>
>>
>> On 8/30/07, Christopher Friedt <> wrote:
>>> I used a Logitech Orbit (the spherical one which looks like an eye and
>>> rotates around).
>>>
>>> First, determine which (if any) of the linux kernel modules support the
>>> hardware. In my case, it was the pwc driver.
>>>
>>> Second, cross-compile the module (as a module, not built-in to the
>>> kernel, although that's possible too if you want to replace the kernel
>>> in flash). You'll have to use the exact kernel sources from TS if you're
>>>
>>> running their kernel, otherwise version info will not be compatible.
>>>
>>> Third, copy the module to the board to a suitable location
>>> (/lib/modules/<kernel_version>/kernel/drivers/video).
>>>
>>> Insert any pre-requisite modules that may exist, including pcipool usb
>>> ... mount the usbfs at /proc/bus/usb (mount -t usbfs usbfs
>>> /proc/bus/usb)
>>>
>>> Then finally insert your module.
>>>
>>> You should find a new device node (although you could create one with
>>> mknod) at /dev/video0
>>>
>>> Follow the v4l api for ioctls to control / read / write from the video
>>> device. You will need to know ahead of time which image format the
>>> camera spits out and also the transfer method.
>>>
>>> I highly suggest that you take a look at the example code from the v4l
>>> people for a start. Take their example code and create a really basic
>>> snapshot program for starters. There are several libraries and full
>>> applications that you could use to capture frames and / or video as
>>> well.
>>>
>>> ~/Chris
>>>
>>> Bibhudendu Mohapatra wrote:
>>>> Hi Chris,
>>>>
>>>>
>>>>
>>>> I intend to set up a webcam on my TS7300 SBC running Debian 2.4.
>>>>
>>>> I have a Logitech QuickCam Pro 3000.
>>>>
>>>> I have worked a little bit on TS7300 before.
>>>>
>>>> My host was Win XP with cygwin installed.
>>>>
>>>>
>>>>
>>>> Can you please provide me some guideline of how you went about
>>>>
>>>> getting your cam working ?
>>>>
>>>> Like the cam you used, your host/target.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>>
>>>> Bibhu
>>>>
>>>>
>>>>
>>>>
>>
>>
>> --
>> Bibhu
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|