このプリンタは Unix からは使わないので、 Windows から使えればよしとする
Jan 5 22:44:40 ls kernel: hub.c: new USB device 00:0e.1-1, assigned address 4 Jan 5 22:44:40 ls kernel: usb.c: USB device 4 (vend/prod 0x4b8/0x5) is not claimed by any active driver. Jan 5 22:44:40 ls murasaki.usb[683]: device is added Jan 5 22:44:40 ls murasaki.usb[683]: vendor:0x4b8 product:0x5 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2 Jan 5 22:44:40 ls murasaki.usb[683]: MATCH(printer) -> match_flags:0x80 vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x0 Iprotocol:0x0 Jan 5 22:44:40 ls murasaki.usb[683]: MATCH(printer) -> match_flags:0x380 vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2 Jan 5 22:44:40 ls kernel: usb.c: registered new driver usblp Jan 5 22:44:40 ls kernel: printer.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005 Jan 5 22:44:40 ls kernel: printer.c: v0.11: USB Printer Device Class driverと残る。
Jan 5 22:46:21 ls kernel: usb.c: USB disconnect on device 00:0e.1-1 address 4 Jan 5 22:46:21 ls kernel: printer.c: usblp0: removed Jan 5 22:46:21 ls murasaki.usb[684]: device is removed Jan 5 22:46:21 ls murasaki.usb[684]: vendor:0x4b8 product:0x5 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2 Jan 5 22:46:21 ls murasaki.usb[684]: MATCH(printer) -> match_flags:0x80 vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x0 Iprotocol:0x0 Jan 5 22:46:21 ls murasaki.usb[684]: MATCH(printer) -> match_flags:0x380 vendor:0x0 product:0x0 Dclass:0x0 Dsubclass:0x0 Dprotocol:0x0 Iclass:0x7 Isubclass:0x1 Iprotocol:0x2 Jan 5 22:46:21 ls kernel: usb.c: deregistering driver usblpと残る。
usblp0 として認識されているようだ。
linkstationVine# apt-get install LPRng
# /etc/printcap # # Please don't edit this file directly unless you know what you are doing! # Be warned that the control-panel printtool requires a very strict format! # Look at the printcap(5) man page for more info. # # This file can be edited with the printtool in the control-panel. lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :lp=/dev/usb/lp0:Please don't edit this file directly といっているが、 I know what I am doing! なので、ええねん。
linkstationVine# /etc/rc.d/init.d/lpd start Starting lpd: Warning - changing ownership '/var/spool/lpd' to 4/7 Warning - changing ownership '/var/spool/lpd' to 4/7 Warning - changing ownership '/var/spool/lpd/lp' to 4/7 Warning - changing ownership '/var/spool/lpd/lp' to 4/7 Warning - lp: cannot open lp device '/dev/usb/lp0' - そのようなデバイスはありません [ OK ]「cannot open lp device '/dev/usb/lp0' - そのようなデバイスはありません」というのが気になる。
linkstationVine# /etc/rc.d/init.d/lpd restart Stopping lpd: [ OK ] Starting lpd: [ OK ]と問題なし
念のため、
プリンタの電源を切った状態で