On Wed, Dec 24, 2003 at 09:52:31AM -0200, Claudemir Todo Bom wrote:
> I've just received my new home stereo, it's a Philips MC-M570, it have
> an USB port and provides some functionalities to it.
> 
> Under windows I can:
>         * use it like a PCM soundcard, without mixer controls;
>         * command the player application (MusicMatch Jukebox) with the
>           remote control of the stereo;
>         * see the song title that MusicMatch is playing on the stereo's
>           display.
> 
> On Linux, when I plug it in, usb hotplug loads the 'hid' and
> 'snd-usb-audio' drivers, the audio driver creates an /dev/sound/unknown
> device (i'm using devfs), and this device works like /dev/dsp, and works
> well. (I think that someone can update the web pages to show that this
> works, and probably other gadgets from the same line from philips).
> 
> I'm looking for help on getting the other functionalities (remote
> control and song titles). I suppose that this funcionalities is provided
> by the HID it installs, but the hid driver didn't place any working
> device under /dev, it creates the directory /dev/usb/hid/ but it's
> empty.
> 
> I'm not a very good developer, but I think I can do this if I get the
> right help, and this must be the right place to get this help.
> 
> Here is the /proc/bus/usb/devices lines that referer to this gadget:
> 
> ---cut-here---
> T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0471 ProdID=0110 Rev= 4.02
> S:  Manufacturer=Philips
> S:  Product=UAC3553B
> C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
> I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=01(O) Atr=09(Isoc) MxPS= 100 Ivl=1ms
> I:  If#= 1 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=01(O) Atr=09(Isoc) MxPS= 200 Ivl=1ms
> I:  If#= 2 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=hid
> E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=8ms
> ---cut-here---

So there is no vendor-specific interface - that's good.  However,
there might be some vendor-specific HID usages :(

First you need to get the report descriptor for this device.  You
can use lsusb for this:

  rmmod hid;  lsusb -vv >lsusb.log;  modprobe hid

If you have an USB keyboard, you will need to give these commands on
a single line, because the hid module controls the USB keyboard too,
so if you just unload it, the keyboard will stop working.  With the
hid module loaded, lsusb is unable to get the HID report descriptor.

Then post the lsusb output here (only the part which corresponds to
this device) - probably someone will be able to help.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to