LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-17-2007, 01:37 AM   #1
mattp52
LQ Newbie
 
Registered: Jul 2007
Posts: 17

Rep: Reputation: 0
"Printer not connected.." with CUPS 1.2.10 and Brother MFC-215C USB


Hi,

I've been scouring the web for solutions as to why my Brother MFC215C inkjet printer has stopped printing via CUPS. The printer is connected via USB to a linux box running CentOS 4.4 and is configured for printing over the network. This worked fine. Occasionally things went bung if someone unplugged and plugged the USB cable into the wrong port but this was fixed by turning off the printer, shutting down the linux box, plugging the printer into the correct USB port, turning on the printer and then rebooting the server. Now this doesn't seem to make any difference - I get the same message.

I've tried re-installing the Brother lpd driver and CUPS wrapper but this made no difference.

SELinux is installed but not currently enforcing.

Kernel Release is 2.6.22.1-default (Manually built around the time the printer stopped functioning...? The most recent packaged kernel release for CentoOS4.4 was 2.6.9-55.0.2.EL)

Following is some debug output which might help with a diagnosis (note - the printer is the only USB device connected):

Output from $> lsusb
Quote:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04f9:0193 Brother Industries, Ltd
Bus 001 Device 001: ID 0000:0000

Output from $> dmesg | tail -n 20
(after unplugging and plugging in the printer)
dmesg | tail -n 20
Quote:
usb 1-1: USB disconnect, address 3
usb 1-2: new full speed USB device using uhci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice

Output from $> lpinfo -v
Quote:
network socket
network beh
direct hal
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
network smb
Output from $> lpstat v
Quote:
device for BRFAX: usb://Brother/MFC-215C
device for LaserWriter: lpd://192.168.2.101/laser
device for MC215-Raw: usb://Brother/MFC-215C
Contents of /proc/bus/usb/devices
Quote:
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.22.1-default uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1f.4
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.22.1-default uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:1f.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

There are no entries for /proc/bus/usb/drivers.


Output for $> lsmod
Quote:
Module Size Used by
parport_pc 28132 1
lp 13000 0
parport 35528 2 parport_pc,lp
autofs4 21892 0
sunrpc 160380 1
ipv6 236580 37
uhci_hcd 24852 0
rng_core 5380 0
i2c_i801 8848 0
i2c_core 24448 1 i2c_i801
snd_intel8x0 33604 0
snd_ac97_codec 91940 1 snd_intel8x0
ac97_bus 2816 1 snd_ac97_codec
snd_pcm_oss 42304 0
snd_mixer_oss 16384 1 snd_pcm_oss
snd_pcm 75660 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 23176 1 snd_pcm
snd 50276 6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 8160 1 snd
snd_page_alloc 10248 2 snd_intel8x0,snd_pcm
r8169 29592 0
3c59x 42860 0
mii 5760 1 3c59x
floppy 57828 0
dm_snapshot 17840 0
dm_zero 2176 0
dm_mirror 23296 0
ext3 121736 2
jbd 57512 1 ext3
dm_mod 56256 8 dm_snapshot,dm_zero,dm_mirror

Any ideas how, if it's a kernel issue, how trivial would it be to swap back to the older kernel for testing?

Hope someone can help.

Regards,
Matt

Last edited by mattp52; 09-17-2007 at 05:22 AM.
 
Old 09-18-2007, 03:39 AM   #2
yvesvanbelle
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: Debian, Ubuntu, Mandriva
Posts: 67

Rep: Reputation: 15
Hello mattp52,

There is a explanation in the FAQ of the Brother Linux site how to work with SELinux and a Brother printer.

http://solutions.brother.com/linux/s..._faq-2.html#30

Also try another USB cable, this can be a cause of problem to.

Best regards,

Yves
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing a "MFC210C" Brother Printer on Slackware davimint Linux - Hardware 21 07-24-2009 03:10 PM
CUPS says my connected printer is "not connected" Scotteh Linux - Software 3 09-02-2007 02:19 PM
Brother mfc-420cn (USB printer) driver install on FC-5_32 a nogo. funkymonkeypie Fedora 4 05-30-2006 11:12 AM
CUPS and Brother MFC-5440CN sklitzz Linux - Hardware 1 02-12-2006 01:35 PM
CUPS keeps "forgetting" my USB printer! JazzMastaJim Linux - Hardware 3 06-16-2004 11:40 PM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration