Click to See Complete Forum and Search --> : usb hp 7350 printer trouble in SuSE9.1


afaiq
05-20-2004, 10:42 PM
I just upgraded from SuSE9.0 to SuSE9.1. I have an hp photosmart 7350 printer that used to work perfectly in SuS9.0 with the 2.4 stock kernel.
With SuSE9.1, the printer is not detected in YAST. When I look at /proc/bus/usb instead of usual "devices" I see

devices_please-use-sysfs-instead

In this file I see
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=3c02 Rev= 1.00
S: Manufacturer=hp
S: Product=photosmart 7350
S: SerialNumber=MY31M453PZ6N
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=03 Driver=usblp
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp

I can also get the printer to print with the following command:
echo -en "\rHello\r\f" >/dev/usblp0

But I cannot configure the printer through YAST, so it is not available for printing?

I have browsed on G4L which had some comments on problems with usb devices in the 2.6 kernel and suggestions to use noapic during boot, which I tried but it did not help

afaiq
05-20-2004, 10:47 PM
also, all the relevant usb modules appear to be loaded. lsmod shows

uhci_hcd 29584 0
usbserial 28912 0
usblp 12032 0
usbcore 96988 6 usbserial,hid,usblp,uhci_hcd

mdwatts
05-21-2004, 11:52 AM
Using CUPS? Is the cups service active?

ps ax | grep cups

Look for cups or cupsd.

Tried configuring with the CUPS interface? http://localhost:631

afaiq
05-21-2004, 10:05 PM
Originally posted by mdwatts
Tried configuring with the CUPS interface? http://localhost:631

I was able to set up the printer using CUPS - thank you mdwatts - although it took a while to figure out the userid and password for admin - I used the following command to set up the admin userid:

lppasswd -g sys -a <username>

mdwatts
05-22-2004, 11:09 AM
Originally posted by afaiq
I was able to set up the printer using CUPS - thank you mdwatts.

It took a while to figure out the userid and password for admin - I used the following command to set up the admin userid:

lppasswd -g sys -a <username>

So the printer is now working? Well done!!

I forgot about that lppasswd command as I found that back when I was setting up a network printer at the office with SuSE 9.0 and I couldn't get the CUPS web admin to work. Searched the SuSE knowledgebase and found the solution. :)