Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 1 time | Joined on Oct 2008
#1
i installed deblet with lxde
everything run well but when i plug in my usb keyboard, it cannot work

i run usb view but get msg blow:
cannot open the file /proc/bus/usb/devices
how can i solve this problem ? im a newbie here

thanks!!
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#2
Dide you run the echo host command floating around here on how to enable "Host Mode" in the tablet?? You have to run that command first before plugging in USB devices.. if you're like me and want to run in host mode most/all of the time you can stick the command in /etc/rc.local and it will run every time the deblet boots.

Do a search for "USB Host Mode".. I never remember the whole command.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3 | Thanked: 1 time | Joined on Oct 2008
#3
thank u

i find this command :

echo host > /sys/devices/platform/musb_hdrc/mode
and i run it using root, but this file content is always:
b_idle
when i using OS2008, i did not need do anything before using my usb device

is deblet has another process watching this file?
 
Johnx's Avatar
Posts: 643 | Thanked: 628 times | Joined on Mar 2007 @ Seattle (or thereabouts)
#4
In deblet the usb networking driver is loaded by default to support telnet over usb.
Try these commands as root in deblet:
killall utelnetd
ifconfig down usb0
rmmod g_ether
modprobe g_file_storage stall=0 luns=2 removable
echo host > /sys/class/usb_host/usb_host1/device/mode

If those work, add them into rc.local (above exit 0) and run:
chmod +x /etc/rc.local

-John
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Originally Posted by cnberg View Post
thank u

i find this command :



and i run it using root, but this file content is always:


when i using OS2008, i did not need do anything before using my usb device

is deblet has another process watching this file?
Enjoy. You've got this bug:
https://bugs.maemo.org/show_bug.cgi?id=3026

if you want, I can shove you a uber modded kernel with that fix. source patch:
http://qwerty12.maemobox.org/kernel/uber.patch

(But you are better off building own kernel with that patch mentioned in the bugzilla. The patch I use is meant for people who want to have the most featureful 2.6.21 kernel available :P)
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#6
Originally Posted by Johnx View Post
In deblet the usb networking driver is loaded by default to support telnet over usb.
Try these commands as root in deblet:
killall utelnetd
ifconfig down usb0
rmmod g_ether
modprobe g_file_storage stall=0 luns=2 removable
echo host > /sys/class/usb_host/usb_host1/device/mode

If those work, add them into rc.local (above exit 0) and run:
chmod +x /etc/rc.local

-John
I have never had to do any of that short of the last line to get my USB keyboard to work out of box with Deblet.

I think Stskeeps removed the USB networking module by default.. but I'm not sure. All I know is once I run the echo host > command.. my usb keyboard flies beautifully.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 3 | Thanked: 1 time | Joined on Oct 2008
#7
Originally Posted by Johnx View Post
In deblet the usb networking driver is loaded by default to support telnet over usb.
Try these commands as root in deblet:
killall utelnetd
ifconfig down usb0
rmmod g_ether
modprobe g_file_storage stall=0 luns=2 removable
echo host > /sys/class/usb_host/usb_host1/device/mode

If those work, add them into rc.local (above exit 0) and run:
chmod +x /etc/rc.local

-John
thank you!!
it works for me!
 

The Following User Says Thank You to cnberg For This Useful Post:
Posts: 110 | Thanked: 52 times | Joined on Sep 2007
#8
What is the performance of USB keyboards under deblet? I've wanted to use a proper keyboard with my N810 for some time now, but typing is always laggy, both with USB and bluetooth keyboards. Is Deblet better in this respect? Is there anybody that has tried typing both in OS2008 and Deblet who can compare and contrast the lagginess? The lag isn't really that bad in OS2008, but I'm a very fast typist, so it is more aggravating to me that it likely would be to most people. If typing is perfect in Deblet, that would be a killer app that would probably be enough to motivate me to install it on my own N810.
 
Reply

Tags
debian, deblet


 
Forum Jump


All times are GMT. The time now is 20:45.