To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2615
2614  |  2616
Subject: 
IR Tower problems
Newsgroups: 
lugnet.robotics.rcx
Date: 
Thu, 17 Mar 2005 04:29:05 GMT
Viewed: 
5715 times
  
I am trying to get nqc 3.1 r1 working on my Slackware 9.1 box using Linux
kernel 2.6.11.2.  When I plug the IR Tower into my USB port, it's recognized.
This is what I get from dmesg:

hub 2-0:1.0: state 5 ports 3 chg 0000 evt 0002
ohci_hcd 0000:00:01.3: GetStatus roothub.portstatus [0] = 0x00010301 CSC LSDA
PPS CCS
hub 2-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
ohci_hcd 0000:00:01.3: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA
PPS PES CCS
usb 2-1: new low speed USB device using ohci_hcd and address 5
ohci_hcd 0000:00:01.3: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA
PPS PES CCS
usb 2-1: new device strings: Mfr=4, Product=26, SerialNumber=0
usb 2-1: default language 0x0409
usb 2-1: Product: LEGO USB Tower
usb 2-1: Manufacturer: LEGO Group
usb 2-1: hotplug
usb 2-1: configuration #1 chosen from 4 choices
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: hotplug

but when I try to send data to the rcx, this is what happens:

# nqc -v -raw 120001 -S /dev/usb/lego0
Problem talking to IR device
Tx: 55 ff 00 10 ef 10 ef
Rx:
Retrying...
Tx: 55 ff 00 10 ef 10 ef
Rx:

yes, the rcx is turned on, and facing the tower.
Anyone have any ideas?



Message has 1 Reply:
  Re: IR Tower problems
 
Hi David, (...) these are the log messages from the USB core, but I don't see any from the driver, are you sure the driver is loaded? Also, the device nowadays is supposed to be at /dev/usb/legousbtower0. If you use udev it should create that (...) (20 years ago, 17-Mar-05, to lugnet.robotics.rcx)

5 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR