El vie, 21-07-2006 a las 13:43 -0400, Alan Stern escribió:

I apologize for responding this late but i ddn't have time for this the
las week. Sorry

> On Fri, 21 Jul 2006, Alejandro Riveira Fernández wrote:
> 
> > Hi,
> > 
> > I'm having problems with usb and lastest 2.6.18-rc kernels. lsusb does
> > not give any output although the usb harware seems to work properly. The
> > usb mouse and speedtouch modem do work but cups does not recognize my hp
> > printer.
> 
> What does /proc/bus/usb/devices show?  Note that you may need to mount 
> /proc/bus/usb before you can see anything:
> 
>       mount -t usbfs usbfs /proc/bus/usb

Yes, I did have to mount it manually... extrange becouse it did get
mounted automatically in prior kernels (2.6.17.2).
for the record i'm using ubuntu dapper. the output of the following
command is with an 2.6.18-rc2 kernel (debug_usb is not set)

$ cat /proc/bus/usb/devices


T:  Bus=06 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:0a.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=256ms

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:11.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 93/900 us (10%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=0000:00:11.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0458 ProdID=002e Rev= 0.00
S:  Manufacturer=KYE
S:  Product=NetScroll+ Traveler
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:0a.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:0a.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=1904 Rev= 1.00
S:  Manufacturer=Hewlett-Packard
S:  Product=DeskJet 3820
S:  SerialNumber=CN32J1C20K18
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:0a.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 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=   2 Ivl=255ms


> 
> Try turning on CONFIG_USB_DEBUG and rebuilding the kernel.  What shows up 
> in the dmesg log when you turn on the HP printer?

Nothing shows up when I turn on the printer only when i turn it off:

Jul 28 02:38:07 localhost kernel: usb 2-1: USB disconnect, address 3
Jul 28 02:38:07 localhost kernel: drivers/usb/class/usblp.c: usblp0: removed
Jul 28 02:38:08 localhost kernel: ohci_hcd 0000:00:0a.1: wakeup
Jul 28 02:38:08 localhost kernel: usb 2-1: new full speed USB device using 
ohci_hcd and address 4
Jul 28 02:38:09 localhost kernel: usb 2-1: Product: DeskJet 3820
Jul 28 02:38:09 localhost kernel: usb 2-1: Manufacturer: Hewlett-Packard
Jul 28 02:38:09 localhost kernel: usb 2-1: SerialNumber: CN32J1C20K18
Jul 28 02:38:09 localhost kernel: usb 2-1: configuration #1 chosen from 1 choice
Jul 28 02:38:09 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB 
Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x1904


=================================



I have used git bisect to pin down the bad commit. Both problems: lsusb
not showing anything due to usbfs not getting mounted automatically and
the printer not working[1] appear with the following commit:

c182274ffe1277f4e7c564719a696a37cacf74ea is first bad commit
commit c182274ffe1277f4e7c564719a696a37cacf74ea
Author: Greg Kroah-Hartman <[EMAIL PROTECTED]>
Date:   Mon Jun 19 23:59:31 2006 -0700

    [PATCH] USB: move usb_device_class class devices to be real devices
    
    This moves the usb class devices that control the usbfs nodes to show up
    in the proper place in the larger device tree.
    
    No userspace changes is needed, this is compatible due to the symlinks
    generated by the driver core.
    
    Cc: Kay Sievers <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

:040000 040000 879a23a817afb7237bb79a24d2b80ebf66ec52cd 
a9f43bad474a0d1877db24a11282427e863a2718 M      drivers
:040000 040000 167350de305feb4e79d2656f00b28475461405ce 
e2957848b084cce6cbab275d636ee8685ddbd789 M      include



> 
> Alan Stern
> 
Thanks for your time
Alejandro,

[1] It does not show up in the gnome cups configuration tool as local
printer.



PD: i'm spanish so sorry for the mistakes i surely did in this mail
-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to