Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8415 - hal does not remove devices completely
Attached to Project:
Arch Linux
Opened by Erwin Van de Velde (evdvelde) - Thursday, 25 October 2007, 14:51 GMT
Last edited by Jan de Groot (JGC) - Friday, 09 May 2008, 12:37 GMT
Opened by Erwin Van de Velde (evdvelde) - Thursday, 25 October 2007, 14:51 GMT
Last edited by Jan de Groot (JGC) - Friday, 09 May 2008, 12:37 GMT
|
DetailsDescription:
when attaching a USB device to your computer (e.g. USB keyboard), it is detected by hal. When you remove the USB device, the device is not completely removed from hal: lshal still shows an entry with the info.udi = '/org/freedesktop/Hal/devices/usb_device_[...]' where [...] contains the device id. This causes problems when removing a device and adding a device of the same type to the same USB port (properties of the first device are kept, e.g. MAC addresses of sensor devices). Additional info: * package version(s) kernel26 2.6.23.1-4 and also tested with 2.6.22.9 hal 0.5.9.1-1 Architectures: i686 and x86_64 Steps to reproduce: Add USB device, check lshal output Remove USB device, check lshal output |
This task depends upon
Closed by Jan de Groot (JGC)
Friday, 09 May 2008, 12:37 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.5.11rc2
Friday, 09 May 2008, 12:37 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.5.11rc2
Evidences:
[jprodrigues@archBOX ~]$ lshal -st > List.begin
[jprodrigues@archBOX ~]$ lshal -st > List.end
[jprodrigues@archBOX ~]$ diff List.begin List.end
79a80,87
> usb_device_930_653d_0E50336123A33961
> usb_device_930_653d_0E50336123A33961_usbraw
> usb_device_930_653d_0E50336123A33961_if0
> usb_device_930_653d_0E50336123A33961_if0_scsi_host
> usb_device_930_653d_0E50336123A33961_if0_scsi_host_scsi_device_lun0
> storage_serial_0930_USB_Flash_Memory_0E50336123A33961_0_0
> volume_uuid_7806_0982
> usb_device_930_653d_0E50336123A33961_if0_scsi_host_scsi_device_lun0_scsi_generic
[jprodrigues@archBOX ~]$ lshal -st > List.afterremove
[jprodrigues@archBOX ~]$ diff List.begin List.afterremove
79a80
> usb_device_930_653d_0E50336123A33961
This causes problems when removing a device and adding a device of the same type to the same USB port (properties of the first device are kept, e.g. MAC addresses of sensor devices).
This is a major problem when working with several devices of the same type, connecting one at the time.