Public bug reported:

Binary package hint: hal-info

The Samsung YP-S2 doesn't get recognised as digital audio player.

Description:    Ubuntu 8.10
Release:        8.10

hal-info:
  Installiert: 20081124-0ubuntu1~intrepid
  Kandidat: 20081124-0ubuntu1~intrepid
  Versions-Tabelle:
 *** 20081124-0ubuntu1~intrepid 0
        500 ftp://local intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     20081013-0ubuntu3 0
        500 ftp://local intrepid/main Packages

I have created a little patch so that the YP-S2 gets recognised as DAP.

lsusb:
Bus 007 Device 009: ID 04e8:5095 Samsung Electronics Co., Ltd

lshal:
udi = '/org/freedesktop/Hal/devices/usb_device_4e8_5095_E6E0F712AFF00000'
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_409_58_noserial'  
(string)
  info.product = 'YP-S2'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/usb_device_4e8_5095_E6E0F712AFF00000'  (string)
  info.vendor = 'Samsung Electronics Co., Ltd'  (string)
  linux.device_file = '/dev/bus/usb/007/010'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/7-2.3'  
(string)
  usb_device.bus_number = 7  (0x7)  (int)
  usb_device.can_wake_up = false  (bool)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 544  (0x220)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 10  (0xa)  (int)
  usb_device.linux.sysfs_path = 
'/sys/devices/pci0000:00/0000:00:1d.7/usb7/7-2/7-2.3'  (string)
  usb_device.max_power = 500  (0x1f4)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'YP-S2'  (string)
  usb_device.product_id = 20629  (0x5095)  (int)
  usb_device.serial = 'E6E0F712AFF00000'  (string)
  usb_device.speed = 480.0 (480) (double)
  usb_device.vendor = 'Samsung Electronics Co., Ltd'  (string)
  usb_device.vendor_id = 1256  (0x4e8)  (int)
  usb_device.version = 2.0 (2) (double)

I hope I did everything right, I was not sure about this line
<append key="portable_audio_player.input_formats" 
type="strlist">audio/x-wav</append>
I couldn't understand for what it should be good, as it seems many players have 
it but for me it doesn't make sense.
So I haven't copied it for the YP-S2.

File Format Supported    MP3, WMA, OGG

I have tested this patch with Rhythmbox and Banshee, as far as I can
tell everything seems to work like it should.

** Affects: hal-info (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: hal-info (Fedora)
     Importance: Unknown
         Status: Confirmed

-- 
Samsung YP-S2 player not recognised as digital audio player
https://bugs.launchpad.net/bugs/331538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to