Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#11 Dell Pocket DJ ID information

closed
Linus Walleij
None
5
2014-08-17
2004-12-25
Anonymous
No

Hello,
I Just got my Dell Pocket DJ, and I thought that it
would work with the Gnomad2 app along with libnjb.
Found out it doesn't.
I searched your mailing list and found out someone was
looking for the Pocket DJ ID so it can be added to your
project.
Here is the information from lsusb -v
I hope this helps getting support for the Dell Pocket DJ

Thanks
--Patrick Walsh
pjtj2000@cox-internet.com

Bus 002 Device 002: ID 041e:4127 Creative Technology, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x041e Creative Technology, Ltd
idProduct 0x4127
bcdDevice 0.01
iManufacturer 1 Creative Technology
iProduct 2 Dell Pocket DJ
iSerial 3 010125512B038C2E
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 Media
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 5 PDE1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
Usage Type Data
wMaxPacketSize 0x0040 bytes 64 once
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
Usage Type Data
wMaxPacketSize 0x0040 bytes 64 once
bInterval 0
Language IDs: (length=4)
0409 English(US)

Discussion

  • Logged In: NO

    Here are the diff files for base.c, libnjb.h, and njbusb.h
    to get the DELL POCKET DJ to work with gnomad2.
    # diff base.c base.c.new
    164a165,173
    > if ( device->descriptor.idVendor
    == DELLDJPOCKET_VENDOR_ID
    > &&
    device->descriptor.idProduct ==
    > DELLDJPOCKET_PRODUCT_ID ) {
    > njbs[found].device = device;
    > njbs[found].dev = NULL;
    > njbs[found].device_type =
    NJB_DEVICE_DELLDJPOCKET;
    > found ++;
    > }
    >
    diff njbusb.h njbusb.h.new
    40a41,43
    > #define DELLDJPOCKET_VENDOR_ID 0x041e
    > #define DELLDJPOCKET_PRODUCT_ID 0x4127
    >
    54c57,58
    < t == NJB_DEVICE_DELLDJ2 )
    ---
    > t == NJB_DEVICE_DELLDJ2 || \ > t == NJB_DEVICE_DELLDJPOCKET)
    66c70,71
    < t == NJB_DEVICE_DELLDJ2 )
    ---
    > t == NJB_DEVICE_DELLDJ2 || \ > t == NJB_DEVICE_DELLDJPOCKET)

    # diff libnjb.h libnjb.h.orig
    62d61
    < #define NJB_DEVICE_DELLDJPOCKET 0x0b /**< Dell Pocket DJ */

    Thanks,
    Dave Hopson
    dhopson@nc.rr.com

     
  • Logged In: NO

    Here are the diff files to get gnomad2 to work with the Dell
    Pocket DJ
    # diff base.c base.c.orig
    165,173d164
    < if ( device->descriptor.idVendor
    == DELLDJPOCKET_VENDOR_ID
    < &&
    device->descriptor.idProduct ==
    < DELLDJPOCKET_PRODUCT_ID ) {
    < njbs[found].device = device;
    < njbs[found].dev = NULL;
    < njbs[found].device_type =
    NJB_DEVICE_DELLDJPOCKET;
    < found ++;
    < }
    <

    # diff libnjb.h libnjb.h.orig
    62d61
    < #define NJB_DEVICE_DELLDJPOCKET 0x0b /**< Dell Pocket DJ */

    # diff njbusb.h njbusb.h.orig
    41,43d40
    < #define DELLDJPOCKET_VENDOR_ID 0x041e
    < #define DELLDJPOCKET_PRODUCT_ID 0x4127
    <
    57,58c54
    < t == NJB_DEVICE_DELLDJ2 || \ < t == NJB_DEVICE_DELLDJPOCKET)
    ---
    > t == NJB_DEVICE_DELLDJ2 )
    70,71c66
    < t == NJB_DEVICE_DELLDJ2 || \ < t == NJB_DEVICE_DELLDJPOCKET)
    ---
    > t == NJB_DEVICE_DELLDJ2 )

     
  • Linus Walleij
    Linus Walleij
    2005-01-10

    Logged In: YES
    user_id=473872

    This has been included in the current libnjb CVS.

     
  • Linus Walleij
    Linus Walleij
    2005-01-10

    • assigned_to: nobody --> snirkel
    • status: open --> closed