Author Topic: About Usb...  (Read 7725 times)

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
About Usb...
« on: April 25, 2006, 08:19:58 am »
hello,

  after digging a little i'm quite lost and cannot find how to activate USB to recognize my usb mouse or usb card reader.

i believe it was working 'automagically' last time i installed obsd on my c3k... after a quick view of OZ3.5.4.1-alpha2 i've come back to obsd current snapshot and i cannot find how to activate usb mouse. i'm really new to BSD and i've got short time before leaving for a week without internet access.

can comeone give me a few commands?

thanks in advance

Loran
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
About Usb...
« Reply #1 on: April 25, 2006, 08:36:53 am »
I have noticed that very occasionally the USB host port doesn't recognise devices after a boot that should be recognised 'automagically' unless you made a special kernel with all the USB stuff disabled.

Try again after a reboot.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
About Usb...
« Reply #2 on: April 25, 2006, 10:04:54 am »
Quote
I have noticed that very occasionally the USB host port doesn't recognise devices after a boot that should be recognised 'automagically' unless you made a special kernel with all the USB stuff disabled.
well i had rebooted three times and i had no luck with USB so i was feeling i had forgotten to activate something. After your message i've rebooted once again and mouse is working automatically and usb card reader is detected    

maybe there is something i've done that makes usb 'not discovered', i'll try and check on next reboots  

thank you Andy.
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

Sequethin

  • Jr. Member
  • **
  • Posts: 72
    • View Profile
About Usb...
« Reply #3 on: April 25, 2006, 02:55:22 pm »
Quote
Quote
I have noticed that very occasionally the USB host port doesn't recognise devices after a boot that should be recognised 'automagically' unless you made a special kernel with all the USB stuff disabled.
well i had rebooted three times and i had no luck with USB so i was feeling i had forgotten to activate something. After your message i've rebooted once again and mouse is working automatically and usb card reader is detected    

maybe there is something i've done that makes usb 'not discovered', i'll try and check on next reboots  

thank you Andy.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124505\"][{POST_SNAPBACK}][/a][/div]


same sort of stuff happens with my axe card. when I reboot sometimes the nic isn't detected. hopefully fixed by 4.0

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
About Usb...
« Reply #4 on: April 26, 2006, 05:16:17 am »
The good news is that most USB detection doesn't fail once the system has booted and detected correctly the first time. This may point to an initialization problem for the USB host port (i.e. the device isn't properly reset to a known state before an attempt is made to initialize it).

I gave up with my axe based USB NIC because I had a few problems with USB when it was plugged and unplugged a few times actually causing some instability... it was more cost effective for me to replace it with a good CF based wired NIC. This is why I chose to buy a Socket 10/100 CF card and adapt the driver to support it. 3.9 -current (not release) has my patch for this card now.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

darkloran

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://freeloran.free.fr/zaurus.html
About Usb...
« Reply #5 on: April 30, 2006, 03:34:32 am »
Quote
maybe there is something i've done that makes usb 'not discovered', i'll try and check on next reboots 
after rebooting a few times more... i feel that rebooting without a correct system halt (syncing of disks or this kind of stuff) is the situation in which the system won't recognize usb on boot.

just an hypthesis

loran
SL-C3000 -- Cacko1.23b1
CE-RH2 remote / Belkin usblan / Asus WL-110 / Sandisk SD UII 256MB / Sandisk CF UII 1GB
STOREX OTG Club 40GB / Belkin IR Keyboard / Logitech mouse

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
About Usb...
« Reply #6 on: May 07, 2007, 05:45:57 pm »
can someone tell us more about usb host not being recognized ?
sometimes my usb host cable is not recognized ; but this is very random...
i have to reboot to have it recognized again... any clue??
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
About Usb...
« Reply #7 on: May 07, 2007, 06:20:07 pm »
Quote
can someone tell us more about usb host not being recognized ?
sometimes my usb host cable is not recognized ; but this is very random...
i have to reboot to have it recognized again... any clue??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160731\"][{POST_SNAPBACK}][/a][/div]

Lately I've found that I've had to plug in the host cable after the system completely boots to have it recognize whatever it is that I want to use. If I swap the device which is connected I have to disconnect the cable from the back of the Z and reconnect it with the new device attached.  Didn't used to be like this. Something has been changed, but I'm not sure what.....

FinnDinn

  • Newbie
  • *
  • Posts: 9
    • View Profile
About Usb...
« Reply #8 on: May 08, 2007, 08:06:23 am »
In 4.0 my USB cable worked as USB host without a problem, but when I installed a March snapshot it stopped to work. After a few hours of confusion and searches I finally cut the cable's connector and discovered, that my USB cable was not actually a Z-compatible USB-host cable    (the two contacts were not soldered together). I soldered them together and after that it worked as before.
I did not check the unsoldered cable with Linux, but I think it wouldn't work. Looks like the older OpenBSD releases did not care about the connector, and probably the USB-handling changes have something to do with this.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
About Usb...
« Reply #9 on: May 08, 2007, 03:48:59 pm »
Quote
Lately I've found that I've had to plug in the host cable after the system completely boots to have it recognize whatever it is that I want to use. If I swap the device which is connected I have to disconnect the cable from the back of the Z and reconnect it with the new device attached.  Didn't used to be like this. Something has been changed, but I'm not sure what.....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160733\"][{POST_SNAPBACK}][/a][/div]

This also seems to happen to the stock rom and pdaX, IIRC. The usb host and the usb devices are recognized as two separate devices, and i also need to plug out and in the host cable to use other devices.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
About Usb...
« Reply #10 on: June 03, 2007, 06:14:55 am »
still some strange behaviour of the usb host cable even with GENERIC#113...
it happens that it seems to be well recognized just after a root login (!)
for example once it is not recognized, i just logoff then open a root login and the cable is recognized when i plug it... so no need to reboot...
what could explain that???
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun