"requires_eject" property doesn't work for Nokia 770
Bug #24399 reported by
Crispin Flowerday
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Invalid
|
Medium
|
Martin Pitt |
Bug Description
I have a Nokia 770 internet tablet, which can connect to the computer via a USB
cable, and when it does so, it exposes the RS-MMC card to the computer.
There was a patch added to the Ubuntu HAL in 0.5.3-0ubuntu8 which always sets
the "storage.
nautilus to display an error dialog when the volume is unmounted:
--
Unable to eject media
eject: unable to eject, last error: Invalid argument
--
To post a comment you must log in.
I managed to work around this using the following XML, which I put in hal/fdi/ policy/ 10osvendor/ 20-nokia770. fdi
/usr/share/
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> requires_ eject" type="bool" >false< /merge>
<deviceinfo version="0.2">
<!-- Don't eject the Nokia 770 -->
<device>
<match key="info.category" string="storage">
<match key="storage.bus" string="usb">
<match key="storage.model" string="770">
<merge key="storage.
</match>
</match>
</match>
</device>
</deviceinfo>