LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-19-2004, 04:02 AM   #1
linuxRunner
Member
 
Registered: May 2003
Posts: 32

Rep: Reputation: 15
Lexmark X125 and Suse 9.0


I am running SuSE 9.0. The kernel I am using is 2.4.21-144-default. The output I was able to find from the result of running dmesg regarding the printer is as follows:

usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x043D pid 0x006D
printer.c: v0.11: USB Printer Device Class driver
lp0: using parport0 (polling).

The printer is locally connected via USB. My system recognizes it but when I try to print a test page nothing happens. When I select the "Stop" option to quit attempting to print the test page, my system shuts down. The documentation with the driver said to use port /dev/null so that is what I am using.

Here is a copy of my printers.conf file:
# Written by cupsd on Sun 18 Jul 2004 06:57:35 PM CDT
<DefaultPrinter lexmark_x125>
Info Lexmark X125
Location USB printer
DeviceURI usb:/dev/null
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
<Printer y2test1>
Info Lexmark X125
Location USB printer
DeviceURI usb:/dev/null
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

Thanks for any help and information.
 
Old 07-19-2004, 04:49 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Are you sure /dev/null is your printer. /dev/null is where data is sent and nowhere to be found. Think of it as the blackhole of Linux.

I think you want to use /dev/lp0

Quote:
The documentation with the driver said to use port /dev/null so that is what I am using.
LOL
 
Old 07-19-2004, 06:00 AM   #3
linuxRunner
Member
 
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
That is what the docs said

The documentation with the driver (from linuxprinting.org) says the following:

"...specify /dev/null as the device. If you don't specify /dev/null as the device, nothing will happen when you print because the driver won't be able to connect directly to the printer since the resource will be in use. If your printer is not connected to /dev/usb/lp0, you can specify a different device using the driver option."

So how do I determine what USB port my printer is acutally connected to?
 
Old 07-19-2004, 03:36 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
What does dmesg show?

Does dmseg have /dev/usb/lp0 listed in it or something else?

If you do not know what you are looking for in dmesg, post it here.
 
Old 07-20-2004, 12:44 AM   #5
linuxRunner
Member
 
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
Results of dmesg

I posted what I thought was related in my initial post. But here is the entire output:

Linux version 2.4.21-144-default (root@i386.suse.de) (gcc version 3.3.1 (SuSE Linux)) #1 Fri Nov 14 00:01:36 UTC 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 00000000000d4000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ff70000 (usable)
BIOS-e820: 000000001ff70000 - 000000001ff7a000 (ACPI data)
BIOS-e820: 000000001ff7a000 - 000000001ff7c000 (ACPI NVS)
BIOS-e820: 000000001ff7c000 - 0000000020000000 (reserved)
BIOS-e820: 00000000ff800000 - 0000000100000000 (reserved)
502MB vmalloc/ioremap area available.
0MB HIGHMEM available.
511MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 130928
zone(0): 4096 pages.
zone(1): 126832 pages.
zone(2): 0 pages.
IBM machine detected. Enabling interrupts during APM calls.
ACPI: RSDP (v002 IBM ) @ 0x000f7120
ACPI: XSDT (v001 IBM TP-1M 00000.08240) @ 0x1ff733f8
ACPI: FADT (v001 IBM TP-1M 00000.08240) @ 0x1ff73444
ACPI: SSDT (v001 IBM TP-1M 00000.08240) @ 0x1ff734f8
ACPI: ECDT (v001 IBM TP-1M 00000.08240) @ 0x1ff79f55
ACPI: TCPA (v001 IBM TP-1M 00000.08240) @ 0x1ff79fa6
ACPI: BOOT (v001 IBM TP-1M 00000.08240) @ 0x1ff79fd8
ACPI: DSDT (v001 IBM TP-1M 00000.08240) @ 0x00000000
ACPI: Skipping APIC setup
Building zonelist for node : 0
Kernel command line: root=/dev/hda2 vga=0x314 desktop splash=silent
bootsplash: silent mode.
Initializing CPU#0
Detected 1799.950 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3547.13 BogoMIPS
Memory: 513952k/523712k available (1579k kernel code, 9372k reserved, 605k data, 160k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU: Intel Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030619
PCI: PCI BIOS revision 2.10 entry at 0xfd91e, last bus=5
PCI: Using configuration type 1
Looking for DSDT in initrd ... not found!
ACPI: Found ECDT
ACPI: Could not use ECDT
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM/DBM PCI Bridge
PCI: Using IRQ router PIIX [8086/248c] at 00:1f.0
PCI: Found IRQ 11 for device 00:1f.1
PCI: Sharing IRQ 11 with 00:1d.2
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
bigpage subsystem: allocated 0 bigpages (=0MB).
kinoded started
VFS: Disk quotas vdquot_6.5.1
aio_setup: num_physpages = 32732
aio_setup: sizeof(struct page) = 48
vesafb: framebuffer at 0xe8000000, mapped to 0xe0813000, size 16384k
vesafb: mode is 800x600x16, linelength=1600, pages=16
vesafb: protected mode interface info at c000:530f
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
bootsplash 3.0.9-2003/09/08: looking for picture.... silenjpeg size 16664 bytes, found (800x600, 8118 bytes, v3).
bootsplash: silent jpeg found.
bootsplash: silent jpeg found.
Console: switching to colour frame buffer device 92x29
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured


Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
PCI: Found IRQ 11 for device 00:1f.6
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Sharing IRQ 11 with 00:1f.5
PCI: Sharing IRQ 11 with 02:09.0
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
loop: loaded (max 16 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 11 for device 00:1f.1
PCI: Sharing IRQ 11 with 00:1d.2
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdcMA, hddio
hda: IC25N020ATMR04-0, ATA DISK drive
blk: queue c03bc8e0, I/O limit 4095Mb (mask 0xffffffff)
dc: CD-224E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/1740KiB Cache, CHS=2432/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
cryptoapi: loaded
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 268k freed
VFS: Mounted root (ext2 filesystem).
reiserfs: found format "3.6" with standard journal
reiserfs: enabling write barrier flush mode
reiserfs: using ordered data mode
reiserfs: checking transaction log (device ide0(3,2)) ...
for (ide0(3,2))
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root
Trying to free ramdisk memory ... okay
Freeing unused kernel memory: 160k freed
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
reiserfs: enabling write barrier flush mode
lvm-mp: allocating 42 lowmem entries at c1cd6000
LVM version 1.0.5+(mp-v6c)(22/07/2002) module loaded
reiserfs: enabling write barrier flush mode
Adding Swap: 1028120k swap-space (priority 42)
reiserfs: enabling write barrier flush mode
reiserfs: enabling write barrier flush mode
bootsplash: silent jpeg found.
Intel(R) PRO/100 Network Driver - version 2.3.27
Copyright (c) 2003 Intel Corporation

PCI: Found IRQ 11 for device 02:08.0
PCI: Sharing IRQ 11 with 02:07.0
e100: selftest OK.
e100: eth0: Intel(R) PRO/100 Network Connection
Hardware receive checksums enabled

raw1394: /dev/raw1394 device initialized
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 00:40:37 Nov 14 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:1d.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Setting latency timer of device 00:1d.0 to 64
usb-uhci.c: USB UHCI at I/O 0x1800, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
usb-uhci.c: USB UHCI at I/O 0x1820, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:1d.2
PCI: Sharing IRQ 11 with 00:1f.1
PCI: Setting latency timer of device 00:1d.2 to 64
usb-uhci.c: USB UHCI at I/O 0x1840, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
hub.c: new USB device 00:1d.1-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
hub.c: new USB device 00:1d.1-2, assigned address 3
usb.c: USB device 3 (vend/prod 0x2525/0x1925) is not claimed by any active driver.
hub.c: new USB device 00:1d.1-1.1, assigned address 4
hub.c: new USB device 00:1d.1-1.1, assigned address 4
usb.c: USB device 4 (vend/prod 0x43d/0x6d) is not claimed by any active driver.
mice: PS/2 mouse device common for all mice
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 02:09.0
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Sharing IRQ 11 with 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.6
Yenta IRQ list 04b8, PCI irq11
Socket status: 30000010
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: clean.
cs: IO port probe 0x0800-0x080f: clean.
cs: IO port probe 0x03e0-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0100-0x03af: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
ttyS00 at port 0x03f8 (irq = 3) is a 16550A
/dev/vmmon: VMMON CPUID: Unrecognized CPU
/dev/vmmon: Module vmmon: registered with major=10 minor=165
/dev/vmmon: Module vmmon: initialized
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
/dev/vmnet: open called by PID 1420 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: up
bridge-eth0: attached
usb.c: registered new driver hiddev
usb.c: registered new driver hid
usb-uhci.c: interrupt, status 2, frame# 1932
input: USB HID v1.10 Mouse [Fellowes, Inc. Mini Web Pro Optical] on usb2:3.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Sharing IRQ 11 with 00:1f.6
PCI: Sharing IRQ 11 with 02:09.0
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0: clocking to 48000
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x043D pid 0x006D
printer.c: v0.11: USB Printer Device Class driver
IPsec Security Association Database (SADB): initialized.
IPsec Security Policy Database (SPD): initialized.
IPsec PF_KEY V2: initialized
IPv6 v0.8 (usagi-cvs/IPsec6 based StS) for NET4.0
IPv6 over IPv4 tunneling driver
lp0: using parport0 (polling).
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
eth0: no IPv6 routers present
Linux video capture interface: v1.00
ide-floppy driver 0.99.newide
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.12
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE compression module registered
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
lp0: using parport0 (polling).
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
Non-volatile memory driver v1.2
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
lp0: using parport0 (polling).
end_request: I/O error, dev 02:00 (floppy), sector 0
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Start/Stop Unit" packet command was:
"1b 00 00 00 03 00 00 00 00 00 00 00 "
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
bridge-eth0: disabling the bridge
bridge-eth0: down
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
lp0: using parport0 (polling).
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
parport0: PC-style at 0x3bc [PCSPP,TRISTATE]
lp0: using parport0 (polling).
end_request: I/O error, dev 02:00 (floppy), sector 0
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Start/Stop Unit" packet command was:
"1b 00 00 00 03 00 00 00 00 00 00 00 "
cdrom: open failed.
end_request: I/O error, dev 02:00 (floppy), sector 0
spurious 8259A interrupt: IRQ7.

Last edited by linuxRunner; 07-20-2004 at 12:51 AM.
 
Old 07-20-2004, 05:08 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It seems that Linux has loaded up usb modules to make your printer to work. Did you try using /dev/usb/lp0. Linux does not use USB by ports because it uses them as node devices that is usually created in /dev. If Linux detects a USB device, it makes a device node in /dev. If you have lsusb or viewusb, you can see what USB devices are connected. You can cat a few files in /proc/bus.
 
Old 08-15-2004, 09:15 AM   #7
linuxRunner
Member
 
Registered: May 2003
Posts: 32

Original Poster
Rep: Reputation: 15
Still having problems. Here is the output of lsusb:

Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 044: ID 043d:006d Lexmark International, Inc.
Bus 002 Device 003: ID 2525:1925
Bus 001 Device 001: ID 0000:0000
 
Old 03-17-2006, 01:51 AM   #8
Lee Barker
Member
 
Registered: Jan 2005
Location: London
Distribution: Fedora 6
Posts: 31

Rep: Reputation: 15
SUSE 9.3 and Lexmark X125 - KDE Printer Config

Hello everyone,

I have a problem installing a Lexmark X125 driver under SUSE 9.3 using the KDE configuration.

It is worth pointing out that I have successfully got the printer to work under Redhat 8.0.

However, with SUSE 9.3, I have unzipped the tar file and performed the make operation etc. and get the following output:

linux:~/drv_x125/src # make install
cp x125_cmyk /usr/local/bin
chmod a+x x125_cmyk_print.sh
cp x125_cmyk_print.sh /usr/local/bin
cp ../foomatic/db/source/driver/*.xml /usr/share/foomatic/db/source/driver
cp ../foomatic/db/source/printer/*.xml /usr/share/foomatic/db/source/printer
cp ../foomatic/db/source/opt/*.xml /usr/share/foomatic/db/source/opt

I next try to go to the KDE printer configuration screen but the driver is not listed under the Lexmark category. I even rebooted for luck.

Can anyone offer any helpful pointers as to what's wrong?

By the way, I know that XML is the rage nowadays but where does it fit in to importing into a printer config tool?

Thanks,
Lee.
 
Old 03-17-2006, 03:00 PM   #9
tagra123
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
How To Install Lexmark X125

I've posted a How To on the linuxprinting.org website. Its for Ubuntu but I think it should work for you too. Followup here if it works for you so others will know too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I install the Lexmark X125 driver linuxRunner Linux - Hardware 1 03-17-2006 02:56 PM
Lexmark Z25 on suse 9.0 aranes Linux - Hardware 1 09-22-2004 06:01 PM
Scanning with Lexmark x125 Sibidi Linux - Hardware 2 02-04-2004 09:22 AM
lexmark x125 and mandrake 9.1 egiplus Linux - Hardware 6 02-01-2004 05:14 AM
lexmark printer in suse 7.3 Kelly Wayne Linux - Newbie 0 04-27-2002 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration