Date: Sun, 15 Mar 2009 02:55:04 +0100 (CET) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-usb@freebsd.org> Subject: Re: problem with usb printer Message-ID: <permail-200903150155041e86ffa8000021b1-a_best01@message-id.uni-muenster.de> In-Reply-To: <200903150210.58509.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
i recompiled my kernel with the p4-files, but still nothing get's printed. this is what i get when attaching the device: ugen0.3: <Samsung Electronics Co., Ltd.> at usbus0 ulpt_probe:472: ulpt_attach:498: sc=0xc5a4c900 ulpt0: <Samsung Electronics Co., Ltd. Samsung ML-1510_700, class 0/0, rev 1.10/1.00, addr 3> on usbus0 ulpt_attach:538: setting alternate config number: 0 ulpt0: using bi-directional mode and this when i try to print something: ulpt_reset:164: ulpt_write_callback:203: state=0x0 ulpt_write_callback:203: state=0x1 ulpt_write_callback:203: state=0x1 i also enabled debugging output in the cups config file, but that didn't reveal any errors. right now i'm trying to build a kernel with the old usb stack to see if the problem get's solved. if the problem then still exists cups must be causing the problems. unfortunately building the kernel with the old usb stack fails: /usr/src/sys/legacy/dev/usb/ehci.c:84:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci.c:85:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci.c:86:29: error: dev/usb/usb_mem.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci.c:87:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci.c:89:29: error: dev/usb/ehcireg.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci.c:90:29: error: dev/usb/ehcivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_ddb.c:19:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_ddb.c:20:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_ddb.c:22:29: error: dev/usb/ehcireg.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_ddb.c:23:29: error: dev/usb/ehcivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_pci.c:74:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_pci.c:75:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_pci.c:76:29: error: dev/usb/usb_mem.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_pci.c:78:29: error: dev/usb/ehcireg.h: No such file or directory /usr/src/sys/legacy/dev/usb/ehci_pci.c:79:29: error: dev/usb/ehcivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/hid.c:50:25: error: dev/usb/hid.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci.c:82:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci.c:83:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci.c:84:29: error: dev/usb/usb_mem.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci.c:85:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci.c:87:29: error: dev/usb/uhcireg.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci.c:88:29: error: dev/usb/uhcivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci_pci.c:69:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci_pci.c:70:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci_pci.c:71:29: error: dev/usb/usb_mem.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci_pci.c:73:29: error: dev/usb/uhcireg.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhci_pci.c:74:29: error: dev/usb/uhcivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhub.c:60:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhub.c:61:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/uhub.c:62:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/ukbd.c:64:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/ukbd.c:65:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/ukbd.c:67:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/ukbd.c:68:25: error: dev/usb/hid.h: No such file or directory /usr/src/sys/legacy/dev/usb/ulpt.c:63:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/ulpt.c:64:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/ulpt.c:66:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/umass.c:119:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/umass.c:120:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/ums.c:64:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/ums.c:65:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/ums.c:67:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/ums.c:68:25: error: dev/usb/hid.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb.c:78:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb.c:79:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb.c:92:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb.c:93:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_ethersubr.c:70:35: error: dev/usb/usb_ethersubr.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_mem.c:68:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_mem.c:69:55: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_mem.c:70:29: error: dev/usb/usb_mem.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_quirks.c:49:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_subr.c:68:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_subr.c:69:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_subr.c:70:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/usb_subr.c:72:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi.c:57:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi.c:58:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi.c:59:30: error: dev/usb/usbdivar.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi.c:60:29: error: dev/usb/usb_mem.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi.c:61:32: error: dev/usb/usb_quirks.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi_util.c:53:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/legacy/dev/usb/usbdi_util.c:54:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c:50:27: error: dev/usb/usbdi.h: No such file or directory /usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c:51:32: error: dev/usb/usbdi_util.h: No such file or directory /usr/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c:52:30: error: dev/usb/usbdivar.h: No such file or directory mkdep: compile failed *** Error code 1 alex Hans Petter Selasky schrieb am 2009-03-15: > On Saturday 14 March 2009, Alexander Best wrote: > > Alexander Best > I think there has been a regression. Can you try the following patch: > http://perforce.freebsd.org/chv.cgi?CH=159225 > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-200903150155041e86ffa8000021b1-a_best01>