Автор Тема: Camera sonix sn9c201  (Прочетена 5502 пъти)

Sublimate

  • Напреднали
  • *****
  • Публикации: 116
    • Профил
Camera sonix sn9c201
« -: Apr 28, 2008, 16:18 »
Някой има ли идея как да си подкарам тази камера. До сега пробвах разни вариани но безуспешно.
desktop:~$ lsusb
Bus 005 Device 003: ID 0c45:627b Microdia
Така я открива но не работи.
Интересното е и че инструментите за настройка на камера търсят в /dev/video0
А там няма такъв файл.



Активен

spec1

  • Напреднали
  • *****
  • Публикации: 230
    • Профил
Camera sonix sn9c201
« Отговор #1 -: Apr 28, 2008, 16:43 »
Опитай с gspca
  Има списък с поддържани камери.Изтегли възможно
най-новата версия.
  Разбира се ,трябва и да са инст. съотв.модули за USB
 Мисля че във форума в linux-bg.org  има разисквани подобни
 проблеми, потърси в архива.
Активен

edmon

  • Гост
Camera sonix sn9c201
« Отговор #2 -: Apr 28, 2008, 19:00 »
ако не стане...
може да пробваш
http://groups.google.com/group/microdia/
Активен

e01

  • Напреднали
  • *****
  • Публикации: 37
  • Distribution: slackware, ubuntu
  • Window Manager: xfce 4.8/kde4.6
    • Профил
Camera sonix sn9c201
« Отговор #3 -: Apr 28, 2008, 20:14 »
http://mxhaard.free.fr/

Една от камерите ми е същата
и стана със spca (сега вече gspca)
Другите ми камери са CANYON и LOGITECH и при тях работи '<img'>
Активен

1.6(64)am2,athlon/alivenf6g/2gb ddr2 (hate edition)
dell optiplex gx240
dell mini 9 (1.6/1gb/16gb SSD) (the new guy)

Sublimate

  • Напреднали
  • *****
  • Публикации: 116
    • Профил
Camera sonix sn9c201
« Отговор #4 -: Apr 28, 2008, 20:25 »
Помогна ми ето това:

Microdia

Примерен код
Microdia Webcam Ubuntu 7.10 Gutsy

Print This Post Print This Post | 7 comments - Post a comment

When I’ve migrated to Linux, the only hardware that’s not supported by Ubuntu 7.10 Gutsy Gibbon on my system is my webcam. Well actually, there is a driver that support it, but it’s closed source driver from linux-projects.org which is also not free for this Linux distribution. I’ve tried the trial version of the driver but I got fuzzy images from the webcam.

But this morning, I’m very happy to received this email:

    Hi

    Please try out the latest Git version of our Experimental Microdia
    Webcam Kernel Driver.

    Currently there’s some basic support for the following webcams
    6242 624e 624f 6270 627b 62bb & 145f:013d

    -JoJo

You know why? Because my webcam (Microdia 0c45:624f) is listed there :D. It is email from someone at Microdia Webcam Groups who’s announce the latest development status of their Experimental Microdia Webcam Kernel Driver. Well, I’ve join this group for few months ago and hoping a miracle, and today the miracle comes true :p. This latest driver works perfectly and I got clear images from my webcam.

Here’s the screenshot:

Camorama

And here’s the step of driver installation:

This driver must be checkout from git repositories at http://repo.or.cz/w/microdia.git. If your Ubuntu system doesn’t have git installed, then you must install it with this command:

apt-get install git-core gitk git-gui git-doc curl

You will also need ctags on this latest version of driver and doxygen if you want to compile the documentation with this driver.

To install ctags: apt-get install ctags

doxygen is optional

To checkout the driver from repositories, go to preferred folder on the terminal where this driver would be placed, then type this command:

git clone http://repo.or.cz/r/microdia.git

If you succeeded, you may have no error messages and get microdia folder on your location. Then enter to microdia directory and type this command:

make

This command will compile the driver and when it’s finished, you’ll found microdia.ko file at the same folder and won’t get any error messages. But if you have one, just follow the clue on the messages and install required package for compilation. After that, just type this command to load the driver:

sudo modprobe videodev
sudo insmod microdia.ko

Check your dmesg status, when you have this line:

    [10439.928000] microdia: Microdia USB2.0 webcam driver startup
    [10439.928000] microdia: Microdia USB2.0 Webcam - Product ID 624F.
    [10439.928000] microdia: Release: 0100
    [10439.928000] microdia: Number of interfaces : 1
    [10439.928000] microdia: Microdia USB2.0 Camera is now controlling video device /dev/video0
    [10439.928000] usbcore: registered new interface driver usb_microdia_driver
    [10439.928000] microdia: v0.0.0 : Microdia USB Video Camera

Then your webcam is recognized by the driver. You can now test your webcam with camorama or else.

Updated:

If you want to load your driver everytime, just copy microdia.ko file to your kernel module directory. I suggest you to copy that file to this folder:

/lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/

so the copy command would be like this:

cp microdia.ko /lib/modules/`uname -r`/kernel/drivers/media/video/usbvideo/

if you have run insmod on the installation steps before, then run: sudo rmmod microdia first to unload the driver from memory. Then run: sudo depmod -a to generate new modules.dep and map files, so our new microdia driver recognize by the system.

After this steps, you can now load microdia module with modprobe command like this: sudo modprobe microdia. Finally is done, the microdia driver will be loaded every time you start your computer.

If you have any question or difficulties on driver installation, just leave the comments and I’ll try to find a solution for you.




Активен

Sublimate

  • Напреднали
  • *****
  • Публикации: 116
    • Профил
Camera sonix sn9c201
« Отговор #5 -: Apr 29, 2008, 08:27 »
Сега камерата ми има друг проблем. Снощи когато беше тъмно беше добре. ама сега на светлото се вижда само бяло и трябва да се доближа доста наблизо, за да се вижда нещо.
Под windows осветлението и се коригира автоматично no pod Linux за сега това не работи.
Пробвах със стандартните настройки на camorama но ефект няма.
Някакви идеи как да стана по видим през деня? '<img'>
Активен

e01

  • Напреднали
  • *****
  • Публикации: 37
  • Distribution: slackware, ubuntu
  • Window Manager: xfce 4.8/kde4.6
    • Профил
Camera sonix sn9c201
« Отговор #6 -: Apr 29, 2008, 10:05 »
С коя програма се гледаш?
Активен

1.6(64)am2,athlon/alivenf6g/2gb ddr2 (hate edition)
dell optiplex gx240
dell mini 9 (1.6/1gb/16gb SSD) (the new guy)

spec1

  • Напреднали
  • *****
  • Публикации: 230
    • Профил
Camera sonix sn9c201
« Отговор #7 -: Apr 29, 2008, 11:03 »
Опитай с mplayer
 Моята камера я пускам с:
 mplayer tv:// -tv driver=v4l:width=352:height=288:device=/dev/video0
 mplayer е за предпочитане пред camorama
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
web camera
Настройка на хардуер
saper 5 3484 Последна публикация Mar 02, 2005, 09:39
от
web camera!!!
Настройка на хардуер
gymmm 5 2910 Последна публикация Dec 21, 2005, 21:39
от the_real_maniac
Web Camera за Лунукс
Идеи и мнения
astronom 5 3924 Последна публикация Mar 03, 2006, 11:28
от eka
Web camera
Настройка на хардуер
Tinna 2 2269 Последна публикация Nov 13, 2006, 10:08
от kennedy
Настройка на web camera
Настройка на хардуер
fedex 1 2906 Последна публикация May 16, 2007, 23:55
от leta4