Opened 15 years ago

Closed 15 years ago

#4267 closed bug (fixed)

usb_disk: duplicate device name hides device

Reported by: laplace Owned by: mmlr
Priority: critical Milestone: R1/alpha1
Component: Drivers/USB Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

In drivers/disk/usb/usb_disk/usb_disk.cpp line 756 the current number of devices (gDeviceCount) determines the major part of the device name.

The following scenario should results in duplicate device names, that hide a device.

1) Connect USB disk A to PC -> disk/usb/0/...

2) Connect USB disk B to PC -> disk/usb/1/...

3) Remove USB disk A from PC

4) Connect USB disk A to PC -> disk/usb/1/... is reassigned

Change History (2)

comment:1 by mmlr, 15 years ago

Status: newassigned

Yup.

comment:2 by mmlr, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev32474.

Note: See TracTickets for help on using tickets.