PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 12:15:07 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: New kernel -- no printer  (Read 937 times)
barryc
Sr. Member
****
Offline Offline

Posts: 255



« on: April 08, 2011, 02:33:49 PM »

My box has the following kernels installed:
2.6.33.7-pclos6.bfs (default)
2.6.37.2-pclos1.bfs
2.6.37.3-pclos1.bfs
2.6.37.4-pclos1.bfs
2.6.38.2-pclos1.bfs

fully updated kde4.6.2 (pass server)

My EPSON stylus photo R320 is installed and works perfectly ONLY with the default kernel.
All of the newer kernels allow installation of the printer, but none allow printing a test page or printing from any app.
I have tried everything in the following link http://www.pclinuxos.com/forum/index.php/topic,84526.0.html and none of the tips and exercises suggested solve this problem.

My udev rules do not contain the d/50-udev-default.rules mentioned by Tex in the above post.

I did try the changes to /etc/rc.d/rc.local: suggested by Tex and also a non-starter.  Am I missing the d/50-udev rules for some
reason?  ( I hate udev., as I know Tex does) Now I'm curious why I don't have this particular line in my udev rules.

Also , if there is something I missed as to why this printer won't install in any kernel after 2.6.33.7-pclos6.bfs.
Logged


Register your computer here
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #1 on: April 08, 2011, 03:15:04 PM »

The following are the files in my  /lib/udev/rules.d/  directory.

You should check what yours contains against the below list.


Code:
[user@Dell ~]$ cd /lib/udev/rules.d/
[user@Dell rules.d]$ ls
10-console.rules                  60-persistent-v4l.rules            79-fstab_import.rules
10-dm.rules                       61-mobile-action.rules             80-drivers.rules
13-dm-disk.rules                  61-mobile-zte-drakx-net.rules      85-regulatory.rules
40-isdn.rules                     61-persistent-storage-edd.rules    85-usbmuxd.rules
40-libgphoto2.rules               64-device-mapper.rules             88-clock.rules
50-firmware.rules                 69-printeracl.rules                90-alsa-restore.rules
50-udev-default.rules             70-acl.rules                       90-hal.rules
50-udev-mandriva.rules            70-hid2hci.rules                   90-libgpod.rules
60-cdrom_id.rules                 70-hotplug_map.rules               90-pulseaudio.rules
60-floppy.rules                   75-cd-aliases-generator.rules      95-dm-notify.rules
60-persistent-alsa.rules          75-net-description.rules           95-keyboard-force-release.rules
60-persistent-input.rules         75-persistent-net-generator.rules  95-keymap.rules
60-persistent-serial.rules        75-tty-description.rules           95-pam-console.rules
60-persistent-storage.rules       76-net.rules                       95-udev-late.rules
60-persistent-storage-tape.rules  78-sound-card.rules
[user@Dell rules.d]$
Logged
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #2 on: April 08, 2011, 07:43:15 PM »

Ah, there they are.  I always thought they were located in /etc/udev/rules.d.
I have all of those on your list with the exception of 90-pulseaudio.rules.
I have removed and reinstalled about 10 times trying different kernels and
even with livecd of my install.  Only one that seems to work is the 2.6.33.7-pclos6.bfs kernel.
Any ideas?
.
Logged


Register your computer here
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4139

Have a nice ... night!


« Reply #3 on: April 08, 2011, 07:45:28 PM »

Ah, there they are.  I always thought they were located in /etc/udev/rules.d.
I have all of those on your list with the exception of 90-pulseaudio.rules.
I have removed and reinstalled about 10 times trying different kernels and
even with livecd of my install.  Only one that seems to work is the 2.6.33.7-pclos6.bfs kernel.
Any ideas?
.

can you post the ouput of the followin command ? I have an idea around usb device ...

lpstat -v

AS
Logged
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #4 on: April 08, 2011, 08:23:30 PM »

[barry@BigBee ~]$ lpstat -v
device for EPSONSPhR320: usb:/dev/usb/lp0
[barry@BigBee ~]$

Logged


Register your computer here
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4139

Have a nice ... night!


« Reply #5 on: April 09, 2011, 07:00:58 AM »

[barry@BigBee ~]$ lpstat -v
device for EPSONSPhR320: usb:/dev/usb/lp0
[barry@BigBee ~]$


could you try to check existence and permission of such device (using new kernel) ?

ls -l /dev/usb/lp0
Logged
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #6 on: April 09, 2011, 12:22:28 PM »

Code:
[barry@BigBee ~]$ lpstat -v
device for EPSONSPhR320: usb://EPSON/Stylus%20Photo%20R320
[barry@BigBee ~]$

lp0 permissions: rw,rw,0 User: root Group: lp

This is how it appears with new kernel (2.6.38.2-pclos1.bfs)
I will reboot and run the same code under 2.6.33.7-pclos6.bfs -- the working kernel
The name seems to have changed -- possibly reflecting the many reinstalls.

Here's everything after doing uname -a so I can keep the kernel versions straight.

Code:
[barry@BigBee ~]$ uname -a
Linux BigBee 2.6.38.2-pclos1.bfs #1 SMP PREEMPT Tue Mar 29 09:55:31 CDT 2011 i686 i686 i386 GNU/Linux
[barry@BigBee ~]$ ls -l /dev/usb/lp0
ls: cannot access /dev/usb/lp0: No such file or directory
[barry@BigBee ~]$
Logged


Register your computer here
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #7 on: April 09, 2011, 12:36:10 PM »

Code:
[barry@BigBee ~]$ lpstat -v
device for EPSONSPhR320: usb://EPSON/Stylus%20Photo%20R320
[barry@BigBee ~]$

Hmm. results identical to new kernel as far as device id is concerned.

lp0 permissions: rw,rw,0 User: lp Group: sys

This is how the permissions are under the default  kernel (2.6.33.7-pclos6.bfs)
Looks like the permissions are different in the two different kernels.
Now what??

Here's output with uname -a just to avoid any confusion:

Code:
[barry@BigBee ~]$ uname -a
Linux BigBee 2.6.33.7-pclos6.bfs #1 SMP PREEMPT Thu Oct 21 22:42:28 CDT 2010 i686 i686 i386 GNU/Linux
[barry@BigBee ~]$ ls -l /dev/usb/lp0
crw-rw---- 1 lp sys 180, 0 Apr  9 13:25 /dev/usb/lp0
[barry@BigBee ~]$
Logged


Register your computer here
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #8 on: April 09, 2011, 01:17:05 PM »

Okay, sorry for any confusion but now I see that I originally looked up permissions for
/dev/lp0 in Konqueror, but overlooked finding permissions for /dev/usb/lp0.

No such file found under the new kernel.
That could be why it can't print.  Any idea how to make the device available?

Appreciate your help greatly.
Logged


Register your computer here
AS
Global Moderator
Hero Member
*****
Offline Offline

Posts: 4139

Have a nice ... night!


« Reply #9 on: April 09, 2011, 01:41:47 PM »

resume, for clarity:

kernel 2.6.33.7:
device: /dev/usb/lp0
[barry@BigBee ~]$ lpstat -v
device for EPSONSPhR320: usb:/dev/usb/lp0
[barry@BigBee ~]$

the above configuration is congruent and fully working.

kernel 2.6.38.2:
/dev/usb/lp0: no such file or directory (I can replicate the same behavior on my system, I think this is due to module usblp not present in kernel 2.6.38.2)
[barry@BigBee ~]$ lpstat -v
device for EPSONSPhR320: usb://EPSON/Stylus%20Photo%20R320
[barry@BigBee ~]$

In kernel 2.6.38.2, I was not able to setup the my printer using control center -> printerdrake, but had to configure the printer using cups interface:
from a browser open http://localhost:631, go to administration -> add printer

you should see a list under "local printers", the last item being your Epson printer, choose that and continue  with the remaining configuration options.

Let us know if it work. (had worked for me, have done this from kernel 2.6.37.4-something, i.e. when usblp module disappeared).

AS
Logged
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #10 on: April 09, 2011, 02:01:16 PM »

AS
Many thanks.  Yes, that is what I thought about the usblp module going away.
I am going to remove the current printer, reboot and try installing from cups.
I have done this before without success, but I can't remember exactly the exact
procedure that I followed.  I will post my results shortly.
Logged


Register your computer here
barryc
Sr. Member
****
Offline Offline

Posts: 255



« Reply #11 on: April 11, 2011, 02:59:05 PM »

Nope.  Nothing worked.  Finally, my install wouldn't complete booting.  I
may have cludged up something while editing stuff.  Anyway, I reinstalled
from a remaster I burned a week ago and everything is back to normal
with 2.6.33.7-pclos6.bfs kernel.  Printer works and I updated everything
on synaptic since the remaster was made.

I've spent enough time trying to finagle printing with the new kernel.  I think
there is a serious bug in it, probably the driver or the udev files.  I've had enough
udev for a while.  Maybe someone has a better solution.  I'll just stick with
my default kernel since all my hardware works fine with it.

The newest kernel (2.6.38.x) works fine and loads even faster but without
printing ability its a non-starter for me.

Thanks for your help, and I will be watching other posts re printing with this kernel.
Logged


Register your computer here
JerryP
Sr. Member
****
Offline Offline

Posts: 398


"Let's GO Yankees"


« Reply #12 on: April 13, 2011, 04:25:50 PM »

You might try this - it worked for two of us. http://www.pclinuxos.com/forum/index.php/topic,88401.msg745358.html#msg745358
Logged

Even the calendar asks _ _ _! after SMT
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM