Hi All,
I've tried for three days to get this working and I still can't. I'm quite
new to all this so please excuse me if I'm being stupid.
I have a IBM USB to Serial Adapter plugged into the back of my IBM Xseries
x440. I'm running the following RedHat linux:
2.4.9-e.38summit #1 SMP Tue Feb 10 23:45:57 EST 2004 i686 unknown
Connected to the Serial Adapter is an UPS (made by APC). I'm trying to run
some software of theirs (an agent) which will see the UPS that's connected
to the USB Serial Converter.
Anyway, I can't get the USB port configured properly. I've done the
following sort of things (all which I've learnt this week!):
insmod usbserial
mknod /dev/ttyUSB0 c 188 0
I've even tried:
insmod usbserial vendor=0x67b product=0x2305
all to no avail. The software keeps reporting this:
Could not find port: /dev/ttyUSB0
I did at one stage unplug and plug in the USB cable in three times (I
planned to do it once but got carried away making sure it was plugged in
properly) and had the following in /var/log/messages:
Jul 1 16:20:10 domino kernel: hub.c: Cannot enable port 1 of hub 1,
disabling port.
Jul 1 16:20:10 domino kernel: hub.c: Maybe the USB cable is bad?
Jul 1 16:20:12 domino kernel: hub.c: USB new device connect on bus1/1,
assigned device number 2
Jul 1 16:20:12 domino kernel: hub.c: USB hub found
Jul 1 16:20:12 domino kernel: hub.c: 2 ports detected
Jul 1 16:20:12 domino kernel: hub.c: USB new device connect on bus1/1/1,
assigned device number 3
Jul 1 16:20:12 domino kernel: usb.c: USB device 3 (vend/prod 0x67b/0x2305)
is not claimed by any active driver.
Jul 1 16:20:12 domino kernel: hub.c: USB new device connect on bus1/1/2,
assigned device number 4
Jul 1 16:20:12 domino kernel: usb.c: USB device 4 (vend/prod 0x67b/0x2303)
is not claimed by any active driver.
Jul 1 16:20:12 domino kernel: usb.c: registered new driver usblp
Jul 1 16:20:12 domino kernel: printer.c: usblp0: USB Bidirectional printer
dev 3 if 0 alt 1
Jul 1 16:20:12 domino kernel: printer.c: v0.8:USB Printer Device Class
driver
Jul 1 16:20:12 domino kernel: usbserial.c: USB Serial support registered
for PL-2303
Jul 1 16:20:12 domino kernel: usbserial.c: PL-2303 converter detected
Jul 1 16:20:12 domino kernel: usbserial.c: PL-2303 converter now attached
to ttyUSB0 (or usb/tts/0 for devfs)
Jul 1 16:20:12 domino kernel: pl2303.c: Prolific PL2303 USB to serial
adaptor driver v0.7
Jul 1 16:20:16 domino kernel: usb.c: USB disconnect on device 2
Jul 1 16:20:16 domino kernel: usb.c: USB disconnect on device 3
Jul 1 16:20:16 domino kernel: printer.c: usblp0: removed
Jul 1 16:20:16 domino kernel: usb.c: USB disconnect on device 4
Jul 1 16:20:16 domino kernel: usbserial.c: PL-2303 converter now
disconnected from ttyUSB0
Jul 1 16:20:24 domino kernel: hub.c: Cannot enable port 1 of hub 1,
disabling port.
Jul 1 16:20:24 domino kernel: hub.c: Maybe the USB cable is bad?
Jul 1 16:20:25 domino kernel: hub.c: USB new device connect on bus1/1,
assigned device number 5
Jul 1 16:20:25 domino kernel: hub.c: USB hub found
Jul 1 16:20:25 domino kernel: hub.c: 2 ports detected
Jul 1 16:20:25 domino kernel: hub.c: USB new device connect on bus1/1/1,
assigned device number 6
Jul 1 16:20:25 domino kernel: printer.c: usblp0: USB Bidirectional printer
dev 6 if 0 alt 1
Jul 1 16:20:25 domino kernel: hub.c: USB new device connect on bus1/1/2,
assigned device number 7
Jul 1 16:20:25 domino kernel: usbserial.c: PL-2303 converter detected
Jul 1 16:20:25 domino kernel: usbserial.c: PL-2303 converter now attached
to ttyUSB0 (or usb/tts/0 for devfs)
I've since rebooted and everything's dead again. When I run usbview I just
get two lines saying "USB UHCI Root Hub" which doesn't mean anything to me.
I did (after the unplugging/plugging episode) get some interesting stuff in
usbview but that's gone again since I rebooted.
So, please could anyone help me? I'd be so grateful. I just want linux to be
able to "see" the USB Serial Converter I have plugged into the back of it. I
get so confused between /dev/ttyUSB0 and /dev/usb/ttyUSB0 and things like
that. I still can't seem to find a way of seeing if anything actually *is*
connected to a port. Can I *see* that my insmod and mknod commands are
actually doing anything?
Finally, the UPS software agent keeps moaning like this every few seconds:
- Fri Jul 02 17:32:31 BST 2004:Critical Exception class
com.apcc.m11.components.PowerSource.DeviceOpenException:<no message> On
Thread Thread[Thread-14,5,main] Caught at
DeviceDetector.threadEntry()[DeviceDetector.java:136]
Thrown at DeviceTranslator.openDevice()[DeviceTranslator.java:182]
DeviceTranslator.openDevice()[DeviceTranslator.java:181]- Could not find
port: /dev/ttyUSB0
DeviceDetector.threadEntry()[DeviceDetector.java:136]- <no message>
while /var/log/messages is equally unhappy and is spouting out stuff like
this:
Jul 2 17:24:43 domino modprobe: modprobe: Can't locate module
char-major-172
Jul 2 17:24:43 domino kernel: rc2: RISCom/8 Board at 0x250 not found.
Jul 2 17:24:43 domino modprobe: modprobe: Can't locate module
char-major-172
Jul 2 17:24:43 domino kernel: rc3: RISCom/8 Board at 0x260 not found.
Jul 2 17:24:43 domino modprobe: modprobe: Can't locate module
char-major-172
Jul 2 17:24:43 domino kernel: rc: No RISCom/8 boards detected.
Jul 2 17:24:43 domino modprobe: modprobe: Can't locate module
char-major-172
Jul 2 17:24:43 domino last message repeated 13 times
Jul 2 17:24:43 domino modprobe: modprobe: Can't locate module char-major-46
Jul 2 17:24:43 domino last message repeated 15 times
Jul 2 17:24:43 domino modprobe: modprobe: Can't locate module
char-major-174
Jul 2 17:24:44 domino last message repeated 15 times
Jul 2 17:24:44 domino modprobe: modprobe: Can't locate module
char-major-154
Jul 2 17:24:44 domino last message repeated 31 times
Jul 2 17:24:44 domino modprobe: modprobe: Can't locate module
char-major-148
Jul 2 17:24:44 domino last message repeated 15 times
Jul 2 17:24:44 domino modprobe: modprobe: Can't locate module
char-major-105
Jul 2 17:24:44 domino last message repeated 15 times
Jul 2 17:24:44 domino modprobe: modprobe: Can't locate module char-major-75
Jul 2 17:24:44 domino last message repeated 15 times
Jul 2 17:24:44 domino modprobe: modprobe: Can't locate module char-major-32
Not sure if that helps or not.
Thanks in advance for any help/advice.
Gordon
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users