Package: linux-image-2.6.26-2-686 Version: 2.6.26-19 Severity: normal 1. Hooked the FT232RL to USB [ 1038.709289] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected [ 1038.709396] ftdi_sio: Detected FT232RL [ 1038.709509] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 1038.714366] usb 1-1: New USB device found, idVendor=0403, idProduct=6001 [ 1038.714443] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1038.714505] usb 1-1: Product: FT245R USB FIFO [ 1038.714560] usb 1-1: Manufacturer: FTDI [ 1038.714615] usb 1-1: SerialNumber: A6005qyc
2. sudo apt-get install libftdi-dev 3. gcc -lftdi -o /usr/share/doc/libftdi-dev/examples/bitbang2 /usr/share/doc/libftdi-dev/examples/bitbang2.c 4. /usr/share/doc/libftdi-dev/examples/bitbang2 -d 1 0x00 5. It works, but this appears in dmesg [ 1046.425463] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [ 1046.425567] ftdi_sio 1-1:1.0: device disconnected 6. /usr/share/doc/libftdi-dev/examples/bitbang2 -d 1 0xff 7. Doesn't work anymore :( -- Package-specific info: ** Version: Linux version 2.6.26-2-686 (Debian 2.6.26-19) (da...@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Aug 19 06:06:52 UTC 2009 ** Command line: root=/dev/sda1 ro ** Not tainted ** Kernel log: [ 12.963940] usbcore: registered new interface driver usbserial [ 12.964044] usbserial: USB Serial support registered for generic [ 12.964147] usbcore: registered new interface driver usbserial_generic [ 12.964206] usbserial: USB Serial Driver core [ 13.011865] usbserial: USB Serial support registered for FTDI USB Serial Device [ 13.011973] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected [ 13.012087] ftdi_sio: Detected FT232RL [ 13.012207] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 13.012299] usbcore: registered new interface driver ftdi_sio [ 13.012356] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver [ 13.320715] lirc_dev: IR Remote Control driver registered, major 61 [ 13.347738] lirc_dev: lirc_register_plugin: sample_rate: 80 [ 13.409848] input: Power Button (FF) as /class/input/input0 [ 13.426919] ACPI: Power Button (FF) [PWRF] [ 13.427169] input: Power Button (CM) as /class/input/input1 [ 13.436587] ACPI: Power Button (CM) [PWRB] [ 13.938683] usbcore: registered new interface driver lirc_mceusb [ 13.938754] lirc_mceusb: USB Microsoft IR Transceiver Driver v0.2 [ 14.298636] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 14.368060] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 14.446325] intel_rng: Firmware space is locked read-only. If you can't or [ 14.446329] intel_rng: don't want to disable this in firmware setup, and if [ 14.446332] intel_rng: you are certain that your system has a functional [ 14.446334] intel_rng: RNG, try using the 'no_fwh_detect' option. [ 14.620734] ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 17 [ 14.931979] ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 17 [ 14.932146] PCI: Setting latency timer of device 0000:00:1f.5 to 64 [ 14.984650] input: PC Speaker as /class/input/input2 [ 15.290666] parport_pc 00:0d: reported by Plug and Play ACPI [ 15.290784] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE] [ 15.304088] intel8x0_measure_ac97_clock: measured 54624 usecs [ 15.304153] intel8x0: clocking to 48000 [ 16.337625] EXT3 FS on sda1, internal journal [ 16.913387] loop: module loaded [ 17.119093] smsc47m1: Found SMSC LPC47M10x/LPC47M112/LPC47M13x [ 23.676135] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex [ 27.310090] NET: Registered protocol family 10 [ 27.310879] lo: Disabled Privacy Extensions [ 37.920016] eth0: no IPv6 routers present [ 182.936366] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [ 182.936470] ftdi_sio 1-1:1.0: device disconnected [ 1036.560062] usb 1-1: USB disconnect, address 2 [ 1038.508016] usb 1-1: new full speed USB device using uhci_hcd and address 3 [ 1038.704004] usb 1-1: configuration #1 chosen from 1 choice [ 1038.709289] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected [ 1038.709396] ftdi_sio: Detected FT232RL [ 1038.709509] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 1038.714366] usb 1-1: New USB device found, idVendor=0403, idProduct=6001 [ 1038.714443] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1038.714505] usb 1-1: Product: FT245R USB FIFO [ 1038.714560] usb 1-1: Manufacturer: FTDI [ 1038.714615] usb 1-1: SerialNumber: A6005qyc [ 1046.425463] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [ 1046.425567] ftdi_sio 1-1:1.0: device disconnected [ 1145.747427] usbcore: deregistering interface driver ftdi_sio [ 1145.747545] usbserial: USB Serial deregistering driver FTDI USB Serial Device [ 1150.570026] usbcore: deregistering interface driver usbserial_generic [ 1150.570146] usbserial: USB Serial deregistering driver generic [ 1150.570222] usbcore: deregistering interface driver usbserial [ 1171.020027] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1195.772023] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1197.604041] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1202.952031] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1208.316017] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1229.408018] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1229.960016] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1232.484017] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1236.556025] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1286.776017] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1329.588018] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1333.564020] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1333.984023] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1339.084025] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1344.156020] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 1345.964019] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 3800.196020] usb 3-3: reset high speed USB device using ehci_hcd and address 3 [ 5290.436018] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 5300.316017] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 5329.524043] usb 1-1: reset full speed USB device using uhci_hcd and address 3 [ 6892.832059] usb 1-1: USB disconnect, address 3 [ 6894.564013] usb 1-1: new full speed USB device using uhci_hcd and address 4 [ 6894.760004] usb 1-1: configuration #1 chosen from 1 choice [ 6894.770328] usb 1-1: New USB device found, idVendor=0403, idProduct=6001 [ 6894.770370] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 6894.770396] usb 1-1: Product: FT245R USB FIFO [ 6894.770417] usb 1-1: Manufacturer: FTDI [ 6894.770437] usb 1-1: SerialNumber: A6005qyc [ 6894.850546] usbcore: registered new interface driver usbserial [ 6894.850601] usbserial: USB Serial support registered for generic [ 6894.850661] usbcore: registered new interface driver usbserial_generic [ 6894.850686] usbserial: USB Serial Driver core [ 6894.857834] usbserial: USB Serial support registered for FTDI USB Serial Device [ 6894.857925] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected [ 6894.857989] ftdi_sio: Detected FT232RL [ 6894.858070] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 6894.858115] usbcore: registered new interface driver ftdi_sio [ 6894.858139] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver [ 6911.332044] usb 1-1: reset full speed USB device using uhci_hcd and address 4 [ 6911.493474] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 [ 6911.493474] ftdi_sio 1-1:1.0: device disconnected ** Loaded modules: Module Size Used by ftdi_sio 44264 0 usbserial 26472 1 ftdi_sio ipv6 235396 10 smsc47m1 8168 0 lm90 11784 0 loop 12748 0 evdev 8000 0 parport_pc 22500 0 parport 30988 1 parport_pc pcspkr 2432 0 serio_raw 4740 0 snd_intel8x0 26268 0 snd_ac97_codec 88452 1 snd_intel8x0 ac97_bus 1728 1 snd_ac97_codec snd_pcm 62660 2 snd_intel8x0,snd_ac97_codec snd_seq 41456 0 snd_timer 17800 2 snd_pcm,snd_seq snd_seq_device 6380 1 snd_seq psmouse 32336 0 snd 45636 6 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device i2c_i801 7920 0 i2c_core 19828 2 lm90,i2c_i801 soundcore 6368 1 snd rng_core 3940 0 snd_page_alloc 7816 2 snd_intel8x0,snd_pcm shpchp 25528 0 pci_hotplug 23460 1 shpchp container 3456 0 button 6096 0 lirc_mceusb 7648 1 lirc_dev 10548 1 lirc_mceusb intel_agp 22524 1 agpgart 28808 1 intel_agp ext3 105576 1 jbd 39476 1 ext3 mbcache 7108 1 ext3 sd_mod 22200 2 usb_storage 77120 1 floppy 47716 0 ata_generic 4676 0 libata 140448 1 ata_generic scsi_mod 129548 3 sd_mod,usb_storage,libata dock 8304 1 libata ide_pci_generic 3908 0 [permanent] e100 28908 0 mii 4896 1 e100 piix 6568 0 [permanent] ide_core 96168 2 ide_pci_generic,piix ehci_hcd 28428 0 uhci_hcd 18672 0 usbcore 118192 7 ftdi_sio,usbserial,lirc_mceusb,usb_storage,ehci_hcd,uhci_hcd thermal 15228 0 processor 32576 1 thermal fan 4196 0 thermal_sys 10856 3 thermal,processor,fan ** PCI devices: 00:00.0 Host bridge [0600]: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface [8086:2560] (rev 01) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M] Capabilities: <access denied> Kernel driver in use: agpgart-intel Kernel modules: intel-agp 00:02.0 VGA compatible controller [0300]: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device [8086:2562] (rev 01) (prog-if 00 [VGA controller]) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 11 Region 0: Memory at 88000000 (32-bit, prefetchable) [size=128M] Region 1: Memory at 80000000 (32-bit, non-prefetchable) [size=512K] Capabilities: <access denied> Kernel modules: i2c-i810, intelfb 00:1d.0 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 01) (prog-if 00 [UHCI]) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 4: I/O ports at 1800 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.1 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 01) (prog-if 00 [UHCI]) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 19 Region 4: I/O ports at 1820 [size=32] Kernel driver in use: uhci_hcd Kernel modules: uhci-hcd 00:1d.7 USB Controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 01) (prog-if 20 [EHCI]) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin D routed to IRQ 23 Region 0: Memory at c0080000 (32-bit, non-prefetchable) [size=1K] Capabilities: <access denied> Kernel driver in use: ehci_hcd Kernel modules: ehci-hcd 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 81) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx- Latency: 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=32 I/O behind bridge: 00002000-00002fff Memory behind bridge: c0100000-c01fffff Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Kernel modules: shpchp 00:1f.0 ISA bridge [0601]: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge [8086:24c0] (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Kernel modules: iTCO_wdt, intel-rng 00:1f.1 IDE interface [0101]: Intel Corporation 82801DB (ICH4) IDE Controller [8086:24cb] (rev 01) (prog-if 8a [Master SecP PriP]) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 18 Region 0: I/O ports at 01f0 [size=8] Region 1: I/O ports at 03f4 [size=1] Region 2: I/O ports at 0170 [size=8] Region 3: I/O ports at 0374 [size=1] Region 4: I/O ports at 1840 [size=16] Region 5: Memory at 30000000 (32-bit, non-prefetchable) [size=1K] Kernel driver in use: PIIX_IDE Kernel modules: piix 00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 01) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin B routed to IRQ 17 Region 4: I/O ports at 1860 [size=32] Kernel driver in use: i801_smbus Kernel modules: i2c-i801 00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5] (rev 01) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin B routed to IRQ 17 Region 0: I/O ports at 1c00 [size=256] Region 1: I/O ports at 1880 [size=64] Region 2: Memory at c0080c00 (32-bit, non-prefetchable) [size=512] Region 3: Memory at c0080800 (32-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: Intel ICH Kernel modules: snd-intel8x0 02:08.0 Ethernet controller [0200]: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller [8086:1039] (rev 81) Subsystem: IBM NetVista A30p [1014:0267] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 66 (2000ns min, 14000ns max), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 20 Region 0: Memory at c0100000 (32-bit, non-prefetchable) [size=4K] Region 1: I/O ports at 2000 [size=64] Capabilities: <access denied> Kernel driver in use: e100 Kernel modules: e100, eepro100 -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages linux-image-2.6.26-2-686 depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii initramfs-tools [linux-initra 0.92o tools for generating an initramfs ii module-init-tools 3.4-1 tools for managing Linux kernel mo Versions of packages linux-image-2.6.26-2-686 recommends: ii libc6-i686 2.7-18 GNU C Library: Shared libraries [i Versions of packages linux-image-2.6.26-2-686 suggests: ii grub 0.97-47lenny2 GRand Unified Bootloader (Legacy v pn linux-doc-2.6.26 <none> (no description available) -- debconf information: linux-image-2.6.26-2-686/postinst/bootloader-error-2.6.26-2-686: shared/kernel-image/really-run-bootloader: true linux-image-2.6.26-2-686/postinst/old-dir-initrd-link-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/overwriting-modules-2.6.26-2-686: true linux-image-2.6.26-2-686/postinst/bootloader-test-error-2.6.26-2-686: linux-image-2.6.26-2-686/postinst/depmod-error-2.6.26-2-686: false linux-image-2.6.26-2-686/preinst/bootloader-initrd-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/abort-overwrite-2.6.26-2-686: linux-image-2.6.26-2-686/preinst/abort-install-2.6.26-2-686: linux-image-2.6.26-2-686/postinst/depmod-error-initrd-2.6.26-2-686: false linux-image-2.6.26-2-686/postinst/create-kimage-link-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/failed-to-move-modules-2.6.26-2-686: linux-image-2.6.26-2-686/preinst/initrd-2.6.26-2-686: linux-image-2.6.26-2-686/preinst/lilo-has-ramdisk: linux-image-2.6.26-2-686/prerm/would-invalidate-boot-loader-2.6.26-2-686: true linux-image-2.6.26-2-686/postinst/kimage-is-a-directory: linux-image-2.6.26-2-686/postinst/old-initrd-link-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/elilo-initrd-2.6.26-2-686: true linux-image-2.6.26-2-686/preinst/lilo-initrd-2.6.26-2-686: true linux-image-2.6.26-2-686/prerm/removing-running-kernel-2.6.26-2-686: true linux-image-2.6.26-2-686/postinst/old-system-map-link-2.6.26-2-686: true -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org