Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Kompilácia driveru FinePix  (Přečteno 1070 krát)

L.E.n

  • Aktivní člen
  • *
  • Příspěvků: 166
  • I have a D'OH authority.
Kompilácia driveru FinePix
« kdy: 13 Září 2010, 19:21:55 »
Ahoj... nikdy som nekompiloval a vážne neviem ako spraviť toto, budem vďačný za akúkoľvek rýchlu pomoc a vopred sa ospravedlňujem...
Kamarátku som prehovoril na Ubuntu, veľmi sa jej páči, akurát že program pre jej foťák (FinePix Viewer) nefunguje ani na Windowse, preto pochybujem že bude na Linuxe.

Na SourceForge som však našiel driver FinePix pre Linux a obsah treba skompilovať, ja však viem len že treba použiť "make" niečo.
V readme je toto:

Kód: [Vybrat]
driver/
 Contains the driver sources.
 Compile with "make".
 Then as root, install with "make install".
 Type "modprobe finepix" to load the module.

 To enable some kernel traces, compile the drive with "make DEBUG=1".
 To compile against another installed kernel, compile with the KMOD option. eg "make KMOD=/lib/modules/2.6.9"

userspace/driver/
 Contains the driver sources.
 Compile with "make".
 Then as root, install with "make install".
 Type "modprobe finepix" to load the module.

 To enable some kernel traces, compile the drive with "make DEBUG=1".
 To compile against another installed kernel, compile with the KMOD option. eg "make KMOD=/lib/modules/2.6.9"

userspace/
Type "make" to compile.
 fpix: test program, independant of the driver. Uses libusb to
       directly access the camera and capture a frame, saved
       under frame.jpg. Will not work if the driver is loaded.

 fpixtest: test program. Uses V4L2 to capture an image.

 fpix-stress-v4l2: never ending (in theory) stress test; derived from fpixtest.
Type "make" to compile.
 fpix: test program, independant of the driver. Uses libusb to
       directly access the camera and capture a frame, saved
       under frame.jpg. Will not work if the driver is loaded.

 fpixtest: test program. Uses V4L2 to capture an image.

 fpix-stress-v4l2: never ending (in theory) stress test; derived from fpixtest.

Z čoho som pochopil akurát že mám do terminálu napísať make a predpokladám cestu k driveru. Avšak ktorý zo súborov treba skompilovať? A čo po skompilovaní? Ako driver aplikujem? Ako potom samotný Viewer spustím...?

Vopred vďaka za ochotu :)

(v samotný driver na stiahnutie)
Dualboot: Ubuntu 10.10, Windows Vista SP1
AMD Turion X2 Ultra Dual-Core 2,26GHz
nVidia GeForce GT130M 4GB RAM 500GB HDD

petertomasy

  • Stálý člen
  • **
  • Příspěvků: 865
Re: Kompilácia driveru FinePix
« Odpověď #1 kdy: 13 Září 2010, 20:08:06 »
No , nie si tu až tak nový, na fóre, a nenapadne ťa dať sem viacej info, min.
Kód: [Vybrat]
lsusb -v
dmesg |grep tail # najprv vytiahnuta  a zasunuta webka a až potom príkaz
? ;)

L.E.n

  • Aktivní člen
  • *
  • Příspěvků: 166
  • I have a D'OH authority.
Re: Kompilácia driveru FinePix
« Odpověď #2 kdy: 13 Září 2010, 20:31:52 »
No , nie si tu až tak nový, na fóre, a nenapadne ťa dať sem viacej info, min.
Kód: [Vybrat]
lsusb -v
dmesg |grep tail # najprv vytiahnuta  a zasunuta webka a až potom príkaz
? ;)

Tak ja hlavne spamujem, chápeš...
Nie, nenapadlo ma nič, preto sa asi pýtam. Mohol by si mi proste prosím povedať postup..?
make /cesta/k/suboru (+ ktorý súbor to treba)
+ čo ďalej.
?
Dualboot: Ubuntu 10.10, Windows Vista SP1
AMD Turion X2 Ultra Dual-Core 2,26GHz
nVidia GeForce GT130M 4GB RAM 500GB HDD

petertomasy

  • Stálý člen
  • **
  • Příspěvků: 865
Re: Kompilácia driveru FinePix
« Odpověď #3 kdy: 13 Září 2010, 20:44:33 »
Dobre, tak teda znova : aplikacie>príslušenstvo>terminál
Kód: [Vybrat]
lsusb -v
dmesg | tail # najprv vytiahnuta  a zasunuta webka a až potom príkaz
výpisy sem.
Možno netreba nič kompilovať
« Poslední změna: 13 Září 2010, 20:49:23 od petertomasy »

L.E.n

  • Aktivní člen
  • *
  • Příspěvků: 166
  • I have a D'OH authority.
Re: Kompilácia driveru FinePix
« Odpověď #4 kdy: 13 Září 2010, 21:10:35 »
Dobre, tak teda znova : aplikacie>príslušenstvo>terminál
Kód: [Vybrat]
lsusb -v
dmesg | tail # najprv vytiahnuta  a zasunuta webka a až potom príkaz
výpisy sem.
Možno netreba nič kompilovať

Dobre, teraz som to asi pochopil.
Mne nejde o webkameru, ten FinePix Viewer slúži na prezeranie fotografií z jej foťáku, ten driver proste chcem nainštalovať... ak by ti to nevadilo a ak ťa môžem poprosiť o pomoc...

Ale ak to tak strašne treba, výpis, som zvedavý čo vyčítaš:
Kód: [Vybrat]
[21:09:12] Kikuskaa:         bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       2
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0100  1x 256 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       3
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0180  1x 384 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       4
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       5
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x02a8  1x 680 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       6
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0320  1x 800 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       7
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0384  1x 900 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       8
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x03ff  1x 1023 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval             100
cannot read device status, Operation not permitted (1)
Dualboot: Ubuntu 10.10, Windows Vista SP1
AMD Turion X2 Ultra Dual-Core 2,26GHz
nVidia GeForce GT130M 4GB RAM 500GB HDD

 

Provoz zaštiťuje spolek OpenAlt.