#2365 BLOC Trial-2: no devices with the volume capacity are created by hal on usb stick insertion

Zarro Boogs per Child bugtracker at laptop.org
Sat Jul 28 09:34:16 EDT 2007


#2365: no devices with the volume capacity are created by hal on usb stick
insertion
----------------------+-----------------------------------------------------
  Reporter:  tomeu    |       Owner:  marco  
      Type:  defect   |      Status:  new    
  Priority:  blocker  |   Milestone:  Trial-2
 Component:  distro   |     Version:         
Resolution:           |    Keywords:         
  Verified:  0        |  
----------------------+-----------------------------------------------------
Comment (by marco):

 Looks like HAL is assuming that, when it gets the udev event, sysfs
 already contains the new device information. That's not the case though,
 apparently sysfs is updated *after* the event with several USB disks. Is
 the HAL assumption correct and so is this an udev/kernel problem?

 To confirm it I tried to put a sleep(5); in HAL before reading sysfs and
 indeed that makes stuff work.

-- 
Ticket URL: <http://dev.laptop.org/ticket/2365#comment:8>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list