2007-12-09 06:14:18

by Gene Heskett

[permalink] [raw]
Subject: usb regression in 2.6.24-rc4

Greetings guys & gals;

This was sent about an hour ago to the usb-devel list also.
-------------
Just a few minutes ago I needed to make use of my scanner, an Epson 1250u.

Firing up xsane, the usual select the device menu window didn't show, and it
went straight to my tv card as the only input device.

I couldn't recall the name of the tool that scans for scanners that's in the
sane package, or should be, so I then did an lsusb, but got an empty result!

Unplugging the usb cable from the scanner, then reconnecting the usb cable got
me the usual disconnect and connect messages in the log, but xsane still
couldn't find it.

So I rebooted to 2.6.24-rc4 again, same result. lsusb still gave an empty
result. The two kernels were generated from the same .config as far as I
know. The -rc3 .config was fed to a "make oldconfig" to make
the -rc4 .config as is the usual practice.

So I then rebooted to 2.6.24-rc3, and it all works again. I got the scanning
done and the pix sent on their merry way.

Anybody have a suggestion of what to check, or maybe a patch to revert? Or
a .config option that needs to be enabled?

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Nothing is impossible for the man who doesn't have to do it himself.
-- A.H. Weiler


2007-12-09 06:36:19

by bob

[permalink] [raw]
Subject: RE: usb regression in 2.6.24-rc4

Hi. Just a quick reply. Is /proc/bus/usb empty? Is there no symlink
named devices (and so you can't cat devices to see what is there)?
Also, (if /proc/bus/usb is empty), is /dev/bus/usb/devices not empty?
(When you cat devices does it list usb devices you have plugged in?) If
so, then that's the problem I'm having. Its very similar to yours,
xsane points to the tv card only (not the scanner). Something went away
with the recent kernel.

Bob

2007-12-09 07:30:48

by Gabriel C

[permalink] [raw]
Subject: Re: usb regression in 2.6.24-rc4

Gene Heskett wrote:
> Greetings guys & gals;

Hi ,

>
> This was sent about an hour ago to the usb-devel list also.
> -------------
> Just a few minutes ago I needed to make use of my scanner, an Epson 1250u.
>
> Firing up xsane, the usual select the device menu window didn't show, and it
> went straight to my tv card as the only input device.
>
> I couldn't recall the name of the tool that scans for scanners that's in the
> sane package, or should be, so I then did an lsusb, but got an empty result!
>
> Unplugging the usb cable from the scanner, then reconnecting the usb cable got
> me the usual disconnect and connect messages in the log, but xsane still
> couldn't find it.
>
> So I rebooted to 2.6.24-rc4 again, same result. lsusb still gave an empty
> result. The two kernels were generated from the same .config as far as I
> know. The -rc3 .config was fed to a "make oldconfig" to make
> the -rc4 .config as is the usual practice.
>
> So I then rebooted to 2.6.24-rc3, and it all works again. I got the scanning
> done and the pix sent on their merry way.
>
> Anybody have a suggestion of what to check, or maybe a patch to revert? Or
> a .config option that needs to be enabled?
>

Sounds for me like this one :

http://lkml.org/lkml/2007/12/6/409

Gabriel

2007-12-09 13:47:20

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: usb regression in 2.6.24-rc4

On Sunday, 9 of December 2007, Gabriel C wrote:
> Gene Heskett wrote:
> > Greetings guys & gals;
>
> Hi ,
>
> >
> > This was sent about an hour ago to the usb-devel list also.
> > -------------
> > Just a few minutes ago I needed to make use of my scanner, an Epson 1250u.
> >
> > Firing up xsane, the usual select the device menu window didn't show, and it
> > went straight to my tv card as the only input device.
> >
> > I couldn't recall the name of the tool that scans for scanners that's in the
> > sane package, or should be, so I then did an lsusb, but got an empty result!
> >
> > Unplugging the usb cable from the scanner, then reconnecting the usb cable got
> > me the usual disconnect and connect messages in the log, but xsane still
> > couldn't find it.
> >
> > So I rebooted to 2.6.24-rc4 again, same result. lsusb still gave an empty
> > result. The two kernels were generated from the same .config as far as I
> > know. The -rc3 .config was fed to a "make oldconfig" to make
> > the -rc4 .config as is the usual practice.
> >
> > So I then rebooted to 2.6.24-rc3, and it all works again. I got the scanning
> > done and the pix sent on their merry way.
> >
> > Anybody have a suggestion of what to check, or maybe a patch to revert? Or
> > a .config option that needs to be enabled?
> >
>
> Sounds for me like this one :
>
> http://lkml.org/lkml/2007/12/6/409

Yes, http://bugzilla.kernel.org/show_bug.cgi?id=9504 .

Gene, please try the patch at http://lkml.org/lkml/2007/12/7/364

Thanks,
Rafael