Re: Problem with usb in FreeBSD 4.8....help!!!

From: Bernd Walter (ticso_at_cicely12.cicely.de)
Date: 03/28/04

  • Next message: Dan Nelson: "Re: MS_ASYNC with MS_INVALIDATE"
    Date: Sun, 28 Mar 2004 22:06:57 +0200
    To: jitendra pande <jpande_techinfo@yahoo.com>
    
    

    On Sun, Mar 28, 2004 at 02:51:56AM -0800, jitendra pande wrote:
    > Hi,
    >
    > I have stuck with a problem with usb devices.
    >
    > In case of FreeBSD 4.8, whenever a new USB device is attached to the system, no device node is dynamically being created within the dev file system.
    >
    > This is in contrast to the behavior there with FreeBSD 5.0 where a new device node is being created on attaching a new USB device, Fox example when first USB device is attached then /dev/ugen0 node is created dynamically in dev file system. when 2nd device is added then /dev/ugen1 and so on .....ugen2, ugen3.......
    >
    > On the other hand with freeBSD 4.8 there exist some static device node /dev/ugen0, /dev/ugen0.x where x =1-16 within the /dev file system.
    >
    > My application uses libusb for iinteracting with the usb devices...libusb on freeBSD 4.8 tries to find /debv/ugen0, /dev/ugen1 and so on....hence couldn't able to detect more then one device.
    >
    > It would really be great if someone can help me in resolving the issue Any idea why this changes in the behavior with FreeBSD 4.8 and FreeBSD 5.0

    You are expected to create devnodes manualy in 4.x.
    /dev/MAKEDEV script will help you.
    See MAKEDEV manpage for details or read the handbook.

    -- 
    B.Walter                   BWCT                http://www.bwct.de
    ticso@bwct.de                                  info@bwct.de
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Dan Nelson: "Re: MS_ASYNC with MS_INVALIDATE"

    Relevant Pages

    • Re: Hardware question for data logger aqpplication
      ... This is mostly a hardware question: ... I am looking to build a data loging pc and would like it to run FreeBSD ... work, maybe some RS232 based ones, but I don't mind USB devices either. ... Choosing a serial, parallel or ethernet interface will, I think, avoid ...
      (comp.unix.bsd.freebsd.misc)
    • ohci_add_done PANIC
      ... I have seen many posts and articles floating around that deals with this issue, so id like to know how to get around it, without the need to disable legacy support? ... amt my only work around is disabling legacy support, unplugging ALL USB devices then FreeBSD not only installs without causing a panic as well as runs, but it detects all the USB devices AFTER boot has been done, how ever X dosent seem to want to recognise it. ... There other issues, however with having to swap from 1 comp to another running from FreeBSD, i have no ability to paste dmesg or anything like that. ...
      (freebsd-questions)
    • Re: touch screen recommendation?
      ... I am wondering how this belongs to hackers@? ... FreeBSD ... For the usb devices, I've got working drivers for GeneralTouch ST-601U ...
      (freebsd-hackers)
    • Problem with usb in FreeBSD 4.8....help!!!
      ... I have stuck with a problem with usb devices. ... In case of FreeBSD 4.8, whenever a new USB device is attached to the system, no device node is dynamically being created within the dev file system. ... Do you Yahoo!? ...
      (freebsd-arch)
    • Problem with usb in FreeBSD 4.8....help!!!
      ... I have stuck with a problem with usb devices. ... In case of FreeBSD 4.8, whenever a new USB device is attached to the system, no device node is dynamically being created within the dev file system. ... Do you Yahoo!? ...
      (freebsd-hackers)