On Sat, 11 Mar 2006 17:46:24 +0100
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:
> Hello,
>
> When I attatch my usb-to-serial based AVR programmer (an avrusb500)
> to a machine running FreeBSD 6.1-prerelease, it shows up
> in /var/log/messages as:
> Mar 11 17:25:03 kg-fil kernel: ucom0: FTDI USB <-> Serial, rev
> 1.10/4.00, addr 2
>
> However, there is no /dev/ucom0 entry.
> Details:
>
> root@kg-fil# uname -a
> FreeBSD kg-fil.kg4.no 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #5: Sat
> Mar 11 15:05:47 CET 2006
> root@kg-fil.kg4.no:/usr/obj/usr/src/sys/FIL60 amd64
>
> root@kg-fil# kldstat
> Id Refs Address Size Name
> 1 9 0xffffffff80100000 8b6820 kernel
> 2 1 0xffffffff809b7000 67e0 snd_ich.ko
> 3 2 0xffffffff809be000 346a8 sound.ko
> 4 1 0xffffffffa7c19000 1cd blank_saver.ko
> 5 1 0xffffffffa7cb0000 10b6 uftdi.ko
> 6 1 0xffffffffa7cb2000 112f ucom.ko
>
> (as you can see, both utfdi and ucom is loaded).
>
> root@kg-fil# usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
> nVidia(0x0000), rev 1.00 port 1 powered
> port 2 powered
> port 3 powered
> port 4 addr 2: full speed, power 90 mA, config 1, USB <->
> Serial(0x6001), FTDI(0x0403), rev 4.00 port 5 powered
> port 6 powered
> port 7 powered
> port 8 powered
> port 9 powered
> port 10 powered
>
> But, no /dev/ucom* :
> root@kg-fil# ls -l /dev/ucom*
> ls: /dev/ucom*: No such file or directory
> root@kg-fil# ls -l /dev/usb*
> crw-rw---- 1 root operator 0, 30 Mar 11 15:50 /dev/usb
> crw-rw---- 1 root operator 0, 29 Mar 11 15:50 /dev/usb0
> crw-rw---- 1 root operator 0, 31 Mar 11 15:50 /dev/usb1
>
> even if the usb entries are there.
> root@kg-fil# ps ax | grep usbd
> 405 ?? Is 0:00.00 /usr/sbin/usbd
>
> For comparison, the device works fine under 5.4-stable:
>
> root@kg-work# uname -a
> FreeBSD kg-work.kg4.no 5.4-STABLE FreeBSD 5.4-STABLE #5: Sat Dec 31
> 16:54:14 CET 2005 root@kg-work.kg4.no:/usr/obj/usr/src/sys/SS51G
> i386
>
> Mar 11 17:44:17 kg-work kernel: ucom0: FTDI USB <-> Serial, rev
> 1.10/4.00, addr 2
>
> root@kg-work# ls -l /dev/ucom*
> crw-rw---- 1 uucp dialer 220, 128 Jan 4 17:10 /dev/ucom0
> root@kg-work# ls -l /dev/usb*
> crw-rw---- 1 root operator 239, 255 Jan 4 17:10 /dev/usb
> crw-rw---- 1 root operator 239, 0 Jan 4 17:10 /dev/usb0
> crw-rw---- 1 root operator 239, 1 Jan 4 17:10 /dev/usb1
> crw-rw---- 1 root operator 239, 2 Jan 4 17:10 /dev/usb2
> crw-rw---- 1 root operator 239, 3 Jan 4 17:10 /dev/usb3
>
> What's wrong, and how do I fix it?
> --
> Regards,
> Torfinn Ingolfsen,
> Norway
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe@freebsd.org"
/dev/ucomX devices became /dev/ttyUX devices quite some time ago.
--
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060311/44e8f03a/signature.bin