| Author |
Message |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Mon 19 Sep 2011, 05:49 Post subject:
[Solved]Epson USBprinter was OK but now not found by cups |
|
Below is some output from the console
CUPS will not find my printer now but it did initially and it still does from the live CD
Can anyone spot the problem and make this a bit easier?
sh-4.1# lpinfo -v
network http
network lpd
network ipp
direct parallel:/dev/lp0
direct scsi
network beh
network smbc
network socket
file pdf-writer:/dev/null
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/usb/ttyUSB0?baud=230400
serial serial:/dev/ttyUSB0?baud=230400
serial serial:/dev/usb/ttyUSB1?baud=230400
serial serial:/dev/ttyUSB1?baud=230400
sh-4.1# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 001 Device 002: ID 12d1:1003
Bus 001 Device 004: ID 1516:1603
Bus 002 Device 002: ID 04b8:082f
sh-4.1# groups
root tty lpadmin
sh-4.1# ls /dev/usb
auer0 dabusb0 dc2xx0 hiddev0 lp1 mdc8001 scanner1 ttyUSB1
auer1 dabusb1 dc2xx1 hiddev1 mdc8000 scanner0 ttyUSB0
sh-4.1#
Last edited by tytower on Fri 23 Sep 2011, 05:53; edited 1 time in total
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Mon 19 Sep 2011, 06:43 Post subject:
|
|
You appear to have lost the device node /dev/usb/lp0. But it should be automatically created when you plug in a USB printer.
What Puppy version are you using? What other SFS/PET/DEB packages have you installed?
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Mon 19 Sep 2011, 16:08 Post subject:
|
|
Ok ,it doesnot get created when I plug it in
I have Cinellera , Gimp and Firefox 7(beta)
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Mon 19 Sep 2011, 16:13 Post subject:
|
|
| rcrsn51 wrote: | | What Puppy version are you using? |
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Mon 19 Sep 2011, 16:34 Post subject:
|
|
5.28
I dumped Firefox 7 and went back to Firefox 3.6.13 just in case
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Mon 19 Sep 2011, 16:51 Post subject:
|
|
I don't know what has caused your problem, but here is a possible solution.
1. Open a ROX window to the folder /initrd/pup_ro2/dev/usb
2. Open another ROX window to /dev/usb
3. Drag the file lp0 from one to the other.
4. Check that the new file has a full set of read-write permissions.
5. Test your printer.
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Tue 20 Sep 2011, 19:25 Post subject:
|
|
Thanks
I was unable to copy it accross and got "cp: accessing `/dev/usb/lp0': Input/output error
Failed to copy '/initrd/pup_ro2/dev/usb/lp0'
Not sure what it objects to
Whats the command line to do it in a terminal ? or can I create a node any other way in there?
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Tue 20 Sep 2011, 19:33 Post subject:
|
|
| tytower wrote: | I was unable to copy it accross and got "cp: accessing `/dev/usb/lp0': Input/output error
Failed to copy '/initrd/pup_ro2/dev/usb/lp0' |
It's a pretty good bet that your pupsave file has gotten corrupted.
Boot off the Live CD using "puppy pfix=ram"
Mount the partition holding your pupsave file.
Type a command like
| Code: | | e2fsck -p /mnt/sda1/lupusave.2fs |
Reboot.
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Wed 21 Sep 2011, 19:51 Post subject:
|
|
Darn
I thought you had it there when I did as above and it reported deleting about 10 nodes because they had zero value or something like that.( I didn't write the returned messages down at the time)
So now it reports a clean file system but the lp0 node is not created when I plug the epson printer in and CUPS still says no printers found
I've also tried this on a couple of different machines with no change
Thanks
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Wed 21 Sep 2011, 20:40 Post subject:
|
|
| tytower wrote: | | I've also tried this on a couple of different machines with no change. |
Please explain.
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Wed 21 Sep 2011, 22:05 Post subject:
|
|
I load Puppy 5.28 from a USB stick
It therefore boots from any machine
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7748 Location: Stratford, Ontario
|
Posted: Wed 21 Sep 2011, 23:08 Post subject:
|
|
At this point, you may have to bite the bullet and start a new save file.
The next time, make a backup copy of your save file that you can restore if problems happen again.
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Thu 22 Sep 2011, 05:55 Post subject:
|
|
Mm. Well thats easy enough just have to download again the other software I downloaded before .
I'd like to try to understand though ,exactly what is going on as this is so fundamental to all operating systems. It just has to work right
Could you recommend any reading on these ports and nodes , what they are and how they are set up originally . What happens when a printer is plugged in?
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Fri 23 Sep 2011, 06:11 Post subject:
|
|
I had a closer look and found by changing the properties of the /dev/usb/ directory to include local and world write permissions I was able to copy the lp0 node mentioned above . I then changed the properties back again and rebooted ,with a save of course .
This time CUPS found my printer OK and I sent a page to it .
I got a totally black page so I have more to do but at least my machine can be found.
I always knew it was there -dumb machines!
Seems then to be a permission problem between CUPS and the /dev/usb/ directory. When I revisited the directory again it had gone again so I am going to leave the properties wide open as this is how /initrd/pup_ro2/dev/usb is set.
When I did this and plugged in the printer the node was automatically created -no need to copy it accross
I'll come back
|
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Fri 23 Sep 2011, 06:27 Post subject:
|
|
And now we have printer being found and perfect printing
|
|
Back to top
|
|
 |
|