Linux-magazine.it Forum
Maggio 23, 2012, 10:53:27 pm *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?
 
Pagine: [1] 2 3   Vai giù
  Stampa  
Autore Discussione: scanjet HP 3800  (Letto 4455 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.
Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« inserita:: Novembre 20, 2009, 10:22:44 pm »

Ciao tutti Sorriso

All'inizio funzionava ma dopo, non so dire quanto Ghigno, (forze qualche aggiornamento o installazione Occhi al cielo ) , non va più, collego il cavo usb e avvio XSane dal menù, (cosa che faceva automaticamente non appena inserivo il cavo usb  Occhi al cielo ), ora mi dice "sto cercando la periferica" e poi niente..., niente di niente Che?!?.

Lo scanner è questo:

http://hp3800scanjet.notlong.com

Ed alcuni outputs:

Codice:
[root@localhost fenixkde]# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f0:2605 Hewlett-Packard ScanJet 3800c
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 002: ID 03f0:2605 Hewlett-Packard ScanJet 3800c
Device Descriptor:                                           
  bLength                18                                   
  bDescriptorType         1                                   
  bcdUSB               2.00                                   
  bDeviceClass            0 (Defined at Interface level)     
  bDeviceSubClass         0                                   
  bDeviceProtocol         0                                   
  bMaxPacketSize0        64                                   
  idVendor           0x03f0 Hewlett-Packard                   
  idProduct          0x2605 ScanJet 3800c                     
  bcdDevice            1.00                                   
  iManufacturer           1 hewlett packard                   
  iProduct                2 hp scanjet                       
  iSerial                 3 CN637A11Y304CN                   
  bNumConfigurations      1                                   
  Configuration Descriptor:                                   
    bLength                 9                                 
    bDescriptorType         2                                 
    wTotalLength           39                                 
    bNumInterfaces          1                                 
    bConfigurationValue     1                                 
    iConfiguration          4 USB SCANNER                     
    bmAttributes         0xe0                                 
      Self Powered                                           
      Remote Wakeup                                           
    MaxPower                2mA                               
    Interface Descriptor:                                     
      bLength                 9                               
      bDescriptorType         4                               
      bInterfaceNumber        0                               
      bAlternateSetting       0                               
      bNumEndpoints           3                               
      bInterfaceClass       255 Vendor Specific Class         
      bInterfaceSubClass      0                               
      bInterfaceProtocol    255                               
      iInterface              5 Bulk-In, Bulk-Out, Interrupt Interface
      Endpoint Descriptor:                                           
        bLength                 7                                     
        bDescriptorType         5                                     
        bEndpointAddress     0x81  EP 1 IN                           
        bmAttributes            2                                     
          Transfer Type            Bulk                               
          Synch Type               None                               
          Usage Type               Data                               
        wMaxPacketSize     0x0200  1x 512 bytes                       
        bInterval               0                                     
      Endpoint Descriptor:                                           
        bLength                 7                                     
        bDescriptorType         5                                     
        bEndpointAddress     0x02  EP 2 OUT                           
        bmAttributes            2                                     
          Transfer Type            Bulk                               
          Synch Type               None                               
          Usage Type               Data                               
        wMaxPacketSize     0x0200  1x 512 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              12                                     
Device Qualifier (for other device speed):                           
  bLength                10                                           
  bDescriptorType         6                                           
  bcdUSB               2.00                                           
  bDeviceClass            0 (Defined at Interface level)             
  bDeviceSubClass         0                                           
  bDeviceProtocol         0                                           
  bMaxPacketSize0        64                                           
  bNumConfigurations      1                                           
Device Status:     0x0003                                             
  Self Powered                                                       
  Remote Wakeup Enabled

Come posso ripristinare?

...Anche wine mi si è sballato, ma credo che posso rimediare reinstallandolo, oltre ad essere roba per un altro post Ghigno

Grazie in anticipo Occhiolino
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #1 inserita:: Novembre 20, 2009, 10:30:18 pm »

...oops!!! :

http://www.sane-project.org/unsupported/hp-scanjet-3800.html

Ma su ubuntu e su Slack funziona Che?!?, su mandriva 2008.1 andava de p*ta  madre!  Ghigno, cioè, benissimo!!!  Che?!? Che?!?

A voi...
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
michele.p
Global Moderator
Hero Member
*****

Karma: +49/-44
Scollegato Scollegato

Messaggi: 6740



Mostra profilo
« Risposta #2 inserita:: Novembre 20, 2009, 11:18:57 pm »

...ma è su Mandriva 2010.0 che non funziona? ...dal Centro di Controllo prova a configurarlo nuovamente. Comunque il 3800 ScanJet deve funzionare almeno nelle funzioni basilsari così come riportato qui;

http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD

con back-end hp3900.

Bye  Fico
Registrato

Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #3 inserita:: Novembre 21, 2009, 10:50:41 pm »

...niente! ,

E' possibile che i cambiamenti che vengono fatti al kernel quando si lancia una nuova versione di una determinata distribuzione escludano moduli e firmware presenti nelle versioni precedenti?  Occhi al cielo , se si, allora è quello che è successo a me con lo scanner Imbarazzato , comunque, l'output, mi ha chiesto d'installare SVN ed ho installato tutto quello che avessi a che fare con SVN e CVS

(non riesco a postare gli outputs, eccedono il limite dei caratteri)

...e mi da errore Broncio , ma se installo la configurazione per fedora o suse presente nel eseguibile su mandriva 2009.1 non dovrebbe funzionare?, forze mi spiego meglio se ti faccio vedere il contenuto del file "README.en" contenuto nel pacchetto sorgente: "hp3900-series_0.12.tar.gz" :

Codice:
Project: hp3900-series
Author : Jonathan Bravo Lopez
Web    : http://jkdsoftware.dyndns.org
         https://sourceforge.net/projects/hp3900-series

Index
-----

 - General
 - Steps to install project
 - Compiling project
 - Downloading sources
 - Information about versions
 - Patching SANE sources by hand
 - Some notes
 - Important!!!
 - Some examples
 - FAQ


General
-------

hp3900-series project can be installed in two ways. As a stand-alone application
and as a SANE backend. If you want to install SANE backend you should already
have installed SANE project in your system.

Since version 0.9, hp3900-series includes some scripts to install project:
UPDATE.sh, COMPILE.sh, INSTALL.sh

The reason why there aren't specific packages for each distro (dev, rpm...) is
because SANE backend will be included in SANE project in a near future, I hope,
and dedicated packages for hp3900 would conflict with hp3900 files included in
SANE packages.

So, once backend is included in SANE, these scripts should be executed by those
people who want to install stand-alone version, or those ones who want to test
the lastest source code without waiting for a new SANE release.

A normal installation for known linux distros would use INSTALL.sh script. These
distros are: Debian, Ubuntu, Fedora and SuSE.

For these ones, there are compiled binaries ready to install. For any other
distro, hp3900-series project needs to be compiled.


Steps to install project
------------------------

- Just type ./INSTALL.sh as root

- You have to select if you want to install the SANE backend or the stand-alone
application.

- Then you have to select your linux distro. If your distro is listed, you won't
need to compile project because there are compiled binaries ready to install.

- If your distro is not listed you have to compile sources, selecting "Others"
option. This option, executes COMPILE.sh script which will compile project.


Compiling project
-----------------

COMPILE.sh has been writen to compile hp3900-series project. If your distro is
listed in INSTALL.sh script you can skip this step but may be you want to
compile sources by yourself. If so, keep on reading.

- The first step is to select if you want to compile stand-alone application or
SANE backend. This step is skipped when COMPILE.sh script is called from INSTALL.sh

- By default, hp3900 sources are included so, stand-alone application can be
compiled at the moment. But, to compile project as a backend you need SANE
project sources, and such sources are not included in this package. So, if you
select to compile project as a SANE backend, and sources are not already
downloaded, script will call UPDATE.sh to download them.

Note: To compile hp3900-series, libtiff-dev and libusb-dev packages are needed.
If you have a debian distro you can install typing next command:
apg-get install libtiff4-dev libusb-dev


Downloading sources
-------------------

Using UPDATE.sh you can download sources from SANE project and hp3900-series
SVN and CVS servers. These operations require to have installed CVS and SVN
clients, available in each distro in several ways. For example, in debian
systems: apt-get install subversion cvs

- The first step is to select if you want to download hp3900-series project or
SANE project. The second option will download hp3900-series if their sources
are not available, to merge backend into SANE project. This step is skipped if
script is called from INSTALL.sh


Information about versions
--------------------------

INFO.sh script provides information about projects' versions of hp3900/SANE
binaries and sources updated from their servers.


Patching SANE sources by hand
-----------------------------

By default, each time SANE sources are updated, they are automatically patched
to include/update hp3900-series sources. But if you want to patch SANE sources
without updating such project you can do by hand using PATCH.sh script without
any optional arguments.


Some notes
----------

- All scripts support arguments which can be shown using --help argument and
that let to select in each script the project to work.

- hp3900-series sources are located at ./src/hp3900-series

- SANE project sources are located at ./src/sane-backends

- Compiled binaries generated by COMPILE.sh script are located at
./bin/sane/others and ./bin/stdalone/others respectively.


Important!!!
------------

Each distro may have installed SANE project in diferent paths from other
distros. By default, SANE libraries will be installed at "/usr/lib/sane" and
config files at "/etc/sane.d". You should check these paths before atempting to
install SANE backend, editing variables SNE_PATH_LIBS and SNE_PATH_CFG at
./scripts/config.sh


Some examples
-------------
Installing hp3900 as stand-alone application for debian distros:
./INSTALL.sh --type 1 --distro 2

Installing hp3900 as a backend letting script to detect linux distro:
./INSTALL.sh --type 2 --adistro

Getting lastest sources from hp3900-series (needs SVN client):
./UPDATE.sh --type 1

Getting lastest sources from SANE project (needs CVS client):
./UPDATE.sh --type 2

Compiling SANE backend:
./COMPILE.sh --type 2

Show version of SANE/hp3900 binaries:
./INFO.sh --type 1


Example about "updating" SANE backend
-------------------------------------

If we haven't got SANE sources, we update both projects. We don't need to patch
by hand:

./UPDATE.sh --type 3
./COMPILE.sh --type 2
./INSTALL.sh --type 2 --distro 1

If we have got SANE sources, we update hp3900-series and patch SANE by hand:

./UPDATE.sh --type 1
./PATCH.sh
./COMPILE.sh --type 2
./INSTALL.sh --type 2 --distro 1

Remember that INSTALL.sh script must be executed as root


FAQ
---

1 - What's the difference between backend, frontend, stand-alone?

A backend is a driver, a library that implements necessary functions to carry out some operations. In this case, a backend accesses a scanner, configures it and retrieves scanned image. A frontend is an application that dialogs with user using a nice interface. So backend makes the dirty job while frontend makes user's life easier.

A stand-alone application implements both the backend and the frontend in a single executable. In this case, stand-alone application doesn't depend on any other application or library related to SANE. It works without being SANE installed.

2 - What should I install, SANE backend or stand-alone application?

As a normal user, it's recommended to install the SANE backend because SANE is a standard in GNU/Linux and many frontends are available. Stand-alone application exists because of three main reasons:

 a) It doesn't depend on any other application or library related to SANE. It works without being SANE installed.
 b) It's much easier to debug stand-alone application because its interface is very simple. Debugging a SANE backend needs to go through a given frontend to reach backend's code. In the other hand, stand-alone application contains specific debugging arguments to make fast tests against scanners that aren't supported yet.
 c) Compilation process is faster than backend's one.

...ho già provveduto ad installare le "SANE sources" dal gestore del CCM, ed ho lanciato ./INSTALL.sh come root, per cui ci sarà qualcosa che manca, ma a questo punto non lo so Occhi al cielo .

Grazie del tempo che mi stai dedicando Sorriso

A dopo

« Ultima modifica: Novembre 21, 2009, 10:59:07 pm da Argos » Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
michele.p
Global Moderator
Hero Member
*****

Karma: +49/-44
Scollegato Scollegato

Messaggi: 6740



Mostra profilo
« Risposta #4 inserita:: Novembre 21, 2009, 11:06:50 pm »

...ma tu hai provato aconfigurare lo scanner utilizzando il tool del centro di controllo? ....evita di installare software da sorgenti, almeno fino a che non hai provato i tool automatici, altrimenti potresti creare qualche conflitto.

Bye  Fico
Registrato

Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #5 inserita:: Novembre 21, 2009, 11:09:28 pm »

P.S: una parte degli errori :
                 
-
Codice:
Info : hp3900-series sources version: 0.13-SVN                
- Update succesfull...                                          

- Starting compile process of stand-alone application...
- Action : Compiling ...                                
In file included from hp3900.c:57:                      
hp3900_stdalone.c:56:17: error: usb.h: No such file or directory
In file included from hp3900.c:57:                              
hp3900_stdalone.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from hp3900_rts8822.c:72,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_types.c:622: error: expected specifier-qualifier-list before ‘USB_Handle’              
hp3900_types.c:628: warning: struct has no members                                            
In file included from hp3900_rts8822.c:73,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_debug.c:55:41: error: tiffio.h: No such file or directory                              
In file included from hp3900_rts8822.c:73,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_debug.c: In function ‘dbg_tiff_save’:                                                  
hp3900_debug.c:522: error: ‘TIFF’ undeclared (first use in this function)                    
hp3900_debug.c:522: error: (Each undeclared identifier is reported only once                  
hp3900_debug.c:522: error: for each function it appears in.)                                  
hp3900_debug.c:522: error: ‘image’ undeclared (first use in this function)                    
hp39.............
            
In file included from hp3900_rts8822.c:74,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_config.c: In function ‘cfg_default_gainoffset_get’:                                    
hp3900_config.c:1215: error: ‘struct st_usb’ has no member named ‘type’                      
hp3900_config.c: In function ‘cfg_fixedpwm_get’:                                              
hp3900_config.c:1336: error: ‘struct st_usb’ has no member named ‘type’                      
hp3900_config.c: In function ‘cfg_vrefs_get’:                                                
hp3900_config.c:1443: error: ‘struct st_usb’ has no member named ‘type’                      
hp3900_config.c: In function ‘cfg_motormove_get’:                                            
hp3900_config.c:1497: error: ‘struct st_usb’ has no member named ‘type’                      
hp39..........
’                      
In file included from hp3900_rts8822.c:75,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_usb.c: In function ‘RTS_usb_blk_write’:                                                
hp3900_usb.c:418: error: ‘struct st_usb’ has no member named ‘dataline_count’                
hp3900_usb.c:419: error: ‘struct st_usb’ has no member named ‘dataline_count’                
hp3900_usb.c:424: error: ‘struct st_usb’ has no member named ‘handle’                        
hp3900_usb.c:426: warning: implicit declaration of function ‘usb_bulk_write’                  
hp39.........
                       
In file included from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_rts8822.c: In function ‘RTS_alloc’:                                                    
hp3900_rts8822.c:735: error: ‘struct st_usb’ has no member named ‘type’                      
hp3900_rts8822.c:736: error: ‘struct st_usb’ has no member named ‘timeout’                    
hp3900_rts8822.c:737: error: ‘struct st_usb’ has no member named ‘blk_read_ep’                
hp3900_rts8822.c:738: error: ‘struct st_usb’ has no member named ‘blk_write_ep’              
hp39........
                  
In file included from hp3900.c:57:                                                            
hp3900_stdalone.c: At top level:                                                              
hp3900_stdalone.c:95: error: expected ‘)’ before ‘*’ token                                    
hp3900_stdalone.c:96: warning: ‘struct usb_device’ declared inside parameter list            
hp39..........

 Che?!?
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #6 inserita:: Novembre 21, 2009, 11:12:47 pm »

Citazione
...ma tu hai provato aconfigurare lo scanner utilizzando il tool del centro di controllo? ....evita di installare software da sorgenti, almeno fino a che non hai provato i tool automatici, altrimenti potresti creare qualche conflitto.

Si, appena ho installato Manriva 2009.1, in genere preferisco usare i tool di configurazione proposti dalle distribuzioni per evitare come dici... Occhiolino

A dopo
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
michele.p
Global Moderator
Hero Member
*****

Karma: +49/-44
Scollegato Scollegato

Messaggi: 6740



Mostra profilo
« Risposta #7 inserita:: Novembre 21, 2009, 11:14:45 pm »

...nell'errore che hai riportato, non trova il file usb.h .Ora sto' in Slackware  Felice ...quindi non posso verificare, ma se c'è un pacchetto libusb-devel e/o libusb-static-devel installalo perché quelli contengono i file header (.h).

Bye  Fico
Registrato

Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #8 inserita:: Novembre 21, 2009, 11:38:43 pm »

E' motivo d'invidia (sana) , la quantita di cose che sai Scioccato, come hai detto mi mancavano sia libusb-devel, che libusb-static-devel.

Comunque il problema persiste, e subentra un altro, che non posso postare totalmente l'output dell'errore dove hai notato la mancanza del file header (.h), forze manca qualche altro file che io non sarò in grado di riconoscere mai Felice ...

A dopo Occhiolino
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
michele.p
Global Moderator
Hero Member
*****

Karma: +49/-44
Scollegato Scollegato

Messaggi: 6740



Mostra profilo
« Risposta #9 inserita:: Novembre 22, 2009, 12:50:07 am »

..riporta solo l'errore e non tutto l'output...  Felice

Bye  Fico
Registrato

Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #10 inserita:: Novembre 22, 2009, 01:09:44 am »

Codice:
In file included from hp3900.c:57:                      
hp3900_stdalone.c:56:17: error: usb.h: No such file or directory
In file included from hp3900.c:57:                              
hp3900_stdalone.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from hp3900_rts8822.c:72,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_types.c:622: error: expected specifier-qualifier-list before ‘USB_Handle’              
hp3900_types.c:628: warning: struct has no members                                            
In file included from hp3900_rts8822.c:73,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_debug.c:55:41: error: tiffio.h: No such file or directory                              
In file included from hp3900_rts8822.c:73,                                                    
                 from hp3900_stdalone.c:77,                                                  
                 from hp3900.c:57:                                                            
hp3900_debug.c: In function ‘dbg_tiff_save’:                                                  
hp3900_debug.c:522: error: ‘TIFF’ undeclared (first use in this function)                    
hp3900_debug.c:522: error: (Each undeclared identifier is reported only once                  
hp3900_debug.c:522: error: for each function it appears in.)                                  
hp3900_debug.c:522: error: ‘image’ undeclared (first use in this function)                    
hp3900_debug.c:527: warning: implicit declaration of function ‘TIFFOpen’                      
hp3900_debug.c:534: error: ‘PHOTOMETRIC_MINISBLACK’ undeclared (first use in this function)  
hp3900_debug.c:534: error: ‘PHOTOMETRIC_RGB’ undeclared (first use in this function)          
hp3900_debug.c:540: warning: implicit declaration of function ‘TIFFSetField’                  
hp3900_debug.c:540: error: ‘TIFFTAG_IMAGEWIDTH’ undeclared (first use in this function)      
hp3900_debug.c:541: error: ‘TIFFTAG_IMAGELENGTH’ undeclared (first use in this function)      
hp3900_debug.c:542: error: ‘TIFFTAG_BITSPERSAMPLE’ undeclared (first use in this function)    
hp3900_debug.c:543: error: ‘TIFFTAG_SAMPLESPERPIXEL’ undeclared (first use in this function)  
hp3900_debug.c:545: error: ‘TIFFTAG_PHOTOMETRIC’ undeclared (first use in this function)      
hp3900_debug.c:546: error: ‘TIFFTAG_FILLORDER’ undeclared (first use in this function)        
hp3900_debug.c:546: error: ‘FILLORDER_MSB2LSB’ undeclared (first use in this function)        
hp3900_debug.c:547: error: ‘TIFFTAG_PLANARCONFIG’ undeclared (first use in this function)    
hp3900_debug.c:548: error: ‘PLANARCONFIG_CONTIG’ undeclared (first use in this function)      
hp3900_debug.c:550: error: ‘TIFFTAG_XRESOLUTION’ undeclared (first use in this function)      
hp3900_debug.c:551: error: ‘TIFFTAG_YRESOLUTION’ undeclared (first use in this function)      
hp3900_debug.c:552: error: ‘TIFFTAG_RESOLUTIONUNIT’ undeclared (first use in this function)  
hp3900_debug.c:552: error: ‘RESUNIT_INCH’ undeclared (first use in this function)            
hp3900_debug.c:553: error: ‘TIFFTAG_IMAGEDESCRIPTION’ undeclared (first use in this function)
hp3900_debug.c:556: warning: implicit declaration of function ‘TIFFWriteRawStrip’            
hp3900_debug.c:557: warning: implicit declaration of function ‘TIFFClose’                    
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #11 inserita:: Novembre 22, 2009, 01:10:24 am »

Codice:
[code]In file included from hp3900_rts8822.c:74,                                                   
                 from hp3900_stdalone.c:77,                                                   
                 from hp3900.c:57:                                                           
hp3900_config.c: In function ‘cfg_default_gainoffset_get’:                                   
hp3900_config.c:1215: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c: In function ‘cfg_fixedpwm_get’:                                             
hp3900_config.c:1336: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c: In function ‘cfg_vrefs_get’:                                                 
hp3900_config.c:1443: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c: In function ‘cfg_motormove_get’:                                             
hp3900_config.c:1497: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c: In function ‘cfg_scanmode_get’:                                             
hp3900_config.c:1521: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c:1525: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c:1530: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c:1536: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c:1540: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c: In function ‘cfg_wrefs_get’:                                                 
hp3900_config.c:2315: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_config.c: In function ‘cfg_shading_cut_get’:                                           
hp3900_config.c:2447: error: ‘struct st_usb’ has no member named ‘type’                       
In file included from hp3900_rts8822.c:75,                                                   
                 from hp3900_stdalone.c:77,                                                   
                 from hp3900.c:57:                                                           
hp3900_usb.c: In function ‘RTS_usb_blk_write’:                                               
hp3900_usb.c:418: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:419: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:424: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:426: warning: implicit declaration of function ‘usb_bulk_write’                 
hp3900_usb.c:426: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:426: error: ‘struct st_usb’ has no member named ‘blk_write_ep’                   
hp3900_usb.c:427: error: ‘struct st_usb’ has no member named ‘timeout’                       
hp3900_usb.c: In function ‘RTS_usb_blk_read’:                                                 
hp3900_usb.c:453: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:455: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:458: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:460: warning: implicit declaration of function ‘usb_bulk_read’                   
hp3900_usb.c:460: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:460: error: ‘struct st_usb’ has no member named ‘blk_read_ep’                   
hp3900_usb.c:461: error: ‘struct st_usb’ has no member named ‘timeout’                       
hp3900_usb.c: In function ‘RTS_usb_ctl_write’:                                               
hp3900_usb.c:486: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:488: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:492: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:493: warning: implicit declaration of function ‘usb_control_msg’                 
hp3900_usb.c:493: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:499: error: ‘struct st_usb’ has no member named ‘timeout’                       
hp3900_usb.c: In function ‘RTS_usb_ctl_read’:                                                 
hp3900_usb.c:531: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:533: error: ‘struct st_usb’ has no member named ‘dataline_count’                 
hp3900_usb.c:536: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:537: error: ‘struct st_usb’ has no member named ‘handle’                         
hp3900_usb.c:543: error: ‘struct st_usb’ has no member named ‘timeout’                       
In file included from hp3900_stdalone.c:77,                                                   
                 from hp3900.c:57:                                                           
hp3900_rts8822.c: In function ‘RTS_alloc’:                                                   
hp3900_rts8822.c:735: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_rts8822.c:736: error: ‘struct st_usb’ has no member named ‘timeout’                   
hp3900_rts8822.c:737: error: ‘struct st_usb’ has no member named ‘blk_read_ep’               
hp3900_rts8822.c:738: error: ‘struct st_usb’ has no member named ‘blk_write_ep’               
hp3900_rts8822.c: In function ‘RTS_scanner_init’:                                             
hp3900_rts8822.c:958: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_rts8822.c:964: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_rts8822.c:966: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_rts8822.c:970: error: ‘struct st_usb’ has no member named ‘type’                       
hp3900_rts8822.c: In function ‘RTS_load_config’:                                             
hp3900_rts8822.c:1685: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c:1687: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c: In function ‘RTS_mtr_get’:                                                 
hp3900_rts8822.c:6004: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c: In function ‘RTS_scan_start’:                                               
hp3900_rts8822.c:9383: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c: In function ‘RTS_setup_exposure’:                                           
hp3900_rts8822.c:9743: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c: In function ‘RTS_lamp_gaincontrol_get’:                                     
hp3900_rts8822.c:11442: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c:11454: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c:11481: error: ‘struct st_usb’ has no member named ‘type’                     
hp3900_rts8822.c:11494: error: ‘struct st_usb’ has no member named ‘type’                     
In file included from hp3900.c:57:                                                           
hp3900_stdalone.c: At top level:                                                             
hp3900_stdalone.c:95: error: expected ‘)’ before ‘*’ token                                   
hp3900_stdalone.c:96: warning: ‘struct usb_device’ declared inside parameter list             
hp3900_stdalone.c:96: warning: its scope is only this definition or declaration, which is probably not what you want
hp3900_stdalone.c:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                     
hp3900_stdalone.c:106: error: expected ‘)’ before ‘*’ token                                                         
hp3900_stdalone.c:107: error: expected ‘)’ before ‘*’ token                                                         
hp3900_stdalone.c:108: error: expected ‘)’ before ‘*’ token                                                         
hp3900_stdalone.c: In function ‘main’:                                                                             
hp3900_stdalone.c:185: warning: implicit declaration of function ‘usb_init’                                         
hp3900_stdalone.c:258: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:259: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:263: warning: passing argument 1 of ‘device_open’ from incompatible pointer type                 
hp3900_stdalone.c:305: warning: implicit declaration of function ‘device_close’                                     
hp3900_stdalone.c:305: error: ‘struct st_usb’ has no member named ‘handle’                                         
hp3900_stdalone.c: At top level:                                                                                   
hp3900_stdalone.c:325: error: conflicting types for ‘device_open’                                                   
hp3900_stdalone.c:96: error: previous declaration of ‘device_open’ was here                                         
hp3900_stdalone.c: In function ‘device_open’:                                                                       
hp3900_stdalone.c:327: error: ‘usb_dev_handle’ undeclared (first use in this function)                             
hp3900_stdalone.c:327: error: ‘myhandle’ undeclared (first use in this function)                                   
hp3900_stdalone.c:328: warning: ISO C90 forbids mixed declarations and code                                         
hp3900_stdalone.c:331: error: ‘struct st_usb’ has no member named ‘handle’                                         
hp3900_stdalone.c:332: error: ‘struct st_usb’ has no member named ‘handle’                                         
hp3900_stdalone.c:337: warning: implicit declaration of function ‘usb_open’                                         
hp3900_stdalone.c:341: warning: implicit declaration of function ‘usb_set_configuration’                           
hp3900_stdalone.c:344: warning: implicit declaration of function ‘usb_claim_interface’                             
hp3900_stdalone.c:346: warning: implicit declaration of function ‘usb_set_altinterface’                             
hp3900_stdalone.c:347: error: ‘struct st_usb’ has no member named ‘handle’                                         
hp3900_stdalone.c:352: warning: implicit declaration of function ‘usb_close’                                       
hp3900_stdalone.c:357: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:357: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c: At top level:                                                                                   
hp3900_stdalone.c:363: error: expected ‘)’ before ‘*’ token                                                         
hp3900_stdalone.c: In function ‘Parse_args’:                                                                       
hp3900_stdalone.c:632: error: ‘struct st_usb’ has no member named ‘type’                                           
hp3900_stdalone.c:634: error: ‘struct st_usb’ has no member named ‘type’                                           
hp3900_stdalone.c: In function ‘device_usb_list’:                                                                   
hp3900_stdalone.c:943: warning: implicit declaration of function ‘usb_find_busses’                                 
hp3900_stdalone.c:944: warning: implicit declaration of function ‘usb_find_devices’                                 
hp3900_stdalone.c:947: warning: implicit declaration of function ‘usb_get_busses’                                   
hp3900_stdalone.c:947: warning: assignment makes pointer from integer without a cast                               
hp3900_stdalone.c:947: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:948: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:948: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:951: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:952: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:962: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:963: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:964: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:965: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c: In function ‘device_usb_get_first’:                                                             
hp3900_stdalone.c:1006: warning: assignment makes pointer from integer without a cast                               
hp3900_stdalone.c:1006: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1007: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1007: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1008: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1008: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c: In function ‘device_usb_get’:                                                                   
hp3900_stdalone.c:1026: warning: assignment makes pointer from integer without a cast                               
hp3900_stdalone.c:1026: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1027: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1027: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1028: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c:1028: error: dereferencing pointer to incomplete type                                             
hp3900_stdalone.c: At top level:                                                                                   
hp3900_stdalone.c:1039: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token                   
hp3900_stdalone.c:1076: error: expected ‘)’ before ‘*’ token
hp3900_stdalone.c:1091: error: expected ‘)’ before ‘*’ token
hp3900_stdalone.c:1107: error: expected ‘)’ before ‘*’ token
hp3900_stdalone.c: In function ‘Get_Image’:
hp3900_stdalone.c:1404: error: ‘TIFF’ undeclared (first use in this function)
hp3900_stdalone.c:1404: error: ‘image’ undeclared (first use in this function)
hp3900_stdalone.c:1407: warning: implicit declaration of function ‘TIFF_Open’
hp3900_stdalone.c:1429: warning: implicit declaration of function ‘TIFF_Add’
hp3900_stdalone.c:1492: warning: implicit declaration of function ‘TIFF_Fill’
hp3900_stdalone.c:1493: warning: implicit declaration of function ‘TIFF_Close’
- Error : Compilation failed! ...
- Error : Aborting installation process ...
[root@localhost hp3900-series_0.12]#
[/code]
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
michele.p
Global Moderator
Hero Member
*****

Karma: +49/-44
Scollegato Scollegato

Messaggi: 6740



Mostra profilo
« Risposta #12 inserita:: Novembre 22, 2009, 01:15:08 am »

libtiff/libtiff-devel

...hai installato il pacchetto -devel delle libusb?

Bye  Fico
Registrato

Argos
Hero Member
*****

Karma: +9/-8
Scollegato Scollegato

Messaggi: 1434



Mostra profilo E-mail
« Risposta #13 inserita:: Novembre 24, 2009, 07:31:09 pm »

Citazione
libtiff/libtiff-devel

...hai installato il pacchetto -devel delle libusb?

Si, avevo installato tutto come da te suggerito, ma mi sa che di aver anche combinato qualche guaio prima de i tuoi suggerimenti, installando pacchetti e roba varia, alla fine mi sono trovato con mandriva che era lentissima  Che?!? , vado per "top" da terminale e in effetti cerano almeno 12!!! processi da "udev" avviati ! , la ventola a mille e la CPU stressatissima.

Quindi, lo sai come sono fatto Ghigno , piazza pulita e da capo. ho istallato mandriva 2009.1 di nuovo. la connessione ad internet meglio che non ne parliamo Indeciso , dicono che siano "problemi tecnici" ma secondo me la realtà è un'altra; non ci vogliono dire per non allarmarci (fanno anche bene, dato che nessuno potrebbe fare niente comunque Felice ), non lo so, penso che tutte queste cose che stanno accadendo, non solo su internet ma anche fuori, anno lo stesso origine Occhi al cielo , comunque, tutte supposizioni Ghigno ..., fatti da pensare e ipotizzare Occhi al cielo .

Poi sono andato al CCM ed ho installato i pacchetti richiesti per lo scanner, mi dice effettivamente che il modello HP scanjet 3800 "Non è supportato" , beh! , è strano, perché prima si  Occhi al cielo , con la mandriva 2008.1, andava tutto perfettamente. Fino ad ora, sul mio portatile nessuna distro, comprese quelle a pagamento, la ha ancora superata, che gran versione fu la Mandriva 2008.1, per me il meglio di linux, se fosse ancora supportata, tornerei senza pensarci Felice .

Poi, non riesco ad installare neanche la stampante, cosa che avevo già fatto su questa stessa versione, la 2009.1, ci mette molto tempo, dovuto al fatto che conosciamo della rete, per poi dirmi che l'installazione fallisce perché, gli rpm sono difettosi Che?!? , a questo punto, ho lasciato stare tutto, e poi si vedrà, non so come comportarmi, forze più avanti quando non ci saranno tutte queste cose di terze parti davanti a i piedi Broncio .

Grazie michele.p per l'enorme pazienza e per il tuo valiosissimo tempo Sorriso , spero di contarci più avanti, quando miglioreranno le circostanze e l'infrastruttura  Felice

A dopo Sorriso
Registrato

"Quello che non mi uccide, mi fortifica."

                               Friedrich Wilhelm Nietzsche.
michele.p
Global Moderator
Hero Member
*****

Karma: +49/-44
Scollegato Scollegato

Messaggi: 6740



Mostra profilo
« Risposta #14 inserita:: Novembre 24, 2009, 09:48:49 pm »

...perché hai optato per la 2009.1? ...c'è la 2010.0 che è un netto miglioramento della 2009.1.... -> http://www.tuxjournal.net/?p=10180 ....impegna meno RAM rispetto alla 2009.1 ed è significativamente più veloce, almeno sul mio PC (AMD 1400).

Bye  Fico
Registrato

Pagine: [1] 2 3   Vai su
  Stampa  
 
Vai a:  


Powered by SMF 1.1.9 | SMF © 2006-2007, Simple Machines LLC -->