abbra: (Default)
[personal profile] abbra
Из США долетел мой Livescribe Pen, 2Gb. Формально он пока не поддерживается в системах, отличных от Windows, но по USB он себя анонсирует следующим образом:
Bus 005 Device 003: ID 1cfb:1010  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        16
  idVendor           0x1cfb 
  idProduct          0x1010 
  bcdDevice            2.01
  iManufacturer           1 Livescribe
  iProduct                2 Pulse(TM) Smartpen
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           81
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              250mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         2 Communications
      bInterfaceSubClass     11 OBEX
      bInterfaceProtocol      0 
      iInterface              3 USB OBEX
      CDC Header:
        bcdCDC               1.10
      CDC OBEX:
        bcdVersion           1.20
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254 Application Specific Interface
      bInterfaceSubClass      1 Device Firmware Update
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  07 21 05 00 04 00 04
Device Status:     0x0000
  (Bus Powered)


Из очевидных вещей: есть OBEX, то есть теоретически, можно вытянуть записываемые звук и последовательности штрихов в виде нормальных файлов. К сожалению, OpenObex 1.3 вызывает падение libusb при попытке запустить obexftp -u 0 -l:
obexftp[826]: segfault at 40900 ip b7dee0e2 sp bfc7dfa0 error 4 in libusb-0.1.so.4.4.4[b7dea000+6000]

Так что придется, похоже, пересобирать libusb с отладкой и лазить по gdb...


Сама ручка работает. По ощущениям в руке лежит довольно удобно, по размерам сопоставима с перьевыми ручками, отторжения не вызывает. К концу года обещают выпустить программу, которая будет печатать необходимые шаблоны Аното на обычном лазерном принтере, так что не придется покупать дополнительные блокноты с этими специальными шаблонами. Впрочем, у меня сейчас блокнотов на ближайшие пару лет запасено...

UPD. Также попробовал записывать звук со стереомикрофонов в наушниках. Как раз младший ребенок шел из другой комнаты ко мне. Действительно, "трехмерность" звука ощущается довольно хорошо.

Что касается OBEX, то текущему openobex что-то все-таки не нравится в обмене пакетами с устройством. Надо почитать спецификацию на OBEX.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

April 2016

S M T W T F S
     12
3456789
1011121314 1516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 5th, 2026 11:14 pm
Powered by Dreamwidth Studios