Opened 18 years ago

Last modified 17 years ago

#1236 closed bug

Intel 82801FB USB Controllers: BIOS Legacy USB Support: ON disables publishing USB2 devices. — at Initial Version

Reported by: siarzhuk Owned by: mmlr
Priority: normal Milestone: R1
Component: Drivers/USB Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

1) The laptop PC with following USB Controller was tested:

V 8086 Intel Corporation D 2658 82801FB (ICH6) USB UHCI Controller 1 D 2659 82801FB (ICH6) USB UHCI Controller 2 D 265A 82801FB (ICH6) USB UHCI Controller 3 D 265B 82801FB (ICH6) USB UHCI Controller 4 D 265C 82801FB (ICH6) USB 2.0 EHCI Controller

2) Tested system has "Legacy USB Support" settings in BIOS. There are two possible states for this option: Enabled and Disabled.

3) Terminal command

ls /dev/bus/usb/ -alR

was used to check the fact of publishing device under corresponding directory in /dev hierarchy.

4) Terminal command

usb_dev_info /dev/bus/usb/N/M

was used to obtain USB device information. The "N" and "M" are corresponding subdirectory and file names of the device entry.

5) Two syslog files attached to this bug report. First one was acquired with disabled BIOS Legacy USB Support option, second one was acquired with enabled option.

6) Haiku revision used during this tests: 21181

The Test I:

Haiku was booted with _disabled_ BIOS "Legacy USB support". Two USB2 mass storage devices were plugged in before the system boot.

a)I use "ls" to check the device publishing and usb_dev_info to be sure that both mass storage device are published. All was OK.

b) I have plugged one of devices out. Checked device entry with "ls" - it was still displayed, tried to obtain device information with "usb_dev_info" - it failed with "cannot open" message.

c) I plugged this device in the _same_ port. Checked with "ls" - it is here. Checked with "usb_dev_info" - correct information displayed.

d) Plugged this device out and plug it into _another_ port. Checked with "ls" - device entry not changed. Checked it with "usb_dev_info" - failed with "cannot open". Tried to get "usb_dev_info" for other possible dev entries on this controller (from 0 to 7) - nothing found.

The Test II

Haiku was booted with _enabled_ BIOS "Legacy USB support". One USB2 mass storage device with another USB1 mass storage device were plugged in before booting Haiku.

a)I use "ls" to check the device publishing and usb_dev_info to be sure that both mass storage device are published. Only USB1 device was found. USB2 device was not published.

b)I tried to plug USB2 device out and plug it into the same port. Nothing published under /dev. Tried to replug it into another port - nothing. Note that syslog contains corresponding "pipe changed" notifications for USB2 device!

c) The "non-working plug in notifications" issue from Test I is also observed with USB1 device in this test.

The PROBLEM: Looks like BIOS "Legacy USB Support" option has negative effect on Haiku´s USB stack on tested system. In case this option is enabled - USB2 devices are not published in /dev hierarchy. Only USB1 are published. Unfortunately I have no possibility to check this from real driver at this time - only "ls"-check was performed.

NOTES: Mentioned "non-working plug in notify" problem looks like not related to this BIOS "legacy USB" option. May be I should post it as another bug report?

Change History (2)

by siarzhuk, 18 years ago

Attachment: syslog-legacy-off added

acquired with BIOS "Legacy USB Support" option DISABLED

by siarzhuk, 18 years ago

Attachment: syslog-legacy-on added

acquired with BIOS "Legacy USB Support" option ENABLED

Note: See TracTickets for help on using tickets.