Re: CUPS, USB printers Permission Denied

2006-06-26 Thread Sergey Akifyev
On вс, 2006-06-25 at 23:32 -0400, John Nielsen wrote:
 On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:
  On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:
   On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:
   I updated CUPS and I cannot print to my USB laser printer. The web
   interface shows the following:
  
   hp_LaserJet_1160Le (Default Printer) Unable to open USB device
   usb:/dev/ulpt0: Permission denied
   Description: Hewlett-Packard LaserJet 1160Le
   Location: Den
   Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
   Printer State: stopped, accepting jobs, published.
   Device URI: usb:/dev/ulpt0
  
   Doing a `dmesg | grep ulpt0`, I get
  
   ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
   addr 2,
   iclass 7/1
   ulpt0: using bi-directional mode
  
   The printer itself works (I plugged it directly into my MacBook
   and it
   printed fine). To ensure it wasn't an awkward build error, I issued a
  
   `portupgrade -fR cups`
  
   and rebuilt it and everything it is dependent upon. Does anyone
   else have
   any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
   6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).
  
   Just a me too so far with an el cheapo Lexmark USB laser printer
   (E210).
   Are you using the foomatic script? I am, with a PPD from
   linuxprinting.org.
 
  I am not sure, actually (it was so long ago, I do not remember how I
  got it working). I installed hpijs and Make and Model mentions
  Foomatic/hpijs, so perhaps. I am sorry I could not be of more
  assistance with this question.
 
   I'm going to try backing up and blowing away my etc/cups dir, re-
   updating
   the port, reinstalling foomatic and my ppd, and see if that makes any
   difference. I'll post whatever I learn.
 
  Thank you for posting your findings and for your quick reply.
 
 No luck. I basically re-installed everything (including config files and the 
 foomatic filters) from scratch. I also changed the permissions 
 on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions 
 error, but I still get nothing from the printer. The message that comes up 
 in the cups web interface when I try to print a test page is:
 
 /usr/local/libexec/cups/backend/usb failed
 

Could you set
LogLevel debug
in your /usr/local/etc/cups/cupsd.conf file, and then mail
me /var/log/cups/error_log ?

Whatever your problem is - the answer is there.

 I did get my other printer (on a different machine) working with cups 1.2.0 
 by just changing the permissions on the device node. I hadn't ever set this 
 printer up with cups before today, though. It's using gutenprint.
 
 JN
-- 
regards,
Sergey Akifyev
AGAVA Software Ltd http://agava.com
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6 channel sound

2004-05-14 Thread Sergey Akifyev
On Fri, 2004-05-14 at 16:31, ?v.ancedindows-1251?Q? wrote:
 Good day(mourning, evening, night). I want to appologize for my bad English (I'm 
 from Russia). I want to ask you a question about 6ch sound. Does FreeBSD support 
 playing music in that format? I read a lot of information but can't find anything 
 about this question.
 Best regards to you.
 Sergey.

English:
Take a look at http://www.opensound.com . This is commercial software,
which enables advanced sound features on many operating systems
including FreeBSD. So, if you're lucky - your sound card is supported.
If not - there's no way AFAIK...

Russian:
  http://www.opensound.com .   , 
   ,
 FreeBSD.   ,
 .   -   5.1 ,   , 
 ;)

-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


How to ensure dependency is compiled with some flags?

2003-08-25 Thread Sergey Akifyev
Hello, All!

I'm porting one piece of software, which depends on PHP.
The problem is that PHP must be built with two options:
WITH_SOCKETS and WITH_SNMP. So, how do I force the port to pull PHP with
theese options?

Thanks in advance!
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: How to ensure dependency is compiled with some flags?

2003-08-25 Thread Sergey Akifyev
On Mon, 2003-08-25 at 11:09, Edwin Groothuis wrote:
 On Mon, Aug 25, 2003 at 09:56:49AM +0400, Sergey Akifyev wrote:
 See ports/mail/imp3/MAkefile about line 180 where they do ${LDD}
 ${PHPSO} on how you might want to do it.

Very interesting solution, thanks!

 Edwin
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: NVIDIA Driver install problem

2003-07-30 Thread Sergey Akifyev
On Wed, 2003-07-30 at 12:03, RexFelis wrote:
 Hello all,
[...skipped...]
 (WW) NVIDIA: Chipset GeForce4 MX 440 in Device
 section Card0 isn't valid for this driver
 (EE) No devices detected.
[...skipped...]
 And this is my XF86Config file...
[...skipped...]
 Section Device
   Identifier  Card0
   Driver  nvidia
   ChipSet GeForce4 MX 440
Remove above line...
   CardNVidia GeForce4 MX 440
...and this too :) And you'll be happy!
 EndSection
[...skipped...]
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


How ti install /stand on new HDD

2003-07-02 Thread Sergey Akifyev
Hello!

When mass installing/reinstalling freebsd machines I use following
procedure:

1) make buildworld on my installer machine
2) insert new [target] HDD in my installer machine
3) fdisk / disklabel the HDD as desired and mount it at /some/where
4) cd /usr/src  make installworld DESTDIR=/some/where
5) cd sys/compile/SOMEKERNEL  make install DESTDIR=/some/where
6) cd /usr/src/etc  make distribution DESTDIR=/some/where
7) configure /some/where/etc as desired

All this works fine, but /stand doesn't get installed on the new HDD. I
didn't find place, where the Makefile for /stand lives. For now I copy
/stand on the new HDD from builder, which IMHO is not good. So, question
is: how to get /stand installed?
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: How ti install /stand on new HDD

2003-07-02 Thread Sergey Akifyev
On Wed, 2003-07-02 at 10:34, Tarmo Äijö wrote:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
I tried this. But it is _upgrade_only_procedure_! It renews
/stand/sysinstall binary, assuming it's other names are _already_ linked
to it! But this is not true on freshly-installed HDD. BTW, this is also
buggy (doesn't respect DESTDIR) and I've sent a PR about this.
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: Running out of ttyp's on 4.8 RELEASE

2003-06-20 Thread Sergey Akifyev
On Fri, 2003-06-20 at 15:20, Sten Daniel Sørsdal wrote:
 How do I increase the ttyp's? 
All you've done + you need to create pty device entries in /dev

cd /dev
mknod ttypXX c 5 NN root:wheel

Replace XX with numbers/letters, and NN with tty number. Repeat as
necessary.
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: Journaling filesystems

2003-06-20 Thread Sergey Akifyev
On Fri, 2003-06-20 at 12:02, Karsten Fuhrmann wrote:
 Hello there,
 i am wondering if there are any journaling filesystems for freebsd which 
   are ready to use like reiser or ext3 for freebsd.
FFS + SoftUpdates is much better than journaling!
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: USB Modem

2003-06-20 Thread Sergey Akifyev
On Fri, 2003-06-20 at 11:33, Jeandre du Toit wrote:
 I have a AzTech USB modem, I found a linux driver on their website and it 
 works. I have problems surfing on Windows it keeps screwing up my 
 connection, and I would like to get rid of linux to make more space for 
 FreeBSD. My question is how much work is involved to convert the code from 
 creating a linux kernel module to something that can work on FreeBSD? I 
 have never coded something on FreeBSD before, if it is not too difficult, 
 I could try.
FreeBSD already have umodem driver, which supports most USB modems :)
As for your question converting driver from Linux to BSD is difficult as
writing totally new driver, most of the time you use Linux code only for
information about the device [ports/interrupts/ID's/etc...]
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: Install poptop 1.1.4.b3 on FreeBSD 4.8Release

2003-06-17 Thread Sergey Akifyev
On Tue, 2003-06-17 at 13:13, Martin Schweizer wrote:
 Hello
 I installed the above poptop version on the FreeBSD 4.8 Release machines. On the 
 first machine
 the installation was no problem but on the second the following error occurs. What 
 is 
 going wrong?

I've already mailed fix to this problem with subject:
[PATCH] net/poptop installation and packaging broken
to the [EMAIL PROTECTED] Unfortunately, nobody noticed this :(

-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: IP packet filtering enabled in GENERIC?

2003-06-03 Thread Sergey Akifyev
On Mon, 2003-06-02 at 13:52, tom worster wrote:
 and turned on firewall_enable=YES with firewall_type=OPEN in rc.conf.
firewall_enable=YES causes rc.network to kldload ipfw module. See
kldstat(8) output.
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


What ASCII sequence is used to set xterm title?

2003-06-02 Thread Sergey Akifyev
Hello!

I just want to make shell prompt with changing gnome-terminal window
title (to show host on which I'm sitting now). Does someone know how?

thanks in advance
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part


Re: What ASCII sequence is used to set xterm title?

2003-06-02 Thread Sergey Akifyev
On Mon, 2003-06-02 at 10:34, Clement Laforet wrote:
 Sergey Akifyev [EMAIL PROTECTED] wrote:
  I just want to make shell prompt with changing gnome-terminal window
 PROMPT_COMMAND='echo -ne \033]0;[EMAIL PROTECTED]: ${PWD}\007'
That works, thanks!
-- 
regards,
Sergey Akifyev [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt


signature.asc
Description: This is a digitally signed message part