On Fri, 28 Jul 2006, Alejandro Riveira Fernández wrote:

> > > 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
> > 
> > This is what show up when you turn the printer on.  It looks like 
> > everything is working normally.
> 
> This appears when i turn the printer off...

Maybe you should go back and check that more carefully.  For example, try 
plugging and unplugging the printer's USB cable instead of turning it on 
or off.  It's not possible for that information, or the printer 
information in /proc/bus/usb/devices, to show up when the printer is off.

> > > 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
> > 
> > Are you certain this patch is responsible?  That is, if you remove the 
> > patch does everything then work correctly?
> 
> Yes, as far as i can tell i used git bisect correctly.

That isn't what I asked.  Even if you use "git bisect" correctly, you 
can't necessarily believe what it tells you.  Try removing that patch by 
hand and see if the behavior changes.

> > This really appears to be a problem with ubuntu, not with the kernel.  
> > Have you tried asking on an ubuntu mailing list?
> 
>  Well i come to think that maybe is a HAL problem. I have just read a
> blog entry by HAL mantainer saying that i has just released a new
> version of HAL with patches by Kay Sievers to make it work again with
> kernels newer than 2.6.17.

That certainly could explain part of your problem.

>  Sorry to waste your and the list time with an userspace issue.
> 
>  Anyway i think it is sad that people like me are prevented to test
> newer kernels due to problems with Hal, udev, and the like...

To some extent it's unavoidable.  Those programs have to interact so 
closely with the internal parts of the kernel that they can easily be 
messed up when the kernel is updated.  Some people think they should be 
distributed along with the kernel.

Alan Stern


-------------------------------------------------------------------------
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