LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CX5400 all in one, usb problem, FC4 (https://www.linuxquestions.org/questions/linux-software-2/cx5400-all-in-one-usb-problem-fc4-370906/)

thrombomodulin 10-08-2005 08:11 AM

CX5400 all in one, usb problem, FC4
 
Hello,

I am now using Fedora Core 4 and my CX5400 no longer works. The /var/log/messages reports this error:

Oct 8 08:56:54 smith kernel: usb 2-1: usbfs: interface 1 claimed by usblp while 'iscan' sets config #1

Does anyone know what this means and how to fix it ?

More detailed information is below.

Thanks,

Pete,


[root@smith ~]# /sbin/lsusb
Bus 004 Device 002: ID 046d:c00e Logitech, Inc. Optical Mouse
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 04b8:0808 Seiko Epson Corp.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@smith ~]# tail -2 /var/log/messages
Oct 8 08:52:56 smith kernel: usbcore: registered new driver usblp
Oct 8 08:52:56 smith kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[root@smith ~]# cat /proc/bus/usb/devices | grep -A 2 0808
P: Vendor=04b8 ProdID=0808 Rev= 1.00
S: Manufacturer=EPSON
S: Product=USB MFP
[root@smith ~]# grep -v ^# /etc/sane.d/dll.conf
epkowa
[root@smith ~]# grep -v ^# /etc/sane.d/epkowa.conf
usb 0x04b8 0x0808
[root@smith ~]# ls -l /dev/scanner-usb-\:proc\:bus\:usb\:002\:002
lrwxrwxrwx 1 root root 21 Oct 8 08:52 /dev/scanner-usb-:proc:bus:usb:002:002 -> /proc/bus/usb/002/002
[root@smith ~]# ls -l /proc/bus/usb/002/002
-rw------- 1 pete scanner 73 Oct 8 08:52 /proc/bus/usb/002/002
[root@smith ~]# ls -l /dev/usb
total 0
crw-rw---- 1 root lp 180, 0 Oct 8 08:52 lp0
[root@smith ~]# iscan

The GUI reports:
Could not send command to scanner.
Check the scanner's status.

[root@smith ~]# tail -7 /var/log/messages
Oct 8 08:52:54 smith kernel: ohci_hcd 0000:00:03.0: wakeup
Oct 8 08:52:54 smith kernel: usb 2-1: new full speed USB device using ohci_hcd and address 2
Oct 8 08:52:56 smith kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0808
Oct 8 08:52:56 smith kernel: usbcore: registered new driver usblp
Oct 8 08:52:56 smith kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Oct 8 08:53:52 smith su(pam_unix)[2723]: session opened for user root by (uid=500)
Oct 8 08:56:54 smith kernel: usb 2-1: usbfs: interface 1 claimed by usblp while 'iscan' sets config #1
[root@smith ~]#

moonmoon 10-12-2005 01:18 AM

ok
 
I just fixed this. I found your message when I was trying to figure it out still.
Anyway, I had usblp in the kernel, not as a module. I rebuilt the kernel with the usb printer option as a module.
I'm not sure if that is an issue for you or not.
When I turned on the printer (I have a stylus cx 5200) dmesg said the same thing, "registering new driver blahblahblah usblp0, enjoy not being able to use your scanner, sucka"
Actually, it said:

usb 4-1: new full speed USB device using uhci_hcd and address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0801
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver

So then, I did

#modprobe -r usblp

that removed the printer module.

usbcore: deregistering driver usblp
drivers/usb/class/usblp.c: usblp0: removed

then I fired up "kooka" and my scanner was detected right away. Then, I wanted to print something, and so I turned off the scanner/printer and turned it back on, and then it automagically re-registered the usblp driver.

(kooka is the kde windows manager scanner program that I use.)

thrombomodulin 10-12-2005 08:34 PM

Thanks very much for the reply! I'll give it a try this weekend.

thrombomodulin 10-22-2005 12:49 PM

Resolved
 
The problem is resolved by upgrading to the CVS version of libsane. It is not necessary to remove usblp from the kernel. Note that, iscan contains code from libsane, so xsane should be used instead.


All times are GMT -5. The time now is 12:42 PM.