[Solved]Epson USBprinter was OK but now not found by cups
[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#
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, 09:53, edited 1 time in total.
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.
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.
It's a pretty good bet that your pupsave file has gotten corrupted.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'
Boot off the Live CD using "puppy pfix=ram"
Mount the partition holding your pupsave file.
Type a command like
Code: Select all
e2fsck -p /mnt/sda1/lupusave.2fs
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
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
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?
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?
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
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
well thats not the issue just yet
I would like to solve this properly.I think you are right in that the pupsave file is corrupt. I notice the Glipper program is not working properly and other things that used to happen dont
So I compared the file permissions of /dev/usb/ with the values inn the fresh pupsave file. They dont have to make files local and global write to make them work ,so I am looking deeper
I would like to solve this properly.I think you are right in that the pupsave file is corrupt. I notice the Glipper program is not working properly and other things that used to happen dont
So I compared the file permissions of /dev/usb/ with the values inn the fresh pupsave file. They dont have to make files local and global write to make them work ,so I am looking deeper