Tool/software: Linux
hi
I have a beaglebone black. I download the am335xSDK 08_00_00_00 installer on my virtual box (ubutun). Then I use the "creat-sdcard.sh" to install the pre-built image. I insert it to the BBB and it boots, and the matrix GUI shows up on the screen.
But the touch screen doesn't work, I can only move the mouse by using a USB mouse.
There is no /dev/input/touchscreen.
There is a file "pointercal" under /etc, and I do the following:
# ./matrix-gui-2.0 stop
# export TSLIB_CALIBFILE=/etc/pointercal
# ts_calibrate
And the output is :
root@am335x-evm:/etc# ts_calibrate
xres = 1024, yres = 768
tslib: Selected device is not a touchscreen (must support ABS and KEY event types)
Took 3 samples...
Top left : X = 0 Y = -1225414960
Took 3 samples...
Top right : X = 0 Y = -1225414960
Took 3 samples...
Bot right : X = 0 Y = -1225414960
Took 3 samples...
Bot left : X = 0 Y = -1225414960
Took 3 samples...
Center : X = 0 Y = -1225414960
ts_calibrate: determinant is too small -- 0.000000
Calibration failed.
root@am335x-evm:/etc#
my boot info about usb is:
am335x-evm login: root
root@am335x-evm:~# dmesg | grep usb
[ 0.226500] usbcore: registered new interface driver usbfs
[ 0.226665] usbcore: registered new interface driver hub
[ 0.226828] usbcore: registered new device driver usb
[ 1.095320] usbcore: registered new interface driver asix
[ 1.101161] usbcore: registered new interface driver ax88179_178a
[ 1.107706] usbcore: registered new interface driver cdc_ether
[ 1.113990] usbcore: registered new interface driver smsc95xx
[ 1.120159] usbcore: registered new interface driver net1080
[ 1.126213] usbcore: registered new interface driver cdc_subset
[ 1.132557] usbcore: registered new interface driver zaurus
[ 1.138600] usbcore: registered new interface driver cdc_ncm
[ 1.162495] usbcore: registered new interface driver cdc_wdm
[ 1.168595] usbcore: registered new interface driver usb-storage
[ 1.350278] usbcore: registered new interface driver usbhid
[ 1.356186] usbhid: USB HID core driver
[ 6.438111] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
[ 6.438193] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 6.563528] of_get_named_gpiod_flags: can't parse gpios property of node '/ocp/usb@47400000/usb-phy@47401b00[0]'
[ 6.563608] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 8.335505] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 8.335528] musb-hdrc: MHDRC RTL version 2.0
[ 8.335536] musb-hdrc: setup fifo_mode 4
[ 8.335553] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 8.335669] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 8.654400] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 8.922175] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 8.929319] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.936920] usb usb1: Product: MUSB HDRC host driver
[ 8.942130] usb usb1: Manufacturer: Linux 3.14.26-g2489c02 musb-hcd
[ 8.948695] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 9.574758] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 9.574781] musb-hdrc: MHDRC RTL version 2.0
[ 9.574789] musb-hdrc: setup fifo_mode 4
[ 9.574806] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 9.574929] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 9.642861] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned busnumber 2
[ 9.737637] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 9.748922] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.760657] usb usb2: Product: MUSB HDRC host driver
[ 9.770044] usb usb2: Manufacturer: Linux 3.14.26-g2489c02 musb-hcd
[ 9.780801] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 10.422049] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[ 10.572319] usb 2-1: New USB device found, idVendor=1a40, idProduct=0101
[ 10.579368] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 10.586868] usb 2-1: Product: USB 2.0 Hub
[ 10.922054] usb 2-1.2: new low-speed USB device number 3 using musb-hdrc
[ 11.055898] usb 2-1.2: New USB device found, idVendor=275d, idProduct=0ba6
[ 11.063142] usb 2-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 11.070798] usb 2-1.2: Product: USB OPTICAL MOUSE
[ 11.086934] input: USB OPTICAL MOUSE as /devices/ocp.3/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb2/2-1/2-1.2/2-1.2:1.0/0003:275D:0BA6.0001/input/input0
[ 11.126142] hid-generic 0003:275D:0BA6.0001: input: USB HID v1.11 Mouse [USBOPTICAL MOUSE ] on usb-musb-hdrc.1.auto-1.2/input0
[ 11.222041] usb 2-1.3: new high-speed USB device number 4 using musb-hdrc
[ 11.358526] usb 2-1.3: New USB device found, idVendor=05ac, idProduct=1402
[ 11.365801] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 11.373514] usb 2-1.3: Product: Apple USB Ethernet Adapter
[ 11.379296] usb 2-1.3: Manufacturer: Apple Inc.
[ 11.384629] usb 2-1.3: SerialNumber: 290779
[ 11.715298] asix 2-1.3:1.0 eth1: register 'asix' at usb-musb-hdrc.1.auto-1.3,ASIX AX88772 USB 2.0 Ethernet, ac:7f:3e:e6:1c:d1
root@am335x-evm:~# cd /dev/input/
root@am335x-evm:/dev/input# ls
by-id by-path event0 mice mouse0
root@am335x-evm:/dev/input#
Can someone help me how to get the touch screen be able to "touch"?
Bests
/Peilang