You are not logged in.
Pages: 1
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?
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
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?
no takers???
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
Offline
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
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 )
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.
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
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.
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.
Pages: 1