hi, i am trying to debug the situation of an hp officejet g55
connected to one of the onboard usb ports in my spakin' new
asus a7v133. the printer is recognized but there is no way
to print or scan from it (connecting it at the parallel port
works fine both for

i have updated to the latest bios, since people in the asus
newsgroup were indicating that the previous ones were funky.
suposedly, i have tried two bios that "should work well".

so, maybe the problem is in the kernel. i am running a fresh
redhat 7.1 install. i am trying to run the printer drivers from
the hpoj group. when i run them in the parallel port mode they
work fine. when running them with the usb mode, the first indication
that there is something wrong is that open() calls to
the /dev/usb/lp0 return -1 in the ptal-mlcd daemon when someone tries to
use it:

open("/dev/usb/lp0", O_RDWR)            = -1 ENODEV (No such device)

i have tried this with the usb-uhci and the uhci modules and the same thing
happens:

bash# killall -HUP ptal-printd ptal-mlcd
ptal-printd: no process killed
ptal-mlcd: no process killed
bash# lsmod | egrep "usb|printer|Module"
Module                  Size  Used by
printer                 4928   0 
usb-uhci               20720   0  (unused)
usbcore                49664   1  [printer usb-uhci]
bash# ptal-mlcd usb:0 -device /dev/usb/lp0
bash# lsmod | egrep "usb|printer|Module"
Module                  Size  Used by
printer                 4928   0 
usb-uhci               20720   0  (unused)
usbcore                49664   1  [printer usb-uhci]
bash# ptal-devid mlc:usb:0

ptal-mlcd: ERROR at ExMgr.cpp:1974, dev=<usb:0>, pid=2627, errno=19
llioOpen: open failed!
ptalMlcDeviceGetDeviceIDString(dev=usb:0): unsuccessful status=13!
ptalDeviceGetDeviceIDString(dev=mlc:usb:0) failed!
bash# killall -HUP ptal-printd ptal-mlcd
ptal-printd: no process killed
bash# rmmod printer usb-uhci
bash# lsmod | egrep "usb|printer|Module"
Module                  Size  Used by
usbcore                49664   1 
bash# modprobe uhci
bash# lsmod | egrep "usb|printer|Module|uhci"
Module                  Size  Used by
uhci                   22144   0  (unused)
usbcore                49664   1  [uhci]
bash# msg
bash# killall -HUP ptal-printd ptal-mlcd
ptal-printd: no process killed
ptal-mlcd: no process killed
bash# ptal-mlcd usb:0 -device /dev/usb/lp0
bash# ptal-devid mlc:usb:0

ptal-mlcd: ERROR at ExMgr.cpp:1974, dev=<usb:0>, pid=2700, errno=19
llioOpen: open failed!
ptalMlcDeviceGetDeviceIDString(dev=usb:0): unsuccessful status=13!
ptalDeviceGetDeviceIDString(dev=mlc:usb:0) failed!
bash# lsmod | egrep "usb|printer|Module|uhci"
Module                  Size  Used by
uhci                   22144   0  (unused)
usbcore                49664   1  [uhci]
bash# 

- shouldn't the ptal-mlcd process cause the uhci and/or printer
  module to be "in use"? although i believe the driver does not
  talk to the printer unless it is required.

- are there any known issues with this controller?

bash# lspci | igrep usb
00:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
00:04.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
bash# 

- what module should i be using?
- i got the patch form the pat-o-matic in your web site from the kernel
  in the rh7.1 distribution, and things are indeed somewhat ahead in your
  cvs three, though, i am not sure how much.

- are there any tools i could use to figure out this problem?
  (i am 100% new to usb ...)

- is there any way to recompile just the usb modules without having to
  recompile the whole kernel? (make dep; make modules?)

more info (is there any more info i could provide that would be useful?):

bash# cat /proc/bus/usb/devices 
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  5 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=b000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  4 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=b400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
bash# 

i would appreciate any ideas on how to get inside this problem to
figure it out (i would really like to run this printer/scanner with
usb due to performance issues).

thanks in advance,

-carlos
ps: please cc: me in the reply, since i am not in the linux-usb-devel
(but i am in the hpoj-devel).

=====
C. Puchol <[EMAIL PROTECTED]>

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to