How can I avoid getting notifications to my own posts?
CUPS:
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• RYXI
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

RYXI > FreeBSD > CUPS: "Unable to open USB device "usb:/dev/ulpt0": Permission denied" 25 February 2007 02:12:41

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

CUPS: "Unable to open USB device "usb:/dev/ulpt0": Permission denied"

Lars Stokholm 23 June 2006 20:42:23
 I get this error, when trying to print a test page from the CUPS
web interface. I've tried to chmod g+w /dev/ulpt0, but that didn't
make any difference. What's wrong?

"Unable to open USB device "usb:/dev/ulpt0": Permission denied"

The printer is a HP PSC 750xi. I've installed the hpijs port, which
installed CUPS as a dependency.
Add comment
DaveG 24 June 2006 01:37:44 permanent link ]
 Sometime on Fri, 23 Jun 2006 19:42:23 +0200, Lars Stokholm scribbled:
I get this error, when trying to print a test page from the CUPS> web interface. I've tried to chmod g+w /dev/ulpt0, but that didn't> make any difference. What's wrong?>
"Unable to open USB device "usb:/dev/ulpt0": Permission denied">
The printer is a HP PSC 750xi. I've installed the hpijs port, which> installed CUPS as a dependency.

try /dev/unlpt0

--
Dave
Our business in life is not to succeed,
but to continue to fail in good spirits.
Robert Louis Stevenson

Add comment
Lars Stokholm 24 June 2006 01:56:02 permanent link ]
 On 2006-06-23, DaveG <dave-ng@nospam.tld­> wrote:>> I get this error, when trying to print a test page from the CUPS>> web interface. I've tried to chmod g+w /dev/ulpt0, but that didn't>> make any difference. What's wrong?>>
"Unable to open USB device "usb:/dev/ulpt0": Permission denied">>
The printer is a HP PSC 750xi. I've installed the hpijs port, which>> installed CUPS as a dependency.>
try /dev/unlpt0

I think ulpt0 is the right one (though I don't know the difference).

# dmesg | grep lpt
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ulpt0: Hewlett-Packard PSC 750xi, rev 1.10/1.00, addr 3, iclass 7/1
ulpt0: using bi-directional mode
Add comment
DaveG 24 June 2006 15:17:46 permanent link ]
 Sometime on Sat, 24 Jun 2006 00:56:02 +0200, Lars Stokholm scribbled:
On 2006-06-23, DaveG <dave-ng@nospam.tld­> wrote:>>> I get this error, when trying to print a test page from the CUPS>>> web interface. I've tried to chmod g+w /dev/ulpt0, but that didn't>>> make any difference. What's wrong?>>>
"Unable to open USB device "usb:/dev/ulpt0": Permission denied">>>
The printer is a HP PSC 750xi. I've installed the hpijs port, which>>> installed CUPS as a dependency.>>
try /dev/unlpt0>
I think ulpt0 is the right one (though I don't know the difference).

According to man ulpt

/dev/ulpt? device with reset
/dev/unlpt? device without reset

# dmesg | grep lpt> lpt0: <Printer> on ppbus0> lpt0: Interrupt-driven port> ulpt0: Hewlett-Packard PSC 750xi, rev 1.10/1.00, addr 3, iclass 7/1> ulpt0: using bi-directional mode


--
Dave
Our business in life is not to succeed,
but to continue to fail in good spirits.
Robert Louis Stevenson

Add comment
Guest 25 June 2006 21:39:00 permanent link ]
 
On 2006-06-23, DaveG <dave-ng@nospam.tld­> wrote:> >>> I get this error, when trying to print a test page from the CUPS> >>> web interface. I've tried to chmod g+w /dev/ulpt0, but that didn't> >>> make any difference. What's wrong?> >>>
"Unable to open USB device "usb:/dev/ulpt0": Permission denied"> >>>
The printer is a HP PSC 750xi. I've installed the hpijs port, which> >>> installed CUPS as a dependency.

Same here, with a Lexmark E232 which used to work prior to the cups
update to 1.2.0.

I'm still looking for a solution, apparently this problem is found on
all platforms...

Add comment
Lars Stokholm 25 June 2006 22:18:03 permanent link ]
 On 2006-06-25, nicblais@hotmail.co­m <nicblais@hotmail.c­om> wrote:> Same here, with a Lexmark E232 which used to work prior to the cups> update to 1.2.0.>
I'm still looking for a solution, apparently this problem is found on> all platforms...

Good to hear that I'm not alone. If you find a solution, let us know.
Of course I'll do the same. :)­
Add comment
Andreas Eder 26 June 2006 00:05:30 permanent link ]
 Hi Lars,
"Lars" == Lars Stokholm <this@is.invalid> writes:

Lars> On 2006-06-25, nicblais@hotmail.co­m <nicblais@hotmail.c­om> wrote: >> Same here, with a Lexmark E232 which used to work prior to the cups >> update to 1.2.0. >>
I'm still looking for a solution, apparently this problem is found on >> all platforms...

Lars> Good to hear that I'm not alone. If you find a solution, let us know.
Lars> Of course I'll do the same. :)­

Well, it's not really the right solution, but I set the backend (usb in
my case) suid to root and then it worked. Security-wise that is
certainly not the right way, but it works for me.

'Andreas

--
Wherever I lay my .emacs, there's my $HOME.
Add comment
Guest 25 February 2007 02:12:41 permanent link ]
 chgrp cups /dev/ulpt0
chmod g+w /dev/ulpt0
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


RYXI > FreeBSD > CUPS: "Unable to open USB device "usb:/dev/ulpt0": Permission denied" 25 February 2007 02:12:41

see also:
FS: TERMINATOR 2 Lifesize Bust!!
pass tests:
see also:
IBM THINKPAD 380ED
converting mp3 file to midi file
My Beatiful Wish

  Copyright © 2001—2010 RYXI
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.ryxi.com.
Write in the community about the bugs you have noticedbugs.ryxi.com.
Write your offers and comments in the communities suggest.ryxi.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .