You are not logged in.

#1 2005-08-07 18:52:01

Guest
Guest

Printer Install Troubles

Following the wiki;

[root@xxx]# modprobe usblp
[root@xxx]# tail /var/log messages
==> /var/log <==
tail: error reading `/var/log': Is a directory
tail: cannot open `messages' for reading: No such file or directory
[root@xxx]#

as you can see I get nothing when tyring to run tail /var/log messages

Can not continue with the wiki instructions (I've tried and it doesn't work) what's my next step?

#2 2005-08-07 19:50:08

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 714

Re: Printer Install Troubles

pacman -Sy hwd lshwd
Open the USB printer, and after a few seconds type in as root
hwd -s
...and after that, as plain user,
lshwd

(not the same as the # tail /var/log/messages thing, but still sufficient).

If the printer is listed in both outputs, then you may continue with the CUPS configuration. At worst you will have to load hwd (or hotplug) as a daemon in /etc/rc.conf

If this helps (maybe it does just the opposite), I never followed the wiki (for printing, that is), but had no real trouble setting up my (local) printer in Arch.


Microshaft delenda est

Offline

#3 2005-08-07 20:04:08

Guest
Guest

Re: Printer Install Troubles

it is listed under the root lshwd but under a user lshwd it shows as unknown.

I created a usb group and added myself to it but that didn't work, still unknown under a lshwd. why is this?

anyone have any ideas why i get the error
tail: cannot open `messages' for reading: No such file or directory

I did the base install of Arch (udev style) and haven't modified anything. Am I missing something out of my daemons?

DAEMONS=(syslog-ng hotplug hwd network netfs crond alsa cups)

Also, do I need both hotplug and hwd?

#4 2005-08-08 03:11:08

Guest
Guest

Re: Printer Install Troubles

no takers???

#5 2005-08-08 10:06:08

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 460

Re: Printer Install Troubles

Short answer, re var/log :
yes the wiki quotes a specific file which may or may not be on your system.

try
ls -al /var/log/ and see which files actually exist there.
Then search for printer info in specific files.
Maybe that'l get you on a few steps.

in good spirit tho, and limiting our scope to whats actually on the wiki page only,

if you want more detailed help on getting your printer up and running, maybe giving details of:
printer make and model,
the specific wiki page,
the preceding steps you took,
the packages you installed etc
might elicit a more useful response from the community in general.

i maybe able to help more later, as i get my first "USB only" printer this week. then again i maybe asking you smile

Offline

#6 2005-08-08 11:11:17

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: Printer Install Troubles

Tullman wrote:

anyone have any ideas why i get the error
tail: cannot open `messages' for reading: No such file or directory

yeah, I do. Its /var/log/messages.log

What do you mean you can't continue with the next step? What step is it?
If you're refereing to the http://localhost:631  deal and you haven't already set-up your host name in /etc/hosts, you'll get a bum address and probably you printer not working.
In the file /etc/hosts, change all instances of "localhost" to something else. The next time you try going to that location, substitute "localhost" with what you replaced in /etc/hosts.

Offline

#7 2005-08-08 13:38:42

Guest
Guest

Re: Printer Install Troubles

thanks for the info, I'm at work atm, but I'll try some more when I get home. I'll also give more detailed descriptions of my failures (as I'm sure there'll be more  wink )

Ok...went home for lunch...here's some info

It is a Samsung ML-1710 connected via USB to my Archbox. I have the ppd in the correct directory.

lsmod as user and root turn up the same:

Module                  Size  Used by
uhci_hcd               33808  0
pcspkr                  4172  0
rtc                    14156  0
nvidia               3713572  12
shpchp                100868  0
pci_hotplug            30788  1 shpchp
snd_intel8x0           34752  1
snd_ac97_codec         83960  1 snd_intel8x0
snd_pcm_oss            55456  0
snd_mixer_oss          20480  2 snd_pcm_oss
snd_pcm                97796  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              27012  1 snd_pcm
snd                    60388  6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixe r_oss,snd_pcm,snd_timer
soundcore              10848  2 snd
snd_page_alloc         10244  2 snd_intel8x0,snd_pcm
forcedeth              20480  0
ehci_hcd               37256  0
usbhid                 48416  0
ohci_hcd               23044  0
i2c_nforce2             7168  0
i2c_core               22784  1 i2c_nforce2
evdev                  10240  0
usblp                  13440  0
usbcore               127740  6 uhci_hcd,ehci_hcd,usbhid,ohci_hcd,usblp
nls_cp437               6144  1
vfat                   14720  1
fat                    54044  1 vfat

lshwd as user

00:00.0 Host bridge: nVidia Corp.|nForce2 AGP Controller (nvidia)
00:00.1 RAM memory: NVIDIA Corp.|nForce2 Memory Controller 0 (unknown)
00:00.2 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:00.3 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:00.4 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:00.5 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:01.0 ISA bridge: nVidia Corp.|nForce2 LPC / Legacy / System Management (unkno wn)
00:01.1 SMBus: nVidia Corp.|nForce2 SMBus 2.0 Controller (i2c-nforce2)
00:02.0 USB Controller: nVidia Corp.|nForce2 USB 1.0 OHCI Controller (ohci_hcd)
00:02.1 USB Controller: nVidia Corp.|nForce2 USB 1.0 OHCI Controller (ohci_hcd)
00:02.2 USB Controller: nVidia Corp.|nForce2 USB 2.0 Enhanced Controller (ehci-h cd)
00:04.0 Ethernet controller: nVidia Corp.|nForce2 MCP Networking Adapter (forced eth)
00:06.0 Multimedia audio controller: nVidia Corp.|nForce2 Audio Codec Interface (snd-intel8x0)
00:08.0 PCI bridge: nVidia Corp.|nForce2 External PCI Bridge (unknown)
00:09.0 IDE interface: nVidia Corp.|nForce2 UDMA 100/133 IDE Controller (amd74xx )
00:1e.0 PCI bridge: nVidia Corp.|nForce2 AGP Host to PCI Bridge (agpgart)
02:00.0 VGA compatible controller: nVidia Corp.|NV36 [GeForce FX 5700] (nv)
003:001 USB Hub: Virtual|Hub (unknown)
[b]002:005 USB Printer:  (unknown)[/b]
002:004 USB Human Interface Devices: Microsoft Corp.|IntelliMouse Explorer 3.0 [ /dev/input/mice] (usbhid)
002:001 USB Hub: Virtual|Hub (unknown)
001:001 USB Hub: Virtual|Hub (unknown)

and lshwd as root

00:00.0 Host bridge: nVidia Corp.|nForce2 AGP Controller (nvidia)
00:00.1 RAM memory: NVIDIA Corp.|nForce2 Memory Controller 0 (unknown)
00:00.2 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:00.3 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:00.4 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:00.5 RAM memory: nVidia Corp.|nForce2 Memory Controller (unknown)
00:01.0 ISA bridge: nVidia Corp.|nForce2 LPC / Legacy / System Management (unknown)
00:01.1 SMBus: nVidia Corp.|nForce2 SMBus 2.0 Controller (i2c-nforce2)
00:02.0 USB Controller: nVidia Corp.|nForce2 USB 1.0 OHCI Controller (ohci_hcd)
00:02.1 USB Controller: nVidia Corp.|nForce2 USB 1.0 OHCI Controller (ohci_hcd)
00:02.2 USB Controller: nVidia Corp.|nForce2 USB 2.0 Enhanced Controller (ehci-hcd)
00:04.0 Ethernet controller: nVidia Corp.|nForce2 MCP Networking Adapter (forcedeth)
00:06.0 Multimedia audio controller: nVidia Corp.|nForce2 Audio Codec Interface (snd-intel8x0)
00:08.0 PCI bridge: nVidia Corp.|nForce2 External PCI Bridge (unknown)
00:09.0 IDE interface: nVidia Corp.|nForce2 UDMA 100/133 IDE Controller (amd74xx)
00:1e.0 PCI bridge: nVidia Corp.|nForce2 AGP Host to PCI Bridge (agpgart)
02:00.0 VGA compatible controller: nVidia Corp.|NV36 [GeForce FX 5700] (nv)
003:001 USB Hub: Virtual|Hub (hub)
[b]002:005 USB Printer: Samsung ML-1710 Series (usblp)[/b]
002:004 USB Human Interface Devices: Microsoft Corp.|IntelliMouse Explorer 3.0 [/dev/input/mice] (usbhid)
002:001 USB Hub: Virtual|Hub (hub)
001:001 USB Hub: Virtual|Hub (hub)
---:--- Mouse: PS/2 Mouse port [/dev/psaux] (msintellips/2)

as you can see lshwd as root turns up with Samsung blah blah at 002:005 whereas 002:005 as user is USB printer unknown
/var/log/messages.log has no mention of usblp or printer or Samsung ML-1710.

I guess it was incorrect of me to say I couldn't finish the install procedure (that being the one listed on the wiki here http://wiki.archlinux.org/index.php/Category:Printing ) because I went ahead and finished the steps. IE it lets me "finish" but the "finished product" is something that does not work. (If my convoluted jargon makes any sense)

If i browse to localhost:631 it does let me set up the printer...which I have done, however if i try to actually print, nothing happens (that I can see) and if i go to completed jobs it shows whatever i had tried to print as aborted. If i click on the "restart job" button I get this error
Jobs

Error:

    client-error-not-possible

Any help would be appreciated.

#8 2005-08-10 03:19:46

jftaylor21
Member
From: Arch Linux Forums
Registered: 2004-02-21
Posts: 237

Re: Printer Install Troubles

Have you tried printing as root and seeing if that works?
EDIT:
Found a wiki for installing this specific printer at Gentoo's website. I don't know if it will help, but maybe you will see something useful
http://gentoo-wiki.com/HOWTO_Samsung_ML … Samba/CUPS

Offline

#9 2005-08-10 13:25:03

Guest
Guest

Re: Printer Install Troubles

I have tried printing as root and get the same results. Thanks for the link, I'll check it out.

EDIT:

Checked out the link...thanks. Didn't really add anything that the arch wiki hadn't already covered. I did get tail /var/log/messages.log to actually SHOW the printer by turning off the printer then turning it back on about 20 seconds later. Unfortunately the results are the same whilst trying to print a test page through the cups localhost:631 page. I click the print test page button, cups says it sends it ok, I check completed jobs and it says the job was aborted. I try to restart the job and I get the page with the bold heading JOBS and the error message below it
Error:

    client-error-not-possible

I'm at my wits end on this one. Does anyone know how to get this cotton-pickin thing working? I know it works in linux...Gentoo had it working, Ubuntu had it working...just can't seem to figure it out with Arch.

One thing I failed to mention was while booting up, during the module loading process, the error message (something like) "printer module does not exist" then has the ever lovely FAIL over on the right hand side (according to the wiki, "printer" is added to the module line in rc.conf.

#10 2005-08-12 05:59:02

Guest
Guest

Re: Printer Install Troubles

went to samsungs website on a whim and guess what? they've got a driver...quite new I might add.
followed the install procedure and it worked (the install that is). The printer however still acts the same...send a job it gets aborted. Restart job...same error message.

Board footer

Powered by FluxBB