Loading ...
Sorry, an error occurred while loading the content.

Re: [nslu2-linux] Re: SlugAsAudioPlayer (Unslung)

Expand Messages
  • James Dear
    I have no vendor listed either. See below. It does have the 3D sound written prominently on it and generally looks as the wiki describes. But I think mostly
    Message 1 of 39 , Jan 15, 2007
    View Source
    • 0 Attachment
      I have no vendor listed either. See below.  It does have the "3D sound" written prominently on it and generally looks as the wiki describes.

      But I think mostly it is working - when i run madplay, it thinks it is outputting sound, and the usb device flashes as if it is outputting sound, but no sound actually comes out.

      Bus 002 Device 003: ID 1130:f211 
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB              10.01
        bDeviceClass            0 Interface
        bDeviceSubClass         0
        bDeviceProtocol         0
        bMaxPacketSize0         8
        idVendor           0x1130
        idProduct          0xf211
        bcdDevice            1.01
        iManufacturer           0
        iProduct                2 USB  AUDIO 
        iSerial                 0
        bNumConfigurations      1
        Configuration Descriptor:
          bLength                 9
          bDescriptorType         2
          wTotalLength          243
          bNumInterfaces          5
          bConfigurationValue     1
          iConfiguration          0
          bmAttributes         0x80
          MaxPower              500mA
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        0
            bAlternateSetting       0
            bNumEndpoints           0
            bInterfaceClass         1 Audio
            bInterfaceSubClass      1 Control Device
            bInterfaceProtocol      0
            iInterface              0
            AudioControl Interface Descriptor:
              bLength                10
              bDescriptorType        36
              bDescriptorSubtype      1 (HEADER)
              bcdADC               1.00
              wTotalLength           71
              bInCollection           2
              baInterfaceNr( 0)       1
              baInterfaceNr( 1)       2
            AudioControl Interface Descriptor:
              bLength                12
              bDescriptorType        36
              bDescriptorSubtype      2 (INPUT_TERMINAL)
              bTerminalID             1
              wTerminalType      0x0101 USB Streaming
              bAssocTerminal          0
              bNrChannels             2
              wChannelConfig     0x0003
                Left Front (L)
                Right Front (R)
              iChannelNames           0
              iTerminal               0
            AudioControl Interface Descriptor:
              bLength                10
              bDescriptorType        36
              bDescriptorSubtype      6 (FEATURE_UNIT)
              bUnitID                 2
              bSourceID               1
              bControlSize            1
              bmaControls( 0)      0x01
                Mute
              bmaControls( 0)      0x02
                Volume
              bmaControls( 0)      0x02
                Volume
              iFeature                0
            AudioControl Interface Descriptor:
              bLength                 9
              bDescriptorType        36
              bDescriptorSubtype      3 (OUTPUT_TERMINAL)
              bTerminalID             3
              wTerminalType      0x0301 Speaker
              bAssocTerminal          0
              bSourceID               2
              iTerminal               0
            AudioControl Interface Descriptor:
              bLength                12
              bDescriptorType        36
              bDescriptorSubtype      2 (INPUT_TERMINAL)
              bTerminalID             4
              wTerminalType      0x0201 Microphone
              bAssocTerminal          0
              bNrChannels             1
              wChannelConfig     0x0001
                Left Front (L)
              iChannelNames           0
              iTerminal               0
            AudioControl Interface Descriptor:
              bLength                 9
              bDescriptorType        36
              bDescriptorSubtype      6 (FEATURE_UNIT)
              bUnitID                 5
              bSourceID               4
              bControlSize            1
              bmaControls( 0)      0x01
                Mute
              bmaControls( 0)      0x02
                Volume
              iFeature                0
            AudioControl Interface Descriptor:
              bLength                 9
              bDescriptorType        36
              bDescriptorSubtype      3 (OUTPUT_TERMINAL)
              bTerminalID             6
              wTerminalType      0x0101 USB Streaming
              bAssocTerminal          0
              bSourceID               5
              iTerminal               0
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        1
            bAlternateSetting       0
            bNumEndpoints           0
            bInterfaceClass         1 Audio
            bInterfaceSubClass      2 Streaming
            bInterfaceProtocol      0
            iInterface              0
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        1
            bAlternateSetting       1
            bNumEndpoints           1
            bInterfaceClass         1 Audio
            bInterfaceSubClass      2 Streaming
            bInterfaceProtocol      0
            iInterface              0
            AudioControl Interface Descriptor:
              bLength                 7
              bDescriptorType        36
              bDescriptorSubtype      1 (AS_GENERAL)
              bTerminalLink           1
              bDelay                  1 frames
              wFormatTag              1 PCM
            AudioControl Interface Descriptor:
              bLength                11
              bDescriptorType        36
              bDescriptorSubtype      2 (FORMAT_TYPE)
              bFormatType             1 (FORMAT_TYPE_I)
              bNrChannels             2
              bSubframeSize           2
              bBitResolution         16
              bSamFreqType            1 Discrete
              tSamFreq[ 0]        48000
            Endpoint Descriptor:
              bLength                 9
              bDescriptorType         5
              bEndpointAddress     0x01  EP 1 OUT
              bmAttributes            9
                Transfer Type            Isochronous
                Synch Type               Adaptive
              wMaxPacketSize        192
              bInterval               1
              bRefresh                0
              bSynchAddress           0
              AudioControl Endpoint Descriptor:
                bLength                 7
                bDescriptorType        37
                bDescriptorSubtype      1 (EP_GENERAL)
                bmAttributes         0x00
                bLockDelayUnits         0 Undefined
                wLockDelay              0 Undefined
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        2
            bAlternateSetting       0
            bNumEndpoints           0
            bInterfaceClass         1 Audio
            bInterfaceSubClass      2 Streaming
            bInterfaceProtocol      0
            iInterface              0
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        2
            bAlternateSetting       1
            bNumEndpoints           1
            bInterfaceClass         1 Audio
            bInterfaceSubClass      2 Streaming
            bInterfaceProtocol      0
            iInterface              0
            AudioControl Interface Descriptor:
              bLength                 7
              bDescriptorType        36
              bDescriptorSubtype      1 (AS_GENERAL)
              bTerminalLink           6
              bDelay                  1 frames
              wFormatTag              1 PCM
            AudioControl Interface Descriptor:
              bLength                11
              bDescriptorType        36
              bDescriptorSubtype      2 (FORMAT_TYPE)
              bFormatType             1 (FORMAT_TYPE_I)
              bNrChannels             1
              bSubframeSize           2
              bBitResolution         16
              bSamFreqType            1 Discrete
              tSamFreq[ 0]        24000
            Endpoint Descriptor:
              bLength                 9
              bDescriptorType         5
              bEndpointAddress     0x83  EP 3 IN
              bmAttributes            9
                Transfer Type            Isochronous
                Synch Type               Adaptive
              wMaxPacketSize         48
              bInterval               1
              bRefresh                0
              bSynchAddress           0
              AudioControl Endpoint Descriptor:
                bLength                 7
                bDescriptorType        37
                bDescriptorSubtype      1 (EP_GENERAL)
                bmAttributes         0x00
                bLockDelayUnits         0 Undefined
                wLockDelay              0 Undefined
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        3
            bAlternateSetting       0
            bNumEndpoints           1
            bInterfaceClass         3 Human Interface Devices
            bInterfaceSubClass      1 Boot Interface Subclass
            bInterfaceProtocol      1 Keyboard
            iInterface              0
              HID Device Descriptor:
                bLength                 9
                bDescriptorType        33
                bcdHID               1.10
                bCountryCode           33
                bNumDescriptors         1
                bDescriptorType        34 Report
                wDescriptorLength      35
                Report Descriptor: (length is 35)
                  Item(Global): Usage Page, data= [ 0x0c ] 12
                                  Consumer
                  Item(Local ): Usage, data= [ 0x01 ] 1
                                  Consumer Control
                  Item(Main  ): Collection, data= [ 0x01 ] 1
                                  Application
                  Item(Global): Report ID, data= [ 0x03 ] 3
                  Item(Global): Logical Minimum, data= [ 0x00 ] 0
                  Item(Global): Logical Maximum, data= [ 0x01 ] 1
                  Item(Global): Report Size, data= [ 0x01 ] 1
                  Item(Local ): Usage, data= [ 0xe9 ] 233
                                  Volume Increment
                  Item(Local ): Usage, data= [ 0xea ] 234
                                  Volume Decrement
                  Item(Local ): Usage, data= [ 0xe2 ] 226
                                  Mute
                  Item(Local ): Usage, data= [ 0xb5 ] 181
                                  Scan Next Track
                  Item(Local ): Usage, data= [ 0xb6 ] 182
                                  Scan Previous Track
                  Item(Local ): Usage, data= [ 0xcd ] 205
                                  Play/Pause
                  Item(Global): Report Count, data= [ 0x06 ] 6
                  Item(Main  ): Input, data= [ 0x06 ] 6
                                  Data Variable Relative No_Wrap Linear
                                  Preferred_State No_Null_Position Non_Volatile Bitfield
                  Item(Global): Report Count, data= [ 0x02 ] 2
                  Item(Main  ): Input, data= [ 0x01 ] 1
                                  Constant Array Absolute No_Wrap Linear
                                  Preferred_State No_Null_Position Non_Volatile Bitfield
                  Item(Main  ): End Collection, data=none
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x82  EP 2 IN
              bmAttributes            3
                Transfer Type            Interrupt
                Synch Type               none
              wMaxPacketSize          8
              bInterval              10
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        4
            bAlternateSetting       0
            bNumEndpoints           1
            bInterfaceClass         3 Human Interface Devices
            bInterfaceSubClass      0 No Subclass
            bInterfaceProtocol      0 None
            iInterface              0
              HID Device Descriptor:
                bLength                 9
                bDescriptorType        33
                bcdHID               1.10
                bCountryCode           33
                bNumDescriptors         1
                bDescriptorType        34 Report
                wDescriptorLength      25
                Report Descriptor: (length is 25)
                  Item(Global): Usage Page, data= [ 0x01 ] 1
                                  Generic Desktop Controls
                  Item(Local ): Usage, data= [ 0x00 ] 0
                                  Undefined
                  Item(Main  ): Collection, data= [ 0x01 ] 1
                                  Application
                  Item(Global): Report Count, data= [ 0x08 ] 8
                  Item(Global): Report Size, data= [ 0x08 ] 8
                  Item(Global): Logical Minimum, data= [ 0x00 ] 0
                  Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
                  Item(Global): Usage Page, data= [ 0x07 ] 7
                                  Keyboard
                  Item(Local ): Usage Minimum, data= [ 0x00 ] 0
                                  No Event
                  Item(Local ): Usage Maximum, data= [ 0xff 0x00 ] 255
                                  (null)
                  Item(Main  ): Input, data= [ 0x00 ] 0
                                  Data Array Absolute No_Wrap Linear
                                  Preferred_State No_Null_Position Non_Volatile Bitfield
                  Item(Main  ): End Collection, data=none
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x84  EP 4 IN
              bmAttributes            3
                Transfer Type            Interrupt
                Synch Type               none
              wMaxPacketSize          8
              bInterval              10
        Language IDs: (length=4)
           0409 English(US)


      On 14/01/07, w_cross <w_cross@...> wrote:

      Thanks to the person who emailed me to say they have this working with
      nSLUng. This gave me hope that there is something wrong with possibly
      my side.

      James - install the usbutils package and run lsusb -v to see what
      information comes back from your USB device.

      Mine has the vendor information blanked out yet if you look at this
      link (http://www.iamnota.net/hw:yoga-ad-100#kernel_messages) you will
      see that it shows C-Media. Mine does not. On the Wiki it mentions that
      the process works best with this chipset.

      It would be interesting to see what info you get back.

      --- In nslu2-linux@yahoogroups.com, "James Dear" <skubeedooo@...> wrote:
      >
      > Thanks a lot for your help, it is much appreciated.
      >
      > So it seems as though the alsa packages have been made buildable (hence
      > built) for slugos and debianslug, but not unslung. I suppose this is
      > because the people who wanted audio happened to be using slugos, and
      no one
      > using unslung has wanted audio.
      >
      > I guess this means that I'm either going to have to wait for someone
      else to
      > package them, or package them myself. Can I tempt anyone who
      already knows
      > how to do this and already has an account to do it? Pleeeaase :-)
      >
      > Otherwise, can anyone comment on any potential problems I might
      have? The
      > kernel version for unslung is 2.4 (?), so is this going to require I
      get the
      > sources for an old version alsa, or will the compiler take care of all
      > this? Or maybe for some reason I should just try to build the OSS
      driver
      > instead? Where does esound fit in to all this? The packages exist for
      > this, but wikipedia suggests the project is dead, and since i can't
      get it
      > to output any sound, maybe i should just ignore it?
      >
      > James
      >

      > On 11/01/07, Rod Whitby <rod@...> wrote:
      > >
      > > James Dear wrote:
      > > > I think it's just a problem with the packages not being there
      when they
      > > > should. For example if you search for alsa here
      > > > http://ipkgfind.nslu2-linux.org/ you get a lot of packages which
      "ipkg
      > > > install" can't find.
      > >
      > > Correct. It returns all packages for all distributions - it is up to
      > > you to filter that list depending on the single distribution you are
      > > using.
      > >
      > > > I also think (but might be wrong) that slugos uses
      > > > the same packages as unslung, so it's not a distro problem.
      > >
      > > Completely incorrect. Each feed is targetted for a single distribution
      > > and only feeds targetted to your distribution should ever be used with
      > > your distribution.
      > >
      > > Note that there are *no* exceptions to that rule - there is a new
      > > Optware feed being put in place specifically to be able to be run on
      > > SlugOS/BE - but that still obeys the rule, because it is a single feed
      > > (optware/slugosbe) dedicated to a single distribution (SlugOS/BE)
      - you
      > > cannot, for instance, use that feed on the Unslung firwmare.
      > >
      > > > I don't know much about the process of getting packages onto the
      ipkg
      > > > server, so I can't comment as to why they aren't there, and how
      to get
      > > > them there :-(
      > >
      > > All packages that have been designated to build for a certain feed,
      > > appear in that feed. The process of them appearing on the server
      in the
      > > correct feed location is automated.
      > >
      > > -- Rod
      > >
      > >
      >


    • nettsr
      ... installed ... On or ... any ... which ... loaded ... Cool... this is the kind of info I m looking for. Makes perfect sense. ... Definately will do.
      Message 39 of 39 , Apr 11 10:16 PM
      View Source
      • 0 Attachment
        --- In nslu2-linux@yahoogroups.com, Jeroen Massar <jeroen@...> wrote:

        > >>>> Bus 002 Device 018: ID 1130:f211

        > >>> Best I can find is that the vendor is "TENX"... at
        > >>> http://www.tenxnetworks.com/
        > >> OK... Plugged this thing into an OpenSUSE 10.1 machine and
        installed
        > >> the Generic USB driver and I get audio. Volume control is only
        On or
        > >> Off, otherwise it works.
        > >>
        > >> ...so, any ideas how we can make this work on the slug? Is there
        any
        > >> info that I can provide from the SUSE machine?

        > What you need to do on the OpenSUSE box is: "lsmod" this will show
        which
        > modules are loaded. Also check "dmesg" and see what driver gets
        loaded
        > when you plug it in. Doing "lsmod", then plugging the device in, and
        > then "lsmod" again and comparing (lsmod >bla; *plug in*; lsmod
        >bla2;
        > diff bla bla2) will show you which driver it uses.
        >
        > Then just get that driver installed on your slug and off you go...

        Cool... this is the kind of info I'm looking for. Makes perfect sense.

        > http://www.qbik.ch/usb/devices/ doesn't have it listed though.
        > So if it works you might want to add it to that DB.

        Definately will do.
      Your message has been successfully submitted and would be delivered to recipients shortly.