webcam ricoh

8 risposte [Ultimo messaggio]
Ritratto di deca72
deca72
(Junior)
Offline
Junior
Iscritto: 03/11/2006
Messaggi: 28

Ciao a tutti,
ho una webcam integrata nella cornice del display del portatile hp, marca Ricoh e id usb 0x05ca:0x1870.
Con la 2008 funzionava egregiamente con il modulo r5u870, all'inizio me lo compilavo io poi fu pacchettizzato come dkms-r5u870.

Ma con la 2009 ed il kernel nuovo non c'è verso: il dkms non compila più (ma perchè l'hanno incluso nella release??) e neanche provando direttamente dai sorgenti si ottiene niente. Supporto direttamente nel kernel, almeno all'apparenza, non sembra esse stato aggiunto...

Qualcuno ha qualche idea (oltre che aspettare pazientemente una nuova release dei driver)? Qualcuno può x cortesia provare a fare un build del pacchetto dkms, tanto per fare la controprova?

Mauro

Ritratto di michele-p
michele-p
(Guru)
Offline
Guru
Iscritto: 22/01/2007
Messaggi: 3268

...in che senso "anche compilando da sorgenti non si ottiene niente"?...nel senso che non compila oppure compila ma non funziona la webcam?

Bye

8-)

Ritratto di deca72
deca72
(Junior)
Offline
Junior
Iscritto: 03/11/2006
Messaggi: 28

... nel senso che non compila!
Ora sono in ufficio e non ho sottomano gli errori per postarli, sono comunque un sacco di unresolved symbols per via delle modifiche fatte nell'ultima versione del kernel alla parte v4l (almeno credo).

Ritratto di Bemipefe
Bemipefe
(Guru)
Offline
Guru
Iscritto: 07/07/2005
Messaggi: 1125

Questo significa che il driver è diventato incopatibile con il nuovo kernel, ossia sono cambiati i sorgenti del kernel e i sorgenti del driver non troveranno sicuramente qualcosa che prima c'era e ora non piu.

Dovresti scaricare la nuova versione o vedere se è stato incluso nel kernel.
Oppure ritornare alla 2008.1 Sad .....che poi è pure piu stabile Smile ... tutti che passano alla 2009 e poi si lamentano che non gli funziona piu qualcosa.

Ragazzi è appena uscita! Dategli tempo di crescere e aspettate prima di installarla

_/\/\/\Bemipefe/\/\/\_

Ritratto di michele-p
michele-p
(Guru)
Offline
Guru
Iscritto: 22/01/2007
Messaggi: 3268

...che errore hai in fase di compilazione?

Bye 8-)

Ritratto di deca72
deca72
(Junior)
Offline
Junior
Iscritto: 03/11/2006
Messaggi: 28

Ecco qui, e scusa il ritardo nella risposta (compilando i sorgenti):

<br />[root@Pedro r5u870_driver]# make<br />make -C /lib/modules/2.6.27.4-desktop-2mnb/build M=/root/r5u870_driver V=0 modules<br />make[1]: Entering directory `/usr/src/linux-2.6.27.4-desktop-2mnb&#039;                <br />  CC [M]  /root/r5u870_driver/usbcam/usbcam_fops.o                                <br />/root/r5u870_driver/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:         <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1167: error: implicit declaration of function ‘video_usercopy’<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1171: error: implicit declaration of function ‘video_ioctl2’  <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1159: warning: unused variable ‘udp’                          <br />/root/r5u870_driver/usbcam/usbcam_fops.c: At top level:                                                <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1213: error: unknown field ‘type’ specified in initializer    <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1214: error: unknown field ‘type2’ specified in initializer   <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1217: error: unknown field ‘vidioc_querycap’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1217: warning: initialization makes integer from pointer without a cast<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1218: error: unknown field ‘vidioc_enum_fmt_cap’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1218: warning: initialization makes integer from pointer without a cast  <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1219: error: unknown field ‘vidioc_g_fmt_cap’ specified in initializer   <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1219: warning: initialization makes integer from pointer without a cast  <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1219: error: initializer element is not computable at load time          <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1219: error: (near initialization for ‘usbcam_videodev_template.tvnorms’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1220: error: unknown field ‘vidioc_s_fmt_cap’ specified in initializer   <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1220: warning: initialization makes integer from pointer without a cast  <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1220: error: initializer element is not computable at load time          <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1220: error: (near initialization for ‘usbcam_videodev_template.current_norm’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1221: error: unknown field ‘vidioc_try_fmt_cap’ specified in initializer      <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1221: warning: initialization from incompatible pointer type                  <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1222: error: unknown field ‘vidioc_reqbufs’ specified in initializer          <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1222: warning: initialization from incompatible pointer type                  <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1223: error: unknown field ‘vidioc_querybuf’ specified in initializer         <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1224: error: unknown field ‘vidioc_qbuf’ specified in initializer             <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1224: warning: initialization makes integer from pointer without a cast       <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1225: error: unknown field ‘vidioc_dqbuf’ specified in initializer            <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1225: warning: missing braces around initializer                              <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1225: warning: (near initialization for ‘usbcam_videodev_template.lock’)      <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1225: warning: initialization makes integer from pointer without a cast       <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1226: error: unknown field ‘vidiocgmbuf’ specified in initializer             <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1226: warning: excess elements in struct initializer                          <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1226: warning: (near initialization for ‘usbcam_videodev_template’)           <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1227: error: unknown field ‘vidioc_enum_input’ specified in initializer       <br />/root/r5u870_driver/usbcam/usbcam_fops.c:1227: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1227: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1228: error: unknown field ‘vidioc_streamon’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1228: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1228: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1229: error: unknown field ‘vidioc_streamoff’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1229: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1229: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1230: error: unknown field ‘vidioc_g_input’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1230: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1230: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1231: error: unknown field ‘vidioc_s_input’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1231: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1231: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1232: error: unknown field ‘vidioc_queryctrl’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1232: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1232: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1233: error: unknown field ‘vidioc_g_ctrl’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1233: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1233: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1234: error: unknown field ‘vidioc_s_ctrl’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1234: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1234: warning: (near initialization for ‘usbcam_videodev_template’)<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1235: error: unknown field ‘vidioc_querymenu’ specified in initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1235: warning: excess elements in struct initializer<br />/root/r5u870_driver/usbcam/usbcam_fops.c:1235: warning: (near initialization for ‘usbcam_videodev_template’)<br />make[3]: *** [/root/r5u870_driver/usbcam/usbcam_fops.o] Error 1<br />make[2]: *** [/root/r5u870_driver/usbcam] Error 2<br />make[1]: *** [_module_/root/r5u870_driver] Error 2<br />make[1]: Leaving directory `/usr/src/linux-2.6.27.4-desktop-2mnb&#039;<br />make: *** [all] Error 2<br /><br />

???

Ritratto di michele-p
michele-p
(Guru)
Offline
Guru
Iscritto: 22/01/2007
Messaggi: 3268

...ma poi il dkms ha ripreso a funzionare?...avevo dimenticato questo post... Laughing

Bye 8-)

Ritratto di deca72
deca72
(Junior)
Offline
Junior
Iscritto: 03/11/2006
Messaggi: 28

No, non compila.
Credo che la versione in distribuzione sia stata messa lì per chi ha ancora un kernel vecchio.
Ciao

Ritratto di michele-p
michele-p
(Guru)
Offline
Guru
Iscritto: 22/01/2007
Messaggi: 3268

...questo è il motivo;

http://www.palmix.org/r5u870.html

la scritta in rosso.

Bye 8-)