----------------------------------------
From: constant@indo.net.id To: opensuse@opensuse.org Subject: Re: [opensuse] Printer USB connection problem Date: Fri, 15 Jul 2011 22:50:58 +0700
On Friday, July 15, 2011 08:03:41 PM Karl-Heinz tm wrote:
Since some days my serial port has a problem and I am not able to use my local printer. I got aUSB printer adapter cable and expected that that would solve my problem. I started Yast and expected to find the USB connected printer. No printer detected, even with the printer wizzard under the USB connection. Lsusb shows : "Bus 002 Device 004: ID 4348:5584 WinChipHead CH34x printer adapter cable". Is there some trick?
I may be wrong, but this looks like it was a usb-to-parallel adapter; I would expect 4348:5523 for the winchiphead usb-to-serial adapter. Is there anything that would allow you to set the mode of the cable (e.g. CH341 supports both parallel and serial)?
Could somebody tell me how to proceed?
Is the correct module loaded (I think you need usbserial in case of a serial adapter, or usblp in case of a parallel adapter)? have you tried to setup the printer manually via cups's admin frontend at http://localhost:631? you should also check what happens in the system log when you plug in the USB side of the adapter (e.g. modules loaded, printer device node created ....)
Thanks Karl-Heinz,
On the adaptor is written that it is a Parallel Printer connector, the type with a very wide mouth which is hooked to the printer with two wire clamps.
So this is a parallel adapter. You got me confused a bit by talking initially about serial, which would require different modules / drivers to make it work
Tried already to manually set the printer up with cups with the same type of silence. Does not seem to have anything with which it to set the mode of the cable. If I connect the usb cable to the computer I get enough info to get the idea that a connection is detected and that usbpl seems in use. I connected and disconnected several times and invariable get something like the following in the log:
[16550:7.589929] usb 2-2: new full speed USB device number 7 using ohci_hcd [165507.770936] usb 2-2: New USB device found, idVendor=4348, idProduct=5584 [165507.770944] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [165507.803222] usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x4348 pid 0x5584
I take this as indication that everything is correctly recognised except that the printer information itself is not passed over the adapter. usblp is taking care of the device, (you may wish to double-check by typing "lsmod | grep usblp" (without the quotes) in the terminal as root). You may also want to double-ckeck if /dev/usb/lp0 exists.
After a reboot I get following: dmesg |grep usb [ 0.148709] usbcore: registered new interface driver usbfs [ 0.148757] usbcore: registered new interface driver hub [ 0.148824] usbcore: registered new device driver usb [ 1.089961] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.103669] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.117366] usb usb1: Product: EHCI Host Controller [ 1.130925] usb usb1: Manufacturer: Linux 3.0.0-rc4-2-desktop ehci_hcd [ 1.144572] usb usb1: SerialNumber: 0000:00:03.3 [ 1.320317] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.334098] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.347814] usb usb2: Product: OHCI Host Controller [ 1.361387] usb usb2: Manufacturer: Linux 3.0.0-rc4-2-desktop ohci_hcd [ 1.375149] usb usb2: SerialNumber: 0000:00:03.0 [ 1.536282] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.549932] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.563541] usb usb3: Product: OHCI Host Controller [ 1.577033] usb usb3: Manufacturer: Linux 3.0.0-rc4-2-desktop ohci_hcd [ 1.590901] usb usb3: SerialNumber: 0000:00:03.1 [ 1.660764] usbcore: registered new interface driver usb-storage [ 1.688854] usbcore: registered new interface driver ums-alauda [ 1.702939] usbcore: registered new interface driver ums-cypress [ 1.716757] usbcore: registered new interface driver ums-datafab [ 1.730197] usbcore: registered new interface driver ums-freecom [ 1.743386] usbcore: registered new interface driver ums-isd200 [ 1.756381] usbcore: registered new interface driver ums-jumpshot [ 1.769214] usbcore: registered new interface driver ums-karma [ 1.781926] usbcore: registered new interface driver ums-onetouch [ 1.794345] usbcore: registered new interface driver ums-sddr09 [ 1.806547] usbcore: registered new interface driver ums-sddr55 [ 1.818438] usbcore: registered new interface driver ums-usbat [ 1.940950] usbcore: registered new interface driver usbhid [ 1.952698] usbhid: USB HID core driver [ 2.251227] usb 1-1: new high speed USB device number 2 using ehci_hcd [ 2.458523] usb 1-1: New USB device found, idVendor=058f, idProduct=6362 [ 2.471104] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.483877] usb 1-1: Product: Mass Storage Device [ 2.496758] usb 1-1: Manufacturer: Generic [ 2.509760] usb 1-1: SerialNumber: 058F312D81B [ 2.523621] scsi2 : usb-storage 1-1:1.0 [ 3.443941] usb 3-3: new full speed USB device number 2 using ohci_hcd [ 3.757006] usb 3-3: New USB device found, idVendor=03eb, idProduct=3301 [ 3.788528] usb 3-3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 3.825354] usb 3-3: Product: Standard USB Hub [ 4.183875] usb 2-2: new full speed USB device number 2 using ohci_hcd [ 4.508029] usb 2-2: New USB device found, idVendor=4348, idProduct=5584 [ 4.536816] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 4.638873] usb 3-3.1: new full speed USB device number 3 using ohci_hcd [ 4.761855] usb 3-3.1: New USB device found, idVendor=0c45, idProduct=613e [ 4.792525] usb 3-3.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 4.823881] usb 3-3.1: Product: USB camera [ 4.910856] usb 3-3.3: new low speed USB device number 4 using ohci_hcd [ 5.030817] usb 3-3.3: New USB device found, idVendor=15d9, idProduct=0a4d [ 5.047342] usb 3-3.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.062578] usb 3-3.3: Product: USB OPTICAL MOUSE [ 5.092126] input: USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:03.1/usb3/3-3/3-3.3/3-3.3:1.0/input/input1 [ 5.108017] generic-usb 0003:15D9:0A4D.0001: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:03.1-3.3/input0 [ 23.399198] input: sonixj as /devices/pci0000:00/0000:00:03.1/usb3/3-3/3-3.1/input/input6 [ 23.428829] usbcore: registered new interface driver sonixj [ 26.899071] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x4348 pid 0x5584 [ 26.917056] usbcore: registered new interface driver usblp [ 176.485892] usblp0: nonzero read bulk status received: -62
Some of this info should give a hint how to proceed. Any ideas?
The following is what I know has helped other people after changing printer / printer configuration (though not related to a USB/Parallel adapter). I too had to go through similar steps in order to get my usb printer hooked onto a HP print server up and running. (1) Type localhost:631 into the address line of your browser to start cups web interface. If it asks for username/password just type root and your respective password. (2) press "Administration" and then "manage printers", if you see a printer (your old config), remove it completely, close the browser and restart cups by typing rccups restart as root in the terminal. If it does not show a printer, you may skip this step. (3) go again in cups as in step 1, klick "Administration" and then "add printer". It should now offer you to add a USB printer. You will have to fill in the model information and possibly need to select a driver, depending on you model. Hope this helps. If not, I'm afraid we're gonna need help from people who know more about cups than I do. BR, Karl-Heinz
Linux User 183145 using LXDE and KDE4 on a Pentium IV , powered by openSUSE 11.4 (i586) Kernel: 3.0.0-rc4-2-desktop LXDE WM & KDE Development Platform: 4.6.5 (4.6.5) 21:22pm up 1 day 21:36, 3 users, load average: 0.25, 0.24, 0.20
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org