Sony Walkman NWD-B105 patch

Bug #231470 reported by mihai.ile on 2008-05-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hal-info (Ubuntu)
Undecided
Martin Pitt

Bug Description

Binary package hint: hal

Hello.
My mp3 device (Sony Walkman NWD-B105 http://www.sony.pt/view/ShowProduct.action?product=NWD-B105&productsku=NWDB105B.CE7&site=odw_pt_PT&pageType=TechnicalSpecs&imageType=Main&category=NWS+B+Series#tab) when inserted into the usb slot, gets recognized as a generic USB Flash Disk, instead as a Media Player.

It is a normal mp3 player that has a "Music" folder where you put all mp3's.
By looking on the net Ifound that this has to do with HAL and i spent my time on making my device to work.
I checked on HAL website and their last version does not include my player.

Now it works great, it is detected by rhythmbox, I am able to transfer(from-to)/play files from the mp3 player.

mihai007@mihai007-laptop:~$ lsusb
Bus 005 Device 003: ID 054c:0317 Sony Corp.

mihai007@mihai007-laptop:~$ hal-device
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_FFFF_9BC3'
  volume.ignore = false (bool)
  storage.model = '' (string)
  org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = { 'ssas', 'as', 'as' } (string list)
  org.freedesktop.Hal.Device.Volume.method_argnames = { 'mount_point fstype extra_options', 'extra_options', 'extra_options' } (string list)
  linux.hotplug_type = 3 (0x3) (int)
  org.freedesktop.Hal.Device.Volume.method_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string list)
  volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'utf8', 'shortname=', 'codepage=', 'iocharset=', 'umask=', 'dmask=', 'fmask=', 'uid=', 'flush' } (string list)
  info.product = 'Volume (vfat)' (string)
  volume.unmount.valid_options = { 'lazy' } (string list)
  info.udi = '/org/freedesktop/Hal/devices/volume_uuid_FFFF_9BC3' (string)
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SONY_WALKMAN_0002FF44E57200070002FF44E5754781_0_0' (string)
  volume.fstype = 'vfat' (string)
  volume.fsusage = 'filesystem' (string)
  volume.fsversion = 'FAT32' (string)
  volume.uuid = 'FFFF-9BC3' (string)
  volume.label = '' (string)
  volume.mount_point = '/media/disk' (string)
  volume.is_mounted = true (bool)
  volume.is_mounted_read_only = false (bool)
  info.capabilities = { 'volume', 'block' } (string list)
  info.category = 'volume' (string)
  volume.linux.is_device_mapper = false (bool)
  volume.is_disc = false (bool)
  volume.is_partition = true (bool)
  volume.partition.number = 1 (0x1) (int)
  info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
  volume.block_size = 2048 (0x800) (int)
  linux.sysfs_path = '/sys/block/sdb/sdb1' (string)
  volume.num_blocks = 3883800 (0x3b4318) (int)
  info.parent = '/org/freedesktop/Hal/devices/storage_serial_SONY_WALKMAN_0002FF44E57200070002FF44E5754781_0_0' (string)
  volume.size = 1988505600 (0x76863000) (uint64)
  block.device = '/dev/sdb1' (string)
  volume.partition.start = 102400 (0x19000) (uint64)
  block.major = 8 (0x8) (int)
  volume.partition.media_size = 1988624384 (0x76880000) (uint64)
  block.minor = 17 (0x11) (int)
  volume.partition.scheme = 'mbr' (string)
  block.is_volume = true (bool)
  volume.partition.type = '0x0b' (string)
  volume.partition.label = '' (string)
  volume.partition.uuid = '' (string)
  volume.partition.flags = { 'boot' } (string list)

The only file I edited was:
/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi

I need help from someone to commit this changes so other people could use this Sony mp3 player.
(I am using Latest ubuntu 8.04 updated)

mihai.ile (mihai.ile) on 2008-05-18
description: updated
description: updated
Martin Pitt (pitti) wrote :

Committed to my local hal-info git checkout, sent to upstream, waiting for their ack. Will upload to Ubuntu soon.

Changed in hal-info:
assignee: nobody → pitti
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hal-info - 20081001-0ubuntu1

---------------
hal-info (20081001-0ubuntu1) intrepid; urgency=low

  * New upstream snapshot with updated hardware data.
    - Add Lyra TH1100A music player. (LP: #213636)
    - Add Sony Walkman NWD-B105. (LP: #231470)
    - Add Samsung Q45 special keys. (LP: #212790)
  * Grabbed a bunch of Nokia/LG mobile modem FDIs contributed in Launchpad,
    cleaned them up, committed them upstream, add them as
    debian/patches/00upstream_mobile_modems.patch for now.
    (LP: #257045, #257725, #258197, #259041, #268482, #274952)
  * Drop 03_latitude_xt_tablet_keys.patch, upstream now.

 -- Martin Pitt <email address hidden> Thu, 02 Oct 2008 20:27:57 +0200

Changed in hal-info:
status: Fix Committed → Fix Released
Dan Munckton (munckfish) wrote :

It seems there's more than one type of NWD-B105: I have a NWD-B105F with product id 0x31a.

@mihai007 could you confirm the full model number from the back of yours? Then I'll prepare a patch to add in support for mine too.

Thanks

mihai.ile (mihai.ile) wrote :

Well that's strange, mine only says NWD-B105, it's white and is the 2GB version (see attachment)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers