Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: molski on April 29, 2003, 02:38:27 AM

Title: SME 5.6, How to get an usb printer to work
Post by: molski on April 29, 2003, 02:38:27 AM
I'm trying to get an Lexmark usb printer working on SME 5.6, but with no luck. Does somebody maybe know, how to get it working, or are there some other problems. On another (dutch) forum, I have read that some usb printers are installed easily and some printers gave big problems.

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: Michiel on April 29, 2003, 03:52:48 AM
Depends on which model you've got. Lexmark released Linux drivers for a number of their printers. See http://www.lexmark.be/uk/products/community/linux/linux.html.

There are a few other drivers from the Open Source community, but apparently Lexmark has made it very tough to write them. Have also a look at http://f23.parsimony.net/forum51677/

Michiel
Title: Re: SME 5.6, How to get an usb printer to work
Post by: rick on April 29, 2003, 12:28:53 PM
There are no tricks to getting the printer to work as long as you are referring to the e-smith box acting as a print server and accessing it from windows clients. If this is what you are reffering to then have a look at the manual re the configuration, if you still can't work it out ask some more specific questions regarding your issue. If this is what you are after then you don't need any linux drivers for your printer, unless of course you have a linux client that you want to print from.
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on April 29, 2003, 01:13:46 PM
I am using a Lexmark Z34 printer, that uses the same drivers as a Lexmark Z35.
I attached the printer to my first (of 2 ports) USB port and added the printer through the server-manager. After that I installed the printer on a WinXP desktop and a WinME laptop, but no luck :(  I get an access denied, unable to connect error. Don't know how to solve this problem and get the printer to work. I also have an "pdf printer" (for creating pdf files) and a "fax" printer (for Hylafax) and those two work perfect. Now I only want to get my Lexmark Z34 working and I'm a happy man, but without any help I don't think I will succeed.

My Regards,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on April 29, 2003, 01:15:02 PM
By the way, on the Lexmark site I only see drivers for the Z34/35 for Redhat 7.1 , so there aren't any drivers for my system :( Bad luck. Hope I will get things working without the drivers from Lexmark.

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: rick on April 30, 2003, 06:42:38 AM
Your problem sounds like a permissions issue or your setup is incorrect, it should have nothing to do with drivers, given that you are wanting to print from windows pc's. Make sure that when you are adding the printer in windows that you add it as a local printer, not a network printer and that you configure the local port as the mapped address of your printer. You will only need Linux drivers for your printer if you have a Linux client that you want to connect to your network and print from also. Your e-smith box is only acting as a print server, no drivers are required for this, just correct mapping of the port and user permission levels. If you are still unclear on this let me know and I can give you some more specific examples of how to do this.
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 01, 2003, 01:15:36 PM
I always tried to add it as a network printer and that kind of setup failed. Tonight I will add it as a local printer and try to get things working. But what do you mean with the port configuration ? That part isn't so clear for me to understand, I never before tried to print through the network, only local.

My regards,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: Rick on May 01, 2003, 03:06:37 PM
set it up as a local printer, not a network printer, follow the printer install as you normally would but don't worry about printing a test page. once complete go to printer properties and edit the port settings to the local address of your printer, an example of this on my server which uses the default settings during setup and has a printer named laser, my port details are \e-smith\laser for the printer port, some versions of windows allow you to enter this during the printer install, whilst other versions may not and you can just accept Ltp1 as the printer location and you can edit or add the port after the install. If you get stuck on this let me know and I can email you some screen shots of the settings etc
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 01, 2003, 06:07:59 PM
That would be great, but now I know what you mean (we use the same method of installing printers at my work :) ). In a few hours I will be at home and 1st thing I will do, is installing it.

Thanks for your help and quick reply's,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 01, 2003, 11:09:24 PM
I tried installing it, it seems like everything is going just fine on the (windows) workstation, but still no printing, so I searched for the problem and I think I have found it:

May  1 19:56:18 brain kernel: usb.c: registered new driver usbdevfs
May  1 19:56:18 brain kernel: usb.c: registered new driver hub
May  1 19:56:18 brain kernel: usb-uhci.c: $Revision: 1.275 $ time 15:25:44 Jun 10 2002
May  1 19:56:18 brain kernel: usb-uhci.c: High bandwidth mode enabled
May  1 19:56:18 brain kernel: usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 10
May  1 19:56:18 brain kernel: usb-uhci.c: Detected 2 ports
May  1 19:56:18 brain kernel: usb.c: new USB bus registered, assigned bus number 1
May  1 19:56:18 brain kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
May  1 19:56:18 brain kernel: usb.c: registered new driver hiddev
May  1 19:56:18 brain kernel: usb.c: registered new driver hid
May  1 19:56:18 brain kernel: usb.c: USB device 2 (vend/prod 0x43d/0x57) is not claimed by any active driver.
May  1 19:56:06 brain /etc/hotplug/usb.agent: ... no modules for USB product 43d/57/100
May  1 19:56:06 brain /etc/hotplug/usb.agent: ... no modules for USB product 0/0/0
May  1 19:56:47 brain lpd: Warning - lexmark: cannot open lp device '/dev/usb/lp1' - No such device
May  1 19:57:30 brain e-smith[2304]: Running event handler: /etc/e-smith/events/local/S10module-load-usb-printer
May  1 19:57:31 brain e-smith[2304]: modprobe: Can't locate module usb-controller
May  1 19:57:31 brain kernel: usb.c: registered new driver usblp
May  1 19:57:31 brain kernel: printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0057
May  1 19:57:31 brain e-smith[2304]: S10module-load-usb-printer=action|Event|local|Action|S10module-load-usb-printer|Start|1051811850 637001|End|1051811851 931629|Elapsed|1.294628


It doesn't matter if I install the printer on the 1st or 2nd usb port of the server, I still get this message. Maybe some problems in the bios ? Or maybe some (usb) problem with the e-smith software (module usb controller) ?

ThanX in advance,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 01, 2003, 11:11:16 PM
Looks like the error message is not set to the correct times, they look a bit messy, this is how it should look like:

May  1 19:56:06 brain /etc/hotplug/usb.agent: ... no modules for USB product 43d/57/100
May  1 19:56:06 brain /etc/hotplug/usb.agent: ... no modules for USB product 0/0/0
May  1 19:56:18 brain kernel: usb.c: registered new driver usbdevfs
May  1 19:56:18 brain kernel: usb.c: registered new driver hub
May  1 19:56:18 brain kernel: usb-uhci.c: $Revision: 1.275 $ time 15:25:44 Jun 10 2002
May  1 19:56:18 brain kernel: usb-uhci.c: High bandwidth mode enabled
May  1 19:56:18 brain kernel: usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 10
May  1 19:56:18 brain kernel: usb-uhci.c: Detected 2 ports
May  1 19:56:18 brain kernel: usb.c: new USB bus registered, assigned bus number 1
May  1 19:56:18 brain kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
May  1 19:56:18 brain kernel: usb.c: registered new driver hiddev
May  1 19:56:18 brain kernel: usb.c: registered new driver hid
May  1 19:56:18 brain kernel: usb.c: USB device 2 (vend/prod 0x43d/0x57) is not claimed by any active driver.
May  1 19:57:30 brain e-smith[2304]: Running event handler: /etc/e-smith/events/local/S10module-load-usb-printer
May  1 19:57:31 brain e-smith[2304]: modprobe: Can't locate module usb-controller
May  1 19:57:31 brain kernel: usb.c: registered new driver usblp
May  1 19:57:31 brain kernel: printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x043D pid 0x0057
May  1 19:57:31 brain e-smith[2304]: S10module-load-usb-printer=action|Event|local|Action|S10module-load-usb-printer|Start|1051811850 637001|End|1051811851 931629|Elapsed|1.294628
May  1 19:56:47 brain lpd: Warning - lexmark: cannot open lp device '/dev/usb/lp1' - No such device


Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: rick on May 02, 2003, 09:04:07 AM
I have looked through my log files and I don't see anything like this, not sure where you go from here on this. I've done many of these systems and have never had a problem getting printers of any variety working. Do you have a Parallel printer of any type that you can install on LPT1 just to confirm that your settings are right.
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 02, 2003, 01:10:14 PM
I can test it with a HP 930C (with empty cartridges :( ), but don't know how this lexmark usb printer could cause this errors. Maybe someone else know...
Or maybe is it something in the settings of my bios, I don't know, but I'm going to find out what cause these error.

Thanx,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: Rick on May 02, 2003, 02:46:45 PM
not suggesting that the usb printer would cause a problem, but if you use a parallel printer you can at least eliminate usb, bios issues etc, LPT1 setup is fairly straight forward and at least then you could confirm that you are setting your printer up correctly in the windows enviroment.
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 02, 2003, 03:58:46 PM
I will test that setup this weekend. If that works, I'm sure it has to do with that error (I think :) ).

My regards,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 03, 2003, 10:09:14 PM
Setting up the lexmark (usb) on my XP workstation works perfect, setting up the HP930c (lpt) on my SME server and XP workstation works. Now only the tough part, installing the lexmark on my SME server :)  I think I will leave it this way.

Thanks for your help Rick,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: Rick on May 04, 2003, 08:16:58 AM
Getting the HP working on your server confirms that you have your settings correct, do you get any usb related errors on screen when the system first boots at all? I have seen some issues with usb and various flavours of linux which often turned out to be motherboard and or bios related. Updating your bios can sometimes help, what model motherboard are you using?
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 04, 2003, 01:46:03 PM
I'm using a SuperMicro DBE6 (if i got the model number right :) ) Dual P2/P3 board, 256MB Ram, 10GB HDD. I never had any errors on it before when using Windows or RH8 . Only my SME server gives a error, although the usb is started normally with all processes while booting (I get an "OK" while booting and starting USB)

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: Rick on May 04, 2003, 04:16:10 PM
Did you ever run the usb printer on this machine when you had RH8 installed? also how about the bios version
Title: Re: SME 5.6, How to get an usb printer to work
Post by: molski on May 06, 2003, 12:46:45 AM
No I have not tried the printer on RH8 (didn't bought the printer yest at that time :) ). For my board I got a rev. 3 bios. Looked on the manufacturer's site for an update, but there isn't. I think that my lexmark is just a problem printer for RH7 systems :)  I can try to let the HP (which is now connected to lpt) run with an USB cable, but I think I won't try anymore. This just will be some of those damn problems I don't understand :)  I will get some new cartridges for the HP and after that everything is working the way it should. In will try to install the HP with an USB cable, when I got some more time and when I am in a good mood :)

Rick Thanks,

Molski
Title: Re: SME 5.6, How to get an usb printer to work
Post by: jan on September 01, 2003, 02:02:35 AM
i've got the same problem with an Epson Stylus C44UX
He works fine on a WIN98 system but with the same computer working as a E-smith server i can't get the printer working.

Yours sincerly

jan