Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Printer Not Responding



On 15/04/06, Dave M G <martin@example.com> wrote:

> [Stephen Turnbull wrote:] [1]
>
> > My feeling is that your USB port is not being identified correctly to
> > CUPS, and it can't find your printer.
>
> That sounds like a good theory. Does anything here indicate where the
> confusion is, or is there more information I can provide to diagnose this?

Usually the first thing to try when debugging hot-pluggable device problems is:

1. Disconnect the device from your machine if it is connected. Wait a
few seconds.
2. tail -f /var/log/messages  # if you get "Permission denied",
prepend "sudo" to the command.
3. Connect the device.
4. Watch the logfile, looking for lines like this:

Apr 15 11:56:23 laurana usb 1-3: new high speed USB device using
ehci_hcd and address 59
Apr 15 11:56:23 laurana scsi12 : SCSI emulation for USB Mass Storage devices
Apr 15 11:56:23 laurana usb-storage: device found at 59
Apr 15 11:56:23 laurana usb-storage: waiting for device to settle
before scanning
Apr 15 11:56:28 laurana Vendor: SAMSUNG   Model: SP2514N           Rev: VF10
Apr 15 11:56:28 laurana Type:   Direct-Access                     
ANSI SCSI revision: 02
Apr 15 11:56:28 laurana SCSI device sda: 488397168 512-byte hdwr
sectors (250059 MB)Apr 15 11:56:28 laurana sda: assuming drive cache:
write through
Apr 15 11:56:28 laurana SCSI device sda: 488397168 512-byte hdwr
sectors (250059 MB)Apr 15 11:56:28 laurana sda: assuming drive cache:
write through
Apr 15 11:56:28 laurana sda: sda1
Apr 15 11:56:28 laurana Attached scsi disk sda at scsi12, channel 0, id 0, lun 0
Apr 15 11:56:28 laurana usb-storage: device scan complete
Apr 15 11:56:28 laurana scsi.agent[21818]: disk at
/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host12/target12:0:0/12:0:0:0

This indicates that I should look for a device node like /dev/sda, or
perhaps /dev/usb/sda.

I seem to remember in this thread that you mentioned finding device
nodes for your printer (like /dev/usblp0), but it cannot hurt to watch
your system log when you plug the device in to make sure the kernel
sees the device and associates the correct module. In fact, if you
reply to this mail and paste in the relevent sections of your log,
maybe someone can spot something that doesn't look right.

You expressed a worry that the printer problem might be related to the
Palm Pilot one, seeing as how they are both USB devices. This is
possible. Do you have any working USB devices on the system? Could you
borrow a USB mouse from a friend to try out, just to make sure your
USB subsystem is working?

-Josh

[1] Dave, please make sure to attribute properly so we know who said
what when and to whom. ;)

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links