vine-users ML アーカイブ



[vine-users:051380] Re: Palm USB HtoSync

  • From: Koyama <mlac@xxxxxxxxxxxx>
  • Subject: [vine-users:051380] Re: Palm USB HtoSync
  • Date: Thu, 13 Jun 2002 18:57:53 +0900
MIYAZAKI さん、ご返答ありがとうございます。

> > mknod ttyUSB0 c 188 0
> > mknod ttyUSB0 c 188 0
> > ln -s /dev/ttyUSB1 /dev/pilot
> 
> ttyUSB1が無くなったままのような。

私も、投稿した後、気づきまして、再度 ttyUSB0 ttyUSB1 を削除

mknod ttyUSB0 c 188 0
mknod ttyUSB1 c 188 1
ln -s /dev/ttyUSB1 /dev/pilot

しました。

現在の状態は以下のようになっています。

crw-r--r--    1 root     root     188,   0 Jun 13 17:49 /dev/ttyUSB0
crw-------    1 hogehoge tty      188,   1 Jun 13 17:49 /dev/ttyUSB1
crw-r--r--    1 root     root     188,   2 Apr 28 23:09 /dev/ttyUSB2
crw-r--r--    1 root     root     188,   3 Apr 28 23:09 /dev/ttyUSB3
crw-r--r--    1 root     root     188,   4 Apr 28 23:09 /dev/ttyUSB4
crw-r--r--    1 root     root     188,   5 Apr 28 23:09 /dev/ttyUSB5
crw-r--r--    1 root     root     188,   6 Apr 28 23:09 /dev/ttyUSB6
crw-r--r--    1 root     root     188,   7 Apr 28 23:09 /dev/ttyUSB7

lrwxrwxrwx    1 root     root           12 Jun 13 17:50 /dev/pilot -> /dev/ttyUSB1


> 
> これは uhci が先に読み込まれているからだと思われます。
> 
> > /sbin/modprobe usbserial 
> 
> このあと、dmesgに何か出てませんか?
> 

dmesg の 結果です。
.
.
.

Universal TUN/TAP device driver 1.4 (C)1999-2001 Maxim Krasnyansky
ide-floppy driver 0.97.sv
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
mice: PS/2 mouse device common for all mice
.
.
.

EXT3-fs: mounted filesystem with ordered data mode.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
hid-core.c: USB HID support drivers
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 14 for device 00:04.2
PCI: Sharing IRQ 14 with 00:04.3
PCI: Sharing IRQ 14 with 00:09.0
uhci.c: USB UHCI at I/O 0xb400, IRQ 14
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 14 for device 00:04.3
PCI: Sharing IRQ 14 with 00:04.2
PCI: Sharing IRQ 14 with 00:09.0
uhci.c: USB UHCI at I/O 0xb000, IRQ 14
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ip_conntrack (4095 buckets, 32760 max)
Linux Tulip driver version 0.9.15-pre9 (Nov 6, 2001)
PCI: Found IRQ 14 for device 00:09.0
PCI: Sharing IRQ 14 with 00:04.2
PCI: Sharing IRQ 14 with 00:04.3
eth0: ADMtek Comet rev 49 at 0xe0947000, 00:90:CC:A1:FA:5F, IRQ 14.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: Printer, HEWLETT-PACKARD DESKJET 970C
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
lp0: compatibility mode


となっています。