[Banshee-List] Two unsupported MP3 players...i-Station and Lexar



I am looking for the info. I need to put into:

/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi

for two USB MP3 players:

- Lexmar JumpDrive 128 MB
- i-Station model i2-DS2GK 20 GB

The output from lsusb is as follows:

Bus 001 Device 006: ID 16b4:0101
Bus 001 Device 004: ID 05dc:4d12 Lexar Media, Inc.
Bus 001 Device 003: ID 045e:00b9 Microsoft Corp.
Wireless Optical Mouse 3.0
Bus 001 Device 002: ID 05e3:0604 Genesys Logic, Inc.
USB 1.1 Hub
Bus 001 Device 001: ID 0000:0000

with the i-Station being the 16b4:0101 device.

The entries I came up with for:

/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
  

appear to be wrong:

       <!-- Lexar -->
        <match
key="@storage.physical_device:usb.vendor_id" 
int="0x05dc">
          <!-- Jumpdrive Player 128MB -->
          <match
key="@storage.physical_device:usb.product_id"
int="0x4d12">
            <append key="info.capabilities" 
type="strlist">portable_audio_player</append>
            <merge key="info.category"
type="string">portable_audio_player</merge>
            <merge key="portable_audio_player.type"
type="string">generic</merge>
            <merge
key="portable_audio_player.access_method"
type="string">storage</merge>
            <merge
key="portable_audio_player.storage_device"
type="copy_property">info.udi</merge>
            <append
key="portable_audio_player.output_formats"
type="strlist">audio/mpeg</append>
            <append
key="portable_audio_player.output_formats"
type="strlist">audio/x-ms-wma</append>
            <append
key="portable_audio_player.input_formats"
type="strlist">audio/x-wav</append>
          </match>
        </match>

        <!-- Digital Cube -->
        <match
key="@storage.physical_device:usb.vendor_id"
int="0x16b4">
          <-- iStation i2-DS2GK -->
          <match
key="@storage.physical_device:usb.product_id"
int="0x0101">
            <append key="info.capabilities"
type="strlist">portable_audio_player</append>
            <merge key="info.category"
type="string">portable_audio_player</merge>
            <merge key="portable_audio_player.type"
type="string">generic</merge>
            <merge
key="portable_audio_player.access_method"
type="string">storage</merge>
            <merge
key="portable_audio_player.storage_device"
type="copy_property">info.udi</merge>
            <append
key="portable_audio_player.output_formats"
type="strlist">audio/mpeg</append>
            <append
key="portable_audio_player.output_formats"
type="strlist">audio/x-ms-wma</append>
            <append
key="portable_audio_player.input_formats"
type="strlist">audio/x-wav</append>
          </match>

Attached is the first part hal-device list (which I
hope covers all the key bits, if not let me know and I
will e-mail the rest).

Other bits, I am running this on Debian Etch and under
KDE.

Suggestions?

Thanks.

Colin McGregor




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]