[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #26237] multiple problems with usb devices

From: Ales Nesrsta
Subject: [bug #26237] multiple problems with usb devices
Date: Fri, 12 Mar 2010 22:38:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i586; cs-CZ; rv: Gecko/2010021720 Iceweasel/3.0.6 (Debian-3.0.6-3)

Follow-up Comment #5, bug #26237 (project grub):


booting from OHCI is working now (slowly but probably safely).
I attached the patch grub2-1.98~my_patched.20100312.patch related to
grub2-1.98~experimental.20100120 source tarball.

Changed files:
ohci.c (memory align problem, change of HW handling)
usbtrans.c (some changes and maybe important comment)
scsi.c (new commands)
usbms.c (some changes in initialization and bulk operations)
scsicmd.h (new commands)
usbtrans.h (bad code of USB command)

There was these main problems/changes:
Probably not correct handling of OHCI HW.
Memory for HCCA was sometimes not aligned to 0x100 (!???)
Handling of bulk transfers
Some bad USB codes.
As I read in linux sources, many devices have problem if Request Sense
command is not used after any SCSI command.

Still remains - to do:
Possibly bad handling of toggle bit.
Wasting of memory in bulk transfers (only 64 bytes per TD).

It is written in my comment in usbtrans.c.
Maybe I try to do it but I am not sure if I will have sufficient time now.

As I changed code which is probably used also for another devices (at least
for UHCI USB mass storage) and maybe affects
another parts of grub code, these changes should be tested on
affected devices - but I cannot do it...

With regards

(file #19924)

Additional Item Attachment:

File name: grub2-1.98~my_patched.20100312.patch Size:49 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]