LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-02-2008, 04:49 PM   #1
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Rep: Reputation: 15
How do I access usb port properties. I need to set permissions.


I have a usb port problem. I am trying to set up printers to usb port. When I

I have setup printer to connect to usb. When I test connection, it prints. Any other part of printer setup, shows up in the Que, but will not test print.

Seem that my usb port does not have permissions set up properly. How do I set up permissions and keep them setup?

Thanks,
sjip44

Last edited by sjpiv44; 12-02-2008 at 04:54 PM. Reason: USB port permissions
 
Old 12-02-2008, 08:02 PM   #2
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Kubuntu 10.04, Mint 8 and Puppy 4.3.1
Posts: 355
Blog Entries: 1

Rep: Reputation: 31
I will go off the top of my head without much research, but I would try this:

Start your file manager (like konqueror for example: sudo konqueror in console)

Then go to to /dev and locate your printer device name, i.e prn0 our lp0, etc...

Then open a console from that folder and do : ex. chmod +rx lp0

That will give your user all permissions on the printer.

Not sure it will work but try it.
 
Old 12-03-2008, 01:05 AM   #3
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 116

Rep: Reputation: 18
first thing to test:

Code:
id
are you in the lp group? if not, add yourself to that group.

next:

Code:
ls -l /dev/usb/lp0
or
Code:
ls -l /dev/usb/prn0
is the group set to lp?

if no for both, check the udev rules:

/etc/udev/rules.d/50-udev.rules

It should say this:
# usb devices
[...]
BUS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k", GROUP="lp"
or
BUS=="usb", KERNEL=="prn[0-9]*", NAME="usb/%k", GROUP="lp"
[...]

Last edited by thecarpy; 12-03-2008 at 01:06 AM.
 
Old 12-04-2008, 05:27 PM   #4
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
I still can not test print.

I have tested the previous post and created printers in yast and in CUPS. I still only get a test print to work in yast, printer, connection. Other test go to QUE.

When I go in CUPS and start, I get printer not connected.

Can anyone help?

Thanks,
sjpiv44
 
Old 12-05-2008, 09:08 AM   #5
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 116

Rep: Reputation: 18
Please. tell me what /etc/udev/rules.d/50-udev.rules says about prn0 and lp0, please tell me what groups you are in and what the devices are set to:

egrep 'lp|prn' /etc/udev/rules.d/50-udev.rules
id
ls -l /dev/prn*
ls -l /dev/lp*

Then maybe i can help .... ;-)

Ohhh, which printer model and which distribution.

Last edited by thecarpy; 12-05-2008 at 09:10 AM.
 
Old 12-10-2008, 04:43 PM   #6
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
this is what I found with previous question:

egrep lp 50-udev-default.rules
SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp"
SUBSYSTEM=="printer", KERNEL=="lp*", GROUP="lp"
KERNEL=="irlpt*", GROUP="lp"

In YaST, pinter, deskjet6540, connection I have usbprinteron ///HP/Deskjet6500?serial=my4833POPY040j

In cups when I start, I get 'Printer not connected'

Thanks

Last edited by sjpiv44; 12-10-2008 at 05:10 PM.
 
Old 12-11-2008, 03:38 AM   #7
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 116

Rep: Reputation: 18
I guess you are a member of the lp group.

if you enter
Code:
id
it should list all the groups you are a member of. If you are not a member of the lp group, you should not be allowed to print, add yourself to that group in yast.

Besides someone claims your printer works great with the HP driver.

Here are specific instructions:
http://www.linuxfoundation.org/en/Op...SDocumentation
 
Old 12-12-2008, 10:55 AM   #8
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Unhappy Do I need to id from /dev?

FORDONE:/ # id
uid=0(root) gid=0(root) groups=0(root),100(users),1000(susefilepro)

As you can see, I was at root.

This was from /dev
lrwxrwxrwx 1 root root 7 Dec 12 10:15 usblp0 -> usb/lp0

usb:
total 0
crw-rw-r-- 1 root lp 180, 0 Dec 12 10:15 lp0

I hope that this is helpful. Thanks.

I have created networks with Novell and Windows with no printer problems. This has been a challange at best.

I appreciate any information you can share.

sjpiv44
 
  


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
why must I access a partition as root when permissions are set for me? newbiesforever MEPIS 5 02-07-2008 04:07 PM
usb device root permissions write access lindylex Debian 7 06-06-2007 10:41 AM
how to set permissions for normal users to access windows hard drives on suse 10? akshay_jp Suse/Novell 4 12-25-2005 12:33 PM
A port of Java's Properties in C++ xowl Programming 1 07-26-2005 07:45 AM
How to set user permissions for USB ports at boot? drazenko Linux - Hardware 1 07-27-2004 09:13 AM


All times are GMT -5. The time now is 04:32 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