hi guys
i am toying with a 128x128x8bit CCD sensor and i need a fast usb device in order to upload data into my linux box.
i have chosen the teensy v2 device, used as described in
this page
to summarize the device looks like an arduino board but it is much more powerful and it has a built-in USB-device, so it is possible to use it to move up to 900Kbyte/sec to the linux host.
the teensy documentation tells to use the following udev rule without specifying which kernel-module has to been used
# UDEV Rules for Teensy boards, http://www.pjrc.com/teensy/
#
# The latest version of this file may be found at:
# http://www.pjrc.com/teensy/49-teensy.rules
#
# This file must be placed at:
#
# /etc/udev/rules.d/49-teensy.rules (preferred location)
# or
# /lib/udev/rules.d/49-teensy.rules (req'd on some broken systems)
#
# To install, type this command in a terminal:
# sudo cp 49-teensy.rules /etc/udev/rules.d/49-teensy.rules
#
# After this file is installed, physically unplug and reconnect Teensy.
#
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", MODE:="0666"
#
# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.
#
#
# If using USB Serial you get a new device each time (Ubuntu 9.10)
# eg: /dev/ttyACM0, ttyACM1, ttyACM2, ttyACM3, ttyACM4, etc
# apt-get remove --purge modemmanager (reboot may be necessary)
#
# Older modem proding (eg, Ubuntu 9.04) caused very slow serial device detection.
# To fix, add this near top of /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules
# SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", GOTO="nm_modem_probe_end"
#
i have programed my teensy as a serial USB device with the "USB-serial" example.
when i connect to my embedded Linux box i do not get any device to communicate with.
the /dev does not get any new devices when i connect the teensy.
# lsusb
Bus 004 Device 009: ID 16c0:047a Van Ooijen Technische Informatica Teensy Serial
this is the kernel dmesg event log when i plug the teensy with a preloaded USB-UART sketch
hub 4-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 4-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
usb 4-2: new full speed USB device number 9 using uhci_hcd
usb 4-2: ep0 maxpacket = 16
usb 4-2: skipped 4 descriptors after interface
usb 4-2: default language 0x0409
usb 4-2: udev 9, busnum 4, minor = 392
usb 4-2: New USB device found, idVendor=16c0, idProduct=047a
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-2: Product: USB Serial
usb 4-2: Manufacturer: Your Name
usb 4-2: SerialNumber: 12345
usb 4-2: usb_probe_device
usb 4-2: configuration #1 chosen from 1 choice
usb 4-2: adding 4-2:1.0 (config #1, interface 0)
usbserial_generic 4-2:1.0: usb_probe_interface
usbserial_generic 4-2:1.0: usb_probe_interface - got id
usb 4-2: adding 4-2:1.1 (config #1, interface 1)
usbserial_generic 4-2:1.1: usb_probe_interface
usbserial_generic 4-2:1.1: usb_probe_interface - got id
drivers/usb/core/inode.c: creating file '009'
hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0004
any help is appreciated, thank you