Re: Problem with Epson Pos Printer

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 8 Mar 2007, Linos wrote:

> Hello i am trying to make work an Epson Receipt Printer M129C with usb
> cable, well i have searched in the list but i have not found a solution,
> usblp seems to not detect the printer so i have no /dev/usb/lp0 device
> and i cant access the printer.
> 
> 
> lsusb:
> 
> Bus 004 Device 003: ID 0bda:8187 Realtek Semiconductor Corp. 
> Bus 004 Device 002: ID 05e3:0606 Genesys Logic, Inc. 
> Bus 004 Device 001: ID 0000:0000  
> Bus 003 Device 010: ID 04b8:0202 Seiko Epson Corp. Receipt Printer M129C
> Bus 003 Device 001: ID 0000:0000  
> Bus 002 Device 009: ID 04f9:011e Brother Industries, Ltd 
> Bus 002 Device 004: ID 1130:cc00 Tenx Technology, Inc. 
> Bus 002 Device 001: ID 0000:0000  
> Bus 001 Device 001: ID 0000:0000  
> 
> 
> when i disconnect and reconnect it i get this from dmesg:
> 
> drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
> usb 3-1: USB disconnect, address 10
> usb 3-1: new full speed USB device using uhci_hcd and address 11
> usb 3-1: configuration #1 chosen from 1 choice
> 
> I have been searching in google, reading all i have found about this
> problem but i cant get it works, i has been so frustrated with that
> problem that i have been searching the mode to force usblp to detect it
> but it doesnt works, i have added the last line to this struct in
> usblp.c:
> 
> static struct usb_device_id usblp_ids [] = {
>         { USB_DEVICE_INFO(7, 1, 1) },
>         { USB_DEVICE_INFO(7, 1, 2) },
>         { USB_DEVICE_INFO(7, 1, 3) },
>         { USB_INTERFACE_INFO(7, 1, 1) },
>         { USB_INTERFACE_INFO(7, 1, 2) },
>         { USB_INTERFACE_INFO(7, 1, 3) },
>         { USB_DEVICE(0x04b8, 0x0202), }, /* Seiko Epson Corp. Receipt
> Printer M129C */
>         { }                                             /* Terminating
> entry */
> };
> 
> recompile module and install it but now i have this error on printer
> reconnect:
> 
> usblp: probe of 3-1:1.0 failed with error -5
> usb 3-1: device_add(3-1:1.0) --> -5
> 
> anyone on the list can help me please? i would like very pleased, thanks
> in advance.

What does "lsusb -v" show for the printer?

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.