Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32910 - Samsung ML-1750 connected to /dev/usb/lp0 shows as usb://Unknown.
Summary: Samsung ML-1750 connected to /dev/usb/lp0 shows as usb://Unknown.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 14:41 UTC by Hans Sjunnesson
Modified: 2003-11-13 06:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Sjunnesson 2003-11-06 14:41:06 UTC
My printer, a Samsung ML-1750, which I've got working using the paralell port, 
has some difficulties with net-print/cups-1.1.19-r1. What happens is that if I 
try to add a printer using KDE's printer manager, and I chose USB Printer #1, it 
defaults to usb://Unknown, while USB Printer #2 checks out as usb:/dev/usb/lp1. 
I've got usb:/dev/usb/lp0 working. If I 'echo "foo" > /dev/usb/lp0' I get a page 
printed with the correct text.
If I use cups web-interface to adda printer, it doesn't complain or anything, 
just that when I request a listing of printers, it also show "Device URI: usb:
//Unknown/".
When I manually edit the /etc/cups/printers.conf to point DeviceURI to the 
proper device, the web-interface displays the printer as using the correct 
device. However when I prompt it to print a test page a job is sent to the 
printer, but now it display "Media tray empty!" and I know that's not it.

Reproducible: Always
Steps to Reproduce:
1. Install cups
2. Add printer via web-interface or foomatic.
3. Try to print.

Actual Results:  
Cups don't get /dev/usb/lp0, calls it usb://Unknown.

Expected Results:  
I expect cups to be able to use my usb devices correctly.

dmesg:
usb.c: registered new driver usblp
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 
pid 0x323C
printer.c: v0.11: USB Printer Device Class driver
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-09 05:21:45 UTC
Cups tries to get the Name of the printer and seems to fail. But it should
work with usb://Unknown. Which driver are you using?
Comment 2 Hans Sjunnesson 2003-11-09 10:16:29 UTC
I used both "Generic PCL 6/PCL XL Printer, Foomatic + pxlmono" and the Samsung
drivers that I got off the CD that came with the printer. I've used the same
drivers with the parallel cable, and it works. I can also redirect "catted"
textfiles to the usb-device and it outputs text proper, so I know that the
usb stuff is working.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-13 05:34:51 UTC
set loglevel to debug in cupsd.conf and post a cups error_log
Comment 4 Hans Sjunnesson 2003-11-13 06:39:22 UTC
Actually, I did the kludgiest of hacks to solve this. I went back to Windows. This wasn't the only reason for, however now the printer works.
It's also worth mentioning I had the same bug with SuSe.