Can I set up a diary with reminders?
CUPS:
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• RYXI
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

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:
  Moderators:

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

Lars Stokholm 25 February 2007 02:12:41
 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:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


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

see also:
Oh and, java
ace+tao build broken
mail software for freebsd
пройди тесты:
see also:
Printer for lap top
Cisco CallManager Express 5.0 CDR
0

  Copyright © 2001—2008 RYXI
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.ryxi.com.
Сообщения об ошибках оставляем в сообществе bugs.ryxi.com.
Предложения и комментарии пишем в сообществе suggest.ryxi.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .