* USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
@ 2013-08-29 7:10 Melki Christian (consultant)
2013-08-30 23:17 ` Aleš Nesrsta
0 siblings, 1 reply; 7+ messages in thread
From: Melki Christian (consultant) @ 2013-08-29 7:10 UTC (permalink / raw)
To: grub-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
Hi,
Is there a known problem with these devices in GRUB?
I have a core i7 based Dell Latitude 6430 with an integrated broadcom smart card reader. The devices looks like it is a USB 1.0/1.1 device, probably sitting behind some hub to the EHCI-controller.
As far as I can tell, this machine does not have a companion UHCI controller at all.
GRUB does not detect this device. I had a older machine with the same broadcom smart card reader but sitting on a companion controller UHCI. That worked just fine.
Regards,
Christian
[-- Attachment #2: Type: text/html, Size: 2518 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
2013-08-29 7:10 USB 1.0/1.1 devices on modern machines with only EHCI/XHCI Melki Christian (consultant)
@ 2013-08-30 23:17 ` Aleš Nesrsta
2013-08-31 10:55 ` Aleš Nesrsta
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Aleš Nesrsta @ 2013-08-30 23:17 UTC (permalink / raw)
To: The development of GNU GRUB
Hi,
what do you mean exactly by "GRUB does not detect this device"?
1) Do you mean it is not listed by "usb" command?
2) Or do you mean it is not listed by "ls" command as disk?
In the case 2) it is most probably caused by this: Such device is not
mass storage class device. I.e., it probably needs some additional
special driver.
You can check this by lsusb -v
Mass storage device should have something like this (important are
values in last three rows):
...
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
...
I have Dell Latitude E6500 - there is also smart card reader (connected
directly to UHCI controller) and its interface descriptor unfortunately
looks like this:
...
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 0
bInterfaceProtocol 0
...
Additionally - this smart card reader device is (AFAIK) also usually not
recognized by BIOS (it is not possible to boot from this device - at
least on my notebook).
BR,
Ales
Dne 29.8.2013 09:10, Melki Christian (consultant) napsal(a):
> Hi,
>
> Is there a known problem with these devices in GRUB?
>
> I have a core i7 based Dell Latitude 6430 with an integrated broadcom
> smart card reader. The devices looks like it is a USB 1.0/1.1 device,
> probably sitting behind some hub to the EHCI-controller.
>
> As far as I can tell, this machine does not have a companion UHCI
> controller at all.
>
> GRUB does not detect this device. I had a older machine with the same
> broadcom smart card reader but sitting on a companion controller UHCI.
> That worked just fine.
>
> Regards,
>
> Christian
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
2013-08-30 23:17 ` Aleš Nesrsta
@ 2013-08-31 10:55 ` Aleš Nesrsta
2013-09-02 7:11 ` Melki Christian (consultant)
2013-09-02 8:49 ` Melki Christian (consultant)
2 siblings, 0 replies; 7+ messages in thread
From: Aleš Nesrsta @ 2013-08-31 10:55 UTC (permalink / raw)
To: The development of GNU GRUB
Hi again,
probably did you mean SD card reader instead of smart card reader?
In this case:
1) SD card reader is PCI device, not USB device:
lspci
...
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 21) (prog-if 01)
...
AFAIK, it needs SDHCI PCI driver.
2) Similarly as smart card reader, SD reader is also usually not
recognized by BIOS (it is not possible to boot from this device - at
least on my notebook - but I did not check if there exists some BIOS
settings which can enable another behavior).
BR,
Ales
> Hi,
> what do you mean exactly by "GRUB does not detect this device"?
> 1) Do you mean it is not listed by "usb" command?
> 2) Or do you mean it is not listed by "ls" command as disk?
>
> In the case 2) it is most probably caused by this: Such device is not
> mass storage class device. I.e., it probably needs some additional
> special driver.
> You can check this by lsusb -v
> Mass storage device should have something like this (important are
> values in last three rows):
> ...
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk-Only
> ...
>
> I have Dell Latitude E6500 - there is also smart card reader (connected
> directly to UHCI controller) and its interface descriptor unfortunately
> looks like this:
> ...
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 3
> bInterfaceClass 254 Application Specific Interface
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> ...
>
> Additionally - this smart card reader device is (AFAIK) also usually not
> recognized by BIOS (it is not possible to boot from this device - at
> least on my notebook).
>
>
> BR,
> Ales
>
> Dne 29.8.2013 09:10, Melki Christian (consultant) napsal(a):
>> Hi,
>>
>> Is there a known problem with these devices in GRUB?
>>
>> I have a core i7 based Dell Latitude 6430 with an integrated broadcom
>> smart card reader. The devices looks like it is a USB 1.0/1.1 device,
>> probably sitting behind some hub to the EHCI-controller.
>>
>> As far as I can tell, this machine does not have a companion UHCI
>> controller at all.
>>
>> GRUB does not detect this device. I had a older machine with the same
>> broadcom smart card reader but sitting on a companion controller UHCI.
>> That worked just fine.
>>
>> Regards,
>>
>> Christian
>>
>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
2013-08-30 23:17 ` Aleš Nesrsta
2013-08-31 10:55 ` Aleš Nesrsta
@ 2013-09-02 7:11 ` Melki Christian (consultant)
2013-09-02 8:49 ` Melki Christian (consultant)
2 siblings, 0 replies; 7+ messages in thread
From: Melki Christian (consultant) @ 2013-09-02 7:11 UTC (permalink / raw)
To: The development of GNU GRUB
> Hi,
> what do you mean exactly by "GRUB does not detect this device"?
> 1) Do you mean it is not listed by "usb" command?
> 2) Or do you mean it is not listed by "ls" command as disk?
>
> In the case 2) it is most probably caused by this: Such device is not mass
> storage class device. I.e., it probably needs some additional special driver.
> You can check this by lsusb -v
> Mass storage device should have something like this (important are values in
> last three rows):
> ...
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 2
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk-Only
> ...
>
> I have Dell Latitude E6500 - there is also smart card reader (connected directly
> to UHCI controller) and its interface descriptor unfortunately looks like this:
> ...
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 3
> bInterfaceClass 254 Application Specific Interface
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> ...
>
> Additionally - this smart card reader device is (AFAIK) also usually not
> recognized by BIOS (it is not possible to boot from this device - at least on my
> notebook).
>
>
> BR,
> Ales
Ok. :) Maybe I should explain better. :)
I am not using the Smart Card reader to boot. Just to read cards. :)
I have and am using several Smart Card Readers (not SD card. :)) in GRUB.
They are all USB 2.0.
The Broadcom 5880 that you and I have in our Dell laptops have two interfaces. One proprietary and one standard Smart card.
The Broadcom 5880 is USB 1.0/1.1.
I used to have Dell with a UHCI companion controller and this Broadcom device worked just fine, just like any other smart card reader.
Now I have another Dell (E6430, core i7), _NO_ UHCI companion controller. Just EHCI/XHCI. Most modern machines are like this.
The Broadcom card reader in this machine is still USB 1.0/1.1 is attached through some translating hub.
On this machine, I can not see the Broadcom device in GRUB any more. That's my problem. :)
> Dne 29.8.2013 09:10, Melki Christian (consultant) napsal(a):
> > Hi,
> >
> > Is there a known problem with these devices in GRUB?
> >
> > I have a core i7 based Dell Latitude 6430 with an integrated broadcom
> > smart card reader. The devices looks like it is a USB 1.0/1.1 device,
> > probably sitting behind some hub to the EHCI-controller.
> >
> > As far as I can tell, this machine does not have a companion UHCI
> > controller at all.
> >
> > GRUB does not detect this device. I had a older machine with the same
> > broadcom smart card reader but sitting on a companion controller UHCI.
> > That worked just fine.
> >
> > Regards,
> >
> > Christian
> >
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
2013-08-30 23:17 ` Aleš Nesrsta
2013-08-31 10:55 ` Aleš Nesrsta
2013-09-02 7:11 ` Melki Christian (consultant)
@ 2013-09-02 8:49 ` Melki Christian (consultant)
2013-09-02 19:44 ` Aleš Nesrsta
2 siblings, 1 reply; 7+ messages in thread
From: Melki Christian (consultant) @ 2013-09-02 8:49 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
Sorry Ales,
Here is a lsusb -vvv dump of the E6430 machine.
I meant to include it the first time.
BR,
Christian
[-- Attachment #2: dump.gz --]
[-- Type: application/x-gzip, Size: 2290 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
2013-09-02 8:49 ` Melki Christian (consultant)
@ 2013-09-02 19:44 ` Aleš Nesrsta
2013-09-03 6:22 ` Melki Christian (consultant)
0 siblings, 1 reply; 7+ messages in thread
From: Aleš Nesrsta @ 2013-09-02 19:44 UTC (permalink / raw)
To: The development of GNU GRUB
2.9.2013 10:49, Melki Christian (consultant) wrote:
> Sorry Ales,
>
> Here is a lsusb -vvv dump of the E6430 machine.
> I meant to include it the first time.
According to this file, it looks like Smart card reader is connected in
port 8 at internal USB2 hub Bus 002 Device 002: ID 8087:0024.
Did you try it again with your patch in usbhub.c applied (grub_uint8_t
-> grub_uint32_t)?
I think it should work now (change bit of port 8 is located in second
byte of Hub and Port Status Change Bitmap DWORD, i.e. in part which was
affected by the bug...).
BR,
Ales
>
> BR,
> Christian
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: USB 1.0/1.1 devices on modern machines with only EHCI/XHCI.
2013-09-02 19:44 ` Aleš Nesrsta
@ 2013-09-03 6:22 ` Melki Christian (consultant)
0 siblings, 0 replies; 7+ messages in thread
From: Melki Christian (consultant) @ 2013-09-03 6:22 UTC (permalink / raw)
To: The development of GNU GRUB
Ales,
Yep. The Dell works fine now. :)
I thought it had something to do with missing companion controller.
But it turned out to be the truncation bug.
The Broadcom 5880 works perfectly!
BR,
Christian
> 2.9.2013 10:49, Melki Christian (consultant) wrote:
> > Sorry Ales,
> >
> > Here is a lsusb -vvv dump of the E6430 machine.
> > I meant to include it the first time.
>
> According to this file, it looks like Smart card reader is connected in port 8 at
> internal USB2 hub Bus 002 Device 002: ID 8087:0024.
>
> Did you try it again with your patch in usbhub.c applied (grub_uint8_t
> -> grub_uint32_t)?
> I think it should work now (change bit of port 8 is located in second byte of
> Hub and Port Status Change Bitmap DWORD, i.e. in part which was affected
> by the bug...).
>
> BR,
> Ales
>
> >
> > BR,
> > Christian
> >
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel@gnu.org
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-09-03 6:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29 7:10 USB 1.0/1.1 devices on modern machines with only EHCI/XHCI Melki Christian (consultant)
2013-08-30 23:17 ` Aleš Nesrsta
2013-08-31 10:55 ` Aleš Nesrsta
2013-09-02 7:11 ` Melki Christian (consultant)
2013-09-02 8:49 ` Melki Christian (consultant)
2013-09-02 19:44 ` Aleš Nesrsta
2013-09-03 6:22 ` Melki Christian (consultant)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.