Mailinglist Archive: opensuse-amd64 (302 mails)
| < Previous | Next > |
Re: [suse-amd64] USB storage read 64k problem
- From: Bernd Paysan <bernd.paysan@xxxxxx>
- Date: Thu, 6 Jan 2005 22:51:03 +0000 (UTC)
- Message-id: <200501062350.44043.bernd.paysan@xxxxxx>
On Thursday 06 January 2005 23:03, Matthew Dharm wrote:
> > Since this will probably take some time to do it would be good
> > if you could first put Bernd's patch in, and then later when you
> > really move it move it together with all other exceptions.
> > Otherwise there is a risk that it gets lost.
>
> The only think which it making it take any time is that people keep
> insisting I put it in the kernel. Once we do that, hotplug has
> nothing to do, so they never do anything.
>
> It's only like 3 lines of hotplug script...
For me, it's not obvious where to put it. As far as I can see from the
kernel log, the hotplug mechanism doesn't get involved until after the
kernel has detected the SCSI drive - and then, getting at the USB
vendor&device ID is guesswork (going into /sys/$DEVICE/device/../../..
- is this guaranteed to stay that way?). Maybe if you export the ids
into the SCSI block device sysfs directory, we could talk about 3 lines
of hotplug script.
--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
> > Since this will probably take some time to do it would be good
> > if you could first put Bernd's patch in, and then later when you
> > really move it move it together with all other exceptions.
> > Otherwise there is a risk that it gets lost.
>
> The only think which it making it take any time is that people keep
> insisting I put it in the kernel. Once we do that, hotplug has
> nothing to do, so they never do anything.
>
> It's only like 3 lines of hotplug script...
For me, it's not obvious where to put it. As far as I can see from the
kernel log, the hotplug mechanism doesn't get involved until after the
kernel has detected the SCSI drive - and then, getting at the USB
vendor&device ID is guesswork (going into /sys/$DEVICE/device/../../..
- is this guaranteed to stay that way?). Maybe if you export the ids
into the SCSI block device sysfs directory, we could talk about 3 lines
of hotplug script.
--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/
| < Previous | Next > |