[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dymo 320 USB - no writeable port?



I've been playing around with a Dymo label printer, model 320, which is a
USB printer.  My system recognizes it fine and attaches the usblp driver,
but the appropriate port (/dev/usb/lp1) is unwriteable. Yes, I'm sure it's
lp1 because lp0 is the regular laser printer on this machine.

Here's the syslog trace from when the printer is plugged in:
---
Oct 18 09:16:38 perrin kernel: hub 5-0:1.0: state 7 ports 8 chg 0000 evt
0004
Oct 18 09:16:38 perrin kernel: ehci_hcd 0000:00:1d.7: GetStatus port 2
status 001403 POWER sig=k CSC CONNECT
Oct 18 09:16:38 perrin kernel: hub 5-0:1.0: port 2, status 0501, change
0001, 480 Mb/s
Oct 18 09:16:38 perrin kernel: hub 5-0:1.0: debounce: port 2: total 100ms
stable 100ms status 0x501
Oct 18 09:16:38 perrin kernel: ehci_hcd 0000:00:1d.7: port 2 low speed -->
companion
Oct 18 09:16:38 perrin kernel: ehci_hcd 0000:00:1d.7: GetStatus port 2
status 003002 POWER OWNER sig=se0 CSC
Oct 18 09:16:38 perrin kernel: hub 1-0:1.0: state 7 ports 2 chg 0000 evt
0004
Oct 18 09:16:38 perrin kernel: uhci_hcd 0000:00:1d.0: port 2 portsc 01a3,00
Oct 18 09:16:38 perrin kernel: hub 1-0:1.0: port 2, status 0301, change
0001, 1.5 Mb/s
Oct 18 09:16:38 perrin kernel: hub 1-0:1.0: debounce: port 2: total 100ms
stable 100ms status 0x301
Oct 18 09:16:38 perrin kernel: usb 1-2: new low speed USB device using
uhci_hcd and address 4
Oct 18 09:16:38 perrin kernel: usb 1-2: default language 0x0409
Oct 18 09:16:38 perrin kernel: usb 1-2: new device strings: Mfr=1,
Product=2, SerialNumber=3
Oct 18 09:16:38 perrin kernel: usb 1-2: Product: DYMO LabelWriter 320
Oct 18 09:16:38 perrin kernel: usb 1-2: Manufacturer: DYMO
Oct 18 09:16:38 perrin kernel: usb 1-2: SerialNumber: 03032810404356
Oct 18 09:16:38 perrin kernel: usb 1-2: uevent
Oct 18 09:16:38 perrin kernel: usb 1-2: device is self-powered
Oct 18 09:16:38 perrin kernel: usb 1-2: configuration #1 chosen from 1
choice
Oct 18 09:16:38 perrin kernel: usb 1-2: adding 1-2:1.0 (config #1, interface
0)
Oct 18 09:16:38 perrin kernel: usb 1-2:1.0: uevent
Oct 18 09:16:38 perrin kernel: usblp 1-2:1.0: usb_probe_interface
Oct 18 09:16:38 perrin kernel: usblp 1-2:1.0: usb_probe_interface - got id
Oct 18 09:16:38 perrin kernel: drivers/usb/core/file.c: looking for a minor,
starting at 0
Oct 18 09:16:38 perrin kernel: drivers/usb/class/usblp.c: usblp1: USB
Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x0922 pid 0x0010
Oct 18 09:16:38 perrin kernel: drivers/usb/core/inode.c: creating file '004'
Oct 18 09:16:38 perrin kernel: hub 1-0:1.0: state 7 ports 2 chg 0000 evt
0004
Oct 18 09:16:39 perrin usb.agent[4958]:      usblp: already loaded
---

Here's the device entry from /proc/bus/usb/devices:
---
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  4 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0922 ProdID=0010 Rev= 1.00
S:  Manufacturer=DYMO
S:  Product=DYMO LabelWriter 320
S:  SerialNumber=03032810404356
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=81(I) Atr=02(Bulk) MxPS=   8 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=   8 Ivl=0ms
---

...But here's what happens:
---
perrin:/dev/usb# ls -l lp0 lp1
crw-rw-rw- 1 root lp 180, 0 2005-09-15 10:53 lp0
crw-rw-rw- 1 root lp 180, 1 2005-09-15 10:53 lp1
perrin:/dev/usb# cat /etc/motd > lp1
-bash: lp1: Input/output error
---

Any advice? Thanks. Andy




----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl




Reply to: