Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I downloaded the usb drivers from the lexmark site, but when i make i get the following huge output:
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux-`uname -r`/include -include /usr/src/linux-`uname -r`/include/linux/modversions.h -c lxkscanner.c
<command line>:138129254:44968: /usr/src/linux-2.4.20-8/include/linux/modversions.h: No such file or directory
In file included from lxkscanner.c:358:
lxkscanner.h:34:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from /usr/include/linux/delay.h:12,
from lxkscanner.h:37,
from lxkscanner.c:358:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/delay.h:12,
from lxkscanner.h:37,
from lxkscanner.c:358:
/usr/include/linux/timex.h:173: error: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /usr/include/linux/delay.h:12,
from lxkscanner.h:37,
from lxkscanner.c:358:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from /usr/include/linux/delay.h:12,
from lxkscanner.h:37,
from lxkscanner.c:358:
/usr/include/asm/signal.h:107: error: parse error before "sigset_t"
/usr/include/asm/signal.h:110: error: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from /usr/include/linux/delay.h:12,
from lxkscanner.h:37,
from lxkscanner.c:358:
/usr/include/linux/timer.h:45: error: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: error: parse error before '}' token
/usr/include/linux/timer.h:67: error: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: error: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: error: dereferencing pointer to incomplete type
In file included from lxkscanner.h:37,
from lxkscanner.c:358:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from /usr/include/linux/pagemap.h:15,
from /usr/include/linux/locks.h:8,
from /usr/include/linux/devfs_fs_kernel.h:6,
from lxkscanner.h:41,
from lxkscanner.c:358:
/usr/include/asm/pgtable.h:17:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/pagemap.h:15,
from /usr/include/linux/locks.h:8,
from /usr/include/linux/devfs_fs_kernel.h:6,
from lxkscanner.h:41,
from lxkscanner.c:358:
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:24: error: parse error before "swapper_pg_dir"
In file included from /usr/include/asm/pgtable.h:115,
from /usr/include/linux/pagemap.h:15,
from /usr/include/linux/locks.h:8,
from /usr/include/linux/devfs_fs_kernel.h:6,
from lxkscanner.h:41,
from lxkscanner.c:358:
/usr/include/asm/pgtable-2level.h:32: error: parse error before "pgd"
/usr/include/asm/pgtable-2level.h:33: error: parse error before "pgd"
/usr/include/asm/pgtable-2level.h:34: error: parse error before "pgd"
/usr/include/asm/pgtable-2level.h:53: error: parse error before '*' token
/usr/include/asm/pgtable-2level.h:53: error: parse error before '*' token
/usr/include/asm/pgtable-2level.h: In function `pmd_offset':
/usr/include/asm/pgtable-2level.h:55: error: `pmd_t' undeclared (first use in this function)
/usr/include/asm/pgtable-2level.h:55: error: (Each undeclared identifier is reported only once
/usr/include/asm/pgtable-2level.h:55: error: for each function it appears in.)
/usr/include/asm/pgtable-2level.h:55: error: parse error before ')' token
In file included from /usr/include/linux/pagemap.h:15,
from /usr/include/linux/locks.h:8,
from /usr/include/linux/devfs_fs_kernel.h:6,
from lxkscanner.h:41,
from lxkscanner.c:358:
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:277: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_read':
/usr/include/asm/pgtable.h:277: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:278: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_exec':
/usr/include/asm/pgtable.h:278: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:279: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_dirty':
/usr/include/asm/pgtable.h:279: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:280: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_young':
/usr/include/asm/pgtable.h:280: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:281: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_write':
/usr/include/asm/pgtable.h:281: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:283: error: parse error before "pte_rdprotect"
/usr/include/asm/pgtable.h:283: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_rdprotect':
/usr/include/asm/pgtable.h:283: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:284: error: parse error before "pte_exprotect"
/usr/include/asm/pgtable.h:284: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_exprotect':
/usr/include/asm/pgtable.h:284: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:285: error: parse error before "pte_mkclean"
/usr/include/asm/pgtable.h:285: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkclean':
/usr/include/asm/pgtable.h:285: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:286: error: parse error before "pte_mkold"
/usr/include/asm/pgtable.h:286: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkold':
/usr/include/asm/pgtable.h:286: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:287: error: parse error before "pte_wrprotect"
/usr/include/asm/pgtable.h:287: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_wrprotect':
/usr/include/asm/pgtable.h:287: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:288: error: parse error before "pte_mkread"
/usr/include/asm/pgtable.h:288: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkread':
/usr/include/asm/pgtable.h:288: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:289: error: parse error before "pte_mkexec"
/usr/include/asm/pgtable.h:289: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkexec':
/usr/include/asm/pgtable.h:289: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:290: error: parse error before "pte_mkdirty"
/usr/include/asm/pgtable.h:290: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkdirty':
/usr/include/asm/pgtable.h:290: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:291: error: parse error before "pte_mkyoung"
/usr/include/asm/pgtable.h:291: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkyoung':
/usr/include/asm/pgtable.h:291: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:292: error: parse error before "pte_mkwrite"
/usr/include/asm/pgtable.h:292: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_mkwrite':
/usr/include/asm/pgtable.h:292: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:294: error: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_test_and_clear_dirty':
/usr/include/asm/pgtable.h:294: error: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:295: error: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_test_and_clear_young':
/usr/include/asm/pgtable.h:295: error: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:296: error: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_set_wrprotect':
/usr/include/asm/pgtable.h:296: error: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:297: error: parse error before '*' token
/usr/include/asm/pgtable.h: In function `ptep_mkdirty':
/usr/include/asm/pgtable.h:297: error: `ptep' undeclared (first use in this function)
/usr/include/asm/pgtable.h: At top level:
/usr/include/asm/pgtable.h:309: error: parse error before "pte_modify"
/usr/include/asm/pgtable.h:309: error: parse error before "pte"
/usr/include/asm/pgtable.h: In function `pte_modify':
/usr/include/asm/pgtable.h:311: error: `pte' undeclared (first use in this function)
/usr/include/asm/pgtable.h:311: error: `PTE_MASK' undeclared (first use in this function)
/usr/include/asm/pgtable.h:312: error: `newprot' undeclared (first use in this function)
etc etc etc etc....it was too long too post here...
I need this damn printer for school stuff this weekend....
I installed: LEXUSB-SCANNER-1.0-1 and z810llpddk-2.0-3.i386.rpm.
But still a problem...
I have a Lexmark Z815...but the printer configuration can't find the device.
And i can't find the driver in the list...
The Lexmark site has little info.
ok, i'm in
i guess the usb printer device is /dev/usb/lp0
Then i selected USB Printer#1...but then in the list of models/drivers still nothing, not even 1 lexmark there...
i tried with those drivers, but it cant detect a printer.
Since my printer wasn't detected automaticly by kudzu should i load the module manually?
USB printers are quite a pain...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.