Σελίδα 2 από 3

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 07 Μάιος 2019, 00:49
από Maras
Tις 2 τελευταίες εντολές, τις τρέχεις μέσα από τερματικό που να είναι ανοιγμένο μέσα στον φάκελο hp4600-master.

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 07 Μάιος 2019, 18:45
από taxi406
ναι

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 08 Μάιος 2019, 20:14
από Maras
Κάνε το εξής :
Εγκατέστησε τα παρακάτω 2 πακέτα με την εντολή :
Κώδικας: Επιλογή όλων
sudo apt install libusb-1.0-0 libusb-1.0-0-dev

και ξανατρέξε τις 4 τελευταίες εντολές της 4ης απάντησης μου στο θέμα (όλες δηλαδή εκτός από την πρώτη) και post-αρε εδώ τα αποτελέσματα για να δούμε που κολλάει το θέμα.

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 09 Μάιος 2019, 18:49
από taxi406
Κώδικας: Επιλογή όλων
paidaroi@paidaroi-GA-880GM-UD2H:~$ sudo apt install libusb-1.0-0 libusb-1.0-0-dev
[sudo] password for paidaroi:
E: Αδύνατο το κλείδωμα /var/lib/dpkg/lock-frontend - open (11: Ο πόρος είναι προσωρινά μη διαθέσιμος)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
paidaroi@paidaroi-GA-880GM-UD2H:~$ sudo apt install libusb-1.0-0 libusb-1.0-0-dev
Ανάγνωση Λιστών Πακέτων... Ολοκληρώθηκε
Κατασκευή Δένδρου Εξαρτήσεων                 
Ανάγνωση περιγραφής της τρέχουσας κατάσταση... Ολοκληρώθηκε
libusb-1.0-0 is already the newest version (2:1.0.21-2).
Τα ακόλουθα πακέτα εγκαταστάθηκαν αυτόματα και δεν χρειάζονται πλέον:
  linux-headers-generic-hwe-16.04 linux-image-generic-hwe-16.04
  linux-modules-4.15.0-45-generic
Χρησιμοποιήστε 'sudo apt autoremove' για να τα διαγράψετε.
Τα ακόλουθα ΝΕΑ πακέτα θα εγκατασταθούν:
  libusb-1.0-0-dev libusb-1.0-doc
0 αναβαθμίστηκαν, 2 νέο εγκατεστημένα, 0 θα αφαιρεθούν και 3 δεν αναβαθμίζονται.
Χρειάζεται να μεταφορτωθούν 235 kB από αρχεία.
Μετά από αυτή τη λειτουργία, θα χρησιμοποιηθούν 1743 kB χώρου από το δίσκο.
Φέρε:1 http://gr.archive.ubuntu.com/ubuntu bionic/main i386 libusb-1.0-0-dev i386 2:1.0.21-2 [65,0 kB]
Φέρε:2 http://gr.archive.ubuntu.com/ubuntu bionic/main i386 libusb-1.0-doc all 2:1.0.21-2 [170 kB]
Μεταφορτώθηκαν 235 kB σε 1s (266 kB/s)
Selecting previously unselected package libusb-1.0-0-dev:i386.
(Ανάγνωση βάσης δεδομένων ... 191424 files and directories currently installed.)
Preparing to unpack .../libusb-1.0-0-dev_2%3a1.0.21-2_i386.deb ...
Unpacking libusb-1.0-0-dev:i386 (2:1.0.21-2) ...
Selecting previously unselected package libusb-1.0-doc.
Preparing to unpack .../libusb-1.0-doc_2%3a1.0.21-2_all.deb ...
Unpacking libusb-1.0-doc (2:1.0.21-2) ...
Γίνεται εγκατάσταση libusb-1.0-doc (2:1.0.21-2) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Γίνεται εγκατάσταση libusb-1.0-0-dev:i386 (2:1.0.21-2) ...

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 09 Μάιος 2019, 18:53
από taxi406
Κώδικας: Επιλογή όλων
paidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$ gcc hp4600-scanfullpage.c -o hp4600scanfullfile -lusb
paidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$ gcc -o fixhp4600output fixhp4600output.c
fixhp4600output.c: In function ‘main’:
fixhp4600output.c:150:1: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
close(infile);
^~~~~
pclose
paidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$ sudo hp4600scanfullfile outputfilename
[sudo] password for paidaroi:
sudo: hp4600scanfullfile: δεν βρέθηκε η εντολή
paidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$ ./fixhp4600output outputfilename > outputfilename2

δυστυχώς μία από τα ίδια

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 09 Μάιος 2019, 19:04
από taxi406
https://prnt.sc/nmh53g
αυτά έχει ο φάκελος hp4600-master

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 09 Μάιος 2019, 21:03
από Maras
Δοκίμασε μόνο τις 2 τελευταίες εντολές έτσι :
Κώδικας: Επιλογή όλων
./hp4600scanfullfile outputfilename

και ξανά
Κώδικας: Επιλογή όλων
./fixhp4600output outputfilename > outputfilename2

και δες αν το αρχείο outputfilename2 είναι η σελίδα που έβαλες στο scanner

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 09 Μάιος 2019, 22:19
από taxi406
Κώδικας: Επιλογή όλων
aidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$ ./hp4600scanfullfile outputfilename
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 007
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 006
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 005
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 004 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 003 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 004
skipping descriptor 0x24
skipping descriptor 0x24
skipping descriptor 0x24
skipping descriptor 0x24
skipping descriptor 0x24
skipped 5 class/vendor specific endpoint descriptors
skipping descriptor 0x24
skipping descriptor 0x24
skipping descriptor 0x24
skipping descriptor 0x24
skipping descriptor 0x24
skipped 5 class/vendor specific endpoint descriptors
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 004
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 004 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
USB error: could not get bound driver: Operation not permitted
usb_get_driver_np returned -1
USB error: could not claim interface 0: Operation not permitted
claim failed with error -1


Κώδικας: Επιλογή όλων
paidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$ ./fixhp4600output outputfilename > outputfilename2
paidaroi@paidaroi-GA-880GM-UD2H:~/Λήψεις/hp4600-master$


μου έβγαλε ένα αρχείο outputfilename2 μέσα στο hp4600-master αλλά είναι κενό
για την ακρίβεια το scanner δεν έκανε τίποτα (είναι συνδεδεμένο και έχει ρεύμα)

Re: drivers για hp scanjet 4600  Το θέμα επιλύθηκε

ΔημοσίευσηΔημοσιεύτηκε: 09 Μάιος 2019, 23:24
από Maras
Τρέξε την εντολή σαν διαχειριστής δηλαδή :
Κώδικας: Επιλογή όλων
sudo ./hp4600scanfullfile outputfilename

και ξανά
Κώδικας: Επιλογή όλων
./fixhp4600output outputfilename > outputfilename2

έχει αποτελέσματα?

Re: drivers για hp scanjet 4600

ΔημοσίευσηΔημοσιεύτηκε: 10 Μάιος 2019, 18:06
από taxi406
NAI !!!!!
έβγαλε το αρχείο outputfilename2 το οποίο είναι bmp
δεν είναι και πολύ καλό σαν ποιότητα αλλά από το τίποτα είναι κάτι
ΕΥΧΑΡΙΣΤΩ